deserialize_stake_table

Function deserialize_stake_table 

Source
fn deserialize_stake_table(bytes: &[u8]) -> Result<(StakeTuple, bool)>
Expand description

Deserialize a stake table from bytes, trying current and legacy formats. Returns (stake_tuple, needs_rewrite) where needs_rewrite=true means legacy format was used.