steemit / steem

The blockchain for Smart Media Tokens (SMTs) and decentralized applications.
https://steem.com
Other
1.95k stars 793 forks source link

Fork monitoring plugin #963

Open theoreticalbts opened 7 years ago

theoreticalbts commented 7 years ago

This plugin would save each incoming block in block_id.bin / block_id.json file, then delete the file when the block becomes irreversible. If the plugin's running while the network's forking, the blocks that end up on minority forks will never be deleted. Allowing us to preserve them to analyze why the network's forking.

sneak commented 7 years ago

That's a neat idea.

mvandeberg commented 7 years ago

For a first step, let's idump the blocks so that we can catch them in our logs, rather than saving them and trying to get them off our nodes.