Masternode

Mikhail edited this page Sep 21, 2018 · 10 revisions
  1. Install masternode

sudo apt-get update

sudo apt-get install wget screen -y

Clone the repository to a directory of your choosing:

git clone https://github.com/genom-project/genom

Install latest distribution of Go (v1.9.7) if you don't have it already:

See instructions

Building geth requires Go and C compilers to be installed:

sudo apt-get install -y build-essential

Finally, build the geth program using the following command.

sudo chmod -R 777 genom/

cd genom

make geth

You can now run build/bin/geth to start your node.

cd /root/genom/build/bin

Linux

screen -S MasterNode ./geth --rpc --rpcport 8545 --cache=2048 --extradata "masternode" --fast --bootnodes "enode://f700e2907b89b832e4e5b27a1aa5c6710eded2c8400df310a7d7a6c656d299d8c5d865ee7b3026f14eb827f5a28c512fbc8f3e21c2a2c5324006b1d6ffa0e4a7@[37.143.13.112]:30303" console

Windows

geth-windows-4.0-amd64.exe --rpc --rpcport 8545 --cache=2048 --extradata "masternode" --fast --bootnodes "enode://f700e2907b89b832e4e5b27a1aa5c6710eded2c8400df310a7d7a6c656d299d8c5d865ee7b3026f14eb827f5a28c512fbc8f3e21c2a2c5324006b1d6ffa0e4a7@[37.143.13.112]:30303" console

Wait until the client is fully synchronized

In the running geth application, type (admin.nodeInfo) and copy the result from the enode: lines id: Example(b47d794fceaa251ea32088f6a7e39c8b28bfa8a2f4d08107d055047110926f db679f2c2235dbe05e7a79c387e4994cd72a2184230d8137747cc950c94359d03c) It is required for registration in the system.

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.