Peers now reconnect!

This commit is contained in:
Igor Katson 2023-11-17 23:30:07 +00:00
parent 55e692d476
commit 6ebf2120a4
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5
5 changed files with 105 additions and 20 deletions

21
Cargo.lock generated
View file

@ -146,6 +146,17 @@ dependencies = [
"tower-service",
]
[[package]]
name = "backoff"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b62ddb9cb1ec0a098ad4bbf9344d0713fa193ae1a80af55febcff2627b6a00c1"
dependencies = [
"getrandom",
"instant",
"rand",
]
[[package]]
name = "backtrace"
version = "0.3.69"
@ -755,6 +766,15 @@ dependencies = [
"hashbrown",
]
[[package]]
name = "instant"
version = "0.1.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c"
dependencies = [
"cfg-if",
]
[[package]]
name = "ipnet"
version = "2.9.0"
@ -825,6 +845,7 @@ version = "2.2.2"
dependencies = [
"anyhow",
"axum",
"backoff",
"bincode",
"bitvec",
"byteorder",