#proof #sequential #themelio #melmint #state-transition #structures #data

melpow

Core state-transition function and data structures for Themelio

1 unstable release

0.1.1 May 5, 2022
0.1.0 May 5, 2022

#13 in #themelio

Download history 29/week @ 2023-12-18 21/week @ 2023-12-25 2/week @ 2024-01-01 32/week @ 2024-01-08 29/week @ 2024-01-15 11/week @ 2024-01-22 82/week @ 2024-01-29 91/week @ 2024-02-05 67/week @ 2024-02-12 30/week @ 2024-02-19 77/week @ 2024-02-26 45/week @ 2024-03-04 56/week @ 2024-03-11 48/week @ 2024-03-18 122/week @ 2024-03-25 168/week @ 2024-04-01

405 downloads per month
Used in 12 crates (5 directly)

MPL-2.0 license

17KB
358 lines

melpow is the crate that implements MelPoW, Themelio's version of non-interactive proofs of sequential work, which are just "Interactive Proofs of Sequential Work" by Cohen and Pietrzak subjected to a Fiat-Shamir transformation. MelPoW is used as the core mechanism behind Melmint, the algorithmic monetary policy system that stabilizes the mel.

Proof is the main interface to MelPoW. It represents a proof that a certain amount of sequential work, represented by a difficulty, has been done starting from a puzzle. The difficulty is exponential: a difficulty of N represents that O(2^N) work has been done.

Dependencies

~6MB
~133K SLoC