Skip to content

Documentation / @etherfold/processor-entities / EntityEventProcessorOptions

Type Alias: EntityEventProcessorOptions ​

EntityEventProcessorOptions = object

Defined in: packages/processor-entities/src/EntityEventProcessor.ts:28

What a deployment chooses about HOW the state is kept, as opposed to WHERE (the store it hands over) or WHAT (the processor computes it).

One field today, and it is here rather than only on the store because it is checked against something the store never sees: see assertRetentionCoversReorgs.

Properties ​

finalityDepth? ​

readonly optional finalityDepth?: number

Defined in: packages/processor-entities/src/EntityEventProcessor.ts:36

The reorg depth this deployment declared when it configured the store's retention, in block numbers.

Optional, and only ever used to catch a disagreement. A deployment that set no retention window has stated no floor and cannot disagree with one.