implement MoneroTxWallet::merge() and placeholder for transfer merges

This commit is contained in:
woodser
2019-07-03 14:36:38 -04:00
parent 397f6b9e7a
commit fc6805a93c
2 changed files with 53 additions and 0 deletions
+4
View File
@@ -102,6 +102,7 @@ namespace monero {
return !(*getIsIncoming());
}
boost::property_tree::ptree toPropertyTree() const;
void merge(const shared_ptr<MoneroTransfer>& self, const shared_ptr<MoneroTransfer>& other);
};
/**
@@ -113,6 +114,7 @@ namespace monero {
boost::optional<bool> getIsIncoming() const;
boost::property_tree::ptree toPropertyTree() const;
void merge(const shared_ptr<MoneroIncomingTransfer>& self, const shared_ptr<MoneroIncomingTransfer>& other);
};
/**
@@ -125,6 +127,7 @@ namespace monero {
boost::optional<bool> getIsIncoming() const;
boost::property_tree::ptree toPropertyTree() const;
void merge(const shared_ptr<MoneroOutgoingTransfer>& self, const shared_ptr<MoneroOutgoingTransfer>& other);
};
/**
@@ -185,6 +188,7 @@ namespace monero {
bool getIsIncoming() const;
bool getIsOutgoing() const;
boost::property_tree::ptree toPropertyTree() const;
void merge(const shared_ptr<MoneroTxWallet>& self, const shared_ptr<MoneroTxWallet>& other);
};
/**