diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2018-09-17 17:43:56 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-17 17:43:56 +0800 |
commit | cbf0012603deb6d2b8c257c079de98792f7b84cf (patch) | |
tree | 10294191481d4b7516ef0bc089bca1ebf1aa705c /core/consensus_test.go | |
parent | 874c4c599a80b9c6f9c085c216be5fd6492cd2c2 (diff) | |
download | dexon-consensus-cbf0012603deb6d2b8c257c079de98792f7b84cf.tar dexon-consensus-cbf0012603deb6d2b8c257c079de98792f7b84cf.tar.gz dexon-consensus-cbf0012603deb6d2b8c257c079de98792f7b84cf.tar.bz2 dexon-consensus-cbf0012603deb6d2b8c257c079de98792f7b84cf.tar.lz dexon-consensus-cbf0012603deb6d2b8c257c079de98792f7b84cf.tar.xz dexon-consensus-cbf0012603deb6d2b8c257c079de98792f7b84cf.tar.zst dexon-consensus-cbf0012603deb6d2b8c257c079de98792f7b84cf.zip |
core: DKG interface (#108)
Diffstat (limited to 'core/consensus_test.go')
-rw-r--r-- | core/consensus_test.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/consensus_test.go b/core/consensus_test.go index a66a459..313600a 100644 --- a/core/consensus_test.go +++ b/core/consensus_test.go @@ -45,6 +45,11 @@ func (n *network) BroadcastBlock(block *types.Block) { func (n *network) BroadcastNotaryAck(notaryAck *types.NotaryAck) { } +// SendDKGPrivateShare sends PrivateShare to a DKG participant. +func (n *network) SendDKGPrivateShare( + recv types.ValidatorID, prvShare *types.DKGPrivateShare) { +} + // ReceiveChan returns a channel to receive messages from DEXON network. func (n *network) ReceiveChan() <-chan interface{} { return make(chan interface{}) |