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 /integration_test | |
parent | 874c4c599a80b9c6f9c085c216be5fd6492cd2c2 (diff) | |
download | tangerine-consensus-cbf0012603deb6d2b8c257c079de98792f7b84cf.tar tangerine-consensus-cbf0012603deb6d2b8c257c079de98792f7b84cf.tar.gz tangerine-consensus-cbf0012603deb6d2b8c257c079de98792f7b84cf.tar.bz2 tangerine-consensus-cbf0012603deb6d2b8c257c079de98792f7b84cf.tar.lz tangerine-consensus-cbf0012603deb6d2b8c257c079de98792f7b84cf.tar.xz tangerine-consensus-cbf0012603deb6d2b8c257c079de98792f7b84cf.tar.zst tangerine-consensus-cbf0012603deb6d2b8c257c079de98792f7b84cf.zip |
core: DKG interface (#108)
Diffstat (limited to 'integration_test')
-rw-r--r-- | integration_test/network.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/integration_test/network.go b/integration_test/network.go index 446d01a..735d48a 100644 --- a/integration_test/network.go +++ b/integration_test/network.go @@ -36,6 +36,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{}) |