Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AccountDiscoveryStateData

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

DiscoverAccounts

since

v0.1.0

Hierarchy

  • AccountDiscoveryStateData

Implements

Index

Constructors

Properties

lastExecutedAt: number

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

access

public

var

{number}

lastPageNumber: number

Contains the last page number that was used in the transactions database query. Since accounts are all discovery from transactions, we only need to read a transaction once to discover the involved address(es).

access

public

var

{number}

lastUsedAccount: string

Contains the address of the last account that was used in the transaction discovery. This is used in the case of runtime configuration that contains more than one discovery source and permits to track multiple accounts sequentially.

access

public

var

{string}

Generated using TypeDoc