aboutsummaryrefslogtreecommitdiff
path: root/client/node.cpp
AgeCommit message (Collapse)Author
2016-10-12Major network rewrite.Dennis Brentjes
One generic class has been introduced to handle all connection types. Typedefs provide Sender Receiver and SenderReceiver types, which limit the functionality of the types. As to not accidentally communicate with the wrong node about things.
2016-10-11Commit introducing Client keyexchange, triggering bugs.Dennis Brentjes
Clients now send their public key to each node and the node calculates the shared secret. The node does not yet respond with it's public key. To keep this commit smaller. Nodes now disconnect from each other in a better way. Getting the relevant crypto api is now done with a generic function. What crypto algorithm and implemenation is beign used can be selected in the cmake cache (use cmake-gui or ccmake) Clients now connect correctly to multiple nodes.
2016-10-10Added a Client so we can start finishing up the setup phase of cMix.Dennis Brentjes