4 Analyzing testnets data
Mamy Ratsimbazafy edited this page 2020-11-28 18:21:30 +01:00

Gossip sub

tail -f nbc.log| grep -i "processing message with id\|forwarding message to\|message already processed, skipping\|dropping message due to failed signature verification\|dropping message due to failed validation\|eof\|finalized\|decoded msg from peer\|Received Goodbye message\|connected"

Peers

curl -d '{"jsonrpc":"2.0","id":"id","method":"peers","params":[] }' -H 'Content-Type: application/json' localhost:9190 -s  | jq

Genesis state pretty print

curl -d '{"jsonrpc":"2.0","method":"get_v1_debug_beacon_states_stateId","params":["genesis"],"id":1}' -H 'Content-Type: application/json' localhost:9190 -s | jq .result