aboutsummaryrefslogtreecommitdiffstats
path: root/core/headerchain.go
Commit message (Collapse)AuthorAgeFilesLines
* core, core/state, trie: EIP158, reprice & skip empty account writeJeffrey Wilcke2016-11-131-4/+5
| | | | | | | | | | | | | | | 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>
* common, core, eth/downloader: adjust import log formattingPéter Szilágyi2016-10-181-2/+7
|
* core: ensure the canonical block is written before the canonical hash is setBas van Kervel2016-08-161-7/+11
|
* core: improved chainDb using sequential keyszsfelfoldi2016-06-071-28/+69
|
* all: update license informationFelix Lange2016-04-151-0/+1
|
* core: added basic chain configurationJeffrey Wilcke2016-04-011-7/+12
| | | | | | | | | Added chain configuration options and write out during genesis database insertion. If no "config" was found, nothing is written to the database. Configurations are written on a per genesis base. This means that any chain (which is identified by it's genesis hash) can have their own chain settings.
* core: cache fresh headers and tds to avoid db trashingPéter Szilágyi2016-03-111-18/+50
|
* core: create a header chain structure shared by core.BlockChain and ↵zsfelfoldi2016-03-101-0/+432
light.LightChain