[−][src]Function damn_vuln_blockchain::utils::consensus
pub async fn consensus<'_, '_>(
config: &'_ Config,
block_id: usize,
client: &'_ Client
) -> Peer
get stake from all peers in network and get the validator peer
pub async fn consensus<'_, '_>(
config: &'_ Config,
block_id: usize,
client: &'_ Client
) -> Peer
get stake from all peers in network and get the validator peer