Crate safety_rules
safety_
rules
0.1.0
All Items
Crate Items
Structs
Enums
Functions
Crate
safety_
rules
Copy item path
Source
Structs
§
Consensus
State
Public representation of the internal state of SafetyRules for monitoring / debugging purposes. This does not include sensitive data like private keys.
Persistent
Safety
Storage
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.
Safety
Rules
@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.