MCPcopy Create free account
hub / github.com/ElementsProject/elements / EraseActiveScriptPubKeyMan

Method EraseActiveScriptPubKeyMan

src/wallet/walletdb.cpp:215–219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213}
214
215bool WalletBatch::EraseActiveScriptPubKeyMan(uint8_t type, bool internal)
216{
217 const std::string key{internal ? DBKeys::ACTIVEINTERNALSPK : DBKeys::ACTIVEEXTERNALSPK};
218 return EraseIC(make_pair(key, type));
219}
220
221bool WalletBatch::WriteDescriptorKey(const uint256& desc_id, const CPubKey& pubkey, const CPrivKey& privkey)
222{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected