From da14d909849a42ac4b9f0f6908c2dd00d600dc2b Mon Sep 17 00:00:00 2001 From: John Newbery Date: Thu, 14 Mar 2019 15:30:20 -0400 Subject: [p2p] Enable BIP 61 REJECT messages by default --- src/net_processing.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net_processing.h b/src/net_processing.h index 39c22d7118..4189debe4c 100644 --- a/src/net_processing.h +++ b/src/net_processing.h @@ -18,7 +18,7 @@ static const unsigned int DEFAULT_MAX_ORPHAN_TRANSACTIONS = 100; /** Default number of orphan+recently-replaced txn to keep around for block reconstruction */ static const unsigned int DEFAULT_BLOCK_RECONSTRUCTION_EXTRA_TXN = 100; /** Default for BIP61 (sending reject messages) */ -static constexpr bool DEFAULT_ENABLE_BIP61{false}; +static constexpr bool DEFAULT_ENABLE_BIP61{true}; class PeerLogicValidation final : public CValidationInterface, public NetEventsInterface { private: -- cgit v1.2.3 From a7563633d25a99bb3ef170aaaeccacf44990f2d9 Mon Sep 17 00:00:00 2001 From: John Newbery Date: Thu, 14 Mar 2019 15:39:27 -0400 Subject: [docs] document BIP 61 deprecation --- doc/release-notes.md | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/doc/release-notes.md b/doc/release-notes.md index 16146288da..a528a232af 100644 --- a/doc/release-notes.md +++ b/doc/release-notes.md @@ -78,13 +78,6 @@ Configuration option changes documentation](https://github.com/bitcoin/bitcoin/blob/master/doc/zmq.md#usage) for details. -- The `enablebip61` option (introduced in Bitcoin Core 0.17.0) is - used to toggle sending of BIP 61 reject messages. Reject messages have no use - case on the P2P network and are only logged for debugging by most network - nodes. The option will now by default be off for improved privacy and security - as well as reduced upload usage. The option can explicitly be turned on for - local-network debugging purposes. - - The `rpcallowip` option can no longer be used to automatically listen on all network interfaces. Instead, the `rpcbind` parameter must also be used to specify the IP addresses to listen on. Listening for RPC @@ -181,6 +174,16 @@ Deprecated or removed RPCs continue using `generate` in this version, restart bitcoind with the `-deprecatedrpc=generate` configuration option. +Deprecated P2P messages +----------------------- + +- BIP 61 reject messages are now deprecated. Reject messages have no use + case on the P2P network and are only logged for debugging by most network + nodes. Furthermore, they increase bandwidth and can be harmful for privacy + and security. It has been possible to disable BIP 61 messages since v0.17 + with the `-enablebip61=0` option. BIP 61 messages will be disabled by default + in a future version, before being removed entirely. + New RPCs -------- -- cgit v1.2.3