mirror of
https://github.com/Qortal/qortal.git
synced 2025-06-21 14:51:20 +00:00
fix RNS synchhronize call
This commit is contained in:
parent
01fb7346f9
commit
5d5b0ff7b2
@ -1238,6 +1238,7 @@ public class Controller extends Thread {
|
||||
|
||||
LOGGER.info("Shutting down synchronizer");
|
||||
Synchronizer.getInstance().shutdown();
|
||||
RNSSynchronizer.getInstance().shutdown();
|
||||
|
||||
LOGGER.info("Shutting down API");
|
||||
ApiService.getInstance().stop();
|
||||
@ -2732,7 +2733,7 @@ public class Controller extends Thread {
|
||||
peer.setChainTipData(newChainTipData);
|
||||
|
||||
// Potentially synchronize
|
||||
Synchronizer.getInstance().requestSync();
|
||||
RNSSynchronizer.getInstance().requestSync();
|
||||
}
|
||||
|
||||
private void onRNSNetworkBlockSummariesV2Message(RNSPeer peer, Message message) {
|
||||
@ -2763,7 +2764,7 @@ public class Controller extends Thread {
|
||||
peer.setChainTipSummaries(blockSummariesV2Message.getBlockSummaries());
|
||||
|
||||
// Potentially synchronize
|
||||
Synchronizer.getInstance().requestSync();
|
||||
RNSSynchronizer.getInstance().requestSync();
|
||||
}
|
||||
|
||||
// ************
|
||||
|
@ -614,9 +614,9 @@ public class Settings {
|
||||
}
|
||||
}
|
||||
|
||||
// Related to Reticulum networking
|
||||
// Related to mesh networking
|
||||
|
||||
/** Preferred network: tcpip or reticulum */
|
||||
/** Preferred network: "tcpip" or "reticulum" */
|
||||
private String preferredNetwork = "reticulum";
|
||||
/** Maximum number of Reticulum peers allowed. */
|
||||
private int reticulumMaxPeers = 55;
|
||||
|
Loading…
x
Reference in New Issue
Block a user