aboutsummaryrefslogtreecommitdiff
path: root/src/protocol.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2015-09-08 17:03:23 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2015-09-08 17:10:36 +0200
commit0c2779514041b174c13d7cd3a66f1fd28e9026fa (patch)
treed22549d3a50e3002c8f1c94910f45325cf9ea617 /src/protocol.h
parent878ea6949193a9b4f9dc956b3fdf75f55e8d2c19 (diff)
parentafb0ccaf9c9e4e8fac7db3564c4e19c9218c6b03 (diff)
downloadbitcoin-0c2779514041b174c13d7cd3a66f1fd28e9026fa.tar.xz
Merge pull request #6579
afb0cca Add NODE_BLOOM service bit and bump protocol version (Matt Corallo)
Diffstat (limited to 'src/protocol.h')
-rw-r--r--src/protocol.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/protocol.h b/src/protocol.h
index b5e65032a2..50aeaf44ba 100644
--- a/src/protocol.h
+++ b/src/protocol.h
@@ -75,6 +75,10 @@ enum {
// Bitcoin Core does not support this but a patch set called Bitcoin XT does.
// See BIP 64 for details on how this is implemented.
NODE_GETUTXO = (1 << 1),
+ // NODE_BLOOM means the node is capable and willing to handle bloom-filtered connections.
+ // Bitcoin Core nodes used to support this by default, without advertising this bit,
+ // but no longer do as of protocol version 70011 (= NO_BLOOM_VERSION)
+ NODE_BLOOM = (1 << 2),
// Bits 24-31 are reserved for temporary experiments. Just pick a bit that
// isn't getting used, or one not being used much, and notify the