Disabled udp listener.

Added test node and changed to olympic.
This commit is contained in:
Adrian Tiberius 2015-08-25 09:54:14 +02:00
parent c245891abb
commit a8b093bef1
4 changed files with 11 additions and 9 deletions

View File

@ -67,7 +67,7 @@ public class TestsFragment extends Fragment implements ConnectorHandler {
switch(v.getId()){
case R.id.connectButton:
EthereumApplication.ethereum.connect("192.168.122.90", 30303, "aceb348f4fd7b9b5033b1703b724970d93dbc6ee8410bdc20bc0585e668d629e542cd8ec560311fc8f4a0851c914aae8945555adee73878063dfa0078cc03e07");
EthereumApplication.ethereum.connect("139.162.13.89", 30303, "f471362a05597ef17cb28ba6aa94ebf05af4b68c5fa2f34cc0c50939b58904db00ba8c60b810d06a350df5fd4c7152bd4bd42a782ae455917252f8d1814c6d9d");
break;
case R.id.getEthereumStatus:
EthereumApplication.ethereum.getConnectionStatus(identifier);

View File

@ -258,7 +258,7 @@ public class EthereumRemoteService extends EthereumService {
component = DaggerEthereumComponent.builder()
.ethereumModule(new EthereumModule(this))
.build();
component.udpListener();
//component.udpListener();
ethereum = component.ethereum();
ethereum.addListener(new EthereumListener());
}

View File

@ -266,7 +266,9 @@ public class NodeManager implements Functional.Consumer<DiscoveryEvent>{
if (discoveryEnabled) {
logger.trace(" <===({}) {} [{}] {}", discoveryEvent.getAddress(),
discoveryEvent.getMessage().getClass().getSimpleName(), this, discoveryEvent.getMessage());
messageSender.accept(discoveryEvent);
if (messageSender != null) {
messageSender.accept(discoveryEvent);
}
}
}

View File

@ -40,11 +40,11 @@ peer {
# Boot node list
active = [
{
ip: "192.168.122.90",
port: 30303,
nodeId: "aceb348f4fd7b9b5033b1703b724970d93dbc6ee8410bdc20bc0585e668d629e542cd8ec560311fc8f4a0851c914aae8945555adee73878063dfa0078cc03e07"
}
# {
# ip: "139.162.13.89",
# port: 30303,
# nodeId: "f471362a05597ef17cb28ba6aa94ebf05af4b68c5fa2f34cc0c50939b58904db00ba8c60b810d06a350df5fd4c7152bd4bd42a782ae455917252f8d1814c6d9d"
# }
]
# The protocols supported by peer
@ -84,7 +84,7 @@ peer {
# contains several versions of
# genesis configuration according
# to the network the peer will run on
genesis = frontier.json
genesis = olympic.json
# the time we wait to the network
# to approve the transaction, the