mimblewimble / grin

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

[PIBD_IMPL] PIBD tree sync via network and kill/resume functionality #3691

Closed yeastplume closed 2 years ago

yeastplume commented 2 years ago

As of the changes in this PR, was able to recreate the txhashset on a new node syncing from a single testnet client on a closed network. Also ensures that the PIBD process can continue where it left off when the grin process is killed and restarted.

Note that the code isn't currently moving on the sync state to the next (validation) phase; that will be the focus of the next PR.

Specific Changes: