Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewInternalChannel ¶
func NewInternalChannel() chan InternalMessage
Types ¶
type BroadcastTransaction ¶
type BroadcastTransaction struct { Response chan error Transaction proto.Transaction }
func NewBroadcastTransaction ¶
func NewBroadcastTransaction(response chan error, transaction proto.Transaction) *BroadcastTransaction
func (*BroadcastTransaction) Internal ¶
func (*BroadcastTransaction) Internal()
type HaltMessage ¶
type HaltMessage struct {
// contains filtered or unexported fields
}
func NewHaltMessage ¶
func NewHaltMessage(response chan struct{}) *HaltMessage
func (*HaltMessage) Complete ¶
func (a *HaltMessage) Complete()
func (HaltMessage) Internal ¶
func (HaltMessage) Internal()
type InternalMessage ¶
type InternalMessage interface {
Internal()
}
type MinedBlockInternalMessage ¶
type MinedBlockInternalMessage struct { Block *proto.Block Limits proto.MiningLimits KeyPair proto.KeyPair Vrf []byte }
func NewMinedBlockInternalMessage ¶
func NewMinedBlockInternalMessage(block *proto.Block, limits proto.MiningLimits, keyPair proto.KeyPair, vrf []byte) *MinedBlockInternalMessage
func (*MinedBlockInternalMessage) Internal ¶
func (a *MinedBlockInternalMessage) Internal()
type SkipMessageList ¶ added in v0.10.0
type SkipMessageList struct {
// contains filtered or unexported fields
}
func (*SkipMessageList) List ¶ added in v0.10.0
func (l *SkipMessageList) List() proto.PeerMessageIDs
func (*SkipMessageList) SetList ¶ added in v0.10.0
func (l *SkipMessageList) SetList(list proto.PeerMessageIDs)
Click to show internal directories.
Click to hide internal directories.