aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Todd <pete@petertodd.org>2014-06-21 09:05:24 -0400
committerPeter Todd <pete@petertodd.org>2014-06-21 11:43:23 -0400
commit38405ac1411ce73f6945f296980d559e2949027f (patch)
treed443719ea8bdb20313cabcc5bc1dc218e66d4c88 /src
parent99ddc6cb706e825e54da244a10d4d6389fc5eaae (diff)
Add comment regarding experimental-use service bits
As per mailing list discussion.
Diffstat (limited to 'src')
-rw-r--r--src/protocol.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/protocol.h b/src/protocol.h
index 6de5d05a72..1f23274299 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 */