If you use the Neuron Wallet and have been having some issues with syncing or long wait times, you may want to consider running a full node. I have a spare computer I use as a file server and I thought what a great way to add additional value to the Nervos Network by running a dedicated full node that is available 24x7.
Let’s walk through this. First, download the latest release CKB binary file from CKB releases page on GitHub.
I downloaded and renamed the folder CKB. I placed it in my documents folder.
Next, open up the Terminal and type the following:
ls to list the contents of the folder.
./ckb init as shown below:
./ckb run; it will take a couple hours to download the entire node.
There are currently as of this post 4363 epochs to download:
As shown below, I have now downloaded the entire node (8.21 GB).
Now download and install Neuron.
Open Neuron and it will take some time for it to sync. There are actually two different sync operations going on. First there is the CKB node which has to sync with the network. The second is the indexer sync that is part of Neuron. Neuron is gathering information from the CKB node and indexing it so it can access it faster. Since your CKB node is already in full-sync, the indexer-sync is faster. Every time you open Neuron, it will have to catch-up, but it usually only takes a few seconds if it has run recently.
NOTE: Do not forget to point the default node to the location of your fully synced node. The default is shown below (Neuron | Preferences | Network).
Change the above to point to internal IP address of your fully synced node.
If at any time, you close the Terminal of your CKB Node, you will get the following error:
Simply run the terminal again and you will be fine as shown below (GIF).
Congratulations, you now have a dedicated node setup on your network.
There has been an update to the Full Node for CKB Run with Neuron. Documentation of the indexer command is here on Github discussion: https://github.com/nervosnetwork/neuron/discussions/2470#discussioncomment-4833587