aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-10-05Fixes some bugs in parsing the program_options.Dennis Brentjes
2016-10-05Seperates Nodes and Clients for incoming connections.Dennis Brentjes
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.
2016-10-05Added some missing documentation for the retry connections.Dennis Brentjes
2016-10-05Added bignum library documentation.Dennis Brentjes
2016-10-04Retry connecting 5 times, 3, 6, 12, 24, 48 and 96 seconds between attemptsDennis Brentjes
2016-10-04Fixes a bug in the network which send the wrong message length.Dennis Brentjes
2016-10-04Added a bignum library to abstract possible implementations.Dennis Brentjes
2016-10-01Adds some missing documentation of the Client class.Dennis Brentjes
2016-10-01All CMix communication is now wrapped in a CMixMessage.Dennis Brentjes
2016-10-01Created a container Message CMixMessage for all network communication.Dennis Brentjes
2016-10-01Removes all tracing log calls.Dennis Brentjes
2016-10-01Fixes the build for mxe-cross-builds, and if building shared libraries.Dennis Brentjes
2016-09-29This changset triggered a storm of changes.Dennis Brentjes
Added the behaviour for receiving a public_share message from our previous node when not being the first node ourselves. This triggered the whitespace bug below, which sparked the network rewrite. Rewrote network protocol to first send the size of the message it's sending in a 32bit integer in network byte order. Fixed a bug where whitespace in the received buffer would be skipped. leading to broken protobuf messages. NextNode no longers inherits from client but owns one, and some functions needed to be forwarded.
2016-09-29Replaced the RSA implementation with an Elgamal implementation.Dennis Brentjes
2016-09-29Added some boilerplate to enable ssl connections.Dennis Brentjes
2016-09-28Finally made a initial doxygen documentation pass over all files.Dennis Brentjes
2016-09-28Made changes so we can have a 1 Node cmix network.Dennis Brentjes
2016-09-28added some cmake modules to forinstance enable sanitizer options.Dennis Brentjes
2016-09-22Adds a NextNode class and prepares the Node to start network initialization.Dennis Brentjes
2016-09-22Some changes to the network-handler.Dennis Brentjes
2016-09-22Explicitely default initialize done handler, checks done before executing.Dennis Brentjes
2016-09-22Added connect wrapper to for libcmix-networkDennis Brentjes
2016-09-22Reduced duplication in the CMakeLists for libcmix-cryptoDennis Brentjes
2016-09-22Added a logging facility using boost::log::trivial.Dennis Brentjes
2016-09-08Added null-rsa implementation.Dennis Brentjes
2016-09-02Changed to api to be less repetative in use.Dennis Brentjes
2016-09-01Added a sodium implementation for creating private and public keys.Dennis Brentjes
2016-09-01Added a CMake system to easily add and choose crypto implementations.Dennis Brentjes
2016-08-31Restructered libcmix-crypto, hiding implementation specifics.Dennis Brentjes
2016-08-31Fixes building a test executable on a non C99 default compiler.Dennis Brentjes
2016-08-31Split up the client and server parts in a separate network libraryDennis Brentjes
2016-08-30Removes some debug statements.Dennis Brentjes
2016-08-30Replaced Client based implementation to composition instead of inheritance.Dennis Brentjes
2016-08-30Split NetworkHandler in a server component and a to reuse Server.Dennis Brentjes
Also switched from an inheritance system to composition based system for the server based classes.
2016-08-30Proof of concept skeleton, linktime algorithm implementation selection.Dennis Brentjes
2016-08-30Removing some comments and undefining a macro.Dennis Brentjes
2016-08-29Refactored Client to be more reusable.Dennis Brentjes
Added UserClient and NodeClient classes to handle communication from and to Clients and Nodes respectively.
2016-08-29Some cleanup for asynchronously reading stdin.Dennis Brentjes
2016-08-29Cleaned up cmix libraries, added extern "C" linkage when included from c++Dennis Brentjes
2016-08-29Refactors on_done to done and set_on_done to on_done.Dennis Brentjes
2016-08-29Changes to boost::asio::streambuf for storage of async_receive.Dennis Brentjes
2016-08-29Reverting back to c++11Dennis Brentjes
2016-08-29Adds the Acceptor and Client class.Dennis Brentjes
The acceptor combines the endpoint and acceptor to reduce clutter in NetworkHandler class. The client will handle the connection for the network handler for every separate client. The networkhander now has a std::list of Client, to keep track and ownership of all the Clients.
2016-08-26Initial commit, just some ideas and testing.Dennis Brentjes