Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | all: gofmt -w -s | Felix Lange | 2017-01-06 | 1 | -2/+2 |
| | |||||
* | p2p/discover: support incomplete node URLs, add Resolve | Felix Lange | 2015-12-18 | 1 | -8/+8 |
| | |||||
* | p2p/discover: fix race involving the seed node iterator | Felix Lange | 2015-09-30 | 1 | -66/+37 |
| | | | | | | | | | | | | | | | | | | | nodeDB.querySeeds was not safe for concurrent use but could be called concurrenty on multiple goroutines in the following case: - the table was empty - a timed refresh started - a lookup was started and initiated refresh These conditions are unlikely to coincide during normal use, but are much more likely to occur all at once when the user's machine just woke from sleep. The root cause of the issue is that querySeeds reused the same leveldb iterator until it was exhausted. This commit moves the refresh scheduling logic into its own goroutine (so only one refresh is ever active) and changes querySeeds to not use a persistent iterator. The seed node selection is now more random and ignores nodes that have not been contacted in the last 5 days. | ||||
* | 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". | ||||
* | all: update license information | Felix Lange | 2015-07-07 | 1 | -0/+16 |
| | |||||
* | p2p/discover: add support for counting findnode failures | Péter Szilágyi | 2015-05-27 | 1 | -0/+11 |
| | |||||
* | p2p/discover: fix #838, evacuate self entries from the node db | Péter Szilágyi | 2015-05-22 | 1 | -8/+65 |
| | |||||
* | p2p/discover: fix database presistency test folder | Péter Szilágyi | 2015-05-22 | 1 | -3/+3 |
| | |||||
* | p2p/discover: track sha3(ID) in Node | Felix Lange | 2015-04-30 | 1 | -31/+41 |
| | |||||
* | p2p/discover: new endpoint format | Felix Lange | 2015-04-30 | 1 | -4/+6 |
| | | | | | | This commit changes the discovery protocol to use the new "v4" endpoint format, which allows for separate UDP and TCP ports and makes it possible to discover the UDP address after NAT. | ||||
* | p2p/discover: add node expirer and related tests | Péter Szilágyi | 2015-04-27 | 1 | -0/+47 |
| | |||||
* | p2p/discover: parametrize nodedb version, add persistency tests | Péter Szilágyi | 2015-04-27 | 1 | -4/+55 |
| | |||||
* | p2p/discover: use iterator based seeding, drop old protocol test | Péter Szilágyi | 2015-04-27 | 1 | -16/+95 |
| | |||||
* | p2p/discover: write the basic tests, catch RLP bug | Péter Szilágyi | 2015-04-27 | 1 | -0/+136 |