Difference between revisions of "HowTo run NodeCore"

From Veriblock Wiki
Jump to: navigation, search
(Created page with "See: Main_Page __TOC__ == Overview == NodeCore is the service that runs the VBK blockchain. It is written in Java, and runs on Windows, Linux, and mac. == Steps == Unz...")
 
Line 8: Line 8:
 
== Steps ==
 
== Steps ==
  
Unzip the nodecore-*.zip file
+
Unzip the package:
In the bin folder, if Windows then run nodecore.bat, if linux then run nodecore.
 
  
Note: On Linux systems, you may need to make the nodecore shell script executable by running the following command:
+
{| class="wikitable"
 +
! Windows
 +
! Mac and Linux
 +
|-
 +
| Unzip the nodecore-*.zip file In the bin folder, then run nodecore.bat
 +
| Unzip to your preferred directory, then run nodecore.
  
<pre>
+
Note: On Linux & Mac systems, you may need to make the nodecore shell script executable by running the following command:
chmod a+x nodecore
+
 
</pre>
+
<pre>chmod a+x nodecore</pre>
 +
|}
  
 
When you first run NodeCore, it will create several other files in a new testnet folder (nodecore.properties, veriblock.nodecore.log, nodecore.dat, etc...), and load the existing blockchain.
 
When you first run NodeCore, it will create several other files in a new testnet folder (nodecore.properties, veriblock.nodecore.log, nodecore.dat, etc...), and load the existing blockchain.

Revision as of 19:50, 25 May 2018

See: Main_Page

Overview

NodeCore is the service that runs the VBK blockchain. It is written in Java, and runs on Windows, Linux, and mac.

Steps

Unzip the package:

Windows Mac and Linux
Unzip the nodecore-*.zip file In the bin folder, then run nodecore.bat Unzip to your preferred directory, then run nodecore.

Note: On Linux & Mac systems, you may need to make the nodecore shell script executable by running the following command:

chmod a+x nodecore

When you first run NodeCore, it will create several other files in a new testnet folder (nodecore.properties, veriblock.nodecore.log, nodecore.dat, etc...), and load the existing blockchain.

NodeCore may take several minutes to load all the blocks in the blockchain. See the highest block at https://TestNet.Explore.Veriblock.org. This shows the number of blocks your local instance must load. NodeCore will create a cache file such that when you restart it they will load faster next time.

FAQ

How do I keep my wallet when upgrading to a new version of NodeCore?

The easiest way to upgrade is to copy the testnet folder (which contains the wallet, blockchain, and many files listed here: NodeCore_File_Structure) to the new version.