Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | p2p/discover: s/lastPong/bondTime/, update TestUDP_findnode | Felix Lange | 2018-02-17 | 1 | -6/+11 |
| | | | | | | | I forgot to change the check in udp.go when I changed Table.bond to be based on lastPong instead of node presence in db. Rename lastPong to bondTime and add hasBond so it's clearer what this DB key is used for now. | ||||
* | p2p/discover: fix leaked goroutine in data expiration | ferhat elmas | 2017-12-18 | 1 | -3/+3 |
| | |||||
* | p2p, p2p/discover, p2p/nat: rework logging using context keys | Felix Lange | 2017-02-28 | 1 | -5/+3 |
| | |||||
* | all: blidly swap out glog to our log15, logs need rework | Péter Szilágyi | 2017-02-23 | 1 | -8/+6 |
| | |||||
* | all: fix issues reported by honnef.co/go/simple/cmd/gosimple | Felix Lange | 2017-01-07 | 1 | -1/+1 |
| | |||||
* | ethdb, p2p/discover: replace "alloted" with "allotted" (#2785) | villesundell | 2016-07-12 | 1 | -1/+1 |
| | |||||
* | all: Rename crypto.Sha3{,Hash}() to crypto.Keccak256{,Hash}() | Ricardo Catalinas Jiménez | 2016-02-22 | 1 | -1/+1 |
| | | | | As we aren't really using the standarized SHA-3 | ||||
* | p2p/discover: fix race involving the seed node iterator | Felix Lange | 2015-09-30 | 1 | -40/+56 |
| | | | | | | | | | | | | | | | | | | | 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 | -3/+14 |
| | |||||
* | p2p/discover: fix #838, evacuate self entries from the node db | Péter Szilágyi | 2015-05-22 | 1 | -15/+32 |
| | |||||
* | p2p/discover: limit open files for node database | Felix Lange | 2015-05-14 | 1 | -2/+3 |
| | |||||
* | p2p/discover: track sha3(ID) in Node | Felix Lange | 2015-04-30 | 1 | -0/+2 |
| | |||||
* | p2p/discover: fix api issues caused by leveldb update | Péter Szilágyi | 2015-04-28 | 1 | -4/+6 |
| | |||||
* | p2p/discover: fix goroutine leak due to blocking on sync.Once | Péter Szilágyi | 2015-04-28 | 1 | -12/+23 |
| | |||||
* | p2p/discover: add node expirer and related tests | Péter Szilágyi | 2015-04-27 | 1 | -4/+67 |
| | |||||
* | p2p/discover: parametrize nodedb version, add persistency tests | Péter Szilágyi | 2015-04-27 | 1 | -5/+5 |
| | |||||
* | p2p/discover: drop a superfluous warning | Péter Szilágyi | 2015-04-27 | 1 | -1/+1 |
| | |||||
* | p2p/discover: use iterator based seeding, drop old protocol test | Péter Szilágyi | 2015-04-27 | 1 | -29/+23 |
| | |||||
* | p2p/discover: write the basic tests, catch RLP bug | Péter Szilágyi | 2015-04-27 | 1 | -7/+13 |
| | |||||
* | p2p/discovery: fix issues raised in the nodeDb PR | Péter Szilágyi | 2015-04-27 | 1 | -33/+30 |
| | |||||
* | cmd/bootnode, eth, p2p, p2p/discover: use a fancier db design | Péter Szilágyi | 2015-04-24 | 1 | -0/+233 |