File tree Expand file tree Collapse file tree 2 files changed +0
-6
lines changed
src/main/java/org/tron/consensus Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Original file line number Diff line number Diff line change 9
9
import org .tron .overlay .message .Message ;
10
10
import org .tron .overlay .message .Type ;
11
11
import org .tron .peer .Peer ;
12
-
13
- import java .net .InetAddress ;
14
- import java .net .UnknownHostException ;
15
- import java .nio .channels .InterruptedByTimeoutException ;
16
12
import java .util .Arrays ;
17
13
import java .util .Collection ;
18
14
import java .util .concurrent .CompletableFuture ;
Original file line number Diff line number Diff line change @@ -22,9 +22,7 @@ public static void serverRun() {
22
22
localhost = InetAddress .getLocalHost ();
23
23
System .out .println ("Server localhost: " + localhost .getHostAddress
24
24
());
25
-
26
25
Address address = new Address (localhost .getHostAddress (), 5000 );
27
-
28
26
CopycatServer server = CopycatServer .builder (address )
29
27
.withStateMachine (MapstateMachine ::new )
30
28
.withTransport (NettyTransport .builder ()
You can’t perform that action at this time.
0 commit comments