Jeffrey Wilcke
9cacec70f9
cmd/evm, core/vm, tests: changed DisableVm to EnableVm
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
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
bdae4fd573
all: add some godoc synopsis comments
9 years ago
Felix Lange
ea54283b30
all: update license information
9 years ago
Gustav Simonsson
0f04af5916
Fix core error forwarding, unify OOG VM err
9 years ago
Gustav Simonsson
4c490db6af
Use uint64 for block header timestamp
9 years ago
obscuren
430bcdb219
core/vm: clarified SSTORE
10 years ago
obscuren
787a61bb27
core/state, core/vm: reworked storage get / set to use common.Hash
10 years ago
obscuren
5721fcf668
core/state, core/vm: cleanup refunds
10 years ago
obscuren
287f990891
core/vm: Improved error reporting for trace logging
10 years ago
obscuren
f599a1b5f1
core/vm: added a comment regarding the uint64 vs *big.Int
10 years ago
obscuren
10af69b57c
core, core/vm: moved logger and added gas cost to struct logging
10 years ago
obscuren
fc2a061d51
core/vm: unexported stack again. No longer required
10 years ago
obscuren
065aff9ffa
core/vm: documentation and name changes
10 years ago
obscuren
6fb6e6679e
core/vm, core/state: added storage to structured vm logging
10 years ago
obscuren
38c61f6f25
core, core/vm: added structure logging
...
This also reduces the time required spend in the VM
10 years ago
obscuren
ff5b3ef087
core/vm: added structured logging
10 years ago
obscuren
468501cb86
core/vm: changed program counter to uint64
10 years ago
Felix Lange
48fb0c3213
core/vm: check for 'no code' before doing any work
10 years ago
Felix Lange
ea2718c946
core/vm: improve JUMPDEST analysis
...
* JUMPDEST analysis is faster because less type conversions are performed.
* The map of JUMPDEST locations is now created lazily at the first JUMP.
* The result of the analysis is kept around for recursive invocations
through CALL/CALLCODE.
Fixes #1147
10 years ago
obscuren
b419e2631a
core/vm: Cleanups & SUB output fix. Closes #1096
10 years ago
obscuren
f5af1fdca8
core/vm: RETURN op code returns pointer to memory rather than copy
10 years ago
obscuren
1c872ddf4b
Changed how logs are being recorded
...
Logs are now recorded per transactions instead of tossing them out after
each transaction. This should also fix an issue with
`eth_getFilterLogs` (#629 ) Also now implemented are the `transactionHash,
blockHash, transactionIndex, logIndex` on logs. Closes #654 .
10 years ago
obscuren
a0e44e3281
basic glog
10 years ago
Gustav Simonsson
c26c8d3a44
Read most protocol params from common/params.json
...
* Add params package with exported variables generated from
github.com/ethereum/common/blob/master/params.json
* Use params package variables in applicable places
* Add check for minimum gas limit in validation of block's gas limit
* Remove common/params.json from go-ethereum to avoid
outdated version of it
10 years ago
obscuren
0a554a1f27
Blocktest fixed, Execution fixed
...
* Added new CreateAccount method which properly overwrites previous
accounts (excluding balance)
* Fixed block tests (100% success)
10 years ago
obscuren
368ebe63a9
Cleanup VM.
...
* CALLDATA use getData
* removed old context get range value
* removed casting big => int for some cases
* pc now big int #457
10 years ago
obscuren
3b7e4173ce
Cleanup VM
10 years ago
obscuren
3ea8c7301e
PUSH gas fix
10 years ago
obscuren
8a22cd5e6c
Removed defer/panic. #503
10 years ago
obscuren
ff9d66e096
Cleaned up changes
10 years ago
obscuren
ebf4408d73
Decrement depth
10 years ago
obscuren
0330077d76
moved state and vm to core
10 years ago
obscuren
df5901fdc5
Removed more casts
10 years ago
obscuren
a756dbeb7b
Removed uint casts
10 years ago
obscuren
cf45b939a0
fixed tests
10 years ago
obscuren
d7ab716eea
Fixed mkdnode & added some tests
10 years ago
obscuren
0fa7859b94
Fixed VM & Tests w/ conversion
10 years ago
obscuren
515d9432fc
converted vm
10 years ago
obscuren
843db4978e
updated blockpool
10 years ago
obscuren
4e181c5764
Moved gas
10 years ago
obscuren
91b0b14845
converted vm
10 years ago
obscuren
b523441361
Moved ethutil => common
10 years ago
obscuren
f76cc6699e
Changed context and ADDMOD, MULMOD
...
* Cleaned up VM execution. VM run now takes a context
* ADDMOD/MULMOD - removed incorrect cast
10 years ago
obscuren
80592f244d
more obvious failure for ethtest
10 years ago
obscuren
310ca62285
Removed some of that gas pre pay magic
10 years ago
obscuren
347cb272be
fixed ethtest
10 years ago
obscuren
83cc08f670
Changed to big.Int.Not
10 years ago