Skip to content

Commit

Permalink
Add comment regarding experimental-use service bits
Browse files Browse the repository at this point in the history
As per mailing list discussion.
  • Loading branch information
petertodd committed Jun 21, 2014
1 parent 99ddc6c commit 38405ac
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/protocol.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,14 @@ class CMessageHeader
enum
{
NODE_NETWORK = (1 << 0),

// 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
// bitcoin-development mailing list. Remember that service bits are just
// unauthenticated advertisements, so your code must be robust against
// collisions and other cases where nodes may be advertising a service they
// do not actually support. Other service bits should be allocated via the
// BIP process.
};

/** A CService with information about it as peer */
Expand Down

0 comments on commit 38405ac

Please sign in to comment.