Documentation
¶
Index ¶
- Variables
- type BlockFunc
- type BlockGenerator
- type Client
- func NewClientBCH(addr, user, pass string, tlsConf *TLSConfig) Client
- func NewClientBTC(addr, user, pass string, tlsConf *TLSConfig) Client
- func NewClientDCR(addr, user, pass string, tlsConf *TLSConfig) Client
- func NewClientDOGE(addr, user, pass string, tlsConf *TLSConfig) Client
- func NewClientLTC(addr, user, pass string, tlsConf *TLSConfig) Client
- type ClientError
- type CloseFunc
- type TLSConfig
- type TransactionFunc
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoBlock = errors.New("no block")
View Source
var ErrNonFinal = errors.New("non final")
Functions ¶
This section is empty.
Types ¶
type BlockGenerator ¶
type Client ¶
type Client interface {
NewAddress() (string, error)
SendToAddress(addr string, value types.Amount) (types.Bytes, error)
Balance(minConf int64) (types.Amount, error)
BlockCount() (uint64, error)
BlockHash(height uint64) (types.Bytes, error)
RawBlock(hash types.Bytes) (types.Bytes, error)
Block(hash types.Bytes) (block.Block, error)
SendRawTransaction(tx types.Bytes) (types.Bytes, error)
RawTransaction(hash types.Bytes) (types.Bytes, error)
Transaction(hash types.Bytes) (tx.Tx, error)
ReceivedByAddress(minConf, includeEmpty, includeWatchOnly interface{}) ([]*types.AddressFunds, error)
BlockGenerator
// contains filtered or unexported methods
}
func NewClientBCH ¶
func NewClientBTC ¶
func NewClientDCR ¶
func NewClientDOGE ¶
func NewClientLTC ¶
type ClientError ¶
func (*ClientError) Error ¶
func (we *ClientError) Error() string
type TransactionFunc ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.