Expand description
Implementation of PowManager, for tracking proof-of-work seeds and data
for adjusting difficulty.
Re-exportsยง
use std::pin::Pin;๐use std::sync::Arc;๐pub(crate) use self::v1::PowManager;๐use futures::Stream;๐use futures::channel::mpsc;๐use tor_async_utils::mpsc_channel_no_memquota;๐use tor_hscrypto::time::TimePeriod;๐use crate::RendRequest;๐
Modulesยง
- v1 ๐
- Code implementing version 1 proof-of-work for onion service hosts.
Structsยง
- NewPow
Manager ๐ - Struct to hold various things you get when you make a new
PowManager.
Constantsยง
- REND_
QUEUE_ ๐DEPTH - Depth of the
RendRequestqueue.
Functionsยง
- make_
rend_ ๐queue - Make a MPSC channel for the rendevouz request queue.