Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressSegWit ¶
type AddressSegWit struct {
// contains filtered or unexported fields
}
AddressSegWit is the base address type for all SegWit addresses.
func (*AddressSegWit) EncodeAddress ¶
func (a *AddressSegWit) EncodeAddress() B
EncodeAddress returns the bech32 (or bech32m for SegWit v1) string encoding of an AddressSegWit.
NOTE: This method is part of the Address interface.
type AddressTaproot ¶
type AddressTaproot struct {
AddressSegWit
}
AddressTaproot is an Address for a pay-to-taproot (P2TR) output. See BIP 341 for further details.
func NewAddressTaproot ¶
func NewAddressTaproot(witnessProg B, net *chaincfg.Params) (*AddressTaproot, error)
NewAddressTaproot returns a new AddressTaproot.
Click to show internal directories.
Click to hide internal directories.