Skip to content

Commit 4792cad

Browse files
committed
doc: comment out and add annotation to unused MSG_FILTERED_WITNESS_BLOCK
1 parent 30dd562 commit 4792cad

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/protocol.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,9 @@ enum GetDataMsg : uint32_t {
397397
MSG_CMPCT_BLOCK = 4, //!< Defined in BIP152
398398
MSG_WITNESS_BLOCK = MSG_BLOCK | MSG_WITNESS_FLAG, //!< Defined in BIP144
399399
MSG_WITNESS_TX = MSG_TX | MSG_WITNESS_FLAG, //!< Defined in BIP144
400-
MSG_FILTERED_WITNESS_BLOCK = MSG_FILTERED_BLOCK | MSG_WITNESS_FLAG,
400+
// MSG_FILTERED_WITNESS_BLOCK is defined in BIP144 as reserved for future
401+
// use and remains unused.
402+
// MSG_FILTERED_WITNESS_BLOCK = MSG_FILTERED_BLOCK | MSG_WITNESS_FLAG,
401403
};
402404

403405
/** inv message data */

0 commit comments

Comments
 (0)