Conversation
|
The "state" that is saved is not the state of "irreversibility" but the state of a potentially reversible future block. This plugin should take the snapshot immediately after the referenced block is applied. The snapshot should be in binary not json. It will need to save the block_header_state object as well in order to prevent need to replay. |
|
Just so you know.. I also have a solution to freeze a chain at a given block. It's in You can run: It listens and sniffs the p2p protocol, and stops propagation, leaving you with a blockchain frozen at a given state. You can then normally query the contracts and all, without fearing it will continue. |
|
whoops, the link is here: https://github.com/eoscanada/eosc or more precisely: https://github.com/eoscanada/eosc/blob/master/eosc/cmd/bpsChainFreeze.go |
67cd068 to
19a2650
Compare
1314e92 to
a5b71d3
Compare
|
Replaced by #4837 |
This PR adds a new plugin that allows to take a snapshot of the blockchain state at a determined block.
The snapshot is taken after the block is applied and its saved when that block becomes irreversible.
The generated snapshot contains: