good morning!!!!

Skip to content
Snippets Groups Projects
  1. Nov 27, 2015
  2. Nov 19, 2015
  3. Nov 18, 2015
    • Jeffrey Wilcke's avatar
      core/vm/runtime: added simple execution runtime · 1372b991
      Jeffrey Wilcke authored
      The runtime environment can be used for simple basic execution of
      contract code without the requirement of setting up a full stack and
      operates fully in memory.
      1372b991
    • Jeffrey Wilcke's avatar
      core, eth, rpc: split out block validator and state processor · a1d9ef48
      Jeffrey Wilcke authored
      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
  4. Oct 28, 2015
  5. Oct 22, 2015
  6. Oct 21, 2015
  7. Oct 19, 2015
  8. Oct 17, 2015
    • Felix Lange's avatar
      core, core/state: move gas tracking out of core/state · de8d5aaa
      Felix Lange authored
      The amount of gas available for tx execution was tracked in the
      StateObject representing the coinbase account. This commit makes the gas
      counter a separate type in package core, which avoids unintended
      consequences of intertwining the counter with state logic.
      de8d5aaa
  9. Oct 16, 2015
  10. Oct 15, 2015
  11. Oct 12, 2015
  12. Oct 11, 2015
  13. Oct 08, 2015
  14. Oct 07, 2015
  15. Oct 06, 2015
  16. Oct 05, 2015
  17. Oct 03, 2015
    • Jeffrey Wilcke's avatar
      cmd/geth, cmd/utils, core, rpc: renamed to blockchain · 7c769293
      Jeffrey Wilcke authored
      * Renamed ChainManager to BlockChain
      * Checkpointing is no longer required and never really properly worked
      when the state was corrupted.
      7c769293
    • Jeffrey Wilcke's avatar
      cmd/evm, core/vm, test: refactored VM and core · 361082ec
      Jeffrey Wilcke authored
      * Moved `vm.Transfer` to `core` package and changed execution to call
      `env.Transfer` instead of `core.Transfer` directly.
      * core/vm: byte code VM moved to jump table instead of switch
      * Moved `vm.Transfer` to `core` package and changed execution to call
        `env.Transfer` instead of `core.Transfer` directly.
      * Byte code VM now shares the same code as the JITVM
      * Renamed Context to Contract
      * Changed initialiser of state transition & unexported methods
      * Removed the Execution object and refactor `Call`, `CallCode` &
        `Create` in to their own functions instead of being methods.
      * Removed the hard dep on the state for the VM. The VM now
        depends on a Database interface returned by the environment. In the
        process the core now depends less on the statedb by usage of the env
      * Moved `Log` from package `core/state` to package `core/vm`.
      361082ec
  18. Oct 02, 2015
    • Jeffrey Wilcke's avatar
      core, event/filter, xeth: refactored filter system · f7a71996
      Jeffrey Wilcke authored
      Moved the filtering system from `event` to `eth/filters` package and
      removed the `core.Filter` object. The `filters.Filter` object now
      requires a `common.Database` rather than a `eth.Backend` and invokes the
      `core.GetBlockByX` directly rather than thru a "manager".
      f7a71996
    • Jeffrey Wilcke's avatar
      core: deadlock in chainmanager after posting RemovedTransactionEvent · a6cc02f6
      Jeffrey Wilcke authored
      This PR solves an issue with the chain manager posting a
      `RemovedTransactionEvent`, the tx pool will try to
      acquire the chainmanager lock which has previously been locked prior to
      posting `RemovedTransactionEvent`. This results in a deadlock in the
      core.
      a6cc02f6
  19. Sep 29, 2015
  20. Sep 24, 2015
  21. Sep 22, 2015
  22. Sep 21, 2015
    • Jeffrey Wilcke's avatar
      core, core/types: readd transactions after chain re-org · eaa4473d
      Jeffrey Wilcke authored
      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
Loading