Merge pull request #379 from harmony-one/beaconLeader

Add Deposit Contract to every Node
pull/383/head
alajko 6 years ago committed by GitHub
commit bf45d70ac8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      consensus/consensus.go
  2. 27
      node/node.go

@ -27,6 +27,7 @@ import (
"golang.org/x/crypto/sha3"
proto_discovery "github.com/harmony-one/harmony/api/proto/discovery"
proto_node "github.com/harmony-one/harmony/api/proto/node"
)
// Consensus is the main struct with all states and data related to consensus process.
@ -106,6 +107,10 @@ type Consensus struct {
// List of offline Peers
OfflinePeerList []p2p.Peer
//List of nodes related to beaconchain funcs
WaitingNodes []proto_node.Info
ActiveNodes []proto_node.Info
}
// BFTBlockInfo send the latest block that was in BFT consensus process as well as its consensusID to state syncing

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save