diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-10-27 10:37:39 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-10-27 10:37:39 -0700 |
| commit | 8a7a0b6b88b2de95ebf98cafc183f7c69ec6c84f (patch) | |
| tree | 7ae09a865946418b32ba868e5dc26ba03ff76fed /node/Cluster.hpp | |
| parent | 9617208e4027bec8a72e72a1fd89aa19ea9367d8 (diff) | |
| download | infinitytier-8a7a0b6b88b2de95ebf98cafc183f7c69ec6c84f.tar.gz infinitytier-8a7a0b6b88b2de95ebf98cafc183f7c69ec6c84f.zip | |
Cleanup, including simplification of root server picking algorithm since we no longer need all that craziness.
Diffstat (limited to 'node/Cluster.hpp')
| -rw-r--r-- | node/Cluster.hpp | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/node/Cluster.hpp b/node/Cluster.hpp index 080c9310..7d0c6a08 100644 --- a/node/Cluster.hpp +++ b/node/Cluster.hpp @@ -158,7 +158,20 @@ public: * while PROXY_SEND is used to implement proxy sending (which right * now is only used to send RENDEZVOUS). */ - STATE_MESSAGE_PROXY_SEND = 6 + STATE_MESSAGE_PROXY_SEND = 6, + + /** + * Replicate a network config for a network we belong to: + * <[8] 64-bit network ID> + * <[2] 16-bit length of network config> + * <[...] serialized network config> + * + * This is used by clusters to avoid every member having to query + * for the same netconf for networks all members belong to. + * + * TODO: not implemented yet! + */ + STATE_MESSAGE_NETWORK_CONFIG = 7 }; /** |
