From a4a912873058e50060561c21e965b4fec1d9b08b Mon Sep 17 00:00:00 2001 From: Dennis Brentjes Date: Mon, 28 Nov 2016 15:48:59 +0100 Subject: Cleans up and documents the whole cmix protocol. --- node/node.hpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'node/node.hpp') diff --git a/node/node.hpp b/node/node.hpp index 5365c9f..a058916 100644 --- a/node/node.hpp +++ b/node/node.hpp @@ -22,6 +22,12 @@ */ #ifndef NDEBUG +/*! + * \brief to_string Debug function that turns a groupelement to a string. + * \param el element to convert. + * \param ctx The context to use. + * \return The string containing the binary data of the array representation of the groupelement + */ inline std::string to_string(GroupElement el, CMixContext const& ctx) { std::string ret; ret.resize(get_group_element_array_size(&ctx)); -- cgit v1.2.3-70-g09d2