MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / HasWalletDescriptor

Method HasWalletDescriptor

src/wallet/scriptpubkeyman.cpp:1511–1515  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1509}
1510
1511bool DescriptorScriptPubKeyMan::HasWalletDescriptor(const WalletDescriptor& desc) const
1512{
1513 LOCK(cs_desc_man);
1514 return !m_wallet_descriptor.id.IsNull() && !desc.id.IsNull() && m_wallet_descriptor.id == desc.id;
1515}
1516
1517void DescriptorScriptPubKeyMan::WriteDescriptor()
1518{

Callers 1

Calls 1

IsNullMethod · 0.45

Tested by

no test coverage detected