Documentation ¶
Index ¶
- func CoinSelect(vtxos []client.Vtxo, amount, dust uint64, sortByExpirationTime bool) ([]client.Vtxo, uint64, error)
- func DecryptAES128(encrypted, password []byte) ([]byte, error)
- func EncryptAES128(privateKey, password []byte) ([]byte, error)
- func GenerateRandomPrivateKey() (*secp256k1.PrivateKey, error)
- func HashPassword(password []byte) []byte
- func IsOnchainOnly(receivers []client.Output) bool
- func NetworkFromString(net string) common.Network
- func ParseBitcoinAddress(addr string, net chaincfg.Params) (bool, []byte, error)
- func ParseLiquidAddress(addr string) (bool, []byte, error)
- func ToBitcoinNetwork(net common.Network) chaincfg.Params
- func ToElementsNetwork(net common.Network) network.Network
- type Cache
- type ClientFactory
- type SupportedType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CoinSelect ¶
func DecryptAES128 ¶
func EncryptAES128 ¶
func GenerateRandomPrivateKey ¶
func GenerateRandomPrivateKey() (*secp256k1.PrivateKey, error)
func HashPassword ¶
func IsOnchainOnly ¶
func NetworkFromString ¶
func ParseBitcoinAddress ¶
Types ¶
type SupportedType ¶
func (SupportedType[V]) String ¶
func (t SupportedType[V]) String() string
func (SupportedType[V]) Supports ¶
func (t SupportedType[V]) Supports(typeStr string) bool
Click to show internal directories.
Click to hide internal directories.