summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke-Jr <luke_github1@dashjr.org>2016-11-15 07:54:09 +0000
committerGitHub <noreply@github.com>2016-11-15 07:54:09 +0000
commit1dedbfa5a6a6383d4dd87422ca1e4fabba450df8 (patch)
treee212e1789db6b68e8bb200547f4e741ad2186168
parent095fbdab949a3aa2d20c7e32be1e3f97c926eb50 (diff)
parent376029beea0f0bec52531747291319b4c8b2ccdb (diff)
downloadbips-1dedbfa5a6a6383d4dd87422ca1e4fabba450df8.tar.xz
Merge pull request #469 from ryanofsky/getblocktxn-nonrecent
Allow block responses to getblocktxn requests
-rw-r--r--bip-0152.mediawiki2
1 files changed, 1 insertions, 1 deletions
diff --git a/bip-0152.mediawiki b/bip-0152.mediawiki
index b1cc468..e05cc2a 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 getblocktxnmessage, 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".