Prune older epoch stakes

This commit is contained in:
Michael Vines
2020-01-03 10:30:36 -07:00
parent cd65a1e172
commit e782c26908
3 changed files with 84 additions and 11 deletions

View File

@ -733,6 +733,7 @@ mod test {
cluster_lamports: 100,
ticks_per_slot: 8,
slots_per_epoch: MINIMUM_SLOTS_PER_EPOCH as u64,
stakers_slot_offset: MINIMUM_SLOTS_PER_EPOCH as u64,
..ClusterConfig::default()
};
let cluster = LocalCluster::new(&config);