Howto & FAQ
The following list of commands helps the user to query the details in a node
Querying a node for PeerID
Querying a node for block details using block hash
Assuming that the chain is running on the localhost with default RPC port
Genesis mismatch
When we try to sync the chain, we might get errors about geneis mismatch like below:
Report 12D3KooWEyoppNCUx8Yx66oV9fJnriXwCcXwDDUA2kj6vnc6iDEp: -2147483648 to -2147483648. Reason: Genesis mismatch. Banned, disconnecting.
This means that the genesis file of the original network is different from the one available to the node being started. We must get the correct genesis file from the source location/chain. To generate genesis file on running node using peerplays build-spec
Example: ./peerplays build-spec --chain=testnet > genesis.json
Than run node with parameter --chain=genesis.json
Last updated