1. 12 Jul, 2023 1 commit
    • rjl493456442's avatar
      core/rawdb: support freezer batch read with no size limit (#27687) · 0b1f97e1
      rjl493456442 authored
      This change adds the ability to perform reads from freezer without size limitation. This can be useful in cases where callers are certain that out-of-memory will not happen (e.g. reading only a few elements). 
      
      The previous API was designed to behave both optimally and secure while servicing a request from a peer, whereas this change should _not_ be used when an untrusted peer can influence the query size. 
      0b1f97e1
  2. 11 Jul, 2023 7 commits
  3. 10 Jul, 2023 1 commit
  4. 07 Jul, 2023 1 commit
  5. 06 Jul, 2023 5 commits
  6. 05 Jul, 2023 1 commit
  7. 04 Jul, 2023 1 commit
    • rjl493456442's avatar
      cmd, core, eth, graphql, trie: no persisted clean trie cache file (#27525) · 59f7b289
      rjl493456442 authored
      The clean trie cache is persisted periodically, therefore Geth can
      quickly warmup the cache in next restart.
      
      However it will reduce the robustness of system. The assumption is
      held in Geth that if the parent trie node is present, then the entire
      sub-trie associated with the parent are all prensent.
      
      Imagine the scenario that Geth rewinds itself to a past block and
      restart, but Geth finds the root node of "future state" in clean
      cache then regard this state is present in disk, while is not in fact.
      
      Another example is offline pruning tool. Whenever an offline pruning
      is performed, the clean cache file has to be removed to aviod hitting
      the root node of "deleted states" in clean cache.
      
      All in all, compare with the minor performance gain, system robustness
      is something we care more.
      59f7b289
  8. 02 Jul, 2023 1 commit
  9. 28 Jun, 2023 3 commits
  10. 27 Jun, 2023 8 commits
  11. 25 Jun, 2023 1 commit
  12. 23 Jun, 2023 1 commit
  13. 22 Jun, 2023 2 commits
  14. 21 Jun, 2023 2 commits
  15. 20 Jun, 2023 5 commits