defined relayTxs() jni and cpp stack

This commit is contained in:
woodser
2019-06-30 21:18:32 -04:00
parent 689ed51ad8
commit d05a041283
2 changed files with 15 additions and 10 deletions
+6 -1
View File
@@ -1145,7 +1145,7 @@ namespace monero {
throw runtime_error("need to handle error filling response!");
}
// build sent txs from results
// build sent txs from results // TODO: break this into separate utility function
vector<shared_ptr<MoneroTxWallet>> txs;
auto txIdsIter = txIds.begin();
auto txKeysIter = txKeys.begin();
@@ -1195,6 +1195,11 @@ namespace monero {
return txs;
}
vector<string> MoneroWallet::relayTxs(const vector<string>& txMetadatas) {
cout << "relayTxs()" << endl;
throw runtime_error("Not implemented");
}
void MoneroWallet::save() {
cout << "save()" << endl;
save("", "");
+9 -9
View File
@@ -748,15 +748,15 @@ namespace monero {
// * @return string is the id of the relayed tx
// */
// public string relayTx(string txMetadata);
//
// /**
// * Relay transactions previously created without relaying.
// *
// * @param txMetadatas are transaction metadata previously created without relaying
// * @return List<string> are ids of the relayed txs
// */
// public List<string> relayTxs(Collection<string> txMetadatas);
//
/**
* Relay transactions previously created without relaying.
*
* @param txMetadatas are transaction metadata previously created without relaying
* @return the ids of the relayed txs
*/
vector<string> relayTxs(const vector<string>& txMetadatas);
// /**
// * Get a transaction note.
// *