diff options
| author | Dennis Brentjes <d.brentjes@gmail.com> | 2016-10-20 12:43:29 +0200 |
|---|---|---|
| committer | Dennis Brentjes <d.brentjes@gmail.com> | 2016-10-20 12:43:29 +0200 |
| commit | ed83ebb3147ed2e261a709799e12d0eb43200bf3 (patch) | |
| tree | 6a8c4f75de8e06e2e8254aec0ec0cba7a8eca4b8 /node/node.hpp | |
| parent | 6ecb3fc69ddafc4aeb18397555ac7e9cb2f7a4d9 (diff) | |
| download | cmix-ed83ebb3147ed2e261a709799e12d0eb43200bf3.tar.gz cmix-ed83ebb3147ed2e261a709799e12d0eb43200bf3.tar.bz2 cmix-ed83ebb3147ed2e261a709799e12d0eb43200bf3.zip | |
Shared secret key is now distributed to the other nodes.
Diffstat (limited to 'node/node.hpp')
| -rw-r--r-- | node/node.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
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<uint8_t> network_pub_key; + std::vector<uint8_t> 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); |
