Skip to main content

allocate_token

Function allocate_token 

Source
pub fn allocate_token(writers: u64, author: u64, sequence: u64) -> Option<u64>
Expand description

Pure allocation rule, evaluated with checked bounded arithmetic. The record sequence starts at one; configuration must be identical across a replica set.