Expand description
Version 3 of the DB schema.
Version 3 modifies the our_approval
format of ApprovalEntry
and adds a new field pending_signatures
for BlockEntry
Re-exports§
pub use super::v2::Bitfield;
pub use super::v2::OurAssignment;
pub use super::v2::Tick;
pub use super::v2::TrancheEntry;
Modules§
- migration_
helpers - Approval DB migration helpers.
Structs§
- Approval
Entry - Metadata regarding approval of a particular candidate within the context of some particular block.
- Block
Entry - Metadata regarding approval of a particular block, by way of approval of the candidates contained within it.
- Candidate
Entry - Metadata regarding approval of a particular candidate.
- Candidate
Signing Context - Context needed for creating an approval signature for a given candidate.
- OurApproval
- Metadata about our approval signature
Functions§
- load_
block_ entry_ v2 - Load a block entry from the aux store in v2 format.
- load_
candidate_ entry_ v2 - Load a candidate entry from the aux store in v2 format.