diff options
author | Sjors Provoost <sjors@sprovoost.nl> | 2019-10-31 10:27:47 +0100 |
---|---|---|
committer | Sjors Provoost <sjors@sprovoost.nl> | 2021-02-23 14:34:31 +0100 |
commit | 7ebc7c0215979c53b92a436acc8b5b607b8d735a (patch) | |
tree | edd6c0ce805c638c140c454e01920c785d8a5d01 /src/wallet/scriptpubkeyman.h | |
parent | fc5da520f5c72287f59823b8a6d748dda49c574a (diff) | |
download | bitcoin-7ebc7c0215979c53b92a436acc8b5b607b8d735a.tar.xz |
wallet: ExternalSigner: add GetDescriptors method
Diffstat (limited to 'src/wallet/scriptpubkeyman.h')
-rw-r--r-- | src/wallet/scriptpubkeyman.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wallet/scriptpubkeyman.h b/src/wallet/scriptpubkeyman.h index 1aeb6e0905..b8e34fbac3 100644 --- a/src/wallet/scriptpubkeyman.h +++ b/src/wallet/scriptpubkeyman.h @@ -582,6 +582,11 @@ public: //! Setup descriptors based on the given CExtkey bool SetupDescriptorGeneration(const CExtKey& master_key, OutputType addr_type); + /** Provide a descriptor at setup time + * Returns false if already setup or setup fails, true if setup is successful + */ + bool SetupDescriptor(std::unique_ptr<Descriptor>desc); + bool HavePrivateKeys() const override; int64_t GetOldestKeyPoolTime() const override; |