Function sp_consensus_sassafras::vrf::make_ticket_id
source · pub fn make_ticket_id(input: &VrfInput, pre_output: &VrfPreOutput) -> TicketId
Expand description
Make ticket-id from the given VRF input and pre-output.
Input should have been obtained via ticket_id_input
.
Pre-output should have been obtained from the input directly using the vrf
secret key or from the vrf signature pre-outputs.