AntelopeIO / leap

C++ implementation of the Antelope protocol
Other
113 stars 69 forks source link

IF: Proper IF transition #2316

Closed heifner closed 3 months ago

heifner commented 3 months ago

Transition to instant-finality (savanna) when set_finalizers call is LIB according to legacy consensus. Copy over block_state equivalent block_legacy_state from the legacy forkdb to the savanna forkdb as needed during transition. Support starting from forkdb in the middle of transition. Support starting from a snapshot generated during the transition.

Not completely happy with how action_receipt_digests and valid are currently handled. We need a better mechanism for these as currently it is handled in multiple locations. qc_claim has similar issues. We should have one way of handling all of these.

Resolves #2057

ericpassmore commented 3 months ago

Note:start group: IF category: INTERNALS summary: Implementation of Improved Transition to Savanna from Legacy Consensus. Note:end