Hardcoded remoteId.
This commit is contained in:
parent
abd6ef1d4c
commit
22f70082c4
|
@ -28,7 +28,7 @@ public class EthereumManager {
|
|||
|
||||
ethereum.connect(SystemProperties.CONFIG.activePeerIP(),
|
||||
SystemProperties.CONFIG.activePeerPort(),
|
||||
SystemProperties.CONFIG.activePeerNodeid());
|
||||
"e3d09d2f829950b5f3f82d1bddb6f5388bff2f2cca880fa47923df4d8129e8c9b5ba5d4371efcffc416b0cefe20cb55b81b2b71183464713a86e60b423b77947");
|
||||
}
|
||||
|
||||
public void loadAccounts() {
|
||||
|
|
|
@ -18,7 +18,7 @@ public class SystemProperties {
|
|||
|
||||
private final static int DEFAULT_TX_APPROVE_TIMEOUT = 10;
|
||||
private final static String DEFAULT_DISCOVERY_PEER_LIST = "poc-9.ethdev.com:30303";
|
||||
private final static String DEFAULT_ACTIVE_PEER_NODEID = ""; // FIXME
|
||||
private final static String DEFAULT_ACTIVE_PEER_NODEID = "e3d09d2f829950b5f3f82d1bddb6f5388bff2f2cca880fa47923df4d8129e8c9b5ba5d4371efcffc416b0cefe20cb55b81b2b71183464713a86e60b423b77947"; // FIXME
|
||||
private final static String DEFAULT_ACTIVE_PEER_IP = "poc-9.ethdev.com";
|
||||
private final static int DEFAULT_ACTIVE_PORT = 30303;
|
||||
private final static String DEFAULT_SAMPLES_DIR = "samples";
|
||||
|
|
|
@ -45,7 +45,7 @@ public class EthereumChannelInitializer extends ChannelInitializer<NioSocketChan
|
|||
|
||||
public EthereumChannelInitializer() {
|
||||
logger.info("Channel initializer instantiated");
|
||||
this.remoteId = "";
|
||||
this.remoteId = "e3d09d2f829950b5f3f82d1bddb6f5388bff2f2cca880fa47923df4d8129e8c9b5ba5d4371efcffc416b0cefe20cb55b81b2b71183464713a86e60b423b77947";
|
||||
}
|
||||
|
||||
public EthereumChannelInitializer(String remoteId) {
|
||||
|
|
|
@ -7,8 +7,10 @@ peer.discovery.ip.list = poc-7.ethdev.com:30303,\
|
|||
|
||||
|
||||
# Peer Server Zero (poc-7.ethdev.com)
|
||||
peer.active.ip = poc-9.ethdev.com
|
||||
peer.active.port = 30303
|
||||
peer.active.ip = 162.243.46.9
|
||||
peer.active.port = 30403
|
||||
peer.active.nodeid = e3d09d2f829950b5f3f82d1bddb6f5388bff2f2cca880fa47923df4d8129e8c9b5ba5d4371efcffc416b0cefe20cb55b81b2b71183464713a86e60b423b77947
|
||||
|
||||
|
||||
# Peer for server to listen for incoming
|
||||
# connections
|
||||
|
|
Loading…
Reference in New Issue