Skip to content

Conversation

@kcalvinalvin
Copy link
Contributor

No description provided.

@kcalvinalvin kcalvinalvin force-pushed the 2025-12-24-utreexo-swiftsync branch from ad1eec6 to 25d6002 Compare January 2, 2026 06:58
We implement the aggregator and only add the leaf hashes that are still
utxos at the end of the ttl state.

We don't yet check that the aggregator ends up to 0 after we're finished
with the swiftsync part of the ibd.
This is done so that the utreexoviewpoint will be re-loaded on shutdown
and startup.
If we have ttls, it means we're still doing swiftsync part of the ibd
which means that we don't perform any deletions. Since we don't perform
deletions, there's no need to verify anything.
@kcalvinalvin kcalvinalvin force-pushed the 2025-12-24-utreexo-swiftsync branch from 25d6002 to 86b23f8 Compare January 4, 2026 08:52
The request bitmap is able to communicate that the requester wants all
of the elements in each of the given fields in a utreexo proof.
After the swiftsync part of ibd has been completed, the aggregator
should be at zero. The function let's outside callers handle the error
if the aggregator isn't at zero.
When the swiftsync part of ibd is complete, the aggregator must be at 0.
We now perform this check.
@kcalvinalvin kcalvinalvin force-pushed the 2025-12-24-utreexo-swiftsync branch from 3606740 to fa29397 Compare January 5, 2026 05:53
@kcalvinalvin kcalvinalvin merged commit 5fae879 into utreexo:main Jan 5, 2026
2 checks passed
@GustavoStingelin
Copy link

👀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants