Persistent DHT

This commit is contained in:
Igor Katson 2021-07-18 10:53:33 +01:00
parent 52f17a1717
commit 1300faa0b4
8 changed files with 301 additions and 79 deletions

View file

@ -1,10 +1,12 @@
mod bprotocol;
mod dht;
mod persistence;
mod routing_table;
mod utils;
pub use dht::Dht;
pub use dht::DhtStats;
pub use dht::{Dht, DhtConfig};
pub use librqbit_core::id20::Id20;
pub use persistence::{PersistentDht, PersistentDhtConfig};
pub static DHT_BOOTSTRAP: &[&str] = &["dht.transmissionbt.com:6881", "dht.libtorrent.org:25401"];