diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-05-01 15:05:49 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-05-13 21:03:27 +0200 |
commit | fe16dd8226d924f44432c5b5014aa49ff45c82ff (patch) | |
tree | cf14a431d3448f042cecbe2c57f4d6cfb2eb333a /configure.ac | |
parent | ffa86af45363d6fb09c67e6b9a20b3e895791d6a (diff) | |
download | bitcoin-fe16dd8226d924f44432c5b5014aa49ff45c82ff.tar.xz |
net: Add option `-enablebip61` to configure sending of BIP61 notifications
This commit adds a boolean option `-enablebip61`, defaulting to `1`, that
can be used to disable the sending of BIP61 `reject` messages. This
functionality has been requested for various reasons:
- security (DoS): reject messages can reveal internal state that can be
used to target certain resources such as the mempool more easily.
- bandwidth: a typical node sends lots of reject messages; this counts
against upstream bandwidth. Also the reject messages tend to be larger
than the message that was rejected.
On the other hand, reject messages can be useful while developing client
software (I found them indispensable while creating bitcoin-submittx),
as well as for our own test cases, so whatever the default becomes on the
long run, IMO the functionality should be retained as option. But that's
a discussion for later.
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions