mirror of
https://github.com/wownero/wownero-cpp.git
synced 2026-11-24 00:54:26 +01:00
added SerializableStruct which defines serialize() and toPropertyTree()
This commit is contained in:
@@ -5,8 +5,6 @@
|
||||
#include "cryptonote_basic/cryptonote_basic.h"
|
||||
#include "serialization/keyvalue_serialization.h" // TODO: consolidate with other binary deps?
|
||||
#include "storages/portable_storage.h"
|
||||
#include <boost/property_tree/ptree.hpp>
|
||||
#include <boost/property_tree/json_parser.hpp>
|
||||
|
||||
/**
|
||||
* Collection of utilities for working with Monero's binary portable storage format.
|
||||
@@ -62,6 +60,8 @@ namespace MoneroUtils
|
||||
// return str;
|
||||
// }
|
||||
|
||||
string serialize(const boost::property_tree::ptree& node);
|
||||
|
||||
boost::property_tree::ptree toPropertyTree(const MoneroAccount& account);
|
||||
|
||||
boost::property_tree::ptree toPropertyTree(const MoneroSubaddress& subaddress);
|
||||
|
||||
Reference in New Issue
Block a user