Run A Fullnode

Quick Start

Step 1: Build geneth from source

Be sure that Go 1.13+ is already installed. Then run
1
# Clone the geneth repo
2
git clone https://github.com/genechain-io/geneth
3
# Enter the folder containing geneth source
4
cd geneth
5
# Compile
6
make geneth
Copied!

Step 2: Launch geneth to start a full node

Main Genenet

Main genenet will be available as soon as it is released. Running a full node on the main genenet is as simple as running
1
build/bin/geneth console
Copied!
This will start the geneth client with access to the main genenet.

Adenine Testnet

Running a full node on the Adenine testnet can be accomplished by appending a --adenine flag
1
build/bin/geneth --adenine console
Copied!
This will start the geneth client with access to the Adenine testnet.

Fullnode Benefits

  • The full blockchain data is stored on disk.
  • Provide RPC services.
  • Validate new blocks and transactions.
  • Verify states for accounts and contracts.

Sync Mode

Sync mode can be changed using the --syncmode "<mode>" argument where <mode> can be:
  • Full: Downloads all blocks (including headers, transactions, and receipts) and generates the state of the blockchain incrementally by executing every block.
  • Fast (Default): Downloads all blocks (including headers, transactions and receipts), verifies all headers, and downloads the state and verifies it against the headers.
  • Light: Downloads all block headers, block data, and verifies some randomly.
Last modified 7mo ago