Snap Coin Node
Installation
To install Snap Coin Node, run:
Make sure you have cargo, and rust installed.
General Information
By default the node is hosted on port 8998, and the Snap Coin API server is hosted on 3003. This can be changed with command line arguments, mentioned below.
Usage
Available arguments:
-
--peers [peers]Specified seed nodes, from which this node wil find other nodes to connect too and strengthen its network. -
--no-apiDisable Snap Coin API. -
--headlessDisable terminal ui, doesn't even print to TTY. Only to info.log. -
--no-ibdDisable initial block download. -
--node-path [path]Specify path where the node will store its state. -
--create-genesisCreate a new genesis block and add it to the blockchain. -
--api-port [port]Specify port on which the api is to be hosted. -
--node-port [port]Specify port on which the node is to be hosted. -
--debugEnable async debugging. You can access this by using thetokio-consolecommand (you might need to install it viacargo install tokio-console) -
--reserved-ips [ips]Specified ip addresses, which are to be flagged as the nodes addresses. -
--full-memoryStart RandomX in full memory mode (faster hash verification, 2gb of memory allocated to RandomX) -
--no-auto-peerDo not start auto peer discovery