@@ -359,7 +359,7 @@ class DescriptorScriptPubKeyMan : public ScriptPubKeyMan
359
359
bool IsHDEnabled () const override ;
360
360
361
361
// ! Setup descriptors based on the given CExtkey
362
- bool SetupDescriptorGeneration (WalletBatch& batch, const CExtKey& master_key, OutputType addr_type, bool internal);
362
+ virtual bool SetupDescriptorGeneration (WalletBatch& batch, const CExtKey& master_key, OutputType addr_type, bool internal);
363
363
364
364
bool HavePrivateKeys () const override ;
365
365
bool HasPrivKey (const CKeyID& keyid) const EXCLUSIVE_LOCKS_REQUIRED(cs_desc_man);
@@ -421,6 +421,7 @@ class SilentPaymentDescriptorScriptPubKeyMan : public DescriptorScriptPubKeyMan
421
421
TweakMap m_map_spk_tweaks GUARDED_BY (cs_desc_man);
422
422
LabelTweakMap m_map_label_tweaks GUARDED_BY (cs_desc_man);
423
423
424
+ void PopulateLabelTweaks ();
424
425
FlatSigningProvider GetSPProvider () const EXCLUSIVE_LOCKS_REQUIRED(cs_desc_man);
425
426
std::unique_ptr<FlatSigningProvider> GetSigningProvider (const CScript& script, bool include_private = false ) const override ;
426
427
@@ -434,6 +435,8 @@ class SilentPaymentDescriptorScriptPubKeyMan : public DescriptorScriptPubKeyMan
434
435
: DescriptorScriptPubKeyMan(storage, 0 )
435
436
{}
436
437
438
+ bool SetupDescriptorGeneration (WalletBatch& batch, const CExtKey& master_key, OutputType addr_type, bool internal) override ;
439
+
437
440
util::Result<CTxDestination> GetNewDestination (const OutputType type) override ;
438
441
util::Result<CTxDestination> GetNewLabeledDestination (uint64_t & index);
439
442
V0SilentPaymentDestination GetLabeledDestination (uint64_t index) EXCLUSIVE_LOCKS_REQUIRED(cs_desc_man);
0 commit comments