-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Re-enable skipping transactions below first inscription height #1364
Comments
|
Waiting for new release of Bitcoin Core |
Could we not just use |
I suspect that this would be really slow. |
Sorry can you elaborate on why https://github.com/casey/ord/pull/1357 was merged? What was the problem with skipping? I re-enabled it and tried it with p2p indexing. Because of headers sync it syncs to first block in about 5 seconds, then is it getting every single input tx via RPC |
Also, if we are going the route of calling |
Ok I figured it out. Managed to sync by combining p2p and REST and reverting #1357 in 1:06. I think we can turn this back on :). Batching calls would overwhelm bitcoind, and |
With latest REST PR using hyper, myself on Linux and @so7ow on Mac synced in under an hour 🚀 https://github.com/casey/ord/issues/1648#issuecomment-1427946904. |
Check out https://github.com/casey/ord/pull/1759. It still hasn't been explained why skipping transactions were removed, but that PR manages to sync efficiently without having all inputs. |
I'm not sure how to do this. We'd need to get UTXO set values when we hit inscriptions. Maybe we only need UTXO values for transactions that contain inscriptions, in which case maybe the impact of fetching input transactions from bitcoin core is low.
We can also use the new verbosity level of getrawtransaction to return the value of all inputs in one go: bitcoin/bitcoin#23319
The text was updated successfully, but these errors were encountered: