Commit Graph

8 Commits

Author SHA1 Message Date
Conrado Gouvea c0b68332d5
skip peers using flux ports before adding to queue (#20) 2022-06-14 11:59:04 -03:00
Conrado Gouvea c583660bbc
Add support for receiving addrv2 (#14)
* Add support for receiving addrv2

* Apply suggestions from code review

Co-authored-by: teor <teor@riseup.net>

* Document addrv2 handling

* Improve documentation; point to the main-zfnd branch of btcd

Co-authored-by: teor <teor@riseup.net>
2021-11-22 10:44:01 -03:00
George Tankersley 16d803bb86 zcash: fix retry logic
Previously, when a request timed out, that peer would not be removed
from the pending handshake signal map. Since the peer was still in the
map, any attempt to reconnect would fail since it would look like we
were already waiting on a response.
2020-06-09 11:39:09 -04:00
George Tankersley 814f8cb850 dnsseed,zcash: implement slow-motion recursive crawling
This will do one hop of additional graph crawl every time the update
interval fires. It will blacklist peers who are not consistently
available and over time should converge to the set of stable peers
suitable for DNS bootstrapping.
2020-05-22 12:46:02 -04:00
George Tankersley f1e7d75e28 zcash: move goroutine spawn to caller rather than callback 2020-05-20 19:15:20 -04:00
George Tankersley e22a55c194 zcash: test learning about a valid new address 2020-05-20 18:40:43 -04:00
George Tankersley 8755624103 zcash: refactor address book and ensure type consistency for interface{} maps 2020-05-20 18:08:34 -04:00
George Tankersley 54a67e5e72 zcash: working but unpleasant refactoring of address handling 2019-12-30 20:54:38 -05:00