mirror of
https://github.com/ratspeak/microReticulum
synced 2026-11-27 23:00:26 +00:00
WIP: More porting and work on persistence
Ported packet PROOFs. Implemented Transport probe destination. SPIFFs filesystem checks and formatting when necessary.
This commit is contained in:
1 parent
7aac0f4355
commit
03cfb1c03f
15 files changed
+392
-118
No files matched your search
+9
-9
@@ -265,17 +265,17 @@ using namespace RNS::Utilities;
|
||||
|
||||
except Exception as e:
|
||||
RNS.log("Could not load tunnel table from storage, the contained exception was: "+str(e), RNS.LOG_ERROR)
|
||||
|
||||
if RNS.Reticulum.probe_destination_enabled():
|
||||
Transport.probe_destination = RNS.Destination(Transport.identity, RNS.Destination.IN, RNS.Destination.SINGLE, Transport.APP_NAME, "probe")
|
||||
Transport.probe_destination.accepts_links(False)
|
||||
Transport.probe_destination.set_proof_strategy(RNS.Destination.PROVE_ALL)
|
||||
Transport.probe_destination.announce()
|
||||
RNS.log("Transport Instance will respond to probe requests on "+str(Transport.probe_destination), RNS.LOG_NOTICE)
|
||||
else:
|
||||
Transport.probe_destination = None
|
||||
*/
|
||||
|
||||
// Create transport-specific destination for probe requests
|
||||
if (Reticulum::probe_destination_enabled()) {
|
||||
Destination probe_destination(_identity, Type::Destination::IN, Type::Destination::SINGLE, APP_NAME, "probe");
|
||||
probe_destination.accepts_links(false);
|
||||
probe_destination.set_proof_strategy(Type::Destination::PROVE_ALL);
|
||||
probe_destination.announce();
|
||||
notice("Transport Instance will respond to probe requests on " + probe_destination.toString());
|
||||
}
|
||||
|
||||
verbose("Transport instance " + _identity.toString() + " started");
|
||||
_start_time = OS::time();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user