| 865 | } |
| 866 | |
| 867 | std::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 | |
| 874 | util::Result<CTxDestination> DescriptorScriptPubKeyMan::GetNewDestination(const OutputType type) |
| 875 | { |
nothing calls this directly
no test coverage detected