You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 25, 2023. It is now read-only.
This commit adapts the unit tests to the changes introduced in the
previous commit for the electrum tunneling. The electrum client is now
only spawned with the first electrum rpc call.
The electrum client opens a new tcp connection to the electrum server
for each connected client of the middleware.
Copy file name to clipboardExpand all lines: middleware/src/electrum/electrum.go
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
+
// Package electrum reads messages from a connected electrum server over tcp and passes the read value to a callback function. It also sends messages to the electrum server over tcp
1
2
package electrum
2
3
3
4
import (
4
5
"bufio"
5
6
"fmt"
7
+
"log"
6
8
"net"
7
-
8
-
"github.com/ethereum/go-ethereum/log"
9
9
)
10
10
11
11
// Electrum makes a connection to an Electrum server and proxies messages.
0 commit comments