Skip to content

Commit 376029b

Browse files
committed
BIP152: Allow block responses to getblocktxn requests
Corresponding bitcoind change in: dac53b5 Modify getblocktxn handler not to drop requests for old blocks
1 parent 21985da commit 376029b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bip-0152.mediawiki

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ A new inv type (MSG_CMPCT_BLOCK == 4) and several new protocol messages are adde
128128
129129
====getblocktxn====
130130
# The getblocktxn message is defined as as a message containing a serialized BlockTransactionsRequest message and pchCommand == "getblocktxn".
131-
# 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.
131+
# 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.
132132
133133
====blocktxn====
134134
# The blocktxn message is defined as as a message containing a serialized BlockTransactions message and pchCommand == "blocktxn".

0 commit comments

Comments
 (0)