Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BlockDiscoveryStateData

description

A type that represents data about the state of the discovery module. Note that we implement the StateData type to permit more flexibility on gathering module states.

This class shall be used mainly to refer and handle data in relation with the discovery module.

see

DiscoverBlocks

since

v0.3.2

Hierarchy

  • BlockDiscoveryStateData

Implements

Index

Constructors

Properties

lastExecutedAt: number

Contains the timestamp of the last execution of the blocks discovery command.

access

public

var

{number}

lastPageNumber: number

Contains the last page number that was used in the blocks database query.

access

public

var

{number}

lastRange: number

Contains the last range of block that has been processed using the block discovery. This data field is used to persist last run checkpoint.

access

public

var

{number}

totalNumberOfBlocks: number

Contains the total number of blocks that have been discovered using the block discovery. This data field can be used to avoid count queries.

access

public

var

{number}

Generated using TypeDoc