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
ea54283b30
all: update license information
9 years ago
Gustav Simonsson
4c490db6af
Use uint64 for block header timestamp
9 years ago
obscuren
287f990891
core/vm: Improved error reporting for trace logging
10 years ago
obscuren
10af69b57c
core, core/vm: moved logger and added gas cost to struct logging
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
fa4aefee44
core/vm: cleanup and renames
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
ff9d66e096
Cleaned up changes
10 years ago
obscuren
23bccbbc58
Modified according to poc 9 changes
...
* Refund of value
10 years ago
obscuren
0330077d76
moved state and vm to core
10 years ago
obscuren
c21293cd91
bloom
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
91b0b14845
converted vm
10 years ago
obscuren
b523441361
Moved ethutil => common
10 years ago
obscuren
80592f244d
more obvious failure for ethtest
10 years ago
obscuren
bba85a2074
Added Number to logs
10 years ago
obscuren
d52878c744
Removed some VMEnv & Added VmType() to vm.Environment
10 years ago
obscuren
bd0c267cbe
Cleanup old code
10 years ago
obscuren
ca1b2a1a91
Changed prev_hash to block_hash, state transition now uses vm env
...
* PREVHASH => BLOCKHASH( N )
* State transition object uses VMEnv as it's query interface
* Updated vm.Enviroment has GetHash( n ) for BLOCKHASH instruction
* Added GetHash to xeth, core, utils & test environments
10 years ago
obscuren
4dc7ee9087
Closure => Context
10 years ago
obscuren
1508a23a6f
Minor updates on gas and removed/refactored old code.
10 years ago
obscuren
3043b233ea
Log is now interface
10 years ago
obscuren
f298ffdbb8
Renamed State => StateDB
10 years ago
obscuren
99853ac3ce
Moved execution from vm to chain.
...
This moves call and create to the specified environments. Vms are no
longer re-used. Vm uses environment's Call(Code) and Create in order to
execute new contracts or transfer value between accounts.
State transition now uses the same mechanism described above.
10 years ago
obscuren
6212175be3
reverted vm back
10 years ago
obscuren
616066a598
rework vm
10 years ago
obscuren
6c9e503eb8
Removed all implicit logging. Fixed gas issues and jump errors
10 years ago
obscuren
af8f5f0b69
ethstate => state
10 years ago
obscuren
df5603de0a
Moved logging to state, proper structured block
...
* Moved logs to state so it's subject to snapshotting
* Split up block header
* Removed logs from transactions and made them receipts only
10 years ago
obscuren
272d58662c
Implemented LOG. Closes #159
10 years ago
obscuren
b5beb1aac1
added a transfer method to vm env
10 years ago
obscuren
20c742e474
Moved ethvm => vm
10 years ago
obscuren
93fcabd251
Fixed most of the tests
10 years ago
obscuren
3d177be73e
Couple of minor issues fixed
...
* CALLVALUE pushed incorrect value to the stack
* Set execution model to closure
10 years ago
obscuren
c5bd32b0ad
Refactored VM to two separate VMs; std & debug
...
Standard VM should be about 10x faster than the debug VM. Some error
checking has been removed, all of the log statements and therefor quite
some unnecessary if-statements.
10 years ago