aboutsummaryrefslogtreecommitdiffstats
path: root/core/blockchain.go
Commit message (Expand)AuthorAgeFilesLines
* core: touch verifierCache at 90% of round (#247)Jimmy Hu2019-06-121-2/+35
* app: new app test flow (#244)bojie2019-06-121-40/+0
* app: refactor app run as single chain (#226)bojie2019-06-121-146/+14
* core: sync to latest core (#214)Jimmy Hu2019-06-121-1/+1
* core, dex/downloader: polish headers verification and blocks insertion logic ...Sonic2019-06-121-16/+28
* travis: re-encrypt GCP credential file (#165)bojie2019-06-121-1/+1
* core, dex: use block hash as witness data (#160)Sonic2019-06-121-3/+3
* blockchain: add mutex lock to prevent fork (#159)bojie2019-06-121-1/+6
* app: fix reward bug with empty block (#155)bojie2019-06-121-3/+2
* app: remove pending block logic (#149)bojie2019-06-121-195/+136
* core: fix corner case when initializing round height (#134)Sonic2019-06-121-1/+1
* app: implement logic for prepare/verify correctly when chain number change (#...bojie2019-06-121-19/+97
* core, indexer, dex: fix DexconApp block deliver after synced (#122)Sonic2019-06-121-5/+6
* core: fix vm wrong round height context (#124)Sonic2019-06-121-0/+45
* core, dex, internal: block proposer syncing (first iteration) (#96)Sonic2019-06-121-4/+2
* core, dex: Timeout for prepare payload (#72)Jimmy Hu2019-06-121-7/+9
* app: add app test case and benchmark (#66)bojie2019-06-121-2/+14
* dex: verify header that imported from fetcher (#68)Sonic2019-06-121-0/+4
* core: panic if fork found when inserting header chain (#61)Wei-Ning Huang2019-06-121-1/+6
* core: commit states at snapshot height (#49)Sonic2019-06-121-2/+7
* core: various changes on tps tuning (#46)Wei-Ning Huang2019-06-121-0/+2
* core, dex, downloader: refactor governanceSonic2019-06-121-1/+1
* core, dex, dex/downloader: restore insertChain to upstream versionSonic2019-06-121-16/+14
* core: implement insert chain, headerchain logicSonic2019-06-121-0/+226
* core: support extracting governance state from state trieSonic2019-06-121-0/+27
* core: add global signature cache and improve concurrency (#42)Wei-Ning Huang2019-06-121-1/+1
* governance: implement delegate/undelegate function and add tests (#33)Wei-Ning Huang2019-06-121-2/+5
* core: blockchain: fix concurrent map read and write (#34)Wei-Ning Huang2019-06-121-4/+7
* core: more fix on light node synchronization (#32)Wei-Ning Huang2019-06-121-10/+11
* core: fix light node synchronization issue (#30)Wei-Ning Huang2019-06-121-0/+1
* core: revert changes to StateProcessor.Process (#29)Wei-Ning Huang2019-06-121-7/+9
* app: add cache to reuse same tx address which has already recovered (#26)BJ42019-06-121-2/+4
* core: refactor validator and fix light node sync (#25)Wei-Ning Huang2019-06-121-96/+25
* core: use storeRoundHeight to avoid type mismatch (#21)Sonic2019-06-121-9/+6
* dex, core: Fix make fail (#24)Jimmy Hu2019-06-121-1/+1
* core, dex: Optimize sender calculation in block transactions. (#22)Jimmy Hu2019-06-121-0/+4
* core: validate DKG set with correct nodeset in round-2 (#19)Wei-Ning Huang2019-06-121-3/+7
* dex: return correct pending nonce (#14)Wei-Ning Huang2019-06-121-2/+11
* core: blockchain: fix NewBlockChainWithDexonValidator (#4)Wei-Ning Huang2019-06-121-1/+1
* app: fix core testBJ42019-06-121-1/+77
* core: vm: governance: add node infoWei-Ning Huang2019-06-121-0/+4
* core: validate roundHeight mapping in governance contractWei-Ning Huang2019-06-121-0/+12
* app: lock by chain correctly and remove old core in vendorBJ42019-06-121-46/+49
* Rename import due to dexon-consensus renameWei-Ning Huang2019-06-121-2/+2
* dex: minor refactorWei-Ning Huang2019-06-121-6/+5
* app: add lock to prevent concurrent map read writeBojie Wu2019-06-121-0/+3
* core: tx_pool: remove transactions on BlockConfirmed eventWei-Ning Huang2019-06-121-8/+18
* app: using lock correctly to use map safelyBojie Wu2019-06-121-56/+86
* app: fix concurrent map read write issue and accept fail transaction when rou...Bojie Wu2019-06-121-1/+7
* app: add cache mechanism to increase performanceBojie Wu2019-06-121-101/+77
* app: fix concurrent read write issue with mapBojie Wu2019-06-121-0/+6
* dex: remove uneeded info from block headerWei-Ning Huang2019-06-121-9/+17
* app: correct process pending block logicBojie Wu2019-06-121-126/+111
* dex: fix missing randomness assignmentWei-Ning Huang2019-06-121-1/+1
* app: check nonce and balance in prepare payloadBojie Wu2019-06-121-3/+3
* app: implement verify block logicBojie Wu2019-06-121-1/+49
* app: fixup message formatWei-Ning Huang2019-06-121-3/+3
* app: implement new insert blocks logicBojie Wu2019-06-121-2/+193
* app: correct dexon application logicBojie Wu2019-06-121-44/+37
* core: fix nil map initializationWei-Ning Huang2019-06-121-0/+7
* app: init mapBojie Wu2019-06-121-15/+17
* app: implement new interface methodBojie Wu2019-06-121-0/+56
* Change import go github.com/dexon-foundation/dexonWei-Ning Huang2019-06-121-16/+16
* core: minor code polishes + rebase fixesPéter Szilágyi2019-04-081-37/+48
* core: re-omit new log event when logs rebirthrjl4934564422019-04-081-8/+19
* all: simplify timestamps to uint64 (#19372)Martin Holst Swende2019-04-081-6/+6
* core: fix pruner panic when importing low-diff-large-sidechainPéter Szilágyi2019-02-101-11/+17
* core: fix error in block iterator (#18986)Martin Holst Swende2019-02-101-3/+3
* core, eth: fix database version (#18429)gary rong2019-01-111-1/+1
* core, internal, eth, miner, les: Take VM config from BlockChain (#17955)Paweł Bylica2018-12-061-0/+5
* core: more detailed metrics for block processing (#18119)Martin Holst Swende2018-11-281-1/+12
* core: return error if repair block failed (#18126)mr_franklin2018-11-231-1/+5
* Merge pull request #17973 from holiman/splitter2Péter Szilágyi2018-11-221-153/+221
|\
| * core: polish side chain importer a bitPéter Szilágyi2018-11-211-290/+181
| * core: better side-chain importingMartin Holst Swende2018-11-201-96/+273
* | core: better printout of receipts in bad block reports (#18156)Martin Holst Swende2018-11-221-2/+4
|/
* core, eth/downloader: fix ancestor lookup for fast syncPéter Szilágyi2018-11-161-2/+11
* cmd, core, eth, light, trie: add trie read caching layerPéter Szilágyi2018-11-151-7/+14
* core: fix default trie cache limit (#17860)gary rong2018-11-131-1/+1
* rawdb: remove unused parameter for WritePreimages func (#18059)Corey Lin2018-11-091-1/+1
* core, internal/ethapi: add and use LRU cache for receipts (#17610)Ryan Schneider2018-09-301-6/+18
* core, eth: fix dependency cycle (#17720)gary rong2018-09-211-50/+21
* all: protect self-mined block during reorg (#17656)gary rong2018-09-201-4/+44
* common, core, light: add block age into info logsPéter Szilágyi2018-09-201-10/+18
* core, eth, trie: use common/prque (#17508)Wenbiao Zheng2018-09-031-3/+3
* miner: move agent logic to worker (#17351)gary rong2018-08-141-3/+4
* core: fix some small typos on comment code (#17278)Ha ĐANG2018-07-301-1/+1
* core: report progress on log chain exports (#17066)Raghav Sood2018-07-261-3/+7
* ethdb, core: implement delete for db batch (#17101)gary rong2018-07-021-3/+6
* trie: cache collapsed tries node, not rlp blobs (#16876)Péter Szilágyi2018-06-211-2/+2
* core, eth, les: more efficient hash-based header chain retrieval (#16946)Felföldi Zsolt2018-06-121-0/+12
* core: improve getBadBlocks to return full block rlp (#16902)Martin Holst Swende2018-06-111-13/+7
* core: concurrent background transaction sender ecrecoverPéter Szilágyi2018-06-051-0/+7
* core, eth, trie: streaming GC for the trie cache (#16810)Péter Szilágyi2018-06-041-22/+20
* core/rawdb: separate raw database access to own package (#16666)Péter Szilágyi2018-05-071-70/+69
* core: check transaction/receipt count match when reconstructing blocks (#16272)Kyuntae Ethan Kim2018-03-071-2/+8
* core: make current*Block atomic, and accessor functions mutex-free (#16171)Martin Holst Swende2018-02-261-57/+55
* core: flush out trie cache more meaningfully on stop (#16143)Péter Szilágyi2018-02-231-13/+12
* metrics: pull library and introduce ResettingTimer and InfluxDB reporter (#15...Anton Evangelatov2018-02-231-1/+1
* core: soften up state memory force-commit log messages (#16080)Felix Lange2018-02-131-6/+2
* core: force import known but rolled back blocksPéter Szilágyi2018-02-121-2/+6
* core, trie: intermediate mempool between trie and database (#15857)Péter Szilágyi2018-02-061-71/+263
* Merge pull request #15996 from karalabe/drop-redundant-methodsPéter Szilágyi2018-01-311-18/+1
|\
| * core, eth, les, light: get rid of redundant methodsPéter Szilágyi2018-01-311-18/+1
* | core, ethdb: reuse database batches (#15989)Martin Holst Swende2018-01-311-1/+1
|/
* core: sorted reorg insertion order for proper head header updatingPéter Szilágyi2018-01-221-7/+6
* all: switch gas limits from big.Int to uint64Péter Szilágyi2018-01-031-4/+4
* core, p2p/discv5: use time.NewTicker instead of time.Tick (#15747)ferhat elmas2018-01-021-2/+3
* core: split same-td blocks on block heightPéter Szilágyi2017-11-131-1/+6
* core: revert invalid block dedup code (#15235)Péter Szilágyi2017-10-041-5/+0
* core: only fire one chain head per batch (#15123)Péter Szilágyi2017-09-111-21/+32
* core, eth/downloader: commit block data using batches (#15115)Felix Lange2017-09-101-127/+97
* core, eth: add bloombit indexer, filter based on itZsolt Felfoldi2017-09-061-15/+0
* core: make txpool operate on immutable statePéter Szilágyi2017-09-051-12/+0
* core, light: send chain events using event.Feed (#14865)Miya Chen2017-08-181-23/+69
* core: avoid write existing block again (#14849)Mark2017-07-311-0/+5
* core: remove redundant storage of transactions and receipts (#14801)Péter Szilágyi2017-07-151-24/+9
* core: fix an off-by-one when the block import counts blocksMartin Holst Swende2017-06-291-1/+1
* core/state: access trie through Database interface, track errors (#14589)Felix Lange2017-06-271-22/+16
* core: fix minor accidental typos and comment errorsPéter Szilágyi2017-05-251-5/+5
* core: typos and comments improvechanghong2017-05-251-236/+237
* core: fix processing regression during receipt importPéter Szilágyi2017-05-081-3/+4
* core, light: delete SplitStatTy, ChainSplitEvent (unused)Felix Lange2017-04-221-6/+3
* consensus, core, ethstats: use engine specific block beneficiary (#14318)Péter Szilágyi2017-04-121-0/+3
* core: fix comment typoJustin2017-04-101-1/+1
* consensus, core: drop all the legacy custom core error typesPéter Szilágyi2017-04-061-9/+8
* core, consensus: pluggable consensus engines (#3817)Péter Szilágyi2017-04-051-36/+26
* les: implement request distributor, fix blocking issues (#3660)Felföldi Zsolt2017-03-231-1/+6
* core, eth, les: support resuming fast sync on heavy rollback (#3743)Péter Szilágyi2017-03-221-24/+49
* all: swap out the C++ ethash to the pure Go one (mining todo)Péter Szilágyi2017-03-091-0/+3
* Merge pull request #3739 from karalabe/logger-updates-4Péter Szilágyi2017-03-041-2/+0
|\
| * all: update light logs (and a few others) to the new modelPéter Szilágyi2017-03-031-2/+0
* | core: reorg logs crashed, add a check for corner casesPéter Szilágyi2017-03-031-6/+9
|/
* core, log: track field length and pad to alignPéter Szilágyi2017-02-281-5/+5
* all: next batch of log polishes to contextual versionsPéter Szilágyi2017-02-281-83/+68
* all: blidly swap out glog to our log15, logs need reworkPéter Szilágyi2017-02-231-52/+52
* core, core/state, core/vm: remove exported account getters (#3618)Jeffrey Wilcke2017-02-231-1/+0
* core/blockchain: Change iterator in procFutureBlocks to use lru.Peek instead ...Martin Holst Swende2017-02-181-1/+1
* core, eth, internal: Added `debug_getBadBlocks()` method (#3654)Martin Holst Swende2017-02-141-1/+29
* core: fix a small typo in blockchain.go (#3611)Vivek Anand2017-01-261-1/+1
* core/blockchain: Made logging of reorgs more structured (#3573)Martin Holst Swende2017-01-171-6/+13
* cmd/geth, core: add support for recording SHA3 preimages (#3543)Nick Johnson2017-01-171-2/+8
* core: improve import log alignmentFelix Lange2017-01-111-9/+7
* all: fix ineffectual assignments and remove uses of crypto.Sha3Felix Lange2017-01-091-2/+1
* logger, pow/dagger, pow/ezp: delete dead codeFelix Lange2017-01-071-3/+0
* all: fix issues reported by honnef.co/go/simple/cmd/gosimpleFelix Lange2017-01-071-4/+1
* all: gofmt -w -sFelix Lange2017-01-061-1/+1
* core/vm: move Log to core/typesFelix Lange2017-01-061-3/+3
* core: import future blocks one-by-one, enfore chain ancestryPéter Szilágyi2016-12-131-3/+29
* core, core/vm, eth/filters: move Removed field into vm.LogFelix Lange2016-12-051-14/+15
* core: fixed unwinding bad hash (#3347)Jeffrey Wilcke2016-11-281-3/+8
* core: improved bad block error reporting (#3320)Jeffrey Wilcke2016-11-231-8/+21
* core/types, params: EIP#155Jeffrey Wilcke2016-11-131-5/+8
* core, core/state, trie: EIP158, reprice & skip empty account writeJeffrey Wilcke2016-11-131-5/+6
* light: light chain, VM env and tx poolZsolt Felfoldi2016-11-091-26/+32
* cmd/geth, code, eth/downloader: tune import logs and mem statsPéter Szilágyi2016-10-211-2/+15
* Merge pull request #3156 from holiman/metrics-blocksJeffrey Wilcke2016-10-181-0/+2
|\
| * core: Add block processing time metric collectionMartin Holst Swende2016-10-181-0/+2
* | common, core, eth/downloader: adjust import log formattingPéter Szilágyi2016-10-181-16/+23
|/
* trie, core/state: improve memory usage and performance (#3135)Felix Lange2016-10-151-1/+1
* core: fixed import reporterJeffrey Wilcke2016-10-111-1/+1
* core: print import stats more oftenFelix Lange2016-10-081-11/+42
* core, eth, trie: reuse trie journals in all our codePéter Szilágyi2016-09-281-1/+6
* core/state: track all accounts in canon stateFelix Lange2016-09-261-13/+22
* core: ensure the canonical block is written before the canonical hash is setBas van Kervel2016-08-161-9/+9
* core: solve a remote-import/local-mine data racePéter Szilágyi2016-07-081-4/+3
* core: improved chainDb using sequential keyszsfelfoldi2016-06-071-52/+72
* core, core/state, trie: enterprise hand-tuned multi-level cachingPéter Szilágyi2016-05-261-1/+6
* eth: enable bad block reportsFelix Lange2016-05-251-4/+1
* core: Provide a public accessor for ChainConfigNicholas Johnson2016-04-291-0/+3
* all: fix go vet warningsFelix Lange2016-04-151-2/+2
* core, core/types, eth: add and use Block.BodyFelix Lange2016-04-151-1/+1
* core: added basic chain configurationJeffrey Wilcke2016-04-011-15/+10
* core, eth, cmd: temporary work around for enabling the jitJeffrey Wilcke2016-03-241-1/+6
* core: Added EVM configuration optionsJeffrey Wilcke2016-03-241-1/+1
* Merge pull request #2341 from leijurv/patch-2Péter Szilágyi2016-03-161-3/+3
|\
| * core: fixed various typosLeif Jurvetson2016-03-161-3/+3
* | core, eth: replace reorganiz with reorganisLeif Jurvetson2016-03-161-1/+1
|/
* Merge pull request #2311 from obscuren/future-proc-fixJeffrey Wilcke2016-03-121-14/+15
|\
| * core: added future proc mutex lockJeffrey Wilcke2016-03-111-14/+15
* | core: cache fresh headers and tds to avoid db trashingPéter Szilágyi2016-03-111-2/+2
|/
* core: create a header chain structure shared by core.BlockChain and light.Lig...zsfelfoldi2016-03-101-340/+125
* core: announce ChainSideEvent during reorgJeffrey Wilcke2016-03-081-6/+21
* core: Added new TD strategy which mitigate the risk for selfish miningJeffrey Wilcke2016-02-181-6/+14
* eth/filters: ✨ pending logs ✨Jeffrey Wilcke2016-02-131-1/+1
* core, eth/downloader: ensure state presence in ancestor lookupPéter Szilágyi2016-01-041-0/+13
* core: write individual transactions and receipts too on fast syncPéter Szilágyi2015-12-041-0/+12
* core: added a new RemovedLogEventJeffrey Wilcke2015-12-011-2/+20
* cmd, common, core, eth, node, rpc, tests, whisper, xeth: use protocol stacksPéter Szilágyi2015-11-271-5/+1
* core, eth, miner, xeth: clean up tx/receipt db accessorsPéter Szilágyi2015-11-191-6/+6
* core, eth, rpc: split out block validator and state processorJeffrey Wilcke2015-11-181-20/+114
* core: only reset head header/fastblock if stalePéter Szilágyi2015-10-281-11/+18
* core, eth, trie: fix data races and merge/review issuesPéter Szilágyi2015-10-211-29/+42
* core, eth: roll back uncertain headers in failed fast syncsPéter Szilágyi2015-10-191-1/+36
* eth/downloader: concurrent receipt and state processingPéter Szilágyi2015-10-191-86/+180
* core, eth, trie: direct state trie synchronizationPéter Szilágyi2015-10-191-4/+21
* core, eth: receipt chain reconstructionPéter Szilágyi2015-10-191-40/+170
* core: fix block canonical mark / content write racePéter Szilágyi2015-10-191-20/+11
* core: support inserting pure header chainsPéter Szilágyi2015-10-191-65/+233
* Merge pull request #1899 from obscuren/mipmap-bloomJeffrey Wilcke2015-10-171-5/+22
|\
| * core, eth/filters, miner, xeth: Optimised log filteringJeffrey Wilcke2015-10-171-5/+22
* | core/state, core, miner: handle missing root error from state.NewGustav Simonsson2015-10-161-1/+1
|/
* core, eth, event, miner, xeth: fix event post / subscription racePéter Szilágyi2015-10-121-38/+27
* core: fixed head write on block insertionJeffrey Wilcke2015-10-051-0/+3
* cmd/geth, cmd/utils, core, rpc: renamed to blockchainJeffrey Wilcke2015-10-041-0/+809