Find a file
Eduard S. a79f82eb9d
fix disk cache datarace (#486)
There was a data race when multiple threads/processes found that the cache directory for a given params didn't exist as they both tried to:
- Create a tmp params file
- Rename the tmp params file

Both threads would create the tmp params file (one would overwrite the other).  Then one would rename the tmp file successfully, and the other would try to rename it again but would find it missing.

The fix involves using a file lock on the tmp file so that only one thread goes through the writing and renaming while others wait.  It's the same approach done for cached files.
2026-02-23 14:13:34 +01:00
.github/workflows Add versioning features (#387) 2025-08-08 09:33:44 -07:00
book merkletree: reduce gate amount (-23%) by custom poseidon to use flag as initial state (#472) 2026-02-04 12:31:56 +01:00
examples fix: points wildcard name same as predicate (#484) 2026-02-23 11:22:29 +01:00
src fix disk cache datarace (#486) 2026-02-23 14:13:34 +01:00
.gitignore Aard custom (#49) 2025-02-24 09:05:30 -08:00
build.rs Feat/disk cache (#354) 2025-07-24 12:15:31 +02:00
Cargo.toml MultiPodBuilder fixes (#480) 2026-02-13 02:32:40 -08:00
README.md Featurize middleware types that are actually defined by the backend (#94) 2025-02-27 14:15:31 +01:00
rust-analyzer.toml chore(qol): add rust-analyzer.toml (#187) 2025-04-08 08:33:49 +10:00
rust-toolchain.toml Feat/disk cache (#354) 2025-07-24 12:15:31 +02:00
rustfmt.toml Organize imports (#188) 2025-04-07 16:19:13 -07:00

POD2

Usage

  • Run tests: cargo test --release
  • Rustfmt: cargo fmt
  • Check typos: typos -c .github/workflows/typos.toml

Book

The book contains the specification of POD2. A rendered version of the site can be found at: https://0xparc.github.io/pod2/

To run it locally:

  • Requirements
  • Go to the book directory: cd book
  • Run the mdbook: mdbook serve