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
9 years ago
Gustav Simonsson
6e3b58e491
Remove unneeded if check on EC recover padding
10 years ago
Gustav Simonsson
ad5b5a4895
Pad precompiled EC recover input and add validations
10 years ago
obscuren
fa4aefee44
core/vm: cleanup and renames
10 years ago
Gustav Simonsson
2591883a18
Use logger.Error instead of 0 with glog
10 years ago
Gustav Simonsson
3f306f63d4
Forward and log EC recover err and remove dup pubkey len check
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
61c5edcb57
Cleanup.
10 years ago
obscuren
0330077d76
moved state and vm to core
10 years ago
Ethan Buchman
d2fa6e7753
vm: explicit error checks in ecrecover. closes #505
10 years ago
obscuren
b523441361
Moved ethutil => common
10 years ago
obscuren
b383ff0b96
New gas prices model
10 years ago
obscuren
4704a0a288
remove pre compiled for 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
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
acf4b5753f
Core changes
...
* Code = '' if gas < len(D) * 5
* Sha3 gas 10 + 10 * len(D), rounding up 32 bytes
* Sha256 gas 50 + 50 * len(D), rounding up 32 bytes
* Ripmed gas 50 + 50 * len(D), rounding up 32 bytes
* Accounts and value transfers no longer reverted
10 years ago
obscuren
99481a245a
Check for known block err and ignore
10 years ago
obscuren
2df8ad6307
Added state tests
10 years ago
obscuren
fd9da72536
ethcrypto => crypto
10 years ago
obscuren
20c742e474
Moved ethvm => vm
10 years ago
obscuren
f55e39cf1a
Tests for native function calling
10 years ago
obscuren
f3196c915a
Precompiled crypto contracts
10 years ago