Closed yoprogramo closed 10 months ago
Hello,
I have installed a full bitcoin node (testnet) in a machine inside my local network, I have configurard inside providers.json as:
"bitcoind.testnet": { "provider": "bitcoind", "network": "testnet", "client_class": "BitcoindClient", "url": "http://user:pass@172.18.0.48:18332", "api_key": "", "priority": 11, "denominator": 100000000 }
When I execute the example, it works fine and I' able to see the rpc calls in the debug log of the node
>>> from bitcoinlib.services.bitcoind import BitcoindClient >>> base_url = 'http://user:pass@172.18.0.48:18332' >>> bdc = BitcoindClient(base_url=base_url) >>> txid='5be96332d5dcaeae72e3f81e69230ccc50cf1eb172850dbf1fcaa55f1f6b9c99' >>> rt = bdc.getrawtransaction(txid) >>> print("Raw: %s" % rt) Raw: 02000000000101dfc42faee33ddada2543639df664972878376605e386905a0d8d201389fb21140000000000fdffffff02fb7977f701000000160014e6addae37027ce8d2825ec7e959f2f246ed275e82ab0180000000000160014382f5ef14a13eb00e9cd7b496543f09464616e870247304402207147aab1d21994702a4258f5cba6529ab1e8afbf47ccb88eff3846f6c49f67f50220145f58c6ce7e828dd834de68988c42998929fed1ab673e69fe24034f542f26640121036dd1be65e183f9b0e84bc5fa324cd90894773909118028494b5c9338bed2c928d6c32600
debug.log:
2023-11-27T07:27:53Z [rpc] ThreadRPCServer method=getrawtransaction user=user
BUT when I use wallets and update the utxo's (for example) there are not rpc log... How can I force the use of this node?
Hello,
I have installed a full bitcoin node (testnet) in a machine inside my local network, I have configurard inside providers.json as:
When I execute the example, it works fine and I' able to see the rpc calls in the debug log of the node
debug.log:
BUT when I use wallets and update the utxo's (for example) there are not rpc log... How can I force the use of this node?