Felix Lange
a59a93f476
core/state: track all accounts in canon state
...
This change introduces a global, per-state cache that keeps account data
in the canon state. Thanks to @karalabe for lots of fixes.
8 years ago
Gustav Simonsson
25ed5fedda
core/state: short-circuit balance change if zero value
8 years ago
Gustav Simonsson
b6b17e5648
core/state, light: remove unused StateObject.initCode
8 years ago
Nick Johnson
581b320b9d
core/state: Fix memory expansion bug by not copying clean objects
8 years ago
Felix Lange
68c755a238
core/state: fix TestDump
...
Lazy "I'll just put return here instead of fixing the test" found by go vet.
9 years ago
Jeffrey Wilcke
14013372ae
core: Added EVM configuration options
...
The EVM is now initialised with an additional configured object that
allows you to turn on debugging options.
9 years ago
Ricardo Catalinas Jiménez
436fc8d76a
all: Rename crypto.Sha3{,Hash}() to crypto.Keccak256{,Hash}()
...
As we aren't really using the standarized SHA-3
9 years ago
Jeffrey Wilcke
b6d88a0e9f
core, core/vm, crypto: fixes for homestead
...
* Removed some strange code that didn't apply state reverting properly
* Refactored code setting from vm & state transition to the executioner
* Updated tests
9 years ago
Gustav Simonsson
371871d685
parmas, crypto, core, core/vm: homestead consensus protocol changes
...
* change gas cost for contract creating txs
* invalidate signature with s value greater than secp256k1 N / 2
* OOG contract creation if not enough gas to store code
* new difficulty adjustment algorithm
* new DELEGATECALL op code
9 years ago
Felix Lange
1b89bd5d26
core/state, core/types use package rlp for state, receipt serialisation
9 years ago
Felix Lange
de8d5aaa92
core, core/state: move gas tracking out of core/state
...
The amount of gas available for tx execution was tracked in the
StateObject representing the coinbase account. This commit makes the gas
counter a separate type in package core, which avoids unintended
consequences of intertwining the counter with state logic.
9 years ago
Felix Lange
a2d5a60418
core, core/state: batch-based state sync
9 years ago
Felix Lange
565d9f2306
core, trie: new trie
9 years ago
Felix Lange
8c4dab77ba
all: move common.Database to package ethdb
9 years ago
Gustav Simonsson
b81a6e6ab8
core, core/vm, core/state: remove unused functions
9 years ago
Gustav Simonsson
004ed786b4
core/state: deleted field in StateObject Copy() and unit test
9 years ago
Jeffrey Wilcke
36f7fe61c3
core, tests: Double SUICIDE fix
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
Jeffrey Wilcke
08caeedd84
core, core/state: only write necessary state. Skip intermediate
10 years ago
obscuren
07c3de3f75
core, miner, xeth: renamed gas methods
...
* BuyGas => SubGas
* RefundGas => AddGas
* SetGasPool => SetGasLimit
10 years ago
obscuren
aa699a1283
core/state: removed state from state object
10 years ago
obscuren
30b27336ea
core/state: remove the need for common.Value
10 years ago
obscuren
787a61bb27
core/state, core/vm: reworked storage get / set to use common.Hash
10 years ago
obscuren
6fb6e6679e
core/vm, core/state: added storage to structured vm logging
10 years ago
zelig
009b221692
solidity compiler and contract metadocs integration
...
* common/compiler: solidity compiler + tests
* rpc: eth_compilers, eth_compileSolidity + tests
* fix natspec test using keystore API, notice exp dynamically changes addr, cleanup
* resolver implements registrars and needs to create reg contract (temp)
* xeth: solidity compiler. expose getter Solc() and paths setter SetSolc(solcPath)
* ethereumApi: implement compiler related RPC calls using XEth - json struct tests
* admin: make use of XEth.SetSolc to allow runtime setting of compiler paths
* cli: command line flags solc to set custom solc bin path
* js admin api with new features debug and contractInfo modules
* wiki is the doc https://github.com/ethereum/go-ethereum/wiki/Contracts-and-Transactions
10 years ago
obscuren
1889727144
Moved logging to logger.Core
10 years ago
obscuren
a0e44e3281
basic glog
10 years ago
obscuren
0330077d76
moved state and vm to core
10 years ago
obscuren
d7ab716eea
Fixed mkdnode & added some tests
10 years ago
obscuren
8ce6a36478
converted chain manager
10 years ago
obscuren
e620bde405
conversion state
10 years ago
obscuren
f486c0ae56
new type + additional methods
10 years ago
obscuren
b523441361
Moved ethutil => common
10 years ago
obscuren
310ca62285
Removed some of that gas pre pay magic
10 years ago
obscuren
19efebe91e
Updated tests and fixed suicide
10 years ago
obscuren
b909a5ec18
Trie => SecureTrie
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
ea9a549bbd
Removed exported fields from state object and added proper set/getters
10 years ago
obscuren
d8ac267f41
dirty tracking for state objects fixed
10 years ago
obscuren
fa4cbad315
Optimisations and fixed a couple of DDOS issues in the miner
10 years ago
obscuren
c14071df9d
Reset storage cache after sync
10 years ago
obscuren
2c454863f2
Use new rlp (TODO requires some refactoring)
10 years ago
obscuren
54927dc0e0
Fixed issue with Storage()
...
* Storage() returned encoded values. They are now decode prior to hexing
* Removed old code from state object
* Updated coin
10 years ago
obscuren
db4aaedcbd
Moved ptrie => trie. Removed old trie
10 years ago
obscuren
fed3e6a808
Refactored ethutil.Config.Db out
10 years ago
obscuren
780abaec98
Switched to new trie
10 years ago
obscuren
f298ffdbb8
Renamed State => StateDB
10 years ago