rust-lightning/lightning-block-sync
Matt Corallo 9a50e301cb Avoid connection-per-RPC-call again by caching connections
In general, only one request will be in flight at a time in
`lightning-block-sync`. Ideally we'd only have one connection, but
without using the `futures` mutex type.

Here we solve this narrowly for the one-request-at-a-time case by
caching the connection and takeing the connection out of the cache
while we work on it.
2023-03-30 22:28:26 +00:00
..
src Avoid connection-per-RPC-call again by caching connections 2023-03-30 22:28:26 +00:00
Cargo.toml Drop futures dependency from lightning-block-sync 2023-03-30 18:56:27 +00:00