aboutsummaryrefslogtreecommitdiffstats
path: root/dex/protocol.go
diff options
context:
space:
mode:
Diffstat (limited to 'dex/protocol.go')
-rw-r--r--dex/protocol.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/dex/protocol.go b/dex/protocol.go
index 3507965ae..1907d18c8 100644
--- a/dex/protocol.go
+++ b/dex/protocol.go
@@ -17,6 +17,7 @@
package dex
import (
+ "crypto/ecdsa"
"fmt"
"io"
"math/big"
@@ -134,6 +135,8 @@ type governance interface {
type p2pServer interface {
Self() *enode.Node
+ GetPrivateKey() *ecdsa.PrivateKey
+
AddDirectPeer(*enode.Node)
RemoveDirectPeer(*enode.Node)