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
obscuren
ba0a758d8c
Quad mem & log changes
10 years ago
obscuren
fa910966ed
Redone rlp
10 years ago
obscuren
c1ef19bef9
quad mem
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
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
84adf77bf3
Added RPC "Call" for JS calls to contracts
10 years ago
obscuren
9845029a75
StdVm by default
10 years ago
obscuren
89c69a1d25
VmDebug => StdVm
10 years ago
Paweł Bylica
ba225017c4
JitVm struct stub. Forwards calls to DebugVm.
10 years ago
obscuren
4dc7ee9087
Closure => Context
10 years ago
obscuren
8577e4171a
Panic for "Vm"
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
141d3caabb
Re-org op codes
10 years ago
obscuren
fd9da72536
ethcrypto => crypto
10 years ago
obscuren
272d58662c
Implemented LOG. Closes #159
10 years ago
obscuren
29b8a0bc5f
Updated the VM & VM tests
...
* Stack Error shouldn't revert to previous state
* Updated VM Test tool
* Added Transfer method to VM Env
10 years ago
obscuren
b5beb1aac1
added a transfer method to vm env
10 years ago
obscuren
20c742e474
Moved ethvm => vm
10 years ago
obscuren
311c6f8a3f
Fixed remote Arithmetic 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
f55e39cf1a
Tests for native function calling
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
obscuren
2e894b668a
Max callstack
10 years ago
obscuren
a38dafcc57
Moved the To256
10 years ago
obscuren
9d86a49a73
Renamed Sha3Bin to Sha3
10 years ago
obscuren
f3196c915a
Precompiled crypto contracts
10 years ago
obscuren
82be305496
Fixed inconsistencies
10 years ago
obscuren
54558dd8ae
Removed log
10 years ago
obscuren
80261c803a
Fixed deref ptr
10 years ago
obscuren
f3a93b046e
Upped protocol version for VM change
10 years ago
obscuren
d02024929a
require 5 for post
10 years ago
obscuren
399256b384
VM execution fixes
...
Refactoring caused executing issues
10 years ago
obscuren
2f614900e8
Updated GHOST
10 years ago
obscuren
c0187930dc
Removed some commented code
10 years ago
obscuren
2949990016
Added CALLSTATELESS
10 years ago
obscuren
a63b74e345
New OPCODES
...
* EXT- CODECOPY, CODESIZE
10 years ago
obscuren
3f904bf3ac
Implemented POST
10 years ago