trait Meta {
const UNSIGNED_AT_GENESIS_ALLOWED: bool = false;
// Required method
fn consistent_with(&self, view: ViewNumber, epoch_height: u64) -> bool;
}Expand description
Meta information about vote data.
Provided Associated Constants§
const UNSIGNED_AT_GENESIS_ALLOWED: bool = false
Required Methods§
Sourcefn consistent_with(&self, view: ViewNumber, epoch_height: u64) -> bool
fn consistent_with(&self, view: ViewNumber, epoch_height: u64) -> bool
Whether the data is consistent, internally and with the certificate’s view.
Checked in check, so a certificate failing it is never recorded as
verified and cannot retire its key for other senders. It runs before the
genesis exemption, which therefore cannot skip it.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".