Skip to content

need custom lookahead #1410

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

Closed
arronzhang opened this issue Apr 22, 2024 · 2 comments
Closed

need custom lookahead #1410

arronzhang opened this issue Apr 22, 2024 · 2 comments
Labels
new feature New feature or request

Comments

@arronzhang
Copy link

I generated 100 btc addresses and transferred. It was found that only the first 25 could be signed. It is should be restricted by DEFAULT_LOOKAHEAD, and no configurable code was found. Is there any other way?

@arronzhang arronzhang added the new feature New feature or request label Apr 22, 2024
@arronzhang
Copy link
Author

We can create the address by AddressIndex::New first to fix it.

for _ in 0..100 {
        wallet.try_get_address(AddressIndex::New)?;
    }

@LLFourn
Copy link
Contributor

LLFourn commented Apr 23, 2024

I think #1250 will allow you to configure DEFAULT_LOOKAHEAD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants