Skip to main content

Module transaction_deny_config

Module transaction_deny_config 

Source

Structs§

DefaultDenyBucket
A per-kind default bucket. Each bucket covers a disjoint subset of DenyElementKind; a proposed element of one of element_kinds activates when eligible voting stake reaches threshold.
PeerDenySyncConfig
Configuration for activating recommended TransactionDenyConfig rules shared by peers via consensus. The operator pre-defines named rulesets, each gated on a stake threshold among an eligible set of validators; per-kind “default” buckets govern individual rule elements peers propose outside of any pre-listed ruleset.
SharedDenyRuleThreshold
Eligibility + stake threshold criteria for activating a proposed deny-rule.
SharedDenyRuleset
A pre-listed ruleset becomes effective when validators holding at least threshold.stake_threshold_percent of the eligible stake have each proposed a superset of rules.
TransactionDenyConfig
TransactionDenyConfigBuilder
TransactionDenyRules
The shareable subset of TransactionDenyConfig, rules for transactions that the node will refuse.

Enums§

DenyElementKind
A DenyElement stripped of its payload — the category that the per-kind default buckets in PeerDenySyncConfig partition over.
ValidatorEligibility
Which validators’ proposals count toward a deny-rule activation’s stake threshold.