From ed83ebb3147ed2e261a709799e12d0eb43200bf3 Mon Sep 17 00:00:00 2001 From: Dennis Brentjes Date: Thu, 20 Oct 2016 12:43:29 +0200 Subject: Shared secret key is now distributed to the other nodes. --- node/node.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'node/node.hpp') diff --git a/node/node.hpp b/node/node.hpp index 9dfc343..5e3292b 100644 --- a/node/node.hpp +++ b/node/node.hpp @@ -53,7 +53,7 @@ class Node Api api; KeyPair keypair; - std::vector network_pub_key; + std::vector network_key; bool shutting_down; @@ -66,6 +66,7 @@ class Node void handle_node_initialization(cmix_proto::Initialization const& init); void handle_node_bye(cmix_proto::Bye); + void handle_node_secretkey(cmix_proto::SecretKey const& secret); void handle_node_message(cmix_proto::CMixMessage message); void handle_client_keyexchange(ClientConnections::key_type handle, cmix_proto::KeyExchange ke); -- cgit v1.2.3-70-g09d2