update ShardAndCommittee and CrosslinkRecord

This commit is contained in:
Dustin Brody 2018-11-15 10:20:27 -08:00
parent b2d93f75c1
commit 8493949456
1 changed files with 3 additions and 4 deletions

View File

@ -50,7 +50,7 @@ type
parent_hash*: Blake2_256_Digest # Hash of the parent block parent_hash*: Blake2_256_Digest # Hash of the parent block
ShardAndCommittee* = object ShardAndCommittee* = object
shard_id*: int16 # The shard ID shard_id*: uint16 # Shard number
committee*: seq[Uint24] # Validator indices committee*: seq[Uint24] # Validator indices
ShardReassignmentRecord* = object ShardReassignmentRecord* = object
@ -69,9 +69,8 @@ type
exit_slot*: uint64 # Slot when validator exited (or 0) exit_slot*: uint64 # Slot when validator exited (or 0)
CrosslinkRecord* = object CrosslinkRecord* = object
dynasty: int64 # What dynasty the crosslink was submitted in slot: uint64 # Slot number
slot: int64 # What slot hash: Blake2_256_Digest # Shard chain block hash
hash: Blake2_256_Digest # The block hash
AttestationRecord* = object AttestationRecord* = object
slot*: uint64 # Slot number slot*: uint64 # Slot number