Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cmd, eth, les, mobile: make networkid uint64 everywhere | Péter Szilágyi | 2017-04-25 | 1 | -4/+4 |
| | |||||
* | all: update light logs (and a few others) to the new model | Péter Szilágyi | 2017-03-03 | 1 | -1/+1 |
| | |||||
* | Logger updates 3 (#3730) | Péter Szilágyi | 2017-03-02 | 1 | -7/+6 |
| | | | | | | | | * accounts, cmd, eth, ethdb: port logs over to new system * ethdb: drop concept of cache distribution between dbs * eth: fix some log nitpicks to make them nicer | ||||
* | eth, les: shorten genesis block mismatch error message | Felix Lange | 2017-02-28 | 1 | -1/+1 |
| | |||||
* | all: blidly swap out glog to our log15, logs need rework | Péter Szilágyi | 2017-02-23 | 1 | -8/+7 |
| | |||||
* | eth, eth/downloader: better remote head tracking | Péter Szilágyi | 2016-07-25 | 1 | -23/+11 |
| | |||||
* | eth, eth/downloader, eth/fetcher: delete eth/61 code | Felix Lange | 2016-07-22 | 1 | -40/+0 |
| | | | | | The eth/61 protocol was disabled in #2776, this commit removes its message handlers and hash-chain sync logic. | ||||
* | core, eth: enforce network split post DAO hard-fork | Péter Szilágyi | 2016-07-15 | 1 | -4/+6 |
| | |||||
* | core, eth, miner: improve shutdown synchronisation | Felix Lange | 2016-05-09 | 1 | -2/+19 |
| | | | | | | | | | | | | | | | | | | | | Shutting down geth prints hundreds of annoying error messages in some cases. The errors appear because the Stop method of eth.ProtocolManager, miner.Miner and core.TxPool is asynchronous. Left over peer sessions generate events which are processed after Stop even though the database has already been closed. The fix is to make Stop synchronous using sync.WaitGroup. For eth.ProtocolManager, in order to make use of WaitGroup safe, we need a way to stop new peer sessions from being added while waiting on the WaitGroup. The eth protocol Run function now selects on a signaling channel and adds to the WaitGroup only if ProtocolManager is not shutting down. For miner.worker and core.TxPool the number of goroutines is static, WaitGroup can be used in the usual way without additional synchronisation. | ||||
* | eth, p2p, rpc/api: polish protocol info gathering | Péter Szilágyi | 2015-10-28 | 1 | -16/+31 |
| | |||||
* | eth: time out status message exchange after 5s | Felix Lange | 2015-10-23 | 1 | -9/+27 |
| | |||||
* | core, eth, trie: direct state trie synchronization | Péter Szilágyi | 2015-10-19 | 1 | -1/+1 |
| | |||||
* | eth/downloader: add fast and light sync strategies | Péter Szilágyi | 2015-10-19 | 1 | -3/+3 |
| | |||||
* | core: split out TD from database and all internals | Péter Szilágyi | 2015-09-11 | 1 | -2/+3 |
| | |||||
* | core, eth: split the db blocks into headers and bodies | Péter Szilágyi | 2015-09-11 | 1 | -0/+6 |
| | |||||
* | eth: port the synchronisation algo to eth/62 | Péter Szilágyi | 2015-08-25 | 1 | -12/+47 |
| | |||||
* | eth, eth/downloader: handle header requests, table driven proto tests | Péter Szilágyi | 2015-08-24 | 1 | -0/+17 |
| | |||||
* | eth, metrics, p2p: prepare metrics and net packets to eth/62 | Péter Szilágyi | 2015-08-21 | 1 | -20/+30 |
| | |||||
* | all: fix license headers one more time | Felix Lange | 2015-07-24 | 1 | -1/+1 |
| | | | | I forgot to update one instance of "go-ethereum" in commit 3f047be5a. | ||||
* | all: update license headers to distiguish GPL/LGPL | Felix Lange | 2015-07-23 | 1 | -4/+4 |
| | | | | | All code outside of cmd/ is licensed as LGPL. The headers now reflect this by calling the whole work "the go-ethereum library". | ||||
* | eth: calculate the correct TD, only update if better | Péter Szilágyi | 2015-07-09 | 1 | -2/+2 |
| | |||||
* | all: update license information | Felix Lange | 2015-07-07 | 1 | -0/+16 |
| | |||||
* | eth: fix #1371, double lock during block/txn known set limitation | Péter Szilágyi | 2015-07-01 | 1 | -10/+4 |
| | |||||
* | eth, eth/downloader: transition to eth 61 | Péter Szilágyi | 2015-07-01 | 1 | -3/+3 |
| | |||||
* | eth: add the blocks from numbers protocol message | Péter Szilágyi | 2015-07-01 | 1 | -17/+11 |
| | |||||
* | eth: fix #1319, put an upper limit on the known txns and blocks | Péter Szilágyi | 2015-07-01 | 1 | -0/+19 |
| | |||||
* | eth: clean up peer struct a bit, fix double txn bcast | Péter Szilágyi | 2015-07-01 | 1 | -46/+49 |
| | |||||
* | eth: start cleaning up old protocol implementation, add metrics | Péter Szilágyi | 2015-07-01 | 1 | -22/+42 |
| | |||||
* | eth: fix data race accessing peer.td | Péter Szilágyi | 2015-06-09 | 1 | -11/+30 |
| | |||||
* | eth: fix data race accessing peer.recentHash | Péter Szilágyi | 2015-06-09 | 1 | -6/+25 |
| | |||||
* | Merge pull request #1188 from karalabe/newblockhashes-proposal | Jeffrey Wilcke | 2015-06-09 | 1 | -0/+7 |
|\ | | | | | eth: implement the NewBlockHashes protocol proposal | ||||
| * | eth: mark blocks as known when broadcasting hashes too | Péter Szilágyi | 2015-06-08 | 1 | -0/+3 |
| | | |||||
| * | eth: implement the NewBlockHashes protocol proposal | Péter Szilágyi | 2015-06-08 | 1 | -0/+4 |
| | | |||||
* | | eth/downloader: cap the hash ban set, add test for it | Péter Szilágyi | 2015-06-08 | 1 | -1/+1 |
|/ | |||||
* | Merge pull request #1064 from karalabe/downloader-attacks | Jeffrey Wilcke | 2015-05-22 | 1 | -2/+3 |
|\ | | | | | Fix two additional download vulnerabilities | ||||
| * | eth, eth/downloader: remove duplicate consts, bump hash fetch to 2K | Péter Szilágyi | 2015-05-21 | 1 | -2/+3 |
| | | |||||
* | | eth: fix odd method names in peer set | Péter Szilágyi | 2015-05-20 | 1 | -5/+5 |
|/ | |||||
* | eth: remote a superfluous peerSet method | Péter Szilágyi | 2015-05-19 | 1 | -12/+0 |
| | |||||
* | eth: make the peer set thread safe | Péter Szilágyi | 2015-05-19 | 1 | -10/+119 |
| | |||||
* | eth, eth/downloader: moved peer selection to protocol handler | obscuren | 2015-04-24 | 1 | -6/+16 |
| | |||||
* | eth: moved mined, tx events to protocol-hnd and improved tx propagation | obscuren | 2015-04-23 | 1 | -0/+6 |
| | | | | | | | | | Transactions are now propagated to peers from which we have not yet received the transaction. This will significantly reduce the chatter on the network. Moved new mined block handler to the protocol handler and moved transaction handling to protocol handler. | ||||
* | eth: drop blocks with low TD | obscuren | 2015-04-19 | 1 | -2/+4 |
| | |||||
* | eth: additional cleanups to the subprotocol, improved block propagation | obscuren | 2015-04-18 | 1 | -0/+6 |
| | | | | | | | | * Improved block propagation by sending blocks only to peers to which, as far as we know, the peer does not know about. * Made sub protocol its own manager * SubProtocol now contains the p2p.Protocol which is used instead of a function-returning-protocol thing. | ||||
* | eth: began split up of peers and protocol manager | obscuren | 2015-04-18 | 1 | -0/+137 |