diff options
author | Wei-Ning Huang <w@cobinhood.com> | 2018-10-04 17:01:32 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-12 17:23:38 +0800 |
commit | 8b977d488bce2d9d9d29a4ddc460b1ffac44aed2 (patch) | |
tree | 3b5ab64a09469a8a1e955688b1cecb80e5186e1c /dex/network.go | |
parent | 611a560ab953a8dcb73dee465a26bc110a56a1db (diff) | |
download | go-tangerine-8b977d488bce2d9d9d29a4ddc460b1ffac44aed2.tar.gz go-tangerine-8b977d488bce2d9d9d29a4ddc460b1ffac44aed2.tar.zst go-tangerine-8b977d488bce2d9d9d29a4ddc460b1ffac44aed2.zip |
core: vm: implement the rest of governance contract methods
Diffstat (limited to 'dex/network.go')
-rw-r--r-- | dex/network.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dex/network.go b/dex/network.go index a186921a4..c3a0ef792 100644 --- a/dex/network.go +++ b/dex/network.go @@ -23,6 +23,14 @@ func (n *DexconNetwork) BroadcastVote(vote *types.Vote) { func (n *DexconNetwork) BroadcastBlock(block *types.Block) { } +// BroadcastRandomnessRequest broadcasts rand request to DKG set. +func (n *DexconNetwork) BroadcastRandomnessRequest(randRequest *types.AgreementResult) { +} + +// BroadcastRandomnessResult broadcasts rand request to Notary set. +func (n *DexconNetwork) BroadcastRandomnessResult(randResult *types.BlockRandomnessResult) { +} + // SendDKGPrivateShare sends PrivateShare to a DKG participant. func (n *DexconNetwork) SendDKGPrivateShare( pub crypto.PublicKey, prvShare *types.DKGPrivateShare) { |