• 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
Name
Last commit
Last update
..
state Loading commit data...
types Loading commit data...
vm Loading commit data...
.gitignore Loading commit data...
asm.go Loading commit data...
bad_block.go Loading commit data...
bench_test.go Loading commit data...
block_processor.go Loading commit data...
block_processor_test.go Loading commit data...
blocks.go Loading commit data...
canary.go Loading commit data...
chain_makers.go Loading commit data...
chain_makers_test.go Loading commit data...
chain_manager.go Loading commit data...
chain_manager_test.go Loading commit data...
chain_pow.go Loading commit data...
chain_pow_test.go Loading commit data...
chain_util.go Loading commit data...
chain_util_test.go Loading commit data...
default_genesis.go Loading commit data...
error.go Loading commit data...
events.go Loading commit data...
execution.go Loading commit data...
fees.go Loading commit data...
filter_test.go Loading commit data...
genesis.go Loading commit data...
helper_test.go Loading commit data...
manager.go Loading commit data...
state_transition.go Loading commit data...
transaction_pool.go Loading commit data...
transaction_pool_test.go Loading commit data...
transaction_util.go Loading commit data...
vm_env.go Loading commit data...