Disabled udp listener.
Added test node and changed to olympic.
This commit is contained in:
parent
c245891abb
commit
a8b093bef1
|
@ -67,7 +67,7 @@ public class TestsFragment extends Fragment implements ConnectorHandler {
|
||||||
|
|
||||||
switch(v.getId()){
|
switch(v.getId()){
|
||||||
case R.id.connectButton:
|
case R.id.connectButton:
|
||||||
EthereumApplication.ethereum.connect("192.168.122.90", 30303, "aceb348f4fd7b9b5033b1703b724970d93dbc6ee8410bdc20bc0585e668d629e542cd8ec560311fc8f4a0851c914aae8945555adee73878063dfa0078cc03e07");
|
EthereumApplication.ethereum.connect("139.162.13.89", 30303, "f471362a05597ef17cb28ba6aa94ebf05af4b68c5fa2f34cc0c50939b58904db00ba8c60b810d06a350df5fd4c7152bd4bd42a782ae455917252f8d1814c6d9d");
|
||||||
break;
|
break;
|
||||||
case R.id.getEthereumStatus:
|
case R.id.getEthereumStatus:
|
||||||
EthereumApplication.ethereum.getConnectionStatus(identifier);
|
EthereumApplication.ethereum.getConnectionStatus(identifier);
|
||||||
|
|
|
@ -258,7 +258,7 @@ public class EthereumRemoteService extends EthereumService {
|
||||||
component = DaggerEthereumComponent.builder()
|
component = DaggerEthereumComponent.builder()
|
||||||
.ethereumModule(new EthereumModule(this))
|
.ethereumModule(new EthereumModule(this))
|
||||||
.build();
|
.build();
|
||||||
component.udpListener();
|
//component.udpListener();
|
||||||
ethereum = component.ethereum();
|
ethereum = component.ethereum();
|
||||||
ethereum.addListener(new EthereumListener());
|
ethereum.addListener(new EthereumListener());
|
||||||
}
|
}
|
||||||
|
|
|
@ -266,7 +266,9 @@ public class NodeManager implements Functional.Consumer<DiscoveryEvent>{
|
||||||
if (discoveryEnabled) {
|
if (discoveryEnabled) {
|
||||||
logger.trace(" <===({}) {} [{}] {}", discoveryEvent.getAddress(),
|
logger.trace(" <===({}) {} [{}] {}", discoveryEvent.getAddress(),
|
||||||
discoveryEvent.getMessage().getClass().getSimpleName(), this, discoveryEvent.getMessage());
|
discoveryEvent.getMessage().getClass().getSimpleName(), this, discoveryEvent.getMessage());
|
||||||
messageSender.accept(discoveryEvent);
|
if (messageSender != null) {
|
||||||
|
messageSender.accept(discoveryEvent);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -40,11 +40,11 @@ peer {
|
||||||
|
|
||||||
# Boot node list
|
# Boot node list
|
||||||
active = [
|
active = [
|
||||||
{
|
# {
|
||||||
ip: "192.168.122.90",
|
# ip: "139.162.13.89",
|
||||||
port: 30303,
|
# port: 30303,
|
||||||
nodeId: "aceb348f4fd7b9b5033b1703b724970d93dbc6ee8410bdc20bc0585e668d629e542cd8ec560311fc8f4a0851c914aae8945555adee73878063dfa0078cc03e07"
|
# nodeId: "f471362a05597ef17cb28ba6aa94ebf05af4b68c5fa2f34cc0c50939b58904db00ba8c60b810d06a350df5fd4c7152bd4bd42a782ae455917252f8d1814c6d9d"
|
||||||
}
|
# }
|
||||||
]
|
]
|
||||||
|
|
||||||
# The protocols supported by peer
|
# The protocols supported by peer
|
||||||
|
@ -84,7 +84,7 @@ peer {
|
||||||
# contains several versions of
|
# contains several versions of
|
||||||
# genesis configuration according
|
# genesis configuration according
|
||||||
# to the network the peer will run on
|
# to the network the peer will run on
|
||||||
genesis = frontier.json
|
genesis = olympic.json
|
||||||
|
|
||||||
# the time we wait to the network
|
# the time we wait to the network
|
||||||
# to approve the transaction, the
|
# to approve the transaction, the
|
||||||
|
|
Loading…
Reference in New Issue