sign_txs(), submit_txs() placeholders

This commit is contained in:
woodser
2020-01-30 15:05:55 -05:00
parent 2e31eaf33f
commit 42e9e77336
2 changed files with 12 additions and 0 deletions
+10
View File
@@ -2494,6 +2494,16 @@ namespace monero {
}
}
string monero_wallet_core::sign_txs(const string& unsigned_tx_hex) {
cout << "monero_wallet_core::sign_txs()" << endl;
throw runtime_error("Not implemented");
}
vector<string> monero_wallet_core::submit_txs(const string& signed_tx_hex) {
cout << "monero_wallet_core::submit_txs()" << endl;
throw runtime_error("Not implemented");
}
string monero_wallet_core::sign(const string& msg) const {
return m_w2->sign(msg);
}
+2
View File
@@ -226,6 +226,8 @@ namespace monero {
monero_tx_set sweep_output(const monero_send_request& request);
monero_tx_set sweep_dust(bool do_not_relay = false);
monero_tx_set parse_tx_set(const monero_tx_set& tx_set);
string sign_txs(const string& unsigned_tx_hex);
vector<string> submit_txs(const string& signed_tx_hex);
string sign(const string& msg) const;
bool verify(const string& msg, const string& address, const string& signature) const;
string get_tx_key(const string& tx_hash) const;