iroha icon indicating copy to clipboard operation
iroha copied to clipboard

SUMERAGI: Handle Soft Forks

Open takemiyamakoto opened this issue 4 years ago • 2 comments

Separate finalized WSV with pending WSV.

Un-apply blocks that are replaced with proofs of cancellation.

takemiyamakoto avatar Jul 15 '21 18:07 takemiyamakoto

Soft forks can happen when the proxy tail sends a fully signed block to only one peer, for example, then that peer goes offline while other peers do a view change and replace the already committed local block. Then when the peer comes back online, it should replace their committed block with a newly created block that supercedes it.

takemiyamakoto avatar Jul 16 '21 13:07 takemiyamakoto

NOTE: because we cancel out overridden block hashes, we know what block(s) should be replaced. Finalization happens after 1 block, so max depth of soft fork is just 1 block.

takemiyamakoto avatar Jul 16 '21 13:07 takemiyamakoto