How to Run A Fullnode on HashBit
Fullnodes Functions
- Stores the full blockchain history on disk and can answer the data request from the network.
- Receives and validates the new blocks and transactions.
- Verifies the states of every accounts.
Supported Platforms
We support running a full node on Mac OS X
and Linux
.
Suggested Requirements
Fullnode
- VPS running recent versions of Mac OS X or Linux.
- 4 cores of CPU and 8 gigabytes of memory (RAM).
- A broadband Internet connection with upload/download speeds of 5 megabyte per second
Steps to Run a Full Node
Download hbit_mainnet.json and static-nodes.json from https://github.com/HashBitorg/node-info
wget https://raw.githubusercontent.com/HashBitorg/node-info/master/hbit_mainnet.json
wget https://raw.githubusercontent.com/HashBitorg/node-info/master/static-nodes.json
Make node folder
mkdir node
Initialize the Node
./geth --datadir ./node init hbit_mainnet.json
Copy the static-nodes.json to node/geth
Run the Nodes
./geth --datadir node --syncmode 'full' --gcmode=archive --port 40605 --http --http.port 3545 --http.api 'personal,eth,net,web3,personal,admin,miner,txpool,debug' --bootnodes enode://9739d7170c6d45e4b5bdd4b40ffd85a76d6377087997a97ff2711e8c79b8dc7d9[email protected]202.143.109.133:0?discport=40606 --networkid 11119 --allow-insecure-unlock