mirror of
https://github.com/wownero/wownero-cpp.git
synced 2026-10-19 16:18:40 +02:00
temp add deserialize(txRequestStr)
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user