diff options
author | Jimmy Hu <jimmy.hu@dexon.org> | 2018-09-23 20:51:05 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-23 20:51:05 +0800 |
commit | 0ab5a2d4f63ece79a4df32c6fb3ac710a954fd89 (patch) | |
tree | 626db6969aee92702001e5c9f3de56e2a439ccac /core/consensus_test.go | |
parent | 2c71e8448a9c03e924a7869351eebf2def1af057 (diff) | |
download | dexon-consensus-0ab5a2d4f63ece79a4df32c6fb3ac710a954fd89.tar dexon-consensus-0ab5a2d4f63ece79a4df32c6fb3ac710a954fd89.tar.gz dexon-consensus-0ab5a2d4f63ece79a4df32c6fb3ac710a954fd89.tar.bz2 dexon-consensus-0ab5a2d4f63ece79a4df32c6fb3ac710a954fd89.tar.lz dexon-consensus-0ab5a2d4f63ece79a4df32c6fb3ac710a954fd89.tar.xz dexon-consensus-0ab5a2d4f63ece79a4df32c6fb3ac710a954fd89.tar.zst dexon-consensus-0ab5a2d4f63ece79a4df32c6fb3ac710a954fd89.zip |
core: run first DKG at startup. (#129)
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 701ee00..c5ef452 100644 --- a/core/consensus_test.go +++ b/core/consensus_test.go @@ -50,6 +50,11 @@ func (n *network) SendDKGPrivateShare( recv types.NodeID, prvShare *types.DKGPrivateShare) { } +// BroadcastDKGPrivateShare broadcasts PrivateShare to all DKG participants. +func (n *network) BroadcastDKGPrivateShare( + prvShare *types.DKGPrivateShare) { +} + // ReceiveChan returns a channel to receive messages from DEXON network. func (n *network) ReceiveChan() <-chan interface{} { return make(chan interface{}) |