ironfish
ironfish copied to clipboard
Very long latency in mining
What happened?
For miner/newBlocksStream
, node gives out a new work for next block very long time after a new block synced. could be 10-80sec or even longer, under very low (< 2) system load.
Version
0.1.34
Debug output
No response
Relevant log output
No response
Graffiti
bh9sqoCqIR3rDFstCCCw1g
0.1.36 still suffers from this issue. please look into it! latency goes up to 100+ seconds, rendering the node totally useless for mining.
Are you still seeing this behavior?
Yes. this issue still not solved, v0.1.41 and the latency becomes longer and longer, into hundreds of seconds. the node is useless for mining.
to verify this. start a miner/newBlocksStream, wait for new works, check last blcok timestamp.
for a in 1 ; do echo -n '{"type":"message","data":{"mid":1,"type":"miner/blockTemplateStream"}}\x0c' ; sleep 1 ; done | nc <node IP> <rpc port> | tr '\014' '\n'
might need --no-rpc.tcp.tls
to see clear text block template
Can also compare node status with newBlocksStream
side by side, mining work comes much later than new block on the node.
Closing due to staleness. If the issue persists in versions 1.0.0+
- please file a new issue