implement getOutputsHex() stack

This commit is contained in:
woodser
2019-07-02 08:45:33 -04:00
parent 29c6f586c1
commit bf9e2d516e
2 changed files with 11 additions and 7 deletions
+4
View File
@@ -1337,6 +1337,10 @@ namespace monero {
return sendRequest;
}
string MoneroWallet::getOutputsHex() const {
return epee::string_tools::buff_to_hex_nodelimer(wallet2->export_outputs_to_str(true));
}
void MoneroWallet::save() {
cout << "save()" << endl;
wallet2->store();
+7 -7
View File
@@ -999,13 +999,13 @@ namespace monero {
*/
shared_ptr<MoneroSendRequest> parsePaymentUri(const string& uri) const;
// /**
// * Export all outputs in hex format.
// *
// * @return all outputs in hex format, null if no outputs
// */
// public string getOutputsHex();
//
/**
* Export all outputs in hex format.
*
* @return all outputs in hex format, empty string if no outputs
*/
string getOutputsHex() const;
// /**
// * Import outputs in hex format.
// *