From b42cb376c32ef4182d3e7f405f50dde2641e85b0 Mon Sep 17 00:00:00 2001 From: Dennis Brentjes Date: Wed, 14 Dec 2016 15:51:43 +0100 Subject: Reworks the protocol to be tag attack resistant. --- node/node.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'node/node.hpp') diff --git a/node/node.hpp b/node/node.hpp index 1aad503..d9e16d4 100644 --- a/node/node.hpp +++ b/node/node.hpp @@ -104,7 +104,7 @@ class Node CMixContext cmix_ctx; - std::map index_map; + std::vector participants; bool shutting_down; @@ -123,8 +123,10 @@ class Node void handle_node_prepre(cmix_proto::PrePre const& prepre); void handle_node_premix(cmix_proto::PreMix const& premix); void handle_node_prepost(cmix_proto::PrePost const& prepost); + void handle_node_commitments(cmix_proto::Commitments const& commitments); void handle_node_realpre(cmix_proto::RealPre const& realpre); void handle_node_realmix(cmix_proto::RealMix const& realmix); + void handle_node_realpost(cmix_proto::RealPost const& realpost); void handle_node_message(cmix_proto::CMixMessage message); void handle_client_keyexchange(ClientConnections::key_type handle, cmix_proto::KeyExchange const& ke); -- cgit v1.2.3-70-g09d2