Antioch - Progress Update Q4 2020

Quick status update for the past couple of weeks -

Implementation of the “segmenter” for PIBD is ready to go -

This is dependent on the work by @jaspervdm to build “segments” based on current PMMR state here that we spent time testing/reviewing -

We believe have a solid approach now for extracting segments of chain state that can be requested and validated in parallel during PIBD.

One of the areas of my focus has been to ensure the provider of these segments can generate these efficiently with minimal cost. We take advantage of the append-only properties of our internal PMMR structures and cache a “snapshot” of the UTXO state for the current PIBD sync period (every 12 hours).

Also spent some time adjusting our default node capability flags to facilitate support of both the existing txhashset state sync and the new PIBD p2p messages. We will need to support both of these as we gradually transition across to PIBD post HF4.

Finally I have spent some time reviewing and testing the “late locking” changes to wallet. This is likely to remain “experimental” for now and not enabled by default (enabled via cmd line flags). But this should give us some much need flexibility during tx creation, particularly with slatepack interaction.

6 Likes