update ValidatorRecord

This commit is contained in:
Dustin Brody 2018-11-15 10:16:09 -08:00
parent 150d0b6055
commit b2d93f75c1

View File

@ -59,13 +59,14 @@ type
slot*: uint64 # When slot*: uint64 # When
ValidatorRecord* = object ValidatorRecord* = object
pubkey*: BLSPublicKey # The validator's public key pubkey*: BLSPublicKey # BLS public key
withdrawal_shard*: int16 # What shard the validator's balance will be sent to after withdrawal withdrawal_shard*: uint16 # Withdrawal shard number
withdrawal_address*: EthAddress # And what address withdrawal_address*: EthAddress # Withdrawal address
randao_commitment*: Blake2_256_Digest # The validator's current RANDAO beacon commitment randao_commitment*: Blake2_256_Digest # RANDAO commitment
balance*: Int128 # Current balance randao_last_change*: uint64 # Slot the RANDAO commitment was last changed
start_dynasty*: int64 # Dynasty where the validator is inducted balance*: uint64 # Balance in Gwei
end_dynasty*: int64 # Dynasty where the validator leaves status*: uint8 # Status code [used to be more enum-like]
exit_slot*: uint64 # Slot when validator exited (or 0)
CrosslinkRecord* = object CrosslinkRecord* = object
dynasty: int64 # What dynasty the crosslink was submitted in dynasty: int64 # What dynasty the crosslink was submitted in