pub(crate) async fn submit_vote<TYPES: NodeType, I: NodeImplementation<TYPES>, V: Versions>(
sender: Sender<Arc<HotShotEvent<TYPES>>>,
membership: EpochMembership<TYPES>,
public_key: TYPES::SignatureKey,
private_key: <TYPES::SignatureKey as SignatureKey>::PrivateKey,
upgrade_lock: UpgradeLock<TYPES, V>,
view_number: TYPES::View,
storage: I::Storage,
storage_metrics: Arc<StorageMetricsValue>,
leaf: Leaf2<TYPES>,
vid_share: Proposal<TYPES, VidDisperseShare<TYPES>>,
extended_vote: bool,
epoch_root_vote: bool,
epoch_height: u64,
state_private_key: &<TYPES::StateSignatureKey as StateSignatureKey>::StatePrivateKey,
stake_table_capacity: usize,
) -> Result<()>
Expand description
Submits the QuorumVoteSend
event if all the dependencies are met.