Commenting out and adding a note to unused MSG_FILTERED_WITNESS_BLOCK defined in BIP144.
There was an attempt to make use of this in #10350, but it was closed due to lack of support. (h/t sdaftuar for pointing to the PR and jnewbery for the idea)
Commenting out and adding a note to unused MSG_FILTERED_WITNESS_BLOCK defined in BIP144.
There was an attempt to make use of this in #10350, but it was closed due to lack of support. (h/t sdaftuar for pointing to the PR and jnewbery for the idea)
ACK 4792cad88c5c3c93e639a051df779230ee817396
$ git grep MSG_FILTERED_WITNESS_BLOCK
src/protocol.h: MSG_FILTERED_WITNESS_BLOCK = MSG_FILTERED_BLOCK | MSG_WITNESS_FLAG,
ACK, this change was suggested in #19610 (review)
396 | @@ -397,7 +397,9 @@ enum GetDataMsg : uint32_t { 397 | MSG_CMPCT_BLOCK = 4, //!< Defined in BIP152 398 | MSG_WITNESS_BLOCK = MSG_BLOCK | MSG_WITNESS_FLAG, //!< Defined in BIP144 399 | MSG_WITNESS_TX = MSG_TX | MSG_WITNESS_FLAG, //!< Defined in BIP144 400 | - MSG_FILTERED_WITNESS_BLOCK = MSG_FILTERED_BLOCK | MSG_WITNESS_FLAG, 401 | + // MSG_FILTERED_WITNESS_BLOCK is defined in BIP144 as reserved for future 402 | + // use and remains unused. 403 | + // MSG_FILTERED_WITNESS_BLOCK = MSG_FILTERED_BLOCK | MSG_WITNESS_FLAG,
It's supported by Bitcoin Knots, so I'm not sure "unused" is clear enough here... Maybe "remains unsupported by Bitcoin Core"?
Obvious ACK 4792cad88c5c3c93e639a051df779230ee817396
Thanks @adamjonas!
cr ACK 4792cad88c5c3c93e639a051df779230ee817396 good to keep it around in a comment to avoid accidental future re-assignment
This is not a documentation change. It's changing code.
This is not a documentation change. It's changing code.
Ok, adjusted title