Skip to content

Analyzing testnets data

Mamy Ratsimbazafy edited this page Nov 28, 2020 · 4 revisions

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