Skip to main content

Interface: ValidateCommandsOptions

Properties​

enabled?​

optional enabled?: CommandGate

Which commands are enabled: a feature set (C-GATE), or the R1 release levels core (default, the core set) and parity (adds the parity commands). With a release level flag-gated commands are always refused; with a feature set the c.* features decide.


maxCommands?​

optional maxCommands?: number

Largest batch. Default 1000 (the workers' limit).


relief?​

optional relief?: CommandRelief

What the lease already granted. A relief command (see isReliefCommand) passes the gate even when its feature is not enabled.