Documentation ¶
Index ¶
Constants ¶
View Source
const ( BlockchainChannel = byte(0x40) BlockDelta = int64(30) )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockchainReactor ¶
type BlockchainReactor struct { p2p.BaseReactor // contains filtered or unexported fields }
func NewBlockchainReactor ¶
func NewBlockchainReactor(quitCh chan<- int, pool types.PoolResponse, restEndpoint string, startHeight, endHeight int64) *BlockchainReactor
func (*BlockchainReactor) AddPeer ¶
func (bcR *BlockchainReactor) AddPeer(peer p2p.Peer)
func (*BlockchainReactor) GetChannels ¶
func (bcR *BlockchainReactor) GetChannels() []*p2p.ChannelDescriptor
func (*BlockchainReactor) OnStart ¶
func (bcR *BlockchainReactor) OnStart() error
func (*BlockchainReactor) OnStop ¶
func (bcR *BlockchainReactor) OnStop()
Click to show internal directories.
Click to hide internal directories.