diff --git a/src/utils/MoneroUtils.cpp b/src/utils/MoneroUtils.cpp index 0e47615..07d8e45 100644 --- a/src/utils/MoneroUtils.cpp +++ b/src/utils/MoneroUtils.cpp @@ -75,5 +75,12 @@ void MoneroUtils::binaryBlocksToJson(const std::string &bin, std::string &json) } string MoneroUtils::serialize(vector blocks) { + cout << "serialize(blocks)" << endl; + throw runtime_error("Not implemented"); +} + +MoneroTxRequest MoneroUtils::deserialize(const string& txRequestStr) { + cout << "deserialize(txRequestStr)" << endl; + cout << txRequestStr << endl; throw runtime_error("Not implemented"); } diff --git a/src/utils/MoneroUtils.h b/src/utils/MoneroUtils.h index 7bf026e..39197ef 100644 --- a/src/utils/MoneroUtils.h +++ b/src/utils/MoneroUtils.h @@ -21,7 +21,9 @@ namespace MoneroUtils void binaryBlocksToJson(const std::string &bin, std::string &json); - string serialize(vector blocks); + string serialize(const vector blocks); + + MoneroTxRequest deserialize(const string& txRequestStr); /** * Modified from core_rpc_server.cpp to return a string.