compiling with SerializedStruct and refactored dependencies

This commit is contained in:
woodser
2019-06-07 11:51:56 -04:00
parent 78eb67d4cb
commit f5fd35be54
5 changed files with 39 additions and 20 deletions
+11 -9
View File
@@ -1,24 +1,26 @@
#include "MoneroDaemon.h"
#include "utils/MoneroUtils.h"
#include <stdio.h>
#include <iostream>
#include "mnemonics/electrum-words.h"
#include "mnemonics/english.h"
using namespace cryptonote;
using namespace epee;
#include "include_base_utils.h"
#include "common/util.h"
/**
* Public interface for libmonero-cpp library.
*/
namespace monero {
string SerializableStruct::serialize() {
// -------------------------- MODEL SERIALIZATION ---------------------------
string SerializableStruct::serialize() const {
boost::property_tree::ptree node;
toPropertyTree(node);
return MoneroUtils::serialize(node);
}
void MoneroTx::toPropertyTree(boost::property_tree::ptree& node) const {
throw runtime_error("Not implemented");
}
// ---------------------------- PRIVATE HELPERS -----------------------------
}