interbtc-api

@interlay/interbtc-api / Exports / ConstantsAPI

Interface: ConstantsAPI

Implemented by

Table of contents

Methods

Methods

getSystemBlockHashCount

getSystemBlockHashCount(): BlockNumber

Returns

BlockNumber

Maximum number of block number to block hash mappings to keep (oldest pruned first).

Defined in

src/parachain/constants.ts:14


getSystemDbWeight

getSystemDbWeight(): SpWeightsRuntimeDbWeight

Returns

SpWeightsRuntimeDbWeight

The weight of database operations that the runtime can invoke.

Defined in

src/parachain/constants.ts:18


getTimestampMinimumPeriod

getTimestampMinimumPeriod(): Moment

Returns

Moment

The minimum period between blocks. Beware that this is different to the expected period that the block production apparatus provides. Your chosen consensus system will generally work with this to determine a sensible block time. e.g. For Aura, it will be double this period on default settings.

Defined in

src/parachain/constants.ts:25