Jeffrey Wilcke
7c7692933c
cmd/geth, cmd/utils, core, rpc: renamed to blockchain
...
* Renamed ChainManager to BlockChain
* Checkpointing is no longer required and never really properly worked
when the state was corrupted.
9 years ago
Jeffrey Wilcke
361082ec4b
cmd/evm, core/vm, test: refactored VM and core
...
* 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`.
9 years ago
Felix Lange
a2d5a60418
core, core/state: batch-based state sync
9 years ago
Gustav Simonsson
5621308949
tests: add test for StateTests/stCallCodes.json
9 years ago
Gustav Simonsson
47ca6904b3
tests: use lastblockhash field to validate reorgs and block headers
9 years ago
Gustav Simonsson
075815e5ff
tests: update common test wrappers and test files
9 years ago
Felix Lange
8c4dab77ba
all: move common.Database to package ethdb
9 years ago
Péter Szilágyi
cdc2662c40
core: split out TD from database and all internals
9 years ago
Gustav Simonsson
fe8093b71f
Add TestBcForkUncleTests and update JSON files
9 years ago
Gustav Simonsson
7324176f70
Add tests for uncle timestamps and refactor timestamp type
9 years ago
Jeffrey Wilcke
36f7fe61c3
core, tests: Double SUICIDE fix
9 years ago
Jeffrey Wilcke
9cacec70f9
cmd/evm, core/vm, tests: changed DisableVm to EnableVm
9 years ago
Jeffrey Wilcke
a23478c0be
core, eth, trie, xeth: merged state, chain, extra databases in one
9 years ago
Jeffrey Wilcke
ac697326a6
core/vm: reduced big int allocations
...
Reduced big int allocation by making stack items modifiable. Instead of
adding items such as `common.Big0` to the stack, `new(big.Int)` is
added instead. One must expect that any item that is added to the stack
might change.
9 years ago
Jeffrey Wilcke
184e9ae9a8
core, tests: reduced state copy by N calls
...
Reduced the amount of state copied that are required by N calls by doing
a balance check prior to any state modifications.
9 years ago
Jeffrey Wilcke
846f34f78b
core/vm, tests: implemented semi-jit vm
...
* changed stack and removed stack ptr. Let go decide on slice reuse.
9 years ago
Jeffrey Wilcke
71d32f54f7
core, miner: added difficulty bomb
9 years ago
Jeffrey Wilcke
03c39d4fc0
tests: updated
9 years ago
Jeffrey Wilcke
9afda6ab8c
core: 5 ether block reward
9 years ago
Felix Lange
bfbcfbe4a9
all: fix license headers one more time
...
I forgot to update one instance of "go-ethereum" in commit 3f047be5a
.
9 years ago
Felix Lange
3f047be5aa
all: update license headers to distiguish GPL/LGPL
...
All code outside of cmd/ is licensed as LGPL. The headers
now reflect this by calling the whole work "the go-ethereum library".
9 years ago
Felix Lange
593b1b65e7
tests: document RLP tests
9 years ago
Felix Lange
5da82077d1
cmd/ethtest, tests: add support for RLP JSON tests
9 years ago
Jeffrey Wilcke
a32c51effd
cmd, core, eth, common: genesis preparation
...
Implemented the --genesis flag thru which we can set a custom genesis
block, including the official Ethereum genesis block.
10 years ago
Gustav Simonsson
b08abe64e4
Unskip SimpleTx3, check err in pre/post state validations
10 years ago
Gustav Simonsson
0b53a5c673
Update Ethereum JSON test files and wrappers
10 years ago
Felix Lange
bdae4fd573
all: add some godoc synopsis comments
10 years ago
Felix Lange
ea54283b30
all: update license information
10 years ago
Jeffrey Wilcke
35cd355c14
cmd,eth,rpc,tests: default coinbase
10 years ago
Gustav Simonsson
b7e8d954ef
Add TestBcGasPricer, comments and unskip tests
10 years ago
Jeffrey Wilcke
bcc1660abc
core, miner, tests: added test, implemented bad block reporting
10 years ago
Gustav Simonsson
0f04af5916
Fix core error forwarding, unify OOG VM err
10 years ago
Jeffrey Wilcke
ab16ce70fc
core, miner, tests: renamed state methods
...
* Update => SyncIntermediate
* Added SyncObjects
SyncIntermediate only updates whatever has changed, but, as a side
effect, requires much more disk space.
SyncObjects will only sync whatever is required for a block and will not
save intermediate state to disk. As drawback this requires more time
when more txs come in.
10 years ago
Gustav Simonsson
ff97059a99
Update Ethereum JSON tests, skip failing
10 years ago
Gustav Simonsson
4c490db6af
Use uint64 for block header timestamp
10 years ago
Felix Lange
1d42888d30
core/types: make blocks immutable
10 years ago
Felix Lange
654564e164
core/types: make transactions immutable
10 years ago
obscuren
398d08a8dd
tests: SetGasLimit
10 years ago
Taylor Gerring
0743243dce
Add --skip option to CLI
...
Disassociates hardcoded tests to skip when running via CLI. Tests still
skipped when running `go test`
10 years ago
Taylor Gerring
a9659e6dcf
recover test logic
10 years ago
Taylor Gerring
8d3faf69d0
Build error fixes
10 years ago
Taylor Gerring
baea8e87e5
Rebase cleanup
10 years ago
Taylor Gerring
01ec4dbb12
Add stdin option
10 years ago
Taylor Gerring
30444db020
Add lost rebase changes
10 years ago
Taylor Gerring
c941a39b75
Cleanup logging
10 years ago
Taylor Gerring
8507c867b9
Fix geth blocktest command
10 years ago
Taylor Gerring
6ff956394a
DRY file loading
10 years ago
Taylor Gerring
ac0637c413
More consistent test interfaces + test skipping
10 years ago
Taylor Gerring
b6d40a9312
Cleanup/reorg
10 years ago
Taylor Gerring
c5d6fcbaba
Return error up stack instead of passing testing var down
10 years ago