diff options
author | Mission Liao <mission.liao@dexon.org> | 2018-10-02 15:45:29 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-02 15:45:29 +0800 |
commit | fb27745f2ca4eaf66f53f48740cbd148ee15bbdf (patch) | |
tree | 1b706c5a93a4f09f27d2bc729cf55c5d4f0b5aaa /integration_test/node.go | |
parent | d7f6db871180b53548aed6a5450e1c5879c90b04 (diff) | |
download | tangerine-consensus-fb27745f2ca4eaf66f53f48740cbd148ee15bbdf.tar tangerine-consensus-fb27745f2ca4eaf66f53f48740cbd148ee15bbdf.tar.gz tangerine-consensus-fb27745f2ca4eaf66f53f48740cbd148ee15bbdf.tar.bz2 tangerine-consensus-fb27745f2ca4eaf66f53f48740cbd148ee15bbdf.tar.lz tangerine-consensus-fb27745f2ca4eaf66f53f48740cbd148ee15bbdf.tar.xz tangerine-consensus-fb27745f2ca4eaf66f53f48740cbd148ee15bbdf.tar.zst tangerine-consensus-fb27745f2ca4eaf66f53f48740cbd148ee15bbdf.zip |
core: replace reliable-broadcast with shard (#159)
Diffstat (limited to 'integration_test/node.go')
-rw-r--r-- | integration_test/node.go | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/integration_test/node.go b/integration_test/node.go index bbd604a..2fa3eb6 100644 --- a/integration_test/node.go +++ b/integration_test/node.go @@ -85,10 +85,9 @@ func NewNode( proposingLatency test.LatencyModel) *Node { var ( - shardID = uint32(0) chainID = uint32(math.MaxUint32) - governanceConfig = gov.GetConfiguration(0) - nodeSetKeys = gov.GetNodeSet(0) + governanceConfig = gov.Configuration(0) + nodeSetKeys = gov.NodeSet(0) nodeID = types.NewNodeID(privateKey.PublicKey()) ) broadcastTargets := make(map[types.NodeID]struct{}) @@ -116,7 +115,6 @@ func NewNode( app: app, db: db, shard: core.NewShard( - shardID, governanceConfig, core.NewAuthenticator(privateKey), app, |