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. ByteEncodedTxData []byte // The byte encoded requested transaction hash. ByteEncodedRequestedTxHash []byte // 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.