Core node setup

Instruction on the GitHub LINK

❗️

Be sure to read the instructions on setting up the #MetaHashGate node here

🚧

Please pay attention that this package can be installed on devices running UBUNTU 20.04 .

First of all, make sure, that you have the next libs:

*sudo apt update

apt install -y libgoogle-perftools4 libgmp10 liburiparser1 libcurl4 gcc g++ liburiparser-dev libssl-dev libevent-dev git automake libtool make cmake libcurl4-openssl-dev libcrypto++-dev libgnutls28-dev libgcrypt20-dev libgoogle-perftools-dev git curl wget libboost-dev*

Configuration file parameters.

Hostname, port, key, path must be replaced with user values.

Please, before starting, replace the hash field in the config file with the actual value (<24hr). You can specify today's trusted Block hash or any other today's hash from http://venus.mhscan.com/

{
  "network": "net-main",
  "hostname": "192.168.1.1",
  "port": 9999,
  "key": "0x307402abcdef....",
  "path": "/data/metahash",
  "hash": "85e6c78616632e4fba97efb1dfb403834fe909bc34e3c7efa836ff2ea974ba9b",
  "cores": [
    {
      "address": "0x00fca67778165988703a302c1dfc34fd6036e209a20666969e",
      "host": "31.172.81.114",
      "port": 9999
    }
  ]
}

After that, please, run the commands:

git clone https://github.com/metahashorg/Node-Core
cd Node-Core
mkdir build
cd build
cmake ..
make

After running these commands, Node-Core will be launched.