implemented basic field serialization for all tx request fields

This commit is contained in:
woodser
2019-06-05 11:47:57 -04:00
parent 036f13697a
commit 74a465ec14
2 changed files with 59 additions and 18 deletions
+2
View File
@@ -70,6 +70,8 @@ namespace MoneroUtils
boost::property_tree::ptree txWalletToPropertyTree(const MoneroTxWallet& tx);
boost::property_tree::ptree txRequestToPropertyTree(const MoneroTxRequest& 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;