mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-04 21:04:58 +02:00
Merge bitcoin/bitcoin#26508: RPC/Blockchain: Minor improvements for scanblocks & scantxoutset docs/errors
f9869843a6RPC/blockchain: scan{blocks,txoutset>: Further doc improvements (Luke Dashjr)54b45e155eRPC/Blockchain: Clarify invalid-action error in scanblocks & scantxoutset (Luke Dashjr) Pull request description: * Clarify invalid-action error in scanblocks & scantxoutset * Mention action=='start' only returns after scan completes (already in scantxoutset) * Document `relevant_blocks` ACKs for top commit: kristapsk: utACKf9869843a6aureleoules: ACKf9869843a6MarnixCroes: ACKf9869843a6Tree-SHA512: a37c9cc8a9a2f59376e8d8ed7dbf5e140eb3fefb4b7c19a23fc8190f3aef060bda1f0d5d06dc81cd7dca9e871d65f6c8094bab6e8d42e0bcef0fc7ffd2342d09
This commit is contained in:
@@ -122,7 +122,7 @@ class ScanblocksTest(BitcoinTestFramework):
|
||||
assert_equal(node.scanblocks("abort"), False)
|
||||
|
||||
# test invalid command
|
||||
assert_raises_rpc_error(-8, "Invalid command", node.scanblocks, "foobar")
|
||||
assert_raises_rpc_error(-8, "Invalid action 'foobar'", node.scanblocks, "foobar")
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
Reference in New Issue
Block a user