Difference between revisions of "NodeCore QuickStart"

From Veriblock Wiki
Jump to: navigation, search
Line 65: Line 65:
 
Also, your NodeCore instance should have created files:
 
Also, your NodeCore instance should have created files:
  
[[File:nodecore_quickstart1.png|600px]]
+
[[File:nodecore_quickstart1b.png|600px]]
  
 
== What Next? ==
 
== What Next? ==

Revision as of 23:02, 9 December 2018

See: HowTo_run_NodeCore, NodeCore_Operations

How to Install

NodeCore is the full node daemon for VeriBlock. Because many common tasks require NodeCore, it should be as easy to get started as possible.

You need NodeCore for You do NOT need NodeCore for
  • Sending coins
  • Creating an address for mining
  • Using a client like the NC_CLI or GUI Wallet
  • Hosting a pool
  • Viewing your address or transactions on the web explorer
  • GPU Mining

NodeCore has basic hardware needs that most machines will have. It will require disk space to store the full node (say 10GB and growing). See exact details here: NodeCore_Operations

For LINUX

Run this install script (thank you OverCookedPanda):

https://github.com/VeriBlock/nodecore-releases/releases/download/vSetupScripts/nodecore_install.sh

Besides checking hardware requirements and ensuring necessary software is installed (lie Java 8), it will:

  1. Get the latest NodeCore software, reading from this url: https://testnet.explore.veriblock.org/api/stats/download
  2. Get the latest Bootstrap file, also reading from the above url (you could sync from scratch, but it will be *much* faster to download the bootstrap file)
  3. Unzip the bootstrap file and put the nodecore.dat in the bin\testnet folder
  4. Set NodeCore to have execute permissions
  5. Run NodeCore in a screen

For WINDOWS

There is not yet a one-stop install script, so the above steps will need to be done manually. But it can be done fast:

  1. Ensure the correct software installed from here: NodeCore_Operations (this is standard software, and may already exist)
  2. Get the latest links: https://testnet.explore.veriblock.org/api/stats/download
  3. nodecore_all_zip --> 100mb. Unzip this.
    1. Something like https://github.com/VeriBlock/nodecore-releases/releases/download/v0.XX/veriblock-nodecore-all-0.XX.zip
  4. bootstrapfile_zip --> several GB. Unzip this, it creates a "nodecore.dat" file, place it in the nodecore\bin\testnet folder. If "testnet" doesn't exist in "bin", then create it. (See: NodeCore_Bootstrap_File for more details)
    1. Something like: http://mirror1.veriblock.org/nodecore-bootstrap-XXXXXX.zip
  5. Run nodecore-0.3.9\bin\nodecore.bat
    1. Note: you could also run "start.bat", which kicks off the NodeCore_CLI, and run the "startnodecore" command. Both ways do the same thing.

See: HowTo_run_NodeCore for more details

What Success Looks like

A process should be running,

You could run either the NC_CLI or GUI Wallet and connect. For example, click "start.bat" (windows) or "start" (linux) to run the NC_CLI:

  1. connect "connect 127.0.0.1:10501"
  2. run getstateinfo

You should see something like so, i.e. a JSON response showing relevant info like the local height and network height:

Nodecore quickstart2.png

Also, your NodeCore instance should have created files:

Nodecore quickstart1b.png

What Next?