Expand description
Canonical Swarm network spec - network_id, kademlia tuning, defaults.
Every Swarm node implementation needs a small set of canonical knobs:
the network ID, the kademlia saturation thresholds, the bootnode-mode
over-saturation cap, the neighborhood-depth low-watermark, the clock-skew
tolerance used during handshake. Bee hard-codes these in
pkg/topology/kademlia/kademlia.go:54-56 and pkg/bzz/timestamp.go.
This trait surfaces them on the spec object so vertex / apiarist / reth-swarm derive them from one place instead of duplicating consts.
Structs§
- Static
Spec - Concrete static spec used when callers just need to plug a
network_idinto the canonical defaults.
Constants§
- MAINNET
- Canonical mainnet spec (
NetworkId::MAINNET). - TESTNET
- Canonical testnet (Sepolia) spec (
NetworkId::TESTNET).
Traits§
- Swarm
Spec - Canonical Swarm network spec.