Crate safety_rules
source · [−]Structs
Public representation of the internal state of SafetyRules for monitoring / debugging purposes. This does not include sensitive data like private keys. @TODO add hash of ledger info (waypoint)
SafetyRules needs an abstract storage interface to act as a common utility for storing persistent data to local disk, cloud, secrets managers, or even memory (for tests) Any set function is expected to sync to the remote system before returning.
@TODO consider a cache of verified QCs to cut down on verification costs
Enums
Different reasons for proposal rejection
Traits
Interface for SafetyRules