temp add deserialize(txRequestStr)

This commit is contained in:
woodser
2019-06-04 10:05:26 -04:00
parent 6df3ac1a0a
commit 7567609e05
2 changed files with 10 additions and 1 deletions
+7
View File
@@ -75,5 +75,12 @@ void MoneroUtils::binaryBlocksToJson(const std::string &bin, std::string &json)
}
string MoneroUtils::serialize(vector<MoneroBlock> 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");
}
+3 -1
View File
@@ -21,7 +21,9 @@ namespace MoneroUtils
void binaryBlocksToJson(const std::string &bin, std::string &json);
string serialize(vector<MoneroBlock> blocks);
string serialize(const vector<MoneroBlock> blocks);
MoneroTxRequest deserialize(const string& txRequestStr);
/**
* Modified from core_rpc_server.cpp to return a string.