Documentation ¶
Index ¶
- Constants
- type Callback
- type Manager
- func (m *Manager) NewSyncer(ah, prh, nrh, vh []byte) Syncer
- func (m *Manager) OnFailure(err error, pi module.ProtocolInfo, b []byte)
- func (m *Manager) OnJoin(id module.PeerID)
- func (m *Manager) OnLeave(id module.PeerID)
- func (m *Manager) OnReceive(pi module.ProtocolInfo, b []byte, id module.PeerID) (bool, error)
- type Request
- type Result
- type Syncer
Constants ¶
View Source
const ( NoError errCode = iota ErrTimeExpired ErrNoData )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewSyncManager ¶
type Result ¶
type Result struct { Wss state.WorldSnapshot PatchReceipts module.ReceiptList NormalReceipts module.ReceiptList }
Click to show internal directories.
Click to hide internal directories.