diff options
| author | Dennis Brentjes <d.brentjes@gmail.com> | 2016-11-27 10:08:19 +0100 |
|---|---|---|
| committer | Dennis Brentjes <d.brentjes@gmail.com> | 2016-11-27 10:08:19 +0100 |
| commit | 74cea534fd189a2db423ae60997447e66265922b (patch) | |
| tree | decc06fa5da1f3f42612d527462d22ee487bf2db /node/node.hpp | |
| parent | fa7a48172a3c9d9c2f96d6f9c05d80f497bc304d (diff) | |
| download | cmix-74cea534fd189a2db423ae60997447e66265922b.tar.gz cmix-74cea534fd189a2db423ae60997447e66265922b.tar.bz2 cmix-74cea534fd189a2db423ae60997447e66265922b.zip | |
Implements message delivery.
Adds a minimum number of messages per mix.
Embeds the destination in the message.
Clients now send messages to themselves.
Diffstat (limited to 'node/node.hpp')
| -rw-r--r-- | node/node.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/node/node.hpp b/node/node.hpp index db3c66f..5365c9f 100644 --- a/node/node.hpp +++ b/node/node.hpp @@ -40,6 +40,7 @@ struct NodeNetworkSettings { std::string next_host; ///< Next nodes host. std::string next_port; ///< Next nodes port. std::string certdir; ///< Directory containing trusted certificate authorities. + unsigned int minimum_nr_messages; ///< The minimum number of available messages before starting to run a mix; }; /*! @@ -85,6 +86,7 @@ class Node void start_realtime_phase(); void shutdown(); bool send_bye(bool got_bye); + void start_timer_delayed_mix(); void handle_node_initialization(cmix_proto::Initialization const& init); void handle_node_secretkey(cmix_proto::SecretKey const& secret); |
