- Timestamp:
- May 28, 2019 3:12:20 PM (20 months ago)
- Branches:
- master
- Children:
- a3fe746
- Parents:
- 0c7c1945
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
router/java/src/net/i2p/router/networkdb/kademlia/BlindCache.java
r0c7c1945 r973aab8 169 169 } 170 170 171 /** 172 * Persists immediately if secret or privkey is non-null 173 */ 171 174 public void addToCache(BlindData bd) { 175 storeInCache(bd); 176 if (bd.getSecret() != null || bd.getAuthPrivKey() != null) 177 store(); 178 } 179 180 /** 181 * @since 0.9.41 from addToCache() 182 */ 183 private void storeInCache(BlindData bd) { 172 184 _cache.put(bd.getUnblindedPubKey(), bd); 173 185 _reverseCache.put(bd.getBlindedPubKey(), bd); … … 258 270 continue; 259 271 try { 260 addToCache(fromPersistentString(line));272 storeInCache(fromPersistentString(line)); 261 273 count++; 262 274 } catch (IllegalArgumentException iae) {
Note: See TracChangeset
for help on using the changeset viewer.