Zebra/zebra-network/src
Alfredo Garcia 4b34482264
Add hints to port conflict and lock file panics (#1535)
* add hint for port error
* add issue filter for port panic
* add lock file hint
* add metrics endpoint port conflict hint
* add hint for tracing endpoint port conflict
* add acceptance test for resource conflics
* Split out common conflict test code into a function
* Add state, metrics, and tracing conflict tests

* Add a full set of stderr acceptance test functions

This change makes the stdout and stderr acceptance test interfaces
identical.

* move Zcash listener opening
* add todo about hint for disk full
* add constant for lock file
* match path in state cache
* don't match windows cache path

* Use Display for state path logs

Avoids weird escaping on Windows when using Debug

* Add Windows conflict error messages

* Turn PORT_IN_USE_ERROR into a regex

And add another alternative Windows-specific port error

Co-authored-by: teor <teor@riseup.net>
Co-authored-by: Jane Lusby <jane@zfnd.org>
2021-01-29 22:36:33 +10:00
..
peer Explain why we stay connected on Inbound errors 2021-01-27 12:08:49 -08:00
peer_set Add hints to port conflict and lock file panics (#1535) 2021-01-29 22:36:33 +10:00
protocol Rewrite GetData handling to match the zcashd implementation (#1518) 2021-01-04 13:25:35 +10:00
address_book.rs Fix some "needless lifetime" clippy lints 2020-10-12 08:54:23 +10:00
config.rs Update the peerset buffer size and sync timeout 2020-09-08 12:44:33 -07:00
constants.rs Add hints to port conflict and lock file panics (#1535) 2021-01-29 22:36:33 +10:00
isolated.rs deps: move to tokio 0.3, tower 0.4 2020-11-20 10:08:16 -08:00
lib.rs Add hints to port conflict and lock file panics (#1535) 2021-01-29 22:36:33 +10:00
meta_addr.rs Call `zebra_test::init` where needed. (#1227) 2020-11-10 10:29:25 +10:00
peer.rs Ensure received client request oneshots are used via the type system 2021-01-06 13:07:23 -08:00
peer_set.rs Implement Inventory Tracking RFC (#963) 2020-09-01 14:28:54 -07:00
policies.rs Fix sync algorithm. (#887) 2020-08-12 16:48:01 -07:00
protocol.rs Refactor protocol into internal, external modules. 2019-11-27 05:06:01 -05:00
timestamp_collector.rs Upgrade tokio, futures, hyper to released versions. 2019-12-13 17:42:15 -05:00