1. 26 Apr, 2023 1 commit
    • rjl493456442's avatar
      trie: add node type common package (#27160) · 5d3f5805
      rjl493456442 authored
      * trie: add node type common package
      
      In trie/types package, a few node wrappers are defined, which will be used
      in both trie package, trie/snap package, etc. Therefore, a standalone common
      package is created to put these stuffs.
      
      * trie: rename trie/types to trie/trienode
      5d3f5805
  2. 25 Apr, 2023 5 commits
  3. 24 Apr, 2023 2 commits
  4. 21 Apr, 2023 2 commits
  5. 20 Apr, 2023 5 commits
  6. 19 Apr, 2023 2 commits
  7. 18 Apr, 2023 3 commits
  8. 17 Apr, 2023 4 commits
  9. 08 Apr, 2023 1 commit
  10. 05 Apr, 2023 2 commits
    • rjl493456442's avatar
      core, miner: drop transactions from the same sender when error occurs (#27038) · b946b7a1
      rjl493456442 authored
      This PR unifies the error handling in miner. 
      
      Whenever an error occur while applying a transaction, the transaction should be regarded as invalid and all following transactions from the same sender not executable because of the nonce restriction. The only exception is the `nonceTooLow` error which is handled separately.
      b946b7a1
    • Marius van der Wijden's avatar
      core/txpool: disallow future churn by remote txs (#26907) · 230df98e
      Marius van der Wijden authored
      Prior to this change, it was possible that transactions are erroneously deemed as 'future' although they are in fact 'pending', causing them to be dropped due to 'future' not being allowed to replace 'pending'. 
      
      This change fixes that, by doing a more in-depth inspection of the queue. 
      230df98e
  11. 04 Apr, 2023 8 commits
  12. 03 Apr, 2023 5 commits