aboutsummaryrefslogtreecommitdiff
path: root/src/protocol.h
diff options
context:
space:
mode:
authorMatt Corallo <git@bluematt.me>2012-08-18 23:45:19 -0400
committerMatt Corallo <git@bluematt.me>2013-01-16 12:48:02 -0500
commitb02ddbedcba4f9d86b1aabeb71fe18ec03f9a41a (patch)
tree95b8b58eb53300a67d47b2419f218a1269de1ca8 /src/protocol.h
parent2878c67cb5e19c6ea8a013b606e82339c8fb8209 (diff)
downloadbitcoin-b02ddbedcba4f9d86b1aabeb71fe18ec03f9a41a.tar.xz
Relay CMerkleBlocks when asked for MSG_FILTERED_BLOCK
Diffstat (limited to 'src/protocol.h')
-rw-r--r--src/protocol.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/protocol.h b/src/protocol.h
index 96fd197ecd..f5c162054e 100644
--- a/src/protocol.h
+++ b/src/protocol.h
@@ -138,6 +138,9 @@ enum
{
MSG_TX = 1,
MSG_BLOCK,
+ // Nodes may always request a MSG_FILTERED_BLOCK in a getdata, however,
+ // MSG_FILTERED_BLOCK should not appear in any invs except as a part of getdata.
+ MSG_FILTERED_BLOCK,
};
#endif // __INCLUDED_PROTOCOL_H__