Using web3
to connect to a geth
's node rpc API, is there a way to detect when a block has been mined by a specific node? The only way I've found so far is to redirect the node's console output to a file and parse that file. Is there a better way?
FYI - All the nodes are mining to the same public address so I can't use the miner
property of a block.