summaryrefslogtreecommitdiff
path: root/crates/tor-hspow/src/err.rs
Commit message (Collapse)AuthorAgeFilesLines
* tor-hspow, equix, hashx: Make all error types CloneMicah Elizabeth Scott2023-07-271-3/+3
| | | | | | | This uses an Arc to hold std::io::Error for low-level HashX runtime errors. Signed-off-by: Micah Elizabeth Scott <[email protected]>
* Start implementing Proposal 327Micah Elizabeth Scott2023-07-271-0/+51
This adds a new tor-hspow crate with the first layers of support in place for onion service client puzzles as described in Proposal 327. The API here is experimental, and it's currently only implementing the self-contained parts of the client puzzle. So, it can verify and solve puzzles, but it has no event loop integration or nonce replay tracking or prioritization code yet. These things seem like they would eventually live in the same crate. Signed-off-by: Micah Elizabeth Scott <[email protected]>