aboutsummaryrefslogtreecommitdiffstats
path: root/core/chain_manager.go
Commit message (Expand)AuthorAgeFilesLines
* core: deadlock in chainmanager after posting RemovedTransactionEventJeffrey Wilcke2015-10-021-1/+3
* Merge pull request #1405 from fjl/lean-trieJeffrey Wilcke2015-10-011-4/+4
|\
| * core, core/state: batch-based state syncFelix Lange2015-09-231-4/+4
* | core: Add BadHashErr and test for BadHashes handlingGustav Simonsson2015-09-231-1/+1
* | cmd/geth, core: make "geth blocktest" work againFelix Lange2015-09-231-0/+1
|/
* core, core/types: readd transactions after chain re-orgJeffrey Wilcke2015-09-221-28/+32
* core: separate and contain POW verifier, extensive testsPéter Szilágyi2015-09-211-46/+6
* all: move common.Database to package ethdbFelix Lange2015-09-151-2/+3
* core: split out TD from database and all internalsPéter Szilágyi2015-09-111-65/+85
* core, eth: split the db blocks into headers and bodiesPéter Szilágyi2015-09-111-109/+153
* Add tests for uncle timestamps and refactor timestamp typeGustav Simonsson2015-08-251-1/+2
* core, miner: write miner receiptsJeffrey Wilcke2015-08-191-1/+3
* Merge pull request #1604 from obscuren/db-mergeJeffrey Wilcke2015-08-091-26/+22
|\
| * core, eth, trie, xeth: merged state, chain, extra databases in oneJeffrey Wilcke2015-08-081-26/+22
* | core/vm, tests: implemented semi-jit vmJeffrey Wilcke2015-08-071-1/+1
|/
* Merge pull request #1568 from obscuren/issue-1559Jeffrey Wilcke2015-08-031-1/+5
|\
| * core: added a running flag to prevent panics in the chainmanagerJeffrey Wilcke2015-08-011-1/+5
* | core: added default genesis blockJeffrey Wilcke2015-08-021-1/+9
|/
* Merge pull request #1515 from fjl/license-fixesJeffrey Wilcke2015-07-281-1/+1
|\
| * all: fix license headers one more timeFelix Lange2015-07-241-1/+1
* | cmd/geth, core, eth: Version 1.0.0Jeffrey Wilcke2015-07-251-7/+1
* | cmd/core,xeth: removed unneeded states & added batch writesJeffrey Wilcke2015-07-231-22/+0
|/
* all: update license headers to distiguish GPL/LGPLFelix Lange2015-07-231-4/+4
* core: during chain reorg rewrite receipts and transactionsJeffrey Wilcke2015-07-151-0/+7
* cmd, core, eth, common: genesis preparationJeffrey Wilcke2015-07-101-40/+45
* Use uint64 on ts in chain_manager, block_processorGustav Simonsson2015-07-081-1/+1
* all: add some godoc synopsis commentsFelix Lange2015-07-071-0/+1
* all: update license informationFelix Lange2015-07-071-0/+16
* core, miner, tests: added test, implemented bad block reportingJeffrey Wilcke2015-07-051-0/+2
* core, eth, miner, xeth: receipt storage fixJeffrey Wilcke2015-07-041-1/+1
* core, miner: miner header validation, transaction & receipt writingJeffrey Wilcke2015-07-031-13/+20
* core, cmd/geth: improved recover functionalityJeffrey Wilcke2015-07-011-80/+6
* Merge pull request #1370 from obscuren/force-checkpointJeffrey Wilcke2015-07-011-2/+10
|\
| * core, cmd/geth: recover by numberJeffrey Wilcke2015-07-011-2/+10
* | Use uint64 for block header timestampGustav Simonsson2015-06-301-1/+1
|/
* core: added checkpoint for last blockJeffrey Wilcke2015-06-301-56/+41
* core, miner: added queued write to WriteBlockJeffrey Wilcke2015-06-301-15/+18
* cmd/geth: decent error message if metrics are disabledPéter Szilágyi2015-06-301-1/+0
* cmd, core, eth, metrics, p2p: require enabling metricsPéter Szilágyi2015-06-301-1/+2
* core: replaced BlockCache with lru.CacheJeffrey Wilcke2015-06-301-19/+24
* Merge branch 'miner-broadcast' into core-optimisations-2Jeffrey Wilcke2015-06-301-43/+67
|\
| * core, miner: added write block method & changed mining propagationJeffrey Wilcke2015-06-291-45/+67
* | core: fixed testsJeffrey Wilcke2015-06-301-0/+1
* | core: removed write's go routineJeffrey Wilcke2015-06-301-7/+2
* | core: renamed next to pending & fixed testsobscuren2015-06-301-15/+10
* | core: reduced cache limit to 256obscuren2015-06-301-1/+1
* | core: switched to proper LRUobscuren2015-06-301-9/+6
* | core: added LRU caching and added batch writing when LDB is usedobscuren2015-06-301-21/+81
* | core, eth, rpc: avoid unnecessary block header copyingFelix Lange2015-06-301-3/+3
* | core: remove superfluous big.Int allocationsFelix Lange2015-06-301-21/+3
* | core/types: make blocks immutableFelix Lange2015-06-301-66/+28
|/
* core, eth, eth/fetcher, ethdb: polish metrics gathering a bitPéter Szilágyi2015-06-241-14/+0
* core, ethdb: instrument the block and state dbPéter Szilágyi2015-06-241-1/+14
* cmd/geth, core: impl. percentile reporting, instrument insertionsPéter Szilágyi2015-06-241-1/+4
* core, ethdb, trie: validate database errorsobscuren2015-06-211-3/+13
* core: moved check for max queue to checkQueueobscuren2015-06-151-10/+2
* core: changed interrupt strategyobscuren2015-06-121-102/+101
* eth, core: interupt the chain processing on stopobscuren2015-06-121-94/+104
* core: log tx count for each set of blocks we're importingobscuren2015-06-101-1/+4
* core: fix a race condition accessing the gas limitPéter Szilágyi2015-06-101-3/+5
* core: fix a lock annoyance and potential deadlockPéter Szilágyi2015-06-101-4/+9
* core: fix up a deadlock caused by double lockingPéter Szilágyi2015-06-091-8/+5
* core: fix data race accessing ChainManager.currentBlockPéter Szilágyi2015-06-091-1/+4
* core: fix data race in accessing ChainManager.tdPéter Szilágyi2015-06-091-9/+8
* core: write accounts to statedb. Closes #1210obscuren2015-06-091-6/+7
* Merge pull request #1193 from tgerring/hotbackupJeffrey Wilcke2015-06-091-3/+14
|\
| * Export should start with block 0Taylor Gerring2015-06-061-1/+1
| * CleanupTaylor Gerring2015-06-061-2/+1
| * Allow exporting subset of chainTaylor Gerring2015-06-061-2/+14
* | core: settable genesis nonceobscuren2015-06-091-9/+15
* | core: fix the nonce check one more timeFelix Lange2015-06-081-3/+3
|/
* wipobscuren2015-06-051-2/+10
* core, eth, miner: moved nonce management to tx pool.obscuren2015-06-041-20/+1
* wipobscuren2015-06-041-2/+3
* core: insert less length zero chainsFelix Lange2015-06-011-4/+5
* core: re-add parallel nonce checksFelix Lange2015-06-011-63/+44
* Merge pull request #1155 from karalabe/fix-chainmanager-dataraceFelix Lange2015-05-301-2/+2
|\
| * core: fix #1154, sort out data race accessing the future blocksPéter Szilágyi2015-05-301-2/+2
* | core: moved guardsobscuren2015-05-291-9/+8
* | core: log block hash during nonce errorobscuren2015-05-281-2/+2
* | core: partially removed nonce parallelisation and added merge error chkobscuren2015-05-281-24/+56
|/
* core, eth/downloader: expose the bad hashes, check in downloaderPéter Szilágyi2015-05-281-1/+1
* core: adjust gas calculationobscuren2015-05-271-0/+1
* core: check negative value transactions. Closes #1109obscuren2015-05-271-1/+1
* core: prevent crash when last block failsobscuren2015-05-261-6/+16
* core: disable cash tmpobscuren2015-05-191-3/+5
* core: chain manager no longer exports genesis blockobscuren2015-05-191-2/+2
* core: parallelise nonce checking when processing blocksobscuren2015-05-181-6/+83
* core: global chain insert lockobscuren2015-05-171-44/+43
* core, miner: fork resolving and restart miner after sync opobscuren2015-05-161-7/+15
* core: fixed mining strategyobscuren2015-05-151-9/+15
* core: changed how head events are checkedobscuren2015-05-151-2/+2
* core: changed log message for forks. closes #952obscuren2015-05-141-11/+13
* solidity compiler and contract metadocs integrationzelig2015-05-071-3/+2
* Add genesis block total difficulty in testsGustav Simonsson2015-05-071-0/+1
* core: added unix timestamp to debug output for block procobscuren2015-05-041-1/+1
* core: print ignored blocksobscuren2015-05-031-1/+1
* eth,core: changed NewTicker to Tickobscuren2015-05-031-2/+2
* core: added 'ignored' statusobscuren2015-05-011-2/+3
* core: added a wait group to chain manager for graceful shutdownobscuren2015-04-301-0/+8
* core: check for parent in calc TD. TD = (N != 0 == parent.TD) || (== D)obscuren2015-04-301-0/+4
* core, eth: verify td of received blocksobscuren2015-04-301-2/+4
* core: added some additional chain tests for shortest chainobscuren2015-04-301-1/+1
* core: return the index of the block that failed when inserting a chainobscuren2015-04-291-3/+5
* core: fixed chain reorg during splitsobscuren2015-04-291-26/+32
* core: seperated proccing mutex and getting mutexobscuren2015-04-291-41/+47
* core: moved mutex locks in insert blocks to start of functionobscuren2015-04-291-41/+40
* core: set min gas price at startupobscuren2015-04-291-10/+10
* core, miner: added value check on tx validationobscuren2015-04-261-7/+3
* xeth, core, cmd/utils: Transaction can not be over block gas limitobscuren2015-04-241-11/+18
* Moved leveldb update loop to eth/backendBas van Kervel2015-04-231-5/+5
* core: set the state for the managed tx stateobscuren2015-04-231-1/+1
* core: shuffled some codeobscuren2015-04-211-7/+13
* core: force block process & fixed chain manager testobscuren2015-04-201-1/+6
* core: added chain reset mechanism on bad blocksobscuren2015-04-201-12/+23
* core: added chain head reset to known blockobscuren2015-04-201-0/+24
* core: moved TD calculation from proc to chainobscuren2015-04-201-5/+6
* cleanupobscuren2015-04-191-3/+2
* core: merge using equal block numbers rather than the current blockobscuren2015-04-191-1/+7
* core: changed split detection to also account for number less thanobscuren2015-04-161-1/+2
* core: during split properly insert parent blocksobscuren2015-04-141-1/+32
* Merge pull request #702 from ethersphere/frontier/blockpoolJeffrey Wilcke2015-04-131-0/+1
|\
| * blockpool stability fixes:zelig2015-04-131-0/+1
* | Added blockchain DB versioning support, closes #650Bas van Kervel2015-04-131-2/+5
|/
* Merge branch 'frontier/blockpool' of https://github.com/ethersphere/go-ethere...obscuren2015-04-091-0/+1
|\
| * future queued block supportzelig2015-04-091-0/+1
* | Added default registrarobscuren2015-04-091-9/+1
|/
* Updated loggingobscuren2015-04-071-5/+5
* Block header changed & console miner controlobscuren2015-04-061-1/+1
* time lapseobscuren2015-04-051-1/+3
* Updated loggingobscuren2015-04-051-8/+18
* Added thread safe eachobscuren2015-04-051-4/+4
* Removed debuggingobscuren2015-04-051-7/+0
* prevent deadlockobscuren2015-04-051-13/+6
* Improved chain manager, improved block processor, fixed testsobscuren2015-04-041-5/+40
* Changed log to new loggingobscuren2015-04-041-5/+9
* check for nil block (tmp).obscuren2015-04-041-0/+3
* basic glogobscuren2015-04-041-0/+10
* do not include BlockEqualTS as valid unclesobscuren2015-04-031-1/+2
* Read most protocol params from common/params.jsonGustav Simonsson2015-04-021-8/+6
* fixed testsobscuren2015-03-241-1/+1
* Copy fixobscuren2015-03-241-1/+1
* better block propagationobscuren2015-03-241-2/+2
* moved state and vm to coreobscuren2015-03-231-1/+1
* moved to errorobscuren2015-03-231-9/+2
* Merge branch 'develop' of github.com-obscure:ethereum/go-ethereum into developobscuren2015-03-231-2/+4
|\
| * Correct difficulty calculation to use new difficulty minimumGustav Simonsson2015-03-231-2/+4
* | logging for possible unclesobscuren2015-03-231-0/+5
* | added some nil checks for cache (testing specific)obscuren2015-03-231-6/+19
|/
* Added caching for block chain. Currently set to 10kobscuren2015-03-201-1/+19
* :-)obscuren2015-03-201-1/+0
* mergeobscuren2015-03-191-9/+7
|\
| * re-enabled json loggingobscuren2015-03-191-2/+0
| * fixed chain event. Closes #529obscuren2015-03-191-5/+5
* | Merge branch 'conversion' of github.com-obscure:ethereum/go-ethereum into con...obscuren2015-03-181-15/+12
|\ \
| * | core: use package rlp to encode blocksFelix Lange2015-03-181-15/+12
* | | prep template for fixed size hashesobscuren2015-03-181-2/+2
|/ /
* / converted chain managerobscuren2015-03-171-21/+27
|/
* Moved ethutil => commonobscuren2015-03-161-18/+18
* typoobscuren2015-03-141-1/+1
* Improved errors. Closes #475obscuren2015-03-141-2/+2
* GetBlockByNumber now properly looks for a number in the databaseobscuren2015-03-141-28/+33
* Return proper errorobscuren2015-03-141-0/+2
* Implemented a manage state for keeping track of noncesobscuren2015-03-131-5/+6
* Increased genesis gas & gas floor limit to 3141592obscuren2015-03-131-3/+1
* fallbackobscuren2015-03-111-0/+2
* mergeobscuren2015-03-081-8/+6
|\
| * Added eth.chain.new_headTaylor Gerring2015-03-061-2/+9
* | Separated block db from state db. Partial fix for #416obscuren2015-03-071-15/+16
* | Queued approach to delivering chain eventsobscuren2015-03-061-34/+73
* | debug comments & pow handlingobscuren2015-03-061-5/+0
* | Merge pull request #426 from Gustav-Simonsson/add_blockchain_testsJeffrey Wilcke2015-03-061-0/+15
|\ \
| * | Add initial implementation of block testsGustav Simonsson2015-03-051-0/+15
* | | Miner fixes and updates (including miner)obscuren2015-03-051-9/+19
|/ /
* | uncle validationobscuren2015-03-041-6/+6
* | Changed nonce to a uint64obscuren2015-03-041-1/+1
* | Merge branch 'jsonlogs' of https://github.com/ethersphere/go-ethereum into et...obscuren2015-03-041-3/+12
|\ \
| * | add eth.chain.new_head log to core/chain_managerzelig2015-03-031-3/+12
| |/
* / New gas prices modelobscuren2015-03-021-4/+6
|/
* Merge branch 'master' into developobscuren2015-02-241-4/+26
|\
| * Properly uninstall filters. Mining issue fixed #closes #365obscuren2015-02-231-4/+26
* | removed logobscuren2015-02-241-1/+0
|/
* Minor updates for releaseobscuren2015-02-211-1/+2
* Fixed chain event issueobscuren2015-02-201-3/+1
* fixed mergeobscuren2015-02-201-6/+3
|\
* | dirty tracking for state objects fixedobscuren2015-02-201-1/+1
* | Optimisations and fixed a couple of DDOS issues in the minerobscuren2015-02-201-5/+20
|/
* Added GetBlock GetUncle with OOB guardobscuren2015-02-181-8/+8
* Changed to ChainEvent and fixed a nil pointer in transactobscuren2015-02-181-2/+0
* Filter and mutex locks addedobscuren2015-02-171-1/+12
* Removed reference to lastBlockNumber & LastBlockNumberobscuren2015-02-161-21/+5
* Resolved some bugs in the minerobscuren2015-02-151-1/+1
* Reference pointer to block instead of pointer to functionobscuren2015-02-151-1/+1
* Basic structure minerobscuren2015-02-101-1/+10
* Filteringobscuren2015-02-051-2/+1
* changed lost keyobscuren2015-01-291-1/+7
* Fixed difficultyobscuren2015-01-181-5/+4
* Moved the TD method from block processor.obscuren2015-01-101-1/+15
* mem fixes for vm. Changed uncle inclusion testsobscuren2015-01-101-0/+22
* Merge remote-tracking branch 'upstream/develop' into developzelig2015-01-091-2/+2
|\
| * Minor fixed and additions for block procobscuren2015-01-081-2/+2
* | GetBlockHashesFromHash(hash, max) gives back max hashes starting from PARENT ...zelig2015-01-091-3/+1
|/
* Refactored ethutil.Config.Db outobscuren2015-01-071-16/+13
* Adjusted difficulty and skip get tx messagesobscuren2015-01-061-1/+1
* Changed prev_hash to block_hash, state transition now uses vm envobscuren2015-01-041-8/+8
* Closure => Contextobscuren2015-01-021-20/+0
* Added a query interface for world stateobscuren2015-01-021-0/+9
* Set TD to block once processedobscuren2015-01-021-0/+1
* Delete current chain for resetobscuren2014-12-231-0/+4
* Chain importerobscuren2014-12-231-5/+0
* Refactored block & Transactionobscuren2014-12-231-59/+75
* Merge fixesobscuren2014-12-181-1/+4
* Merged developobscuren2014-12-181-37/+83
|\
| * Updated to new methodsobscuren2014-12-181-0/+7
| * Locks, refactor, testsobscuren2014-12-181-37/+76
* | Merge branch 'develop' into poc8obscuren2014-12-181-1/+10
|\|
| * moved err checkobscuren2014-12-171-1/+10
* | resolve merge conflict hellzelig2014-12-151-4/+0
* | adapt chain_manager to eth protocol interfacezelig2014-12-151-0/+4
* | add Status to retrieve TD, currentBlock, genesis for easy interface with eth/...zelig2014-12-151-1/+5
|/
* moved interfacesobscuren2014-12-111-0/+2
* states moved to chainobscuren2014-12-111-0/+13
* upped proto version and modified block poolobscuren2014-12-051-9/+15
* Only set TD if it's actually higherobscuren2014-12-041-1/+4
* Renamed `chain` => `core`obscuren2014-12-041-0/+276