btc

package
v1.68.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2024 License: BSD-3-Clause Imports: 6 Imported by: 3

Documentation

Index

Constants

View Source
const (
	// NormalAddressID normal address id
	NormalAddressID = 0
	// NormalName driver name
	NormalName = "btc"
	// MultiSignAddressID multi sign address id
	MultiSignAddressID = 1
	// MultiSignName multi sign driver name
	MultiSignName = "btcMultiSign"
)

Variables

View Source
var (

	// ErrInvalidAddrFormat invalid address format
	ErrInvalidAddrFormat = errors.New("ErrInvalidAddrFormat")
)

Functions

func FormatBtcAddr

func FormatBtcAddr(version byte, pubKey []byte) string

FormatBtcAddr format bitcoin address

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL