Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BitcoinTx ¶
type BitcoinTx struct {
// contains filtered or unexported fields
}
func DecodeBitcoinTx ¶
func (*BitcoinTx) MarshalJSON ¶
func (*BitcoinTx) Network ¶
func (t *BitcoinTx) Network() CoinNetwork
type Broker ¶
type Broker struct {
IncomingTx chan Transaction
NewClients chan BrokerClientConfig
ClosingClients chan BrokerClientConfig
// contains filtered or unexported fields
}
type BrokerClientConfig ¶
type BrokerClientConfig struct {
Id uint64
Ch chan Transaction
Addresses map[string]bool
}
type Transaction ¶
type Transaction interface {
// The blockchain network this transaction took place on
Network() CoinNetwork
// The network-unique identifier for this transaction
Hash() string
// The outputs involved in the transaction
Outputs() map[string]int
}
Click to show internal directories.
Click to hide internal directories.