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

fail gracefully if user doesn't have bitcoind with scanblocks enabled #30

Open
chrisguida opened this issue Dec 6, 2023 · 2 comments
Open
Milestone

Comments

@chrisguida
Copy link
Owner

chrisguida commented Dec 6, 2023

they need bitcoind >=v25 (i think) and blockfilterindex=1 enabled

They also need the index to be finished building

fallback to esplora?

need to fix esplora in that case bitcoindevkit/bdk#1120 (comment)

@chrisguida chrisguida self-assigned this Dec 6, 2023
@chrisguida chrisguida added this to the v0.1 release milestone Dec 6, 2023
@chrisguida chrisguida removed their assignment Dec 7, 2023
@ca-ruz
Copy link

ca-ruz commented Sep 30, 2024

Hey, I tried this and got error:

$ cl smaug add "wpkh([56003681/84h/0h/0h]tpubDDrecdRDGxYiu2eduJiPyojMQQJcCnQpyLpA18BkEFtr8S9jgAGAhZ5TKgpArzcnu8qYcVtad2KGXhWsxRgjJbLLwMDH3SW4YcaHbScwLs1/0/*)#840qygs5" "wpkh([56003681/84h/0h/0h]tpubDDrecdRDGxYiu2eduJiPyojMQQJcCnQpyLpA18BkEFtr8S9jgAGAhZ5TKgpArzcnu8qYcVtad2KGXhWsxRgjJbLLwMDH3SW4YcaHbScwLs1/1/*)#kp2peaqv"
"JSON-RPC error: RPC error response: RpcError { code: -1, message: \"Index is not enabled for filtertype basic\", data: None }"

@ca-ruz
Copy link

ca-ruz commented Sep 30, 2024

If the block filter index is currently syncing, the add command runs and waits for it to finish, we should an error if the block filter index is not done being built.

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

No branches or pull requests

2 participants