Return the color of give block. Once block confirmed by main block, it is colored in line with consensus algorithm
hash (string)
block hashblock color: (numeric)
0
red: malfunctioning block, no block reward1
blue: honest block, reward granted2
cannot confirm: wait for confirmation by main blockcurl --data '{"method":"GetOrphansTotal","params":[],"jsonrpc":"2.0","id":1}' -s -k -u "rpcuser:rpcpass" -H 'Content-Type: application/json' http://127.0.0.1:18131 |jq .
0
© Copyright Qitmeer 2021.
This work is licensed under a Creative Commons Attribution 4.0 International License