1. 07 Oct, 2021 1 commit
    • Martin Holst Swende's avatar
      core: improve shutdown synchronization in BlockChain (#22853) · edb1937c
      Martin Holst Swende authored
      This change removes misuses of sync.WaitGroup in BlockChain. Before this change,
      block insertion modified the WaitGroup counter in order to ensure that Stop would wait
      for pending operations to complete. This was racy and could even lead to crashes
      if Stop was called at an unfortunate time. The issue is resolved by adding a specialized
      'closable' mutex, which prevents chain modifications after stopping while also
      synchronizing writers with each other.
      Co-authored-by: 's avatarFelix Lange <fjl@twurst.com>
      edb1937c
  2. 06 Oct, 2021 1 commit
  3. 05 Oct, 2021 2 commits
  4. 04 Oct, 2021 3 commits
  5. 03 Oct, 2021 2 commits
  6. 01 Oct, 2021 3 commits
  7. 29 Sep, 2021 4 commits
  8. 28 Sep, 2021 7 commits
  9. 27 Sep, 2021 3 commits
  10. 22 Sep, 2021 1 commit
  11. 21 Sep, 2021 3 commits
  12. 20 Sep, 2021 7 commits
  13. 17 Sep, 2021 1 commit
    • Sina Mahmoodi's avatar
      core,eth: call frame tracing (#23087) · 40135497
      Sina Mahmoodi authored
      This change introduces 2 new optional methods; `enter()` and `exit()` for js tracers, and makes `step()` optiona. The two new methods are invoked when entering and exiting a call frame (but not invoked for the outermost scope, which has it's own methods). Currently these are the data fields passed to each of them:
      
          enter: type (opcode), from, to, input, gas, value
          exit: output, gasUsed, error
      
      The PR also comes with a re-write of the callTracer. As a backup we keep the previous tracing script under the name `callTracerLegacy`. Behaviour of both tracers are equivalent for the most part, although there are some small differences (improvements), where the new tracer is more correct / has more information. 
      40135497
  14. 16 Sep, 2021 1 commit
  15. 15 Sep, 2021 1 commit