aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.h
diff options
context:
space:
mode:
authorstoffu <stoffu@protonmail.ch>2018-07-29 21:29:56 +0900
committerstoffu <stoffu@protonmail.ch>2018-07-30 20:50:05 +0900
commita3fe1c56ee782caa54e3159738f19589855d504e (patch)
treef5e30d93eb8003816c45cd36546aa060f13b9eaa /src/wallet/wallet2.h
parentMerge pull request #4088 (diff)
downloadmonero-a3fe1c56ee782caa54e3159738f19589855d504e.tar.xz
simplewallet: add set_tx_key for importing tx keys from 3rd party wallets
Diffstat (limited to 'src/wallet/wallet2.h')
-rw-r--r--src/wallet/wallet2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h
index d4d76e66c..7c74c5803 100644
--- a/src/wallet/wallet2.h
+++ b/src/wallet/wallet2.h
@@ -931,6 +931,7 @@ namespace tools
void confirm_non_default_ring_size(bool always) { m_confirm_non_default_ring_size = always; }
bool get_tx_key(const crypto::hash &txid, crypto::secret_key &tx_key, std::vector<crypto::secret_key> &additional_tx_keys) const;
+ void set_tx_key(const crypto::hash &txid, const crypto::secret_key &tx_key, const std::vector<crypto::secret_key> &additional_tx_keys);
void check_tx_key(const crypto::hash &txid, const crypto::secret_key &tx_key, const std::vector<crypto::secret_key> &additional_tx_keys, const cryptonote::account_public_address &address, uint64_t &received, bool &in_pool, uint64_t &confirmations);
void check_tx_key_helper(const crypto::hash &txid, const crypto::key_derivation &derivation, const std::vector<crypto::key_derivation> &additional_derivations, const cryptonote::account_public_address &address, uint64_t &received, bool &in_pool, uint64_t &confirmations);
std::string get_tx_proof(const crypto::hash &txid, const cryptonote::account_public_address &address, bool is_subaddress, const std::string &message);