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

Method GenerateNewSingleSig

src/wallet/scriptpubkeyman.cpp:867–872  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

865}
866
867std::unique_ptr<DescriptorScriptPubKeyMan> DescriptorScriptPubKeyMan::GenerateNewSingleSig(WalletStorage& storage, WalletBatch& batch, int64_t keypool_size, const CExtKey& master_key, OutputType addr_type, bool internal)
868{
869 auto spkm = std::unique_ptr<DescriptorScriptPubKeyMan>(new DescriptorScriptPubKeyMan(storage, keypool_size));
870 spkm->SetupDescriptorGeneration(batch, master_key, addr_type, internal);
871 return spkm;
872}
873
874util::Result<CTxDestination> DescriptorScriptPubKeyMan::GetNewDestination(const OutputType type)
875{

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected