mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-11 04:12:36 -03:00
rpc: Add note on guarantees to getblockfrompeer
This commit is contained in:
parent
8ab19237e1
commit
cd761e6b2c
1 changed files with 2 additions and 1 deletions
|
@ -431,7 +431,8 @@ static RPCHelpMan getblockfrompeer()
|
|||
"We must have the header for this block, e.g. using submitheader.\n"
|
||||
"Subsequent calls for the same block and a new peer will cause the response from the previous peer to be ignored.\n"
|
||||
"Peers generally ignore requests for a stale block that they never fully verified, or one that is more than a month old.\n"
|
||||
"When a peer does not respond with a block, we will disconnect.\n\n"
|
||||
"When a peer does not respond with a block, we will disconnect.\n"
|
||||
"Note: The block could be re-pruned as soon as it is received.\n\n"
|
||||
"Returns an empty JSON object if the request was successfully scheduled.",
|
||||
{
|
||||
{"blockhash", RPCArg::Type::STR_HEX, RPCArg::Optional::NO, "The block hash to try to fetch"},
|
||||
|
|
Loading…
Reference in a new issue