Changeset View
Changeset View
Standalone View
Standalone View
src/protocol.h
// Copyright (c) 2009-2010 Satoshi Nakamoto | // Copyright (c) 2009-2010 Satoshi Nakamoto | ||||
// Copyright (c) 2009-2016 The Bitcoin Core developers | // Copyright (c) 2009-2019 The Bitcoin Core developers | ||||
// Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
#ifndef __cplusplus | #ifndef __cplusplus | ||||
#error This header can only be compiled as C++. | #error This header can only be compiled as C++. | ||||
#endif | #endif | ||||
#ifndef BITCOIN_PROTOCOL_H | #ifndef BITCOIN_PROTOCOL_H | ||||
▲ Show 20 Lines • Show All 319 Lines • ▼ Show 20 Lines | enum ServiceFlags : uint64_t { | ||||
// called Bitcoin XT does. See BIP 64 for details on how this is | // called Bitcoin XT does. See BIP 64 for details on how this is | ||||
// implemented. | // implemented. | ||||
NODE_GETUTXO = (1 << 1), | NODE_GETUTXO = (1 << 1), | ||||
// NODE_BLOOM means the node is capable and willing to handle bloom-filtered | // NODE_BLOOM means the node is capable and willing to handle bloom-filtered | ||||
// connections. Bitcoin ABC nodes used to support this by default, without | // connections. Bitcoin ABC nodes used to support this by default, without | ||||
// advertising this bit, but no longer do as of protocol version 70011 (= | // advertising this bit, but no longer do as of protocol version 70011 (= | ||||
// NO_BLOOM_VERSION) | // NO_BLOOM_VERSION) | ||||
NODE_BLOOM = (1 << 2), | NODE_BLOOM = (1 << 2), | ||||
// NODE_XTHIN means the node supports Xtreme Thinblocks. If this is turned | // Bit 4 was NODE_XTHIN, removed in v0.22.12 | ||||
// off then the node will not service nor make xthin requests. | |||||
NODE_XTHIN = (1 << 4), | |||||
// Bit 5 was NODE_BITCOIN_CASH, removed in v0.22.8 | // Bit 5 was NODE_BITCOIN_CASH, removed in v0.22.8 | ||||
// NODE_COMPACT_FILTERS means the node will service basic block filter | // NODE_COMPACT_FILTERS means the node will service basic block filter | ||||
// requests. | // requests. | ||||
// See BIP157 and BIP158 for details on how this is implemented. | // See BIP157 and BIP158 for details on how this is implemented. | ||||
NODE_COMPACT_FILTERS = (1 << 6), | NODE_COMPACT_FILTERS = (1 << 6), | ||||
▲ Show 20 Lines • Show All 186 Lines • Show Last 20 Lines |