mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-13 07:28:59 +01:00
Introduce SetType function to tell ScriptPubKeyMans the type and internal-ness of it
This commit is contained in:
@@ -222,6 +222,8 @@ public:
|
||||
|
||||
virtual uint256 GetID() const { return uint256(); }
|
||||
|
||||
virtual void SetType(OutputType type, bool internal) {}
|
||||
|
||||
/** Prepends the wallet name in logging output to ease debugging in multi-wallet use cases */
|
||||
template<typename... Params>
|
||||
void WalletLogPrintf(std::string fmt, Params... parameters) const {
|
||||
@@ -366,6 +368,8 @@ public:
|
||||
|
||||
uint256 GetID() const override;
|
||||
|
||||
void SetType(OutputType type, bool internal) override;
|
||||
|
||||
// Map from Key ID to key metadata.
|
||||
std::map<CKeyID, CKeyMetadata> mapKeyMetadata GUARDED_BY(cs_KeyStore);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user