diff options
| author | Peter Todd <[email protected]> | 2014-06-21 09:05:24 -0400 |
|---|---|---|
| committer | Peter Todd <[email protected]> | 2014-06-21 11:43:23 -0400 |
| commit | 38405ac1411ce73f6945f296980d559e2949027f (patch) | |
| tree | d443719ea8bdb20313cabcc5bc1dc218e66d4c88 /src | |
| parent | Add nLocalServices info to RPC getinfo (diff) | |
| download | discoin-38405ac1411ce73f6945f296980d559e2949027f.tar.xz discoin-38405ac1411ce73f6945f296980d559e2949027f.zip | |
Add comment regarding experimental-use service bits
As per mailing list discussion.
Diffstat (limited to 'src')
| -rw-r--r-- | src/protocol.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/protocol.h b/src/protocol.h index 6de5d05a7..1f2327429 100644 --- a/src/protocol.h +++ b/src/protocol.h @@ -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 */ |