Weave Dht
Stores
The node builder exposes in_memory, store_path, disk capacity, record TTL, and provider TTL options.
Workflow and current contract
The node builder exposes in_memory, store_path, disk capacity, record TTL, and provider TTL options. RocksDB-backed storage APIs depend on the rocksdb-store feature. A path string alone cannot add a backend missing from the selected build.
DhtHandle::store_stats returns (Option<u64>, Option<u64>, u64, u64). Optional values reflect what the active backend can report; do not render an unavailable byte/count metric as zero. Handle capacity, expiry, and put/get errors explicitly.
Source reference
cratedeclarations —network/weave-dht/src/lib.rs.storedeclarations —network/weave-dht/src/store.rs.