summaryrefslogtreecommitdiff
path: root/bip-0152.mediawiki
diff options
context:
space:
mode:
authorRussell Yanofsky <russ@yanofsky.org>2016-11-14 10:58:22 -0500
committerRussell Yanofsky <russ@yanofsky.org>2016-11-14 10:58:34 -0500
commit376029beea0f0bec52531747291319b4c8b2ccdb (patch)
tree306b40722eee95d02d956f5619de28b415c01c32 /bip-0152.mediawiki
parent21985daefb0db972c942b8241e880ce7d4f3d635 (diff)
downloadbips-376029beea0f0bec52531747291319b4c8b2ccdb.tar.xz
BIP152: Allow block responses to getblocktxn requests
Corresponding bitcoind change in: dac53b5 Modify getblocktxn handler not to drop requests for old blocks
Diffstat (limited to 'bip-0152.mediawiki')
-rw-r--r--bip-0152.mediawiki2
1 files changed, 1 insertions, 1 deletions
diff --git a/bip-0152.mediawiki b/bip-0152.mediawiki
index 2621ea9..8f6d023 100644
--- a/bip-0152.mediawiki
+++ b/bip-0152.mediawiki
@@ -128,7 +128,7 @@ A new inv type (MSG_CMPCT_BLOCK == 4) and several new protocol messages are adde
====getblocktxn====
# The getblocktxn message is defined as as a message containing a serialized BlockTransactionsRequest message and pchCommand == "getblocktxn".
-# Upon receipt of a properly-formatted getblocktxn message, nodes which recently provided the sender of such a message a cmpctblock for the block hash identified in this message MUST respond with an appropriate blocktxn message. Such a blocktxn message MUST contain exactly and only each transaction which is present in the appropriate block at the index specified in the getblocktxn indexes list, in the order requested.
+# Upon receipt of a properly-formatted getblocktxn message, nodes which recently provided the sender of such a message a cmpctblock for the block hash identified in this message MUST respond with either an appropriate blocktxn message, or a full block message. A blocktxn response MUST contain exactly and only each transaction which is present in the appropriate block at the index specified in the getblocktxn indexes list, in the order requested.
====blocktxn====
# The blocktxn message is defined as as a message containing a serialized BlockTransactions message and pchCommand == "blocktxn".