github.com/annchain/OG@v0.0.9/og_interface/genesis.go (about) 1 package og_interface 2 3 import ( 4 "github.com/annchain/OG/consensus_interface" 5 ) 6 7 type Genesis struct { 8 //RootSequencerHash og_interface.Hash 9 FirstCommittee *consensus_interface.Committee 10 } 11 12 type GenesisStore struct { 13 //RootSequencerHash string 14 FirstCommittee CommitteeStore 15 } 16 17 type CommitteeMemberStore struct { 18 PeerIndex int 19 MemberId string 20 TransportPeerId string 21 PublicKey string 22 } 23 24 type CommitteeStore struct { 25 Version int 26 Peers []CommitteeMemberStore 27 }