-
Notifications
You must be signed in to change notification settings - Fork 204
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
Use Bitcoin regtest #355
Comments
I'm not sure if the mentioned PR is addressing all the issues mentioned in the issue. I'm also facing the issue with the wrong chain param for the regtest network. The https://github.com/bitcoin/bitcoin/blob/master/src/kernel/chainparams.cpp#L522 |
After some more testing and digging i found out that When wallet.scan() is called in our case, BitcoindClient.gettransactions(wallet_address, '', 20) is called and fails error:
When changing |
My workaround for now is pointing to a custom data directory as follows:
In the P.S. You need to replicate all the required files in the data directory: https://github.com/1200wd/bitcoinlib/tree/master/bitcoinlib/data |
Dear maintainers/contributors
Bitcoinlib version
0.6.13
Goal:
Use Bitcoin regtest for platform code testing having the availability to provide test users with credit and run our platform tests.
Problem:
When opening an existing wallet, the
wallet.scan()
function fails with error:bitcoinlib.services.services.ServiceError: No successful response from any serviceprovider: ['bitcoind']
Steps taken:
providers.json
:network.jon
forregtest
:have a functinoing bitcoin-core node running in regtest mode on url from providers.json
create some wallets using bitcoinlib
mine some coins on bitcoin node and send some to a bitcoinlib wallet using bitcoin-cli on bitcoin node.
bitcoinlib commands:
Maybe I'm doing something wrong or have missed a configuration step?
Any help appreciated and thanks for the great project!
The text was updated successfully, but these errors were encountered: