obscuren
19efebe91e
Updated tests and fixed suicide
10 years ago
obscuren
ed84b58af5
Debug option for VM & command line flag
10 years ago
Felix Lange
bdba044a80
ethutil: remove Config variable
...
Various functions throughout the codebase used it to grab settings. This
has to stop because I want to use them without reading the config file.
These functions can now be used without reading the config first:
* ethdb.NewLDBDatabase
* ethrepl.NewJSRepl
* vm.New
10 years ago
obscuren
88ff13c241
Spec changes.
...
* All errors during state transition result in an invalid tx
10 years ago
obscuren
fa831206c6
Updated gast costs
10 years ago
Paweł Bylica
e72173dc43
Fix JitVm build
10 years ago
obscuren
ba0a758d8c
Quad mem & log changes
10 years ago
obscuren
fa910966ed
Redone rlp
10 years ago
obscuren
c1ef19bef9
quad mem
10 years ago
Paweł Bylica
9c6d9dfc5c
Add required block number
10 years ago
obscuren
200f66537c
updated tests
10 years ago
obscuren
b383ff0b96
New gas prices model
10 years ago
obscuren
7adf065b10
Simple effective VM optimisation
...
Added a debug flag to the VM which determines if VM output is shown
regardless of the log level set.
10 years ago
obscuren
e235b57234
Fixed consensus issue for refunding
...
* Refund should _always_ go to the origin
10 years ago
obscuren
37e6870f64
wip
10 years ago
obscuren
bba85a2074
Added Number to logs
10 years ago
Gustav Simonsson
fd3793b8cf
Correct stack size validation for MUL, CALLDATACOPY, EXTCODESIZE, BLOCKHASH
10 years ago
obscuren
fdecc11128
Temp fix for #342
10 years ago
Paweł Bylica
b9894c1d09
Update JIT interface to ABI 0.2: code hash added to input data, gas counter passed as int64
10 years ago
obscuren
3f6baa45a7
Documented methods & removed old manifest
10 years ago
obscuren
3f03197dae
Updated tests
10 years ago
obscuren
faa54e59c1
Make sure that CALL addr is always 20 bytes
10 years ago
obscuren
8ccde784f9
Added (disabled) Jit validation
10 years ago
obscuren
d52878c744
Removed some VMEnv & Added VmType() to vm.Environment
10 years ago
obscuren
84adf77bf3
Added RPC "Call" for JS calls to contracts
10 years ago
Paweł Bylica
079c59b929
Update JitVm to new EVM JIT ABI (C interface)
10 years ago
Paweł Bylica
c71aff99db
Update EVM JIT runtime data layout
10 years ago
Paweł Bylica
94106cc41f
JitVm code cleanups & refactoring. Some memory copies eliminated (i.e. in SHA3 calculation)
10 years ago
Paweł Bylica
d5f38f5690
JitVM: the EVM JIT bridge
10 years ago
obscuren
9845029a75
StdVm by default
10 years ago
obscuren
89c69a1d25
VmDebug => StdVm
10 years ago
obscuren
bb55307a9d
Updated tests
10 years ago
obscuren
82beaabf6a
Fixed consensus issue
10 years ago
obscuren
4704a0a288
remove pre compiled for tests
10 years ago
obscuren
750d70c202
updated tests
10 years ago
Paweł Bylica
ba225017c4
JitVm struct stub. Forwards calls to DebugVm.
10 years ago
obscuren
8a1b51c716
updated tests
10 years ago
obscuren
75cd9cd2de
updated tests
10 years ago
obscuren
00348756bc
updated tests
10 years ago
obscuren
8c7b764d47
updated tests
10 years ago
obscuren
905b8cc82f
mem fixes for vm. Changed uncle inclusion tests
10 years ago
obscuren
6eb455032c
recover
10 years ago
obscuren
5c8c0ae04e
Fixed size 0 bug
10 years ago
obscuren
f0ec751237
Updated tests
10 years ago
obscuren
b99b2c446c
Precompiled contract & Depth change
...
* Added pre-compiled contract 0x04 (mem cpy)
* Changed depth error to return the gas instead of consuming
10 years ago
obscuren
09841b1c9b
Cleaned up some of that util
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
16f417f5af
Fixed bug where logging could crash client during tx adding
10 years ago
obscuren
55e55826ee
Changed JUMP(I) behaviour.
...
* All jumps must land on a JUMPDEST instruction byte.
* The byte may not be part of a PUSH*
10 years ago