Consensus/proof_of_capacity library
Proof of Capacity / Proof of Space - plotting & selection primitives
A compact simulation of PoC/PoS-style proofing where miners allocate disk resources (plots) and prove possession when challenged. The module includes a simple plot registry, challenge verification and selection by plot quality. This is intended for protocol simulation and testing rather than real disk-plot cryptography.
Contract:
- Input: plotting records, challenge seeds
- Output: best plot responses and selection ranking
- Errors: throws on invalid plot sizes or empty registry
Classes
- Plot
- ProofOfCapacity
- Proof of Capacity simulation helpers.