aboutsummaryrefslogtreecommitdiffstats
path: root/eth/handler.go
Commit message (Expand)AuthorAgeFilesLines
* Change import go github.com/dexon-foundation/dexonWei-Ning Huang2019-06-121-13/+13
* eth, les, light: enforce CHT checkpoints on fast-sync tooPéter Szilágyi2019-04-171-39/+38
* cmd/utils, eth: minor polishes on whitelist codePéter Szilágyi2018-12-101-18/+11
* cmd, eth: Add support for `--whitelist <blocknum>=<hash>,...` flagRyan Schneider2018-12-101-1/+25
* eth: fix comment typo (#18114)mr_franklin2018-11-151-1/+1
* eth: fix minor grammar issue in comment (#18091)mr_franklin2018-11-131-1/+1
* eth: broadcast blocks to at least 4 peers (#17725)ledgerwatch2018-09-301-1/+11
* all: new p2p node representation (#17643)Felix Lange2018-09-251-2/+2
* all: simplify switches (#17267)Oleg Kovalov2018-07-301-2/+1
* eth: conform better to the golint standards (#16783)williambannas2018-06-141-5/+5
* core, eth, les: more efficient hash-based header chain retrieval (#16946)Felföldi Zsolt2018-06-121-14/+23
* eth: propagate blocks and transactions asyncPéter Szilágyi2018-05-211-3/+3
* core, eth: minor txpool event cleanupsPéter Szilágyi2018-05-181-4/+4
* all: collate new transaction events togetherrjl4934564422018-05-181-17/+24
* eth: golint updates for this or self warning (#16632)kiel barry2018-05-031-14/+14
* eth: fix typos (#16414)Yusup2018-04-041-8/+8
* eth, les: allow exceeding maxPeers for trusted peers (#16189)Andrey Petrov2018-02-271-1/+2
* core, trie: intermediate mempool between trie and database (#15857)Péter Szilágyi2018-02-061-4/+2
* core, eth, les, light: get rid of redundant methodsPéter Szilágyi2018-01-311-2/+8
* various: remove redundant parentheses (#15793)Furkan KAMACI2018-01-031-2/+2
* eth, les, light: expose chain config in les node info too (#15732)Péter Szilágyi2017-12-281-6/+6
* cmd, core, eth/tracers: support fancier js tracing (#15516)Péter Szilágyi2017-12-211-4/+6
* eth/fetcher: check the origin of filter tasks (#14975)Miya Chen2017-10-101-2/+2
* core, eth/downloader: commit block data using batches (#15115)Felix Lange2017-09-101-2/+2
* eth: use maxpeers from p2p layer instead of extra configPéter Szilágyi2017-09-061-3/+5
* core, light: send chain events using event.Feed (#14865)Miya Chen2017-08-181-6/+17
* eth: send but not announce block to peers if propagate is truemark.lin2017-08-181-0/+1
* Merge pull request #14737 from holiman/txpool_localaccountsPéter Szilágyi2017-07-101-1/+1
|\
| * core, eth, les: polish txpool API around local/remote txsPéter Szilágyi2017-07-051-1/+1
* | eth, les: Refactor downloader peer to use structsNick Johnson2017-06-291-1/+1
* | eth, les, light: Refactor downloader to use blockchain interfaceNick Johnson2017-06-281-4/+1
|/
* eth: remove les server from protocol manager (#14625)Alan Chen2017-06-151-2/+0
* eth: don't import propagated blocks during fastsyncPéter Szilágyi2017-05-261-0/+5
* cmd, eth, les, mobile: make networkid uint64 everywherePéter Szilágyi2017-04-251-3/+3
* cmd/geth: add --config file flag (#13875)Felix Lange2017-04-121-6/+6
* eth: accept transactions when starting CPU mining (#13882)Péter Szilágyi2017-04-101-4/+4
* cmd/geth, eth: drop bad block reporting, its offline anywayPéter Szilágyi2017-04-061-17/+2
* core, consensus: pluggable consensus engines (#3817)Péter Szilágyi2017-04-051-5/+6
* all: update light logs (and a few others) to the new modelPéter Szilágyi2017-03-031-1/+1
* Logger updates 3 (#3730)Péter Szilágyi2017-03-021-26/+24
* all: blidly swap out glog to our log15, logs need reworkPéter Szilágyi2017-02-231-27/+26
* Merge pull request #3605 from fjl/event-feedPéter Szilágyi2017-02-031-2/+2
|\
| * event: deprecate TypeMux and related typesFelix Lange2017-01-251-2/+2
* | les: remove delayed les server startingZsolt Felfoldi2017-01-261-1/+1
|/
* core: remove support for Olympic networkBas van Kervel2017-01-121-1/+1
* all: fix issues reported by honnef.co/go/simple/cmd/gosimpleFelix Lange2017-01-071-26/+4
* eth, les: defer starting LES service until ETH initial sync is finishedZsolt Felfoldi2016-12-101-1/+3
* core, core/state, trie: EIP158, reprice & skip empty account writeJeffrey Wilcke2016-11-131-2/+3
* cmd, eth: added light client and light server modeszsfelfoldi2016-11-091-2/+8
* eth: move "timed out DAO fork check, dropping" to debug levelFelix Lange2016-10-081-1/+1
* eth: monitor malicious header retrieval requestsPéter Szilágyi2016-10-051-5/+16
* core, eth, internal, miner: optimize txpool for quick opsPéter Szilágyi2016-09-021-1/+1
* eth: don't call ValidateFieldsFelix Lange2016-08-041-3/+0
* Merge pull request #2867 from karalabe/dao-challenge-finishPéter Szilágyi2016-08-091-0/+1
|\
| * eth, eth/downloader: don't forward the DAO challenge headerPéter Szilágyi2016-07-261-0/+1
* | eth, eth/downloader: better remote head trackingPéter Szilágyi2016-07-251-14/+16
|/
* Merge pull request #2842 from fjl/downloader-remove-eth61Felix Lange2016-07-231-120/+11
|\
| * eth, eth/downloader, eth/fetcher: delete eth/61 codeFelix Lange2016-07-221-120/+11
* | eth: cancel DAO challenge on peer drop (annoying log)Péter Szilágyi2016-07-191-0/+7
|/
* cmd, core, eth, miner, params, tests: finalize the DAO forkPéter Szilágyi2016-07-151-4/+4
* core, eth: enforce network split post DAO hard-forkPéter Szilágyi2016-07-151-3/+55
* core: improved chainDb using sequential keyszsfelfoldi2016-06-071-14/+18
* eth: don't accept transactions until we sync up with the networkPéter Szilágyi2016-06-061-4/+10
* eth: enable bad block reportsFelix Lange2016-05-251-2/+19
* eth: skip transaction handling during fast syncPéter Szilágyi2016-05-171-8/+15
* core, eth, miner: improve shutdown synchronisationFelix Lange2016-05-091-22/+38
* all: fix go vet warningsFelix Lange2016-04-151-1/+0
* core: added basic chain configurationJeffrey Wilcke2016-04-011-2/+2
* eth: various typosLeif Jurvetson2016-03-161-1/+1
* eth: forward empty body responses to the downlaoderPéter Szilágyi2016-03-031-1/+5
* eth: changed NodeInfo Genesis and Head typesBas van Kervel2016-01-181-6/+6
* core, eth/downloader: ensure state presence in ancestor lookupPéter Szilágyi2016-01-041-3/+4
* eth: fix #2076, where end of hash query was interpreted number queryPéter Szilágyi2015-12-161-1/+3
* eth, p2p, rpc/api: polish protocol info gatheringPéter Szilágyi2015-10-281-5/+37
* core, eth, trie: fix data races and merge/review issuesPéter Szilágyi2015-10-211-8/+9
* eth: clean out light node notions from ethPéter Szilágyi2015-10-191-11/+6
* core, eth: roll back uncertain headers in failed fast syncsPéter Szilágyi2015-10-191-1/+1
* core, eth, trie: direct state trie synchronizationPéter Szilágyi2015-10-191-7/+18
* core, eth: receipt chain reconstructionPéter Szilágyi2015-10-191-24/+36
* eth/downloader: add fast and light sync strategiesPéter Szilágyi2015-10-191-12/+31
* core: support inserting pure header chainsPéter Szilágyi2015-10-191-16/+2
* cmd, eth: support switching client modes of operationPéter Szilágyi2015-10-191-18/+22
* core, eth, event, miner, xeth: fix event post / subscription racePéter Szilágyi2015-10-121-2/+2
* cmd/geth, cmd/utils, core, rpc: renamed to blockchainJeffrey Wilcke2015-10-041-33/+33
* Merge pull request #1810 from karalabe/pure-header-verifications-2Jeffrey Wilcke2015-09-171-1/+1
|\
| * core, eth, miner: use pure header validationPéter Szilágyi2015-09-161-1/+1
* | 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-9/+10
* core, eth: split the db blocks into headers and bodiesPéter Szilágyi2015-09-111-21/+22
* Merge pull request #1701 from karalabe/eth62-sync-rebaseFelix Lange2015-08-271-75/+261
|\
| * eth: port the synchronisation algo to eth/62Péter Szilágyi2015-08-251-6/+56
| * eth, eth/downloader: handle header requests, table driven proto testsPéter Szilágyi2015-08-241-57/+206
| * eth, metrics, p2p: prepare metrics and net packets to eth/62Péter Szilágyi2015-08-211-14/+1
* | Add tests for uncle timestamps and refactor timestamp typeGustav Simonsson2015-08-251-1/+1
|/
* eth: fix an issue with pulling and inserting blocks twicePéter Szilágyi2015-08-191-2/+4
* 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-0/+1
|/
* all: update license headers to distiguish GPL/LGPLFelix Lange2015-07-231-4/+4
* eth: calculate the correct TD, only update if betterPéter Szilágyi2015-07-091-3/+15
* all: update license informationFelix Lange2015-07-071-0/+16
* eth, eth/downloader: fix #1231, DOS vulnerability in hash queueingPéter Szilágyi2015-07-011-1/+1
* eth, eth/downloader: transition to eth 61Péter Szilágyi2015-07-011-33/+56
* eth, eth/downloader: pass the eth protocol version throughPéter Szilágyi2015-07-011-1/+1
* eth: add the blocks from numbers protocol messagePéter Szilágyi2015-07-011-2/+2
* eth: clean up peer struct a bit, fix double txn bcastPéter Szilágyi2015-07-011-13/+16
* eth: start cleaning up old protocol implementation, add metricsPéter Szilágyi2015-07-011-17/+37
* cmd/geth, cmd/utils, eth: advertise both eth/60 and eth/61Péter Szilágyi2015-07-011-12/+18
* core, eth, rpc: avoid unnecessary block header copyingFelix Lange2015-06-301-1/+1
* eth: fix the propagation/announce order for mined blocksPéter Szilágyi2015-06-191-4/+4
* eth: fix test breakage from the previous commitPéter Szilágyi2015-06-181-1/+0
* eth, eth/fetcher: propagate after header verify, announce only on insertPéter Szilágyi2015-06-181-20/+41
* eth: clean the block request packet handling a bitPéter Szilágyi2015-06-181-17/+17
* eth, eth/fetcher: move propagated block import into fetcherPéter Szilágyi2015-06-181-77/+33
* eth/fetcher: build longest chain until proven otherwisePéter Szilágyi2015-06-181-1/+1
* eth, eth/fetcher: define and enforce propagation boundariesPéter Szilágyi2015-06-181-1/+0
* eth, eth/fetcher: cache future propagated blocks tooPéter Szilágyi2015-06-181-0/+2
* eth, eth/fetcher: use an import queue to store out of order blocksPéter Szilágyi2015-06-181-2/+9
* eth, eth/fetcher: separate notification sync mechanismPéter Szilágyi2015-06-181-45/+26
* eth, eth/downloader: move block processing into the downlaoderPéter Szilágyi2015-06-151-1/+1
* eth, eth/downloader: move peer removal into downloaderPéter Szilágyi2015-06-151-2/+2
* eth: limit number of sent transactions based on message sizeFelix Lange2015-06-091-9/+15
* eth: limit number of sent blocks based on message sizeFelix Lange2015-06-091-2/+11
* eth: fix data race accessing peer.tdPéter Szilágyi2015-06-091-2/+2
* eth: fix data race accessing peer.recentHashPéter Szilágyi2015-06-091-3/+3
* Merge pull request #1188 from karalabe/newblockhashes-proposalJeffrey Wilcke2015-06-091-74/+128
|\
| * eth: clean up pending announce download map, polish logsPéter Szilágyi2015-06-091-1/+1
| * eth: split and handle explicitly vs. download requested blocksPéter Szilágyi2015-06-091-23/+25
| * eth: fetch announced hashes from origin, periodicallyPéter Szilágyi2015-06-091-29/+25
| * eth: implement the NewBlockHashes protocol proposalPéter Szilágyi2015-06-081-62/+118
* | eth/downloader: cap the hash ban set, add test for itPéter Szilágyi2015-06-081-2/+2
|/
* eth: 100% block propogationobscuren2015-05-281-2/+1
* eth: hard disconnect if a peer is flakyPéter Szilágyi2015-05-271-4/+12
* eth, eth/downloader: surface downloaded block origin, drop on errorPéter Szilágyi2015-05-261-6/+6
* Merge pull request #1064 from karalabe/downloader-attacksJeffrey Wilcke2015-05-221-3/+3
|\
| * eth, eth/downloader: remove duplicate consts, bump hash fetch to 2KPéter Szilágyi2015-05-211-3/+3
* | eth: fix odd method names in peer setPéter Szilágyi2015-05-201-2/+2
|/
* eth: make the peer set thread safePéter Szilágyi2015-05-191-41/+24
* eth/downloader: fix active peer shadowing, polish func namesPéter Szilágyi2015-05-131-2/+2
* eth: 100% tx propagationobscuren2015-05-131-1/+1
* eth, eth/downloader: handle sync errors a bit more gracefullyPéter Szilágyi2015-05-081-4/+4
* eth, eth/downloader: make synchronize thread safePéter Szilágyi2015-05-081-2/+2
* eth, eth/downloader: Moved block processing & graceful shutdownobscuren2015-05-011-116/+23
* eth/downloader: delete blocks from queueobscuren2015-04-301-1/+1
* core, eth: verify td of received blocksobscuren2015-04-301-1/+21
* eth, eth/downloader: remove bad peers from peer setobscuren2015-04-301-7/+21
* eth: rely on p2p to determine block propagationobscuren2015-04-301-1/+1
* core/types, eth: meassure and display propagation timesobscuren2015-04-301-1/+3
* core: return the index of the block that failed when inserting a chainobscuren2015-04-291-1/+1
* eth: check if downloader is busy before showing log messageobscuren2015-04-291-0/+5
* eth: added a few informative messages regarding downloadingobscuren2015-04-241-0/+6
* eth, eth/downloader: simplified synchronisation processobscuren2015-04-241-7/+11
* eth, eth/downloader: don't require td on downloader. Fixed testsobscuren2015-04-241-2/+2
* eth, eth/downloader: moved peer selection to protocol handlerobscuren2015-04-241-4/+61
* eth: cleanupobscuren2015-04-241-5/+1
* eth: moved mined, tx events to protocol-hnd and improved tx propagationobscuren2015-04-231-2/+64
* core: added chain head reset to known blockobscuren2015-04-201-1/+2
* Merge branch 'rlp-size-validation' of https://github.com/fjl/go-ethereum into...obscuren2015-04-191-6/+6
* eth: drop blocks with low TDobscuren2015-04-191-3/+3
* eth: temp 100% block propagation because of the current state of the netobscuren2015-04-191-2/+2
* eth: removed debug messages to stdoutobscuren2015-04-191-2/+2
* downloader: don't remove peers. keep them aroundobscuren2015-04-191-0/+11
* eth: adapted to new synchronous api of downloader's AddBlockobscuren2015-04-191-2/+12
* downloader: make sure that hashes are only accepted from the active peerobscuren2015-04-181-2/+9
* downloader: reset the queue if a peer response with an empty hash setobscuren2015-04-181-1/+1
* eth: ignore NewBlockMsg with lower tdobscuren2015-04-181-2/+3
* eth: drop blocks that are knownobscuren2015-04-181-0/+6
* eth: additional cleanups to the subprotocol, improved block propagationobscuren2015-04-181-37/+112
* eth: began split up of peers and protocol managerobscuren2015-04-181-0/+224