Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/scriptpubkeyman.h
Show First 20 Lines • Show All 549 Lines • ▼ Show 20 Lines | void MarkReserveKeysAsUsed(int64_t keypool_id) | ||||
EXCLUSIVE_LOCKS_REQUIRED(cs_KeyStore); | EXCLUSIVE_LOCKS_REQUIRED(cs_KeyStore); | ||||
const std::map<CKeyID, int64_t> &GetAllReserveKeys() const { | const std::map<CKeyID, int64_t> &GetAllReserveKeys() const { | ||||
return m_pool_key_to_index; | return m_pool_key_to_index; | ||||
} | } | ||||
std::set<CKeyID> GetKeys() const override; | std::set<CKeyID> GetKeys() const override; | ||||
}; | }; | ||||
/** Wraps a LegacyScriptPubKeyMan so that it can be returned in a new unique_ptr | /** | ||||
* Wraps a LegacyScriptPubKeyMan so that it can be returned in a new unique_ptr | |||||
*/ | */ | ||||
class LegacySigningProvider : public SigningProvider { | class LegacySigningProvider : public SigningProvider { | ||||
private: | private: | ||||
const LegacyScriptPubKeyMan &m_spk_man; | const LegacyScriptPubKeyMan &m_spk_man; | ||||
public: | public: | ||||
LegacySigningProvider(const LegacyScriptPubKeyMan &spk_man) | LegacySigningProvider(const LegacyScriptPubKeyMan &spk_man) | ||||
: m_spk_man(spk_man) {} | : m_spk_man(spk_man) {} | ||||
Show All 22 Lines |