aboutsummaryrefslogtreecommitdiffstats
path: root/core/nodeset-cache_test.go
diff options
context:
space:
mode:
authorMission Liao <mission.liao@dexon.org>2018-10-02 15:45:29 +0800
committerGitHub <noreply@github.com>2018-10-02 15:45:29 +0800
commitfb27745f2ca4eaf66f53f48740cbd148ee15bbdf (patch)
tree1b706c5a93a4f09f27d2bc729cf55c5d4f0b5aaa /core/nodeset-cache_test.go
parentd7f6db871180b53548aed6a5450e1c5879c90b04 (diff)
downloadtangerine-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 'core/nodeset-cache_test.go')
-rw-r--r--core/nodeset-cache_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/nodeset-cache_test.go b/core/nodeset-cache_test.go
index 84e5d54..d7e7dba 100644
--- a/core/nodeset-cache_test.go
+++ b/core/nodeset-cache_test.go
@@ -32,10 +32,10 @@ type testGov struct {
curKeys []crypto.PublicKey
}
-func (g *testGov) GetConfiguration(round uint64) (cfg *types.Config) { return }
-func (g *testGov) GetCRS(round uint64) (b common.Hash) { return }
-func (g *testGov) ProposeCRS(uint64, []byte) {}
-func (g *testGov) GetNodeSet(round uint64) []crypto.PublicKey {
+func (g *testGov) Configuration(round uint64) (cfg *types.Config) { return }
+func (g *testGov) CRS(round uint64) (b common.Hash) { return }
+func (g *testGov) ProposeCRS(uint64, []byte) {}
+func (g *testGov) NodeSet(round uint64) []crypto.PublicKey {
// Randomly generating keys, and check them for verification.
g.curKeys = []crypto.PublicKey{}
for i := 0; i < 10; i++ {