Documentation ¶
Index ¶
Constants ¶
View Source
const ErrBlockNotApplied = "block is not applied"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ShardScanner ¶
type ShardScanner struct {
// contains filtered or unexported fields
}
func NewShardScanner ¶
func NewShardScanner( logger *zap.SugaredLogger, shard byte, tonApi *ton.APIClient, ) *ShardScanner
NewShardScanner creates new tracker to get blocks with specific shard attribute.
func (*ShardScanner) Start ¶
func (s *ShardScanner) Start(ctx context.Context, startBlock *ton.BlockIDExt)
Start scans for blocks.
Click to show internal directories.
Click to hide internal directories.