OJX Chain Fullnode

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 Xand 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

  • Build geth from https://github.com/ojacoin/ojx20 or download from https://github.com/ojacoin/ojx20/bin/

Steps to Run a Full Node

Download ojx.json from https://github.com/ojacoin/ojx20/tree/master/genesis

wget  https://raw.githubusercontent.com/ojacoin/ojx20/tree/master/genesis/ojx.json

Make node folder

mkdir node1

Initialize the Node

./geth --datadir ./node1 init ojx.json

Run the Nodes

./geth --datadir node1 --syncmode 'full' --gcmode=archive   --port 40605 --http --http.port 3545 --http.api 'personal,eth,net,web3,personal,admin,miner,txpool,debug' --bootnodes enode://549d2a067aa799700ca121b586f3a6b177100e8236fe1f3731ff18209aa84f0431d1de1860f0d989d465b4ae1364d381eb05c77e621057a3e1211c7a76be59b7@23.147.225.133:0?discport=40606 --networkid 57522 --allow-insecure-unlock

Last updated