Skip to content

Commit 8789dc8

Browse files
committed
doc: Add note to getblockfrompeer on missing undo data
1 parent 4a19750 commit 8789dc8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rpc/blockchain.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,7 @@ static RPCHelpMan getblockfrompeer()
429429
"getblockfrompeer",
430430
"Attempt to fetch block from a given peer.\n\n"
431431
"We must have the header for this block, e.g. using submitheader.\n"
432+
"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"
432433
"Subsequent calls for the same block may cause the response from the previous peer to be ignored.\n"
433434
"Peers generally ignore requests for a stale block that they never fully verified, or one that is more than a month old.\n"
434435
"When a peer does not respond with a block, we will disconnect.\n"

0 commit comments

Comments
 (0)