Merge branch 'sign_tx' into wasm76_merge_sign_txs

This commit is contained in:
woodser
2020-01-30 15:18:57 -05:00
2 changed files with 12 additions and 0 deletions
+10
View File
@@ -2511,6 +2511,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
@@ -245,6 +245,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;