Versions in this module Expand all Collapse all v1 v1.10.0 Dec 6, 2021 v1.9.0 Apr 4, 2021 Changes in this version + type Block struct + ConfirmedDone bool + ConfirmedProgress bool + Delay time.Duration + LastAttempted time.Time + Published bool + UnconfirmedDone bool + UnconfirmedProgress bool + func (b *Block) CanAttempt() bool + func (b *Block) ResetDelay() + func (b *Block) SetDelay() + func (b *Block) SetLastAttempted() + type BlockProcessorQueue struct + Blocks map[uint64]*Block + CanPublishChan chan Request + ConfirmedDoneChan chan Request + ConfirmedFailedChan chan Request + ConfirmedNextChan chan Next + InsertedChan chan Request + LatestBlock uint64 + LatestChan chan Update + PublishedChan chan Request + PutChan chan Request + StartedWith uint64 + StatChan chan Stat + Total uint64 + TotalInserted uint64 + UnconfirmedDoneChan chan Request + UnconfirmedFailedChan chan Request + UnconfirmedNextChan chan Next + func New(startingWith uint64) *BlockProcessorQueue + func (b *BlockProcessorQueue) CanBeConfirmed(num uint64) bool + func (b *BlockProcessorQueue) CanPublish(block uint64) bool + func (b *BlockProcessorQueue) ConfirmedDone(block uint64) bool + func (b *BlockProcessorQueue) ConfirmedFailed(block uint64) bool + func (b *BlockProcessorQueue) ConfirmedNext() (uint64, bool) + func (b *BlockProcessorQueue) Inserted(block uint64) bool + func (b *BlockProcessorQueue) Latest(num uint64) bool + func (b *BlockProcessorQueue) Published(block uint64) bool + func (b *BlockProcessorQueue) Put(block uint64) bool + func (b *BlockProcessorQueue) Start(ctx context.Context) + func (b *BlockProcessorQueue) Stat() StatResponse + func (b *BlockProcessorQueue) UnconfirmedDone(block uint64) bool + func (b *BlockProcessorQueue) UnconfirmedFailed(block uint64) bool + func (b *BlockProcessorQueue) UnconfirmedNext() (uint64, bool) + type Next struct + ResponseChan ... + type Request struct + BlockNumber uint64 + ResponseChan chan bool + type Stat struct + ResponseChan chan StatResponse + type StatResponse struct + ConfirmedProgress uint64 + ConfirmedWaiting uint64 + Total uint64 + UnconfirmedProgress uint64 + UnconfirmedWaiting uint64 + type Update Request