Add a NODE_GETUTXO service bit and document NODE_NETWORK.

Stop translating the NODE_* names as they are technical and cannot be translated.
This commit is contained in:
Mike Hearn
2015-03-10 11:33:46 -07:00
parent 8cbe1f4f58
commit 5983a4e50f
2 changed files with 12 additions and 2 deletions

View File

@@ -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