Function cryptoballot::encrypted_vote_from_upstream_tx [−][src]
pub fn encrypted_vote_from_upstream_tx<S: Store>(
store: &S,
upstream_id: Identifier,
upstream_index: u16,
contest_index: u32,
mix_config: &Option<MixConfig>
) -> Result<Ciphertext, ValidationError>
Expand description
A convenience function for getting an encrypted-vote from some upstream transaction ID. The upstream transaction should either be a mixnet or a vote transaction.