mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
wallet: add method for retrieving the end range for a ScriptPubKeyMan
This commit is contained in:
parent
845279132b
commit
c051026586
2 changed files with 6 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue