Zebra/zebrad/src/components
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
..
inbound feat(net): return peer metadata from `connect_isolated` functions (#4870) 2022-09-14 15:00:25 +00:00
mempool add(test): test disabled `lightwalletd` mempool gRPCs via zebrad logs (#5016) 2022-09-06 13:32:33 +00:00
sync build(deps): bump insta from 1.15.0 to 1.17.1 (#4884) 2022-08-04 15:44:44 +00:00
tracing Fix a new nightly clippy "unwrap_or_else uses default" lint (#5131) 2022-09-12 23:59:07 +00:00
inbound.rs fix(sync): Temporarily set full verification concurrency to 30 blocks (#4726) 2022-07-06 10:13:57 -04:00
mempool.rs add(test): test disabled `lightwalletd` mempool gRPCs via zebrad logs (#5016) 2022-09-06 13:32:33 +00:00
metrics.rs breaking(diagnostics): make zebrad diagnostics into optional compile-time features (#4539) 2022-06-16 19:56:40 +00:00
sync.rs fix(sync): Temporarily set full verification concurrency to 30 blocks (#4726) 2022-07-06 10:13:57 -04:00
tokio.rs feat(verify): Concurrently verify proof and signature batches (#4776) 2022-07-18 08:43:29 +10:00
tracing.rs add(log): Log the amount of time it takes to rebuild note commitment trees after a chain fork (#4795) 2022-07-22 09:17:34 +10:00