Felix Lange
c8695fae35
logger: remove Core verbosity level ( #3659 )
8 years ago
Jeffrey Wilcke
3fc7c97827
core, core/vm: implemented a generic environment ( #3348 )
...
Environment is now a struct (not an interface). This
reduces a lot of tech-debt throughout the codebase where a virtual
machine environment had to be implemented in order to test or run it.
The new environment is suitable to be used en the json tests, core
consensus and light client.
8 years ago
Felföldi Zsolt
665bb43a4c
light: implemented VMState.Empty() ( #3357 )
8 years ago
Zsolt Felfoldi
760fd65487
light: light chain, VM env and tx pool
8 years ago
Gustav Simonsson
22eea17b06
light: fix memory expansion bug (same as fix for core/state)
8 years ago
Gustav Simonsson
b6b17e5648
core/state, light: remove unused StateObject.initCode
8 years ago
Felix Lange
d04a2e7557
all: update license information
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
Bas van Kervel
19b2640e89
rpc: migrated the RPC insterface to a new reflection based RPC layer
9 years ago
zsfelfoldi
ef422ee1e1
light: implemented odr-capable trie and state structures
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
9 years ago
Jeffrey Wilcke
08caeedd84
core, core/state: only write necessary state. Skip intermediate
9 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