Jeffrey Wilcke
b196278044
core/vm: added JIT segmenting / optimisations
...
* multi-push segments
* static jumps segments
9 years ago
Jeffrey Wilcke
ac697326a6
core/vm: reduced big int allocations
...
Reduced big int allocation by making stack items modifiable. Instead of
adding items such as `common.Big0` to the stack, `new(big.Int)` is
added instead. One must expect that any item that is added to the stack
might change.
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
ea54283b30
all: update license information
10 years ago
obscuren
f94c5473ad
core/vm: fixed a bug where `Data` ignored the stack ptr
10 years ago
obscuren
fc2a061d51
core/vm: unexported stack again. No longer required
10 years ago
obscuren
38c61f6f25
core, core/vm: added structure logging
...
This also reduces the time required spend in the VM
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
8a22cd5e6c
Removed defer/panic. #503
10 years ago
obscuren
c32bca45ad
Stack limit
10 years ago
obscuren
0330077d76
moved state and vm to core
10 years ago
obscuren
31a95151c9
updated rnd vm test => state test
10 years ago
obscuren
9007f2bbdc
reworked stack
10 years ago
obscuren
8c7b764d47
updated tests
10 years ago
obscuren
905b8cc82f
mem fixes for vm. Changed uncle inclusion tests
10 years ago
obscuren
5c8c0ae04e
Fixed size 0 bug
10 years ago
obscuren
4547a05a68
Minor improvements
...
* Moved gas and mem size to its own function
10 years ago
obscuren
186948da22
changed to unsigned integers
10 years ago
obscuren
3d9a4e7084
Fixed mem error in vm. Fixed logs tests
10 years ago
obscuren
f6e55962a8
Fixes for PV41/42
...
* Don't expand mem on empty value
* Removed all coinbase logs for PV42
* Removed C++ bug stuff for LOG*
10 years ago
obscuren
272d58662c
Implemented LOG. Closes #159
10 years ago
obscuren
20c742e474
Moved ethvm => vm
10 years ago
obscuren
399256b384
VM execution fixes
...
Refactoring caused executing issues
10 years ago
obscuren
a289a77d5d
DUP n SWAP n
10 years ago
obscuren
c51db4c940
Fixed stack issue
10 years ago
obscuren
1e8b54abfb
Refactored state, state object and vm
...
* The State and StateObject have been moved to their own package
* The VM is moved to it's own package
10 years ago
obscuren
933aa63b7d
Length check on get
11 years ago
obscuren
d078e9b8c9
Refactoring state transitioning
11 years ago
obscuren
5ceb1620e9
Fixed couple issues
...
* (imp) Lock / RLock tries
* (fix) stack
11 years ago
obscuren
16e52327a4
Upped version number
11 years ago
obscuren
ca13e3b105
Moved assembler stage processing to it's own file
11 years ago
obscuren
116516158d
Renamed
11 years ago
obscuren
25dd46061f
Added push20
11 years ago
obscuren
891f725909
Added better address format
11 years ago
obscuren
205e33bc83
Fixed bug in stack to expand beyond expectations. Fixed EQ and NOT opcode
11 years ago
obscuren
e0b6091d7e
Test fixes and removed old code. Added VM gas fees
11 years ago
obscuren
01c1bce9c5
Removed regular ints from the virtual machine and closures
11 years ago
obscuren
2ea4c632d1
Closure return, arguments fixed. Added proper tests
11 years ago
obscuren
fa1db8d2dc
Implemented closure arguments
11 years ago
obscuren
f3d27bf5d8
Rewrote opcodes again
11 years ago
obscuren
c68ff9886b
Fixed MSTORE and added some more commets
11 years ago
obscuren
59d8dc3950
Fixed issue with stack where it sliced of the wrong values
11 years ago
obscuren
4cc5b03137
Added opcodes
11 years ago
obscuren
504d356232
Added peek(n)
11 years ago
obscuren
39b6eaf51c
Debug logging functions
11 years ago
obscuren
24f2b2afc3
Running contracts fixed
11 years ago
obscuren
f6d1bfe45b
The great merge
11 years ago