Documentation
¶
Index ¶
Constants ¶
View Source
const Size = 1000
Size defines the default size of the broadcast queue.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Broadcast ¶
type Broadcast struct {
// The byte encoded transaction data to broadcast.
TxData []byte
// The requested transaction hash.
RequestedTxHash hornet.Hash
// The IDs of the peers to exclude from broadcasting.
ExcludePeers map[string]struct{}
}
Broadcast defines a transaction and requested transaction hash which should be broadcasted.
Click to show internal directories.
Click to hide internal directories.