1. 06 Oct, 2022 3 commits
    • Martin Holst Swende's avatar
      core/bloombits: speed up windows-test (#25844) · deead997
      Martin Holst Swende authored
      core/bloombits: remove micro-sleep
      deead997
    • rjl493456442's avatar
      eth/traces: add state limit (#25812) · e50aeac4
      rjl493456442 authored
      This PR introduces a new mechanism in chain tracer for preventing creating too many trace states.
      
      The workflow of chain tracer can be divided into several parts:
      
      - state creator generates trace state in a thread
      - state tracer retrieves the trace state and applies the tracing on top in another thread
      - state collector gathers all result from state tracer and stream to users
      
      It's basically a producer-consumer model here, while if we imagine that the state producer generates states too fast, then it will lead to accumulate lots of unused states in memory. Even worse, in path-based state scheme it will only keep the latest 128 states in memory, and the newly generated state will invalidate the oldest one by marking it as stale.
      
      The solution for fixing it is to limit the speed of state generation. If there are over 128 states un-consumed in memory, then the creation will be paused until the states are be consumed properly.
      e50aeac4
    • Delweng's avatar
      eth/tracers: add diffMode to prestateTracer (#25422) · 5d52a359
      Delweng authored
      Backwards compatibility warning: The result will from now on omit empty fields instead
      of including a zero value (e.g. no more `balance: '0x'`).
      
      The prestateTracer will now take an option `diffMode: bool`. In this mode
      the tracer will output the pre state and post data for the modified parts of state.
      Read-only accesses will be completely omitted. Creations (be it account or slot)
      will be signified by omission in the `pre` list and inclusion in `post`. Whereas
      deletion (be it account or slot) will be signified by inclusion in `pre` and omission
      in `post` list.
      Signed-off-by: 's avatarDelweng <delweng@gmail.com>
      5d52a359
  2. 04 Oct, 2022 3 commits
  3. 03 Oct, 2022 3 commits
  4. 30 Sep, 2022 1 commit
  5. 29 Sep, 2022 5 commits
  6. 28 Sep, 2022 6 commits
  7. 27 Sep, 2022 4 commits
  8. 26 Sep, 2022 9 commits
  9. 23 Sep, 2022 6 commits