aboutsummaryrefslogtreecommitdiffstats
path: root/integration_test
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2018-09-17 17:43:56 +0800
committerGitHub <noreply@github.com>2018-09-17 17:43:56 +0800
commitcbf0012603deb6d2b8c257c079de98792f7b84cf (patch)
tree10294191481d4b7516ef0bc089bca1ebf1aa705c /integration_test
parent874c4c599a80b9c6f9c085c216be5fd6492cd2c2 (diff)
downloaddexon-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 'integration_test')
-rw-r--r--integration_test/network.go5
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{})