aboutsummaryrefslogtreecommitdiffstats
path: root/core/interfaces.go
diff options
context:
space:
mode:
authorMission Liao <mission.liao@dexon.org>2018-09-20 09:09:37 +0800
committerGitHub <noreply@github.com>2018-09-20 09:09:37 +0800
commit421d72b2d796195178104a0eb1dedf319ba8664c (patch)
treef32f15c167989905494eca1891c3240b80dac1d6 /core/interfaces.go
parent37f117d35c6617e1944d45e001e03813a6a278ed (diff)
downloadtangerine-consensus-421d72b2d796195178104a0eb1dedf319ba8664c.tar
tangerine-consensus-421d72b2d796195178104a0eb1dedf319ba8664c.tar.gz
tangerine-consensus-421d72b2d796195178104a0eb1dedf319ba8664c.tar.bz2
tangerine-consensus-421d72b2d796195178104a0eb1dedf319ba8664c.tar.lz
tangerine-consensus-421d72b2d796195178104a0eb1dedf319ba8664c.tar.xz
tangerine-consensus-421d72b2d796195178104a0eb1dedf319ba8664c.tar.zst
tangerine-consensus-421d72b2d796195178104a0eb1dedf319ba8664c.zip
Rename validator* to node* (#120)
Diffstat (limited to 'core/interfaces.go')
-rw-r--r--core/interfaces.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/interfaces.go b/core/interfaces.go
index 3fae590..4f67e1e 100644
--- a/core/interfaces.go
+++ b/core/interfaces.go
@@ -63,7 +63,7 @@ type Network interface {
BroadcastWitnessAck(witnessAck *types.WitnessAck)
// SendDKGPrivateShare sends PrivateShare to a DKG participant.
- SendDKGPrivateShare(recv types.ValidatorID, prvShare *types.DKGPrivateShare)
+ SendDKGPrivateShare(recv types.NodeID, prvShare *types.DKGPrivateShare)
// ReceiveChan returns a channel to receive messages from DEXON network.
ReceiveChan() <-chan interface{}
@@ -76,8 +76,8 @@ type Governance interface {
// GetConfiguration returns the configuration at a given block height.
GetConfiguration(blockHeight uint64) *types.Config
- // Get the current validator set.
- GetNotarySet() map[types.ValidatorID]struct{}
+ // Get the current notary set.
+ GetNotarySet() map[types.NodeID]struct{}
//// DKG-related methods.