mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-10 03:47:29 -03:00
doc: Add note to getblockfrompeer on missing undo data
This commit is contained in:
parent
4a1975008b
commit
8789dc8f31
1 changed files with 1 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue