Hardcoded remoteId.

This commit is contained in:
Adrian Tiberius 2015-05-14 18:44:47 +02:00
parent abd6ef1d4c
commit 22f70082c4
4 changed files with 7 additions and 5 deletions

View File

@ -28,7 +28,7 @@ public class EthereumManager {
ethereum.connect(SystemProperties.CONFIG.activePeerIP(), ethereum.connect(SystemProperties.CONFIG.activePeerIP(),
SystemProperties.CONFIG.activePeerPort(), SystemProperties.CONFIG.activePeerPort(),
SystemProperties.CONFIG.activePeerNodeid()); "e3d09d2f829950b5f3f82d1bddb6f5388bff2f2cca880fa47923df4d8129e8c9b5ba5d4371efcffc416b0cefe20cb55b81b2b71183464713a86e60b423b77947");
} }
public void loadAccounts() { public void loadAccounts() {

View File

@ -18,7 +18,7 @@ public class SystemProperties {
private final static int DEFAULT_TX_APPROVE_TIMEOUT = 10; 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_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 String DEFAULT_ACTIVE_PEER_IP = "poc-9.ethdev.com";
private final static int DEFAULT_ACTIVE_PORT = 30303; private final static int DEFAULT_ACTIVE_PORT = 30303;
private final static String DEFAULT_SAMPLES_DIR = "samples"; private final static String DEFAULT_SAMPLES_DIR = "samples";

View File

@ -45,7 +45,7 @@ public class EthereumChannelInitializer extends ChannelInitializer<NioSocketChan
public EthereumChannelInitializer() { public EthereumChannelInitializer() {
logger.info("Channel initializer instantiated"); logger.info("Channel initializer instantiated");
this.remoteId = ""; this.remoteId = "e3d09d2f829950b5f3f82d1bddb6f5388bff2f2cca880fa47923df4d8129e8c9b5ba5d4371efcffc416b0cefe20cb55b81b2b71183464713a86e60b423b77947";
} }
public EthereumChannelInitializer(String remoteId) { public EthereumChannelInitializer(String remoteId) {

View File

@ -7,8 +7,10 @@ peer.discovery.ip.list = poc-7.ethdev.com:30303,\
# Peer Server Zero (poc-7.ethdev.com) # Peer Server Zero (poc-7.ethdev.com)
peer.active.ip = poc-9.ethdev.com peer.active.ip = 162.243.46.9
peer.active.port = 30303 peer.active.port = 30403
peer.active.nodeid = e3d09d2f829950b5f3f82d1bddb6f5388bff2f2cca880fa47923df4d8129e8c9b5ba5d4371efcffc416b0cefe20cb55b81b2b71183464713a86e60b423b77947
# Peer for server to listen for incoming # Peer for server to listen for incoming
# connections # connections