hashiverse-lib 1.0.6

Core protocol library for Hashiverse — your open-source decentralized X/Twitter replacement.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! # Per-IP DDoS scoring and connection-slot accounting
//!
//! The `DdosProtection` trait plus its connection guard, time-decayed scoring,
//! and ban hooks. An in-memory implementation covers tests and accounting-only
//! deployments; a no-op implementation is available for test scenarios downstream
//! of the DDoS layer. The kernel-level ipset-backed production implementation
//! lives in `hashiverse-server-lib`.

pub mod ddos;
pub mod noop_ddos;
#[cfg(not(target_arch = "wasm32"))]
pub mod mem_ddos;