1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
use fuel_crypto::{PublicKey, Signature};
use fuel_types::Bytes32;
/// A vote from a validator.
///
/// This is a dummy placeholder for the Vote Struct in fuel-bft
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
pub struct Vote {
block_id: Bytes32,
height: u64,
round: u64,
signature: Signature,
//step: Step,
validator: PublicKey,
}