Bitcoin

Bitcoin Core – scantxoutset timeout

I have a very simple Python code that uses scantxoutset.

The problem is that it keeps timing out when debugging in pycharm.

rpc_connection = rpcConnector.rpcConnect()

json_req = ("desc": "addr(1K6KoYC69NnafWJ7YgtrpwJxBLiijWqwa6)")

tx_scan = rpc_connection.scantxoutset("start", json_req)

When I run it without debugging, the script completes before scantxoutset returns anything.

Am I using this wrong?

Related Articles

Back to top button