Adds some new fields from the latest spec

This commit is contained in:
Alex Stokes 2019-01-10 09:52:38 -06:00
parent e30c0ad722
commit f74bf597dd
No known key found for this signature in database
GPG Key ID: 51CE1721B245C086

View File

@ -35,9 +35,12 @@ pub struct ValidatorRecord {
pub withdrawal_credentials: Hash256,
pub randao_commitment: Hash256,
pub randao_layers: u64,
pub status: ValidatorStatus,
pub latest_status_change_slot: u64,
pub activation_slot: u64,
pub exit_slot: u64,
pub withdrawal_slot: u64,
pub penalized_slot: u64,
pub exit_count: u64,
pub status: ValidatorStatus,
pub custody_commitment: Hash256,
pub latest_custody_reseed_slot: u64,
pub penultimate_custody_reseed_slot: u64,