1. 01 12月, 2015 1 次提交
    • J
      core: added a new RemovedLogEvent · 9901a40f
      Jeffrey Wilcke 提交于
      When a chain reorganisation occurs we collect the logs that were deleted
      during the chain reorganisation. The removed logs are posted to the
      event mux indicating that those were deleted during the reorg.
      9901a40f
  2. 27 11月, 2015 1 次提交
  3. 19 11月, 2015 1 次提交
  4. 18 11月, 2015 1 次提交
    • J
      core, eth, rpc: split out block validator and state processor · a1d9ef48
      Jeffrey Wilcke 提交于
      This removes the burden on a single object to take care of all
      validation and state processing. Now instead the validation is done by
      the `core.BlockValidator` (`types.Validator`) that takes care of both
      header and uncle validation through the `ValidateBlock` method and state
      validation through the `ValidateState` method. The state processing is
      done by a new object `core.StateProcessor` (`types.Processor`) and
      accepts a new state as input and uses that to process the given block's
      transactions (and uncles for rewords) to calculate the state root for
      the next block (P_n + 1).
      a1d9ef48
  5. 28 10月, 2015 1 次提交
  6. 21 10月, 2015 1 次提交
  7. 19 10月, 2015 6 次提交
  8. 17 10月, 2015 1 次提交
    • J
      core, eth/filters, miner, xeth: Optimised log filtering · 6dc14788
      Jeffrey Wilcke 提交于
      Log filtering is now using a MIPmap like approach where addresses of
      logs are added to a mapped bloom bin. The current levels for the MIP are
      in ranges of 1.000.000, 500.000, 100.000, 50.000, 1.000. Logs are
      therefor filtered in batches of 1.000.
      6dc14788
  9. 16 10月, 2015 1 次提交
  10. 12 10月, 2015 1 次提交
  11. 05 10月, 2015 1 次提交
  12. 04 10月, 2015 1 次提交
  13. 02 10月, 2015 1 次提交
  14. 23 9月, 2015 3 次提交
  15. 22 9月, 2015 1 次提交
    • J
      core, core/types: readd transactions after chain re-org · eaa4473d
      Jeffrey Wilcke 提交于
      Added a `Difference` method to `types.Transactions` which sets the
      receiver to the difference of a to b (NOTE: not a **and** b).
      
      Transaction pool subscribes to RemovedTransactionEvent adding back to
      those potential missing from the chain.
      
      When a chain re-org occurs remove any transactions that were removed
      from the canonical chain during the re-org as well as the receipts that
      were generated in the process.
      
      Closes #1746
      eaa4473d
  16. 21 9月, 2015 1 次提交
  17. 15 9月, 2015 1 次提交
  18. 11 9月, 2015 2 次提交
  19. 25 8月, 2015 1 次提交
  20. 19 8月, 2015 1 次提交
  21. 08 8月, 2015 1 次提交
  22. 07 8月, 2015 1 次提交
  23. 02 8月, 2015 1 次提交
  24. 01 8月, 2015 1 次提交
  25. 25 7月, 2015 1 次提交
  26. 24 7月, 2015 1 次提交
  27. 23 7月, 2015 2 次提交
  28. 15 7月, 2015 1 次提交
    • J
      core: during chain reorg rewrite receipts and transactions · e17d8ddb
      Jeffrey Wilcke 提交于
      Added PutBlockReceipts; storing receipts by blocks. Eventually this will
      require pruning during some cleanup cycle. During forks the receipts by
      block are used to get the new canonical receipts and transactions.
      
      This PR fixes #1473 by rewriting transactions and receipts from the point
      of where the fork occured.
      e17d8ddb
  29. 10 7月, 2015 1 次提交
  30. 08 7月, 2015 1 次提交
  31. 07 7月, 2015 1 次提交