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
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
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
obscuren
4dc7ee9087
Closure => Context
10 years ago
obscuren
4547a05a68
Minor improvements
...
* Moved gas and mem size to its own function
10 years ago
obscuren
4b4e082102
JUMPI never 'require' checked.
10 years ago
obscuren
138ab26b8c
SIGNEXTEND missing from stack check
10 years ago
obscuren
2ebf33ac1c
removed variable
10 years ago
obscuren
29c887ef2c
Removed incorrect range check for push
10 years ago
obscuren
1508a23a6f
Minor updates on gas and removed/refactored old code.
10 years ago
obscuren
59ef6e3693
Cleaned up objects
10 years ago
obscuren
1e985f9865
Fixed casting error
...
* big(bytes) == 0 when len(bytes) > 0
10 years ago
obscuren
198cc69357
Gas corrections and vm fixes
10 years ago
obscuren
4dbdcaecb1
Moved pre-compiled, moved depth check
...
* Depth check has been moved to the execution
* Pre compiled execution has been moved to the VM
* PrecompiledAddress has been renamed to PrecompiledAccount
10 years ago
obscuren
8577e4171a
Panic for "Vm"
10 years ago
obscuren
25cf0c440c
Accidentally changed max depth during testing & committed
10 years ago
obscuren
05fd1dafe2
additional log
10 years ago