aboutsummaryrefslogtreecommitdiff
path: root/node/node.hpp
diff options
context:
space:
mode:
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;