mirror of
https://github.com/ratspeak/microReticulum
synced 2026-11-27 13:52:14 +00:00
WIP: Enhancements to persistence
This commit is contained in:
1 parent
63a16a5391
commit
f415b5e0b5
14 files changed
+693
-288
No files matched your search
@@ -439,6 +439,16 @@ Recall last heard app_data for a destination hash.
|
||||
return false;
|
||||
}
|
||||
|
||||
/*static*/ void Identity::persist_data() {
|
||||
if (!Transport::reticulum() || !Transport::reticulum().is_connected_to_shared_instance()) {
|
||||
save_known_destinations();
|
||||
}
|
||||
}
|
||||
|
||||
/*static*/ void Identity::exit_handler() {
|
||||
persist_data();
|
||||
}
|
||||
|
||||
/*
|
||||
Encrypts information for the identity.
|
||||
|
||||
|
||||
Reference in new issue
Block a user