mimblewimble / grin

Minimal implementation of the Mimblewimble protocol.
https://grin.mw/
Apache License 2.0
5.04k stars 992 forks source link

[PIBD_IMPL] Catch-Up functionality + Fixes based on testing #3702

Closed yeastplume closed 2 years ago

yeastplume commented 2 years ago

Fixes and changes resulting from extensive testing on testnet under different scenarios. Most notably, these changes ensure that a node catching up after a long period of being offline will start the PIBD process from the last validated chain height, update the output leaf sets as needed and re-validate the update chain state without having to re-download the entire set.