Options
All
  • Public
  • Public/Protected
  • All
Menu

EvidenceParams determine how we handle evidence of malfeasance.

Hierarchy

  • EvidenceParams

Index

Properties

Optional maxAgeDuration

maxAgeDuration: Duration

Max age of evidence, in time.

It should correspond with an app's "unbonding period" or other similar mechanism for handling Nothing-At-Stake attacks.

maxAgeNumBlocks

maxAgeNumBlocks: number

Max age of evidence, in blocks.

The basic formula for calculating this is: MaxAgeDuration / {average block time}.

maxBytes

maxBytes: number

This sets the maximum size of total evidence in bytes that can be committed in a single block. and should fall comfortably under the max block bytes. Default is 1048576 or 1MB

Generated using TypeDoc