Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Feature: Switch to AssumeUTXO #92

Open
BenWestgate opened this issue Nov 3, 2023 · 6 comments
Open

New Feature: Switch to AssumeUTXO #92

BenWestgate opened this issue Nov 3, 2023 · 6 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed performance priority: high issues raised or encountered by 2 or more testers
Milestone

Comments

@BenWestgate
Copy link
Owner

When Bitcoin Core 26.0 is released, switch Bails to use AssumeUTXO.

This will reduce initial time to use from hours or days to minutes, even on slower computers or flash drives.

It will however require a higher minimum USB size than 16GB as there will be two copies of the chainstate folder (now up to 7GB), 32GB will be the new minimum size to support this feature. It won't be worth allowing 16GB to sync without it as they have less than 1GB of free space for blocks at this time and also, 32GB USB flash drives are cheaper than 16GB on Amazon.

@BenWestgate BenWestgate added documentation Improvements or additions to documentation enhancement New feature or request priority: high issues raised or encountered by 2 or more testers performance labels Nov 3, 2023
@BenWestgate
Copy link
Owner Author

Marked high priority as I've had two testers need more than week to sync due to 4GB of RAM and a slow USB stick.

@BenWestgate
Copy link
Owner Author

@BenWestgate
Copy link
Owner Author

@epiccurious have you tried the new commands in v26.0 to sync with AssumeUTXO, it involves hardcoding some chainstate snapshot mirrors or onion services. (I guess I could host one, to keep track of how many people are using this.) Currently there's no P2P for distributing the snapshot. But the checksum of the snapshot is hardcoded into Bitcoin Core so any option works.

Since it's a huge download I would probably want to display a progress bar for the users since it is happening outside of Bitcoin Core.

@BenWestgate
Copy link
Owner Author

I consider this a Beta required feature. Otherwise dozens of people are going to be downloading for days and maybe most wont finish and certainly most won't recommend this to others due to the long time until being useful.

@BenWestgate BenWestgate pinned this issue Mar 24, 2024
@BenWestgate BenWestgate changed the title Switch to AssumeUTXO New Feature: Switch to AssumeUTXO Mar 27, 2024
@BenWestgate BenWestgate added this to the L1 (BETA) milestone Mar 27, 2024
Copy link

Stale issue message

@BenWestgate
Copy link
Owner Author

This will be the first of the 3 headline BETA features worked on.

Remember to account for double the assumed_chainstate size when initially setting prune.

After the node catches up, we can increase the prune setting at that time for better future performance.

@BenWestgate BenWestgate added help wanted Extra attention is needed and removed no-issue-activity labels May 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed performance priority: high issues raised or encountered by 2 or more testers
Projects
None yet
Development

No branches or pull requests

1 participant