Zebra/zebra-network/src/protocol/external
teor 1835ec2c8d
Add diagnostics for peer set hangs (#3203)
* Use a named CancelHeartbeatTask unit struct for the channel type

* Prefer cancel handles in selects, if both are ready

* Fix message metrics to just show the command name

* Add metrics for internal requests and responses

* Add internal requests and responses to the messages dashboard

* Add a canceled metric, and peer addresses to request and response metrics

* Add a canceled messages graph

* Add connection state metrics for currently open connections

* Fix the connection state graph with new metrics

* Always send an error before dropping pending responses

* Move error detail logging into `fail_with`

* Delete an unused timer future

* Make error strings in metrics less verbose

* Downgrade some error logs to info

* Remove a redundant expect

* Avoid unnecessary allocations for connection state metrics

* Fix missed updates to mempool and block gossip metrics
2021-12-14 21:11:03 +00:00
..
addr Parse received addrv2 messages (#3022) 2021-11-12 00:25:23 +00:00
tests Parse received addrv2 messages (#3022) 2021-11-12 00:25:23 +00:00
addr.rs Parse received addrv2 messages (#3022) 2021-11-12 00:25:23 +00:00
arbitrary.rs Disconnect from outdated peers on network upgrade (#3108) 2021-12-09 02:54:29 +00:00
codec.rs Add `zebra_test::init_async` helper function (#3169) 2021-12-09 00:18:17 +00:00
inv.rs Support witnessed transaction IDs in zebra-network requests and responses (#2638) 2021-08-18 22:55:24 +00:00
message.rs Add diagnostics for peer set hangs (#3203) 2021-12-14 21:11:03 +00:00
tests.rs Parse `MSG_WTX` inventory type (part of ZIP-239) (#2446) 2021-07-07 11:06:11 +10:00
types.rs Disconnect from outdated peers on network upgrade (#3108) 2021-12-09 02:54:29 +00:00