Documentation ¶
Index ¶
- func HandleGetStateMsg(p *p2p.Peer, msg p2p.Msg) error
- func HandleProofConfirmMsg(p *p2p.Peer, msg p2p.Msg) error
- func HandleResStateMsg(p *p2p.Peer, msg p2p.Msg) error
- func HandleTxMsg(p *p2p.Peer, msg p2p.Msg) error
- func HandleWorkProofMsg(p *p2p.Peer, msg p2p.Msg) error
- func TxsPoolLoop()
- type DoneEvent
- type FailedEvent
- type StartEvent
- type SynCtrl
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TxsPoolLoop ¶
func TxsPoolLoop()
Types ¶
type FailedEvent ¶
type FailedEvent struct{ Err error }
type StartEvent ¶
type StartEvent struct{}
type SynCtrl ¶
type SynCtrl struct { AcceptTxs uint32 // Flag whether we're considered synchronised (enables transaction processing) SubProtocols []p2p.Protocol // contains filtered or unexported fields }
func InstanceSynCtrl ¶
func InstanceSynCtrl() *SynCtrl
InstanceSynCtrl returns the singleton of SynCtrl.
func (*SynCtrl) NewBlockMux ¶
Click to show internal directories.
Click to hide internal directories.