aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Jahr <fjahr@protonmail.com>2024-03-17 17:41:17 +0100
committerFabian Jahr <fjahr@protonmail.com>2024-06-23 00:15:28 +0200
commit8789dc8f315a9d9ad7142d831bc9412f780248e7 (patch)
tree584c84082dbcbae166947a0d9b528e6106535003
parent4a1975008b602aeacdad9a74d1837a7455148074 (diff)
downloadbitcoin-8789dc8f315a9d9ad7142d831bc9412f780248e7.tar.xz
doc: Add note to getblockfrompeer on missing undo data
-rw-r--r--src/rpc/blockchain.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpc/blockchain.cpp b/src/rpc/blockchain.cpp
index fd1d1e4e87..9a838ab77d 100644
--- a/src/rpc/blockchain.cpp
+++ b/src/rpc/blockchain.cpp
@@ -429,6 +429,7 @@ static RPCHelpMan getblockfrompeer()
"getblockfrompeer",
"Attempt to fetch block from a given peer.\n\n"
"We must have the header for this block, e.g. using submitheader.\n"
+ "The block will not have any undo data which can limit the usage of the block data in a context where the undo data is needed.\n"
"Subsequent calls for the same block may 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"