diff options
| author | Pieter Wuille <[email protected]> | 2015-11-17 00:20:49 +0100 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2016-06-22 15:42:59 +0200 |
| commit | b8a97498df1e83f8dcc49bc3fa4344f9e9799242 (patch) | |
| tree | d14eb0cb55048583a5233b1ef25f25fb8d7651ab /src/protocol.h | |
| parent | BIP141: Commitment structure and deployment (diff) | |
| download | discoin-b8a97498df1e83f8dcc49bc3fa4344f9e9799242.tar.xz discoin-b8a97498df1e83f8dcc49bc3fa4344f9e9799242.zip | |
BIP144: Handshake and relay (receiver side)
Service bit logic by Nicolas Dorier.
Only download blocks from witness peers after fork.
Diffstat (limited to 'src/protocol.h')
| -rw-r--r-- | src/protocol.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/protocol.h b/src/protocol.h index dd07092f5..15f27e2d2 100644 --- a/src/protocol.h +++ b/src/protocol.h @@ -264,6 +264,9 @@ enum ServiceFlags : uint64_t { // 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), + // Indicates that a node can be asked for blocks and transactions including + // witness data. + NODE_WITNESS = (1 << 3), // 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 |