aboutsummaryrefslogtreecommitdiff
path: root/node/node.hpp
diff options
context:
space:
mode:
authorDennis Brentjes <d.brentjes@gmail.com>2016-11-07 12:53:59 +0100
committerDennis Brentjes <d.brentjes@gmail.com>2016-11-07 12:53:59 +0100
commit46f22621759d388f7cef4bf0d2ac03667a5d611e (patch)
treeb26cd49fe2552680eb16d9008695c8f56e757ded /node/node.hpp
parent7e21069bea9e8e6276591eee98f22cb07d67392d (diff)
downloadcmix-46f22621759d388f7cef4bf0d2ac03667a5d611e.tar.gz
cmix-46f22621759d388f7cef4bf0d2ac03667a5d611e.tar.bz2
cmix-46f22621759d388f7cef4bf0d2ac03667a5d611e.zip
prepares the api for sending and mixing messages in the realtime phase.
Diffstat (limited to 'node/node.hpp')
-rw-r--r--node/node.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/node/node.hpp b/node/node.hpp
index ea73121..a4c7992 100644
--- a/node/node.hpp
+++ b/node/node.hpp
@@ -24,6 +24,7 @@
*/
struct NodeNetworkSettings {
bool is_first; ///< Are we the first node in the network.
+ bool is_last; ///< Are we the last node in the network.
std::string next_host; ///< Next nodes host.
std::string next_port; ///< Next nodes port.
std::string certdir; ///< Directory containing trusted certificate authorities.
@@ -71,6 +72,7 @@ class Node
CMixContext cmix_ctx;
std::vector<MixData> precomputation_data;
+ std::map<std::string, int> index_map;
bool shutting_down;