Jeffrey Wilcke
445feaeef5
core, core/state, trie: EIP158, reprice & skip empty account write
...
This commit implements EIP158 part 1, 2, 3 & 4
1. If an account is empty it's no longer written to the trie. An empty
account is defined as (balance=0, nonce=0, storage=0, code=0).
2. Delete an empty account if it's touched
3. An empty account is redefined as either non-existent or empty.
4. Zero value calls and zero value suicides no longer consume the 25k
reation costs.
params: moved core/config to params
Signed-off-by: Jeffrey Wilcke <jeffrey@ethereum.org>
8 years ago
zsfelfoldi
7db7109a5b
cmd, eth: added light client and light server modes
8 years ago
Péter Szilágyi
e482b5694f
eth: monitor malicious header retrieval requests
8 years ago
Felix Lange
016007bd25
eth, eth/downloader, eth/fetcher: delete eth/61 code
...
The eth/61 protocol was disabled in #2776 , this commit removes its
message handlers and hash-chain sync logic.
8 years ago
Péter Szilágyi
993b412160
cmd/utils, eth: display the user's current fork, minor text tweak
8 years ago
Péter Szilágyi
3291235711
accounts, core, eth: pass chain config for chain maker to test DAO
8 years ago
Péter Szilágyi
7f00e8c033
core, eth: enforce network split post DAO hard-fork
8 years ago
zsfelfoldi
f9917c8c7b
core: improved chainDb using sequential keys
9 years ago
Felix Lange
6fdd0893c3
all: fix go vet warnings
9 years ago
Felix Lange
d04a2e7557
all: update license information
9 years ago
Leif Jurvetson
bbbe2360d0
eth: various typos
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
Péter Szilágyi
e51eeb8104
eth: fix #2076 , where end of hash query was interpreted number query
9 years ago
Péter Szilágyi
5b0ee8ec30
core, eth, trie: fix data races and merge/review issues
9 years ago
Péter Szilágyi
aa0538db0b
eth: clean out light node notions from eth
9 years ago
Péter Szilágyi
f186b39018
eth/downloader: add fast and light sync strategies
9 years ago
Péter Szilágyi
92f9a3e5fa
cmd, eth: support switching client modes of operation
9 years ago
Gustav Simonsson
1b1f293082
core/state, core, miner: handle missing root error from state.New
9 years ago
Jeffrey Wilcke
7c7692933c
cmd/geth, cmd/utils, core, rpc: renamed to blockchain
...
* Renamed ChainManager to BlockChain
* Checkpointing is no longer required and never really properly worked
when the state was corrupted.
9 years ago
Péter Szilágyi
ca88e18f59
eth: kill off protocol eth/60 in preparation for eth/62
9 years ago
Péter Szilágyi
42f44dda54
eth, eth/downloader: handle header requests, table driven proto tests
9 years ago