Documentation
¶
Index ¶
- func GetAmount(value string) btcutil.Amount
- func GetBtcClient(address string) *brpc.Bitcoind
- func GetChaincfg() *chaincfg.Params
- func GetRawAddress(client *brpc.Bitcoind) *btcutil.AddressPubKeyHash
- func ScheduleBlockGeneration(cli brpc.Bitcoind, interval time.Duration) chan bool
- func StopBlockGeneration(stop chan bool)
- type HTLContract
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBtcClient ¶
func GetChaincfg ¶ added in v0.5.2
func GetRawAddress ¶ added in v0.5.0
func GetRawAddress(client *brpc.Bitcoind) *btcutil.AddressPubKeyHash
func ScheduleBlockGeneration ¶
func StopBlockGeneration ¶
func StopBlockGeneration(stop chan bool)
Types ¶
type HTLContract ¶ added in v0.5.0
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
Click to show internal directories.
Click to hide internal directories.