aboutsummaryrefslogtreecommitdiff
path: root/node/main.cpp
diff options
context:
space:
mode:
authorDennis Brentjes <d.brentjes@gmail.com>2016-10-05 12:56:52 +0200
committerDennis Brentjes <d.brentjes@gmail.com>2016-10-05 14:12:28 +0200
commit88c5130eccd06e63ffca732626c0fb59426743a7 (patch)
treef9c7c4536bfa50057269c3636baedea3cb859ac1 /node/main.cpp
parentedc3690d62890449df3ae4c14636019bce4833f1 (diff)
downloadcmix-88c5130eccd06e63ffca732626c0fb59426743a7.tar.gz
cmix-88c5130eccd06e63ffca732626c0fb59426743a7.tar.bz2
cmix-88c5130eccd06e63ffca732626c0fb59426743a7.zip
Seperates Nodes and Clients for incoming connections.
Created a PrevNode class to reflect the seperation. Made Client movable. Added 2 empty protobuf message that declare what each connecting client is, sent when connected to a node.
Diffstat (limited to 'node/main.cpp')
-rw-r--r--node/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/node/main.cpp b/node/main.cpp
index 1327ac5..031e0d0 100644
--- a/node/main.cpp
+++ b/node/main.cpp
@@ -12,6 +12,8 @@ int main(int argc, char* argv[]) {
init_logging(boost::log::trivial::severity_level::trace);
+ BOOST_LOG_TRIVIAL(info) << "Started node";
+
po::options_description desc("Allowed options");
desc.add_options()
("help,h", "produce help message.")