Fixed some small wire adjustments
This commit is contained in:
parent
b72cc89b6f
commit
812a2c224e
|
@ -62,7 +62,8 @@ public class ConnectionConsole extends JFrame implements PeerListener{
|
|||
Thread t = new Thread() {
|
||||
public void run() {
|
||||
|
||||
new ClientPeer(thisConsole).connect("54.201.28.117", 30303);
|
||||
new ClientPeer(thisConsole).connect("localhost", 30303);
|
||||
// new ClientPeer(thisConsole).connect("54.201.28.117", 30303);
|
||||
// new ClientPeer(thisConsole).connect("82.217.72.169", 30303);
|
||||
// new ClientPeer(thisConsole).connect("54.204.10.41", 30303);
|
||||
}
|
||||
|
|
|
@ -115,6 +115,7 @@ public class HelloMessage extends Message {
|
|||
}
|
||||
|
||||
public String toString(){
|
||||
if (!parsed) parseRLP();
|
||||
return "Hello Message [ command=" + HELLO.asByte() + " " +
|
||||
" protocolVersion=" + this.protocolVersion + " " +
|
||||
" networkId=" + this.networkId + " " +
|
||||
|
|
|
@ -63,7 +63,7 @@ public class StaticMessages {
|
|||
|
||||
byte[] peerIdBytes = Utils.hexStringToByteArr(peerId);
|
||||
|
||||
HELLO_MESSAGE = new HelloMessage((byte)0x0E, (byte)0x00, "EthereumJ [v0.0.1] pure java [by Roman Mandeleil]",
|
||||
HELLO_MESSAGE = new HelloMessage((byte)0x0F, (byte)0x00, "EthereumJ [v0.0.1] pure java [by Roman Mandeleil]",
|
||||
(byte)0b00000111, (short)30303, peerIdBytes);
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue