bitcoin-rpc-client
bitcoin-rpc-client copied to clipboard
rescanblockchain absent from query
Hi,
The rescanblockchain method is absent. It is a really useful command to insert several private keys without rescanning and only rescan once they are all inserted.
The BitcoinRPCClient as a READ_TIMEOUT private static final of 1 minute. It is too short for rescanning after a single import passing the option to importprivatekey or rescanning with rescanblockchain.
On my computer, I have a branch where an attribute replace READ_TIMEOUT, it can therefore be change and adapted for specific queries. I was then able to add the rescanblockchain.
Is there an important reason why READ_TIMEOUT private static final is used for connection timeout? Otherwise do you want me to make a PR with this version of the class and the rescanblockchain query?
Best regards,
Hello, we don't use that method so I never faced the problem. If you want to try working on it, a PR is welcome.
Thanks, I will try to do so.