mirror of
https://github.com/Cuprate/cuprate.git
synced 2024-11-17 16:28:20 +00:00
Boog900
93372fa4b5
* use tokio's delay queue for bans * document handles * remove peers from address book when retrieving * ping inbound peers during handshakes * support receiving pings during handshakes * add peer to anchor before reducing whit list * clippy * comment handshakes * typos * sort `use` * use `rand::prelude::*` * review comments * update macro
31 lines
900 B
TOML
31 lines
900 B
TOML
[package]
|
|
name = "monero-address-book"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
license = "MIT"
|
|
authors = ["Boog900"]
|
|
|
|
|
|
[dependencies]
|
|
monero-pruning = { path = "../../pruning" }
|
|
monero-wire = { path= "../../net/monero-wire" }
|
|
monero-p2p = { path = "../monero-p2p" }
|
|
|
|
tower = { workspace = true, features = ["util", "buffer"] }
|
|
tokio = { workspace = true, features = ["time", "fs", "rt"]}
|
|
tokio-util = { workspace = true, features = ["time"] }
|
|
|
|
futures = { workspace = true, features = ["std"] }
|
|
|
|
thiserror = { workspace = true }
|
|
tracing = { workspace = true, features = ["std", "attributes"] }
|
|
indexmap = { workspace = true, features = ["std"] }
|
|
|
|
rand = { workspace = true, features = ["std", "std_rng"] }
|
|
|
|
borsh = { workspace = true, features = ["derive", "std"]}
|
|
|
|
[dev-dependencies]
|
|
cuprate-test-utils = {path = "../../test-utils"}
|
|
|
|
tokio = { workspace = true, features = ["rt-multi-thread", "macros"]}
|