Crate safety_rules

Crate safety_rules 

Source

Structs§

ConsensusState
Public representation of the internal state of SafetyRules for monitoring / debugging purposes. This does not include sensitive data like private keys.
PersistentSafetyStorage
Wraps OnDiskStorage with the safety-rules-specific schema (SAFETY_DATA, OWNER_ACCOUNT) and a single-key in-memory cache over the hot SAFETY_DATA read.
SafetyRules
@TODO consider a cache of verified QCs to cut down on verification costs

Enums§

Error
Different reasons for proposal rejection

Functions§

create_safety_rules
Create a SafetyRules instance.