Documentation ¶
Index ¶
- func MapAccount(b *ton.BlockIDExt, acc *tlb.Account) *core.AccountState
- type Service
- func (s *Service) BlockTransactions(ctx context.Context, master, b *ton.BlockIDExt) ([]*core.Transaction, error)
- func (s *Service) LookupMaster(ctx context.Context, api ton.APIClientWrapped, seqNo uint32) (*ton.BlockIDExt, error)
- func (s *Service) UnseenBlocks(ctx context.Context, masterSeqNo uint32) (master *ton.BlockIDExt, shards []*ton.BlockIDExt, err error)
- func (s *Service) UnseenShards(ctx context.Context, master *ton.BlockIDExt) (shards []*ton.BlockIDExt, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MapAccount ¶ added in v0.3.2
func MapAccount(b *ton.BlockIDExt, acc *tlb.Account) *core.AccountState
Types ¶
type Service ¶
type Service struct { *app.FetcherConfig // contains filtered or unexported fields }
func NewService ¶
func NewService(cfg *app.FetcherConfig) *Service
func (*Service) BlockTransactions ¶
func (s *Service) BlockTransactions(ctx context.Context, master, b *ton.BlockIDExt) ([]*core.Transaction, error)
func (*Service) LookupMaster ¶ added in v0.3.2
func (s *Service) LookupMaster(ctx context.Context, api ton.APIClientWrapped, seqNo uint32) (*ton.BlockIDExt, error)
func (*Service) UnseenBlocks ¶
func (s *Service) UnseenBlocks(ctx context.Context, masterSeqNo uint32) (master *ton.BlockIDExt, shards []*ton.BlockIDExt, err error)
func (*Service) UnseenShards ¶ added in v0.3.2
func (s *Service) UnseenShards(ctx context.Context, master *ton.BlockIDExt) (shards []*ton.BlockIDExt, err error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.