πŸ•ŽRun a Validator

Overview

The verifier node runs the distributed consensus protocol. When a transaction is submitted to the matmo blockchain, the transaction is executed, and the transaction and execution results are stored on the blockchain. The validator node decides which transactions to add to the #blockchain and in what order, and verifies the results of the blockchain operation.

Hardware requirements

We recommend the following minimum system requirements to run validator:

  • For running a production grade public fullnode:

    • CPU: 8 cores, 16 threads (Intel Xeon Skylake or newer).

    • Memory: 32GB RAM.

  • For running the public fullnode for development or testing:

    • CPU: 2 cores.

    • Memory: 4GB RAM.

Configuring validator

code

matmo tar -xvf <path to data directory>
curl -o <path to genesis JSON> -sL <URL to genesis JSON>

validator init \
	 --datadir="<your data directory>" \
	 "<path to genesis JSON>"
	curl -o <path to data directory> -sL <URL to data director

\
\\
open-validator
 --matmo=<goerli RPC url> \
        --matmo=<matmo-validator authenticated RPC url> \
        --network=beta-1
        --rpc.addr=127.0.0.6 \
        --rpc.port=9445 \
      
        
        base:
  role: "full_node"
  data_dir: "/opt/matmo/data"
  waypoint:
    from_file: "/opt/matmo/etc/waypoint.txt"

execution:
  genesis_file_location: "/opt/matmo/etc/genesis.blob"

full_node_networks:
- network_id: "public"
  discovery_method: "onchain"
  listen_address: "/ip4/0.0.0.0/tcp/6182"

api:
  enabled: true
  address: "0.0.0.0:8080"
--matmo.jwt-secret=<path to JWT secret>

Last updated