mirror of
https://github.com/wownero/wownero-cpp.git
synced 2026-11-24 00:54:26 +01:00
defined tx/WalletToPropertyTree() to re-serialize given tx request
This commit is contained in:
@@ -66,6 +66,10 @@ namespace MoneroUtils
|
||||
|
||||
boost::property_tree::ptree toPropertyTree(const MoneroSubaddress& subaddress);
|
||||
|
||||
boost::property_tree::ptree txToPropertyTree(const MoneroTx& tx);
|
||||
|
||||
boost::property_tree::ptree txWalletToPropertyTree(const MoneroTxWallet& tx);
|
||||
|
||||
// // TODO: template implementation here, could move to MoneroUtils.hpp per https://stackoverflow.com/questions/3040480/c-template-function-compiles-in-header-but-not-implementation
|
||||
template <class T> boost::property_tree::ptree toPropertyTree(const vector<T> types) {
|
||||
cout << "toPropertyTree(types)" << endl;
|
||||
|
||||
Reference in New Issue
Block a user