diff options
Diffstat (limited to 'dex/protocol.go')
-rw-r--r-- | dex/protocol.go | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/dex/protocol.go b/dex/protocol.go index 94241104b..3507965ae 100644 --- a/dex/protocol.go +++ b/dex/protocol.go @@ -124,13 +124,11 @@ type txPool interface { } type governance interface { - GetChainNum(uint64) uint32 + GetNumChains(uint64) uint32 - GetNotarySet(uint32, uint64) map[string]struct{} + NotarySet(uint32, uint64) map[string]struct{} - GetDKGSet(uint64) map[string]struct{} - - SubscribeNewCRSEvent(ch chan core.NewCRSEvent) event.Subscription + DKGSet(uint64) map[string]struct{} } type p2pServer interface { |