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 Desegmenter State #3688

Closed yeastplume closed 2 years ago

yeastplume commented 2 years ago
yeastplume commented 2 years ago

Going to stop this PR here and move on to the next one. With these changes, the sync process identifies the correct bitmap segments it needs, requests them from a peer with the correct capabilities, then adds them to the desegmenter buffer. Next steps are to piece together the bitmap again, and move on to requesting and applying output segments from peers.

yeastplume commented 2 years ago

Note pibd copy test will fail with this PR due to desegmenter cache changes, will fix in next PR.