diff options
author | Fabian Jahr <fjahr@protonmail.com> | 2021-12-18 12:42:30 +0100 |
---|---|---|
committer | Fabian Jahr <fjahr@protonmail.com> | 2022-12-19 23:23:57 +0100 |
commit | cd761e6b2cfade038b8018886c334bf25a0bcbcf (patch) | |
tree | 883b50be9d8e99742b7ba07104475465d0a9d658 /src/rpc | |
parent | 8ab19237e11ee510a7941a4ab429471b29cccd69 (diff) |
rpc: Add note on guarantees to getblockfrompeer
Diffstat (limited to 'src/rpc')
-rw-r--r-- | src/rpc/blockchain.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rpc/blockchain.cpp b/src/rpc/blockchain.cpp index 784fb64d36..03fe7bbb0e 100644 --- a/src/rpc/blockchain.cpp +++ b/src/rpc/blockchain.cpp @@ -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"}, |