cxcblock_addrdec

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2019 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CXC_mainnetAddressP2PKH         = addressEncoder.BTC_mainnetAddressP2PKH
	CXC_testnetAddressP2PKH         = addressEncoder.BTC_testnetAddressP2PKH
	CXC_mainnetPrivateWIFCompressed = addressEncoder.BTC_mainnetPrivateWIFCompressed
	CXC_testnetPrivateWIFCompressed = addressEncoder.BTC_testnetPrivateWIFCompressed
	CXC_mainnetAddressP2SH          = addressEncoder.BTC_mainnetAddressP2SH
	CXC_testnetAddressP2SH          = addressEncoder.BTC_testnetAddressP2SH

	Default = AddressDecoderV2{}
)

Functions

This section is empty.

Types

type AddressDecoderV2

type AddressDecoderV2 struct {
	IsTestNet bool
}

AddressDecoderV2

func (*AddressDecoderV2) AddressDecode

func (dec *AddressDecoderV2) AddressDecode(addr string, opts ...interface{}) ([]byte, error)

AddressDecode 地址解析

func (*AddressDecoderV2) AddressEncode

func (dec *AddressDecoderV2) AddressEncode(hash []byte, opts ...interface{}) (string, error)

AddressEncode 地址编码

Jump to

Keyboard shortcuts

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