Zebra/zebrad/src
teor 806dd0f24c
feat(net): return peer metadata from `connect_isolated` functions (#4870)
* Move version into a ConnectionInfo struct

* Add negotiated version to ConnectionInfo

Part of this change was generated using:
```
fastmod --fixed-strings ".version(" ".remote_version(" zebra-network
```

* Add the peer address to ConnectionInfo, add ConnectionInfo to Connection

* Return a Client instance from connect_isolated_* functions

This allows library users to access client ConnectionInfo.

* Add and improve debug formatting

* Add peer services and user agent to ConnectionInfo

* Export the Client type, and fix up a zebrad test

* Export types used by the public API

* Split VersionMessage into its own struct

* Use VersionMessage in ConnectionInfo

* Add a public API test for ConnectionInfo

* Wrap ConnectionInfo in an Arc

* Fix some doc links
2022-09-14 15:00:25 +00:00
..
application adds start as default subcommand for zebrad (#4957) 2022-08-30 09:01:33 +00:00
bin/zebrad Consolidate standard lints into a cargo config file (#3386) 2022-01-24 16:25:06 +00:00
commands adds start as default subcommand for zebrad (#4957) 2022-08-30 09:01:33 +00:00
components feat(net): return peer metadata from `connect_isolated` functions (#4870) 2022-09-14 15:00:25 +00:00
application.rs fix(test) switch zebrad to a non-blocking tracing logger (#5032) 2022-09-07 07:39:30 +00:00
commands.rs adds start as default subcommand for zebrad (#4957) 2022-08-30 09:01:33 +00:00
components.rs Re-order Zebra startup, so slow services are launched last (#3091) 2021-11-23 17:42:44 +00:00
config.rs fix(test) switch zebrad to a non-blocking tracing logger (#5032) 2022-09-07 07:39:30 +00:00
lib.rs Fix up links in some tracing docs (#4748) 2022-07-22 16:32:56 +00:00
prelude.rs Fix a deadlock in TokioComponent. 2020-01-15 12:06:31 -08:00
sentry.rs Standardise clippy lints and require docs (#2238) 2021-06-04 08:48:40 +10:00