btc

package
v0.0.0-...-3c905e5 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2023 License: BSD-3-Clause Imports: 6 Imported by: 2

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