mirror of
https://github.com/Qortal/qortal.git
synced 2025-06-21 22:51:22 +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");
|
LOGGER.info("Shutting down synchronizer");
|
||||||
Synchronizer.getInstance().shutdown();
|
Synchronizer.getInstance().shutdown();
|
||||||
|
RNSSynchronizer.getInstance().shutdown();
|
||||||
|
|
||||||
LOGGER.info("Shutting down API");
|
LOGGER.info("Shutting down API");
|
||||||
ApiService.getInstance().stop();
|
ApiService.getInstance().stop();
|
||||||
@ -2732,7 +2733,7 @@ public class Controller extends Thread {
|
|||||||
peer.setChainTipData(newChainTipData);
|
peer.setChainTipData(newChainTipData);
|
||||||
|
|
||||||
// Potentially synchronize
|
// Potentially synchronize
|
||||||
Synchronizer.getInstance().requestSync();
|
RNSSynchronizer.getInstance().requestSync();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void onRNSNetworkBlockSummariesV2Message(RNSPeer peer, Message message) {
|
private void onRNSNetworkBlockSummariesV2Message(RNSPeer peer, Message message) {
|
||||||
@ -2763,7 +2764,7 @@ public class Controller extends Thread {
|
|||||||
peer.setChainTipSummaries(blockSummariesV2Message.getBlockSummaries());
|
peer.setChainTipSummaries(blockSummariesV2Message.getBlockSummaries());
|
||||||
|
|
||||||
// Potentially synchronize
|
// 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";
|
private String preferredNetwork = "reticulum";
|
||||||
/** Maximum number of Reticulum peers allowed. */
|
/** Maximum number of Reticulum peers allowed. */
|
||||||
private int reticulumMaxPeers = 55;
|
private int reticulumMaxPeers = 55;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user