fluxd
fluxd copied to clipboard
Write to disk on next block after tip disconnected
When a node shutdowns ungracefully. Sometimes (not deterministically) its state can get corrupted.
This change should allow the node to save a known good state after it adds a block after an orphan.
Also remove logs that are no longer needed.