| 1199 | public: |
| 1200 | PKDescriptor(std::unique_ptr<PubkeyProvider> prov, bool xonly = false) : DescriptorImpl(Vector(std::move(prov)), "pk"), m_xonly(xonly) {} |
| 1201 | bool IsSingleType() const final { return true; } |
| 1202 | |
| 1203 | std::optional<int64_t> ScriptSize() const override { |
| 1204 | return 1 + (m_xonly ? 32 : m_pubkey_args[0]->GetSize()) + 1; |
no outgoing calls