SV Node
Quick start
The svnode-quickstart scripts offer a streamlined way to set up a BSV Blockchain SV Node. These helper scripts automate various steps of the installation process, significantly reducing the time and effort required compared to manual setup. They provide an efficient solution for quickly getting an SVNode operational, while the detailed manual installation instructions outlined below offer a comprehensive guide for those who prefer or require a thorough understanding of each step.
The svnode-quickstart scripts also provide an option to sync a snapshot, which can significantly expedite getting your setup operational. However, users should carefully read the snapshots disclaimer regarding trust and security considerations here before proceeding.
Manual installation
The following instructions describe installing BSV Blockchain SV Node using tools available in most mainstream Linux distributions. The assumption has been made that you are using a Bourne-like shell such as bash.
To start the install of SV Node, make sure you use an account that can use su or sudo to install software into directories owned by the root user.
Download the zipped release of your choosing, for this example we are using 1.1.1 which is the latest release at the time of writing:
wget https://releases-svnode.bsvblockchain.org/svnode-1.2.0/bitcoin-sv-1.2.0-x86_64-linux-gnu.tar.gzConfirm downloaded file sha hash matches those provided at download.bitcoinsv.io for the version you have downloaded.
sha256sum bitcoin-sv-1.2.0-x86_64-linux-gnu.tar.gz
# Expected Output
# 994635b654bc7878895c672b17bea078ee013804580c56bdcf9fe9d109218716 bitcoin-sv-1.2.0-x86_64-linux-gnu.tar.gzLocate the file you downloaded and extract it using the tar command followed by the argument xzf followed by the file name. The argument xzf means eXtract the gZipped tar archive file. For example, for a 64-bit tar archive in your current directory, the command is:
tar xvf bitcoin-sv-1.2.0-x86_64-linux-gnu.tar.gzCreate a symbolic link from a new directory called bitcoin to the bitcoin-sv-1.0.16 directory you just made by unzipping for easier use and updates:
ln -s bitcoin-sv-1.2.0 bitcoinCreate a bitcoin-data directory to put bitcoin data in (or else Bitcoin will put data in ~/.bitcoin by default):
Data folder considerations
The bitcoin-data folder will contain the logs, blocks, UTXO set and various other files the SV Node needs to function. For mainnet this folder will get very big, around 350GB for the UTXO set and 12TB for the blocks as of January 2024. The UTXO set store in bitcoin-data/chainstate is used for lookups to validate transactions and should be stored on a high-performant SSD. Depending on your use case, the bitcoin-data/blocks folder can be stored on slower, cheaper HDD storage.
If setting up the node in AWS, see AWS Volumes Setupfor more details on a recommended setup.
Config
Create a bitcoin.conf file in the directory to configure the settings to run your node using:
A detailed list of available options can be found in Configuration. Below is an example bitcoin.conf file used by a node on the mainnet:
Systemd
To run Bitcoind, pass in the location of the configuration file as well as the location of where to store the bitcoin data:
Create the bitcoind.service file:
Then start:
The SV Node will now start and you can monitor progress in the log file. It will take several days for a fresh sync of the entire chain as of January 2024.
Last updated
