fix RNS synchhronize call

This commit is contained in:
Jürg Schulthess 2025-05-25 12:45:37 +02:00
parent 01fb7346f9
commit 5d5b0ff7b2
2 changed files with 5 additions and 4 deletions

View File

@ -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();
}
// ************

View File

@ -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;