mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-10 22:18:54 +01:00
wallet: add method for retrieving the end range for a ScriptPubKeyMan
This commit is contained in:
@@ -2660,6 +2660,11 @@ const std::unordered_set<CScript, SaltedSipHasher> DescriptorScriptPubKeyMan::Ge
|
||||
return script_pub_keys;
|
||||
}
|
||||
|
||||
int32_t DescriptorScriptPubKeyMan::GetEndRange() const
|
||||
{
|
||||
return m_max_cached_index + 1;
|
||||
}
|
||||
|
||||
bool DescriptorScriptPubKeyMan::GetDescriptorString(std::string& out, const bool priv) const
|
||||
{
|
||||
LOCK(cs_desc_man);
|
||||
|
||||
Reference in New Issue
Block a user