diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-10-02 16:33:08 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2014-10-02 16:33:08 -0700 |
commit | 96fa3f75508430e735b3d7ab8280011d40f2d74a (patch) | |
tree | d1763e026fd7ea9df93ad47817bb4aac26dc21a9 /node/Constants.hpp | |
parent | 110904678275be6e26415c44ebdeee61ffa93edf (diff) | |
download | infinitytier-96fa3f75508430e735b3d7ab8280011d40f2d74a.tar.gz infinitytier-96fa3f75508430e735b3d7ab8280011d40f2d74a.zip |
Work on in-place testnet support.
Diffstat (limited to 'node/Constants.hpp')
-rw-r--r-- | node/Constants.hpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/node/Constants.hpp b/node/Constants.hpp index 5d4849c2..55cc4777 100644 --- a/node/Constants.hpp +++ b/node/Constants.hpp @@ -416,4 +416,17 @@ */ #define ZT_IPC_TIMEOUT 600 +/** + * A test pseudo-network-ID that can be joined + * + * Joining this network ID will result in a network with no IP addressing + * and default parameters. No network configuration master will be consulted + * and instead a static config will be used. This is used in built-in testnet + * scenarios and can also be used for external testing. + * + * This is an impossible real network ID since 0xff is a reserved address + * prefix. + */ +#define ZT_TEST_NETWORK_ID 0xffffffffffffffffULL + #endif |