bitcoin

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2018 License: Apache-2.0 Imports: 15 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAmount added in v0.5.0

func GetAmount(value string) btcutil.Amount

func GetBtcClient

func GetBtcClient(address string) *brpc.Bitcoind

func GetChaincfg added in v0.5.2

func GetChaincfg() *chaincfg.Params

func GetRawAddress added in v0.5.0

func GetRawAddress(client *brpc.Bitcoind) *btcutil.AddressPubKeyHash

func ScheduleBlockGeneration

func ScheduleBlockGeneration(cli brpc.Bitcoind, interval time.Duration) chan bool

func StopBlockGeneration

func StopBlockGeneration(stop chan bool)

Types

type HTLContract added in v0.5.0

type HTLContract struct {
	Contract   []byte `json:"contract"`
	ContractTx []byte `json:"contractTx"`
}

func (*HTLContract) Chain added in v0.7.0

func (h *HTLContract) Chain() data.ChainType

func (*HTLContract) FromBytes added in v0.7.0

func (h *HTLContract) FromBytes(message []byte)

func (*HTLContract) FromMsgTx added in v0.7.0

func (h *HTLContract) FromMsgTx(contract []byte, contractTx *wire.MsgTx)

func (HTLContract) GetMsgTx added in v0.7.0

func (h HTLContract) GetMsgTx() *wire.MsgTx

func (*HTLContract) ToBytes added in v0.7.0

func (h *HTLContract) ToBytes() []byte

func (*HTLContract) ToKey added in v0.5.2

func (h *HTLContract) ToKey() []byte

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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