diff options
| author | Mike Hearn <[email protected]> | 2015-03-10 11:33:46 -0700 |
|---|---|---|
| committer | Mike Hearn <[email protected]> | 2015-03-21 19:35:02 +0100 |
| commit | 5983a4e50f2c3f53024d9a5cecab69f67c882cca (patch) | |
| tree | 2441a8fe1c2c7263471d9509878a75471495b5fe /src/protocol.h | |
| parent | tests: change main and wallet tests to BOOST_FIXTURE_TEST_SUITE (diff) | |
| download | discoin-5983a4e50f2c3f53024d9a5cecab69f67c882cca.tar.xz discoin-5983a4e50f2c3f53024d9a5cecab69f67c882cca.zip | |
Add a NODE_GETUTXO service bit and document NODE_NETWORK.
Stop translating the NODE_* names as they are technical and cannot be translated.
Diffstat (limited to 'src/protocol.h')
| -rw-r--r-- | src/protocol.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/protocol.h b/src/protocol.h index e838c0d36..fd23eae1f 100644 --- a/src/protocol.h +++ b/src/protocol.h @@ -67,7 +67,14 @@ public: /** nServices flags */ enum { + // NODE_NETWORK means that the node is capable of serving the block chain. It is currently + // set by all Bitcoin Core nodes, and is unset by SPV clients or other peers that just want + // network services but don't provide them. NODE_NETWORK = (1 << 0), + // NODE_GETUTXO means the node is capable of responding to the getutxo protocol request. + // 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), // 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 |