WIP: General improvements in persistence efficiency

This commit is contained in:
Chad Attermann committed 2024-08-14 21:59:23 -06:00
1 parent 4a30a0a4b4
commit fcfda66365
36 files changed
+2754 -790

No files matched your search

+2 -1
View File
@@ -22,8 +22,9 @@ using namespace RNS::Utilities;
/*static*/ std::map<Bytes, Identity::IdentityEntry> Identity::_known_destinations;
/*static*/ bool Identity::_saving_known_destinations = false;
// CBA
// CBA ACCUMULATES
/*static*/ //uint16_t Identity::_known_destinations_maxsize = 100;
/*static*/ uint16_t Identity::_known_destinations_maxsize = 20;
/*static*/ uint16_t Identity::_known_destinations_maxsize = 100;
Identity::Identity(bool create_keys /*= true*/) : _object(new Object()) {
if (create_keys) {