diff options
author | Mission Liao <mission.liao@dexon.org> | 2018-09-20 09:09:37 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-20 09:09:37 +0800 |
commit | 421d72b2d796195178104a0eb1dedf319ba8664c (patch) | |
tree | f32f15c167989905494eca1891c3240b80dac1d6 /core/interfaces.go | |
parent | 37f117d35c6617e1944d45e001e03813a6a278ed (diff) | |
download | dexon-consensus-421d72b2d796195178104a0eb1dedf319ba8664c.tar dexon-consensus-421d72b2d796195178104a0eb1dedf319ba8664c.tar.gz dexon-consensus-421d72b2d796195178104a0eb1dedf319ba8664c.tar.bz2 dexon-consensus-421d72b2d796195178104a0eb1dedf319ba8664c.tar.lz dexon-consensus-421d72b2d796195178104a0eb1dedf319ba8664c.tar.xz dexon-consensus-421d72b2d796195178104a0eb1dedf319ba8664c.tar.zst dexon-consensus-421d72b2d796195178104a0eb1dedf319ba8664c.zip |
Rename validator* to node* (#120)
Diffstat (limited to 'core/interfaces.go')
-rw-r--r-- | core/interfaces.go | 6 |
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. |