mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-25 10:43:19 -03:00
RPC/blockchain: scan{blocks,txoutset>: Further doc improvements
This commit is contained in:
parent
54b45e155e
commit
f9869843a6
1 changed files with 5 additions and 4 deletions
|
@ -2254,12 +2254,13 @@ static RPCHelpMan scanblocks()
|
|||
},
|
||||
{
|
||||
scan_result_status_none,
|
||||
RPCResult{"When action=='start'", RPCResult::Type::OBJ, "", "", {
|
||||
RPCResult{"When action=='start'; only returns after scan completes", RPCResult::Type::OBJ, "", "", {
|
||||
{RPCResult::Type::NUM, "from_height", "The height we started the scan from"},
|
||||
{RPCResult::Type::NUM, "to_height", "The height we ended the scan at"},
|
||||
{RPCResult::Type::ARR, "relevant_blocks", "", {{RPCResult::Type::STR_HEX, "blockhash", "A relevant blockhash"},}},
|
||||
},
|
||||
},
|
||||
{RPCResult::Type::ARR, "relevant_blocks", "Blocks that may have matched a scanobject.", {
|
||||
{RPCResult::Type::STR_HEX, "blockhash", "A relevant blockhash"},
|
||||
}},
|
||||
}},
|
||||
RPCResult{"when action=='status' and a scan is currently in progress", RPCResult::Type::OBJ, "", "", {
|
||||
{RPCResult::Type::NUM, "progress", "Approximate percent complete"},
|
||||
{RPCResult::Type::NUM, "current_height", "Height of the block currently being scanned"},
|
||||
|
|
Loading…
Add table
Reference in a new issue