#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

#12 in #themelio

Download history 80/week @ 2024-01-27 75/week @ 2024-02-03 65/week @ 2024-02-10 50/week @ 2024-02-17 57/week @ 2024-02-24 45/week @ 2024-03-02 66/week @ 2024-03-09 43/week @ 2024-03-16 105/week @ 2024-03-23 166/week @ 2024-03-30 56/week @ 2024-04-06 49/week @ 2024-04-13 46/week @ 2024-04-20 51/week @ 2024-04-27 53/week @ 2024-05-04 51/week @ 2024-05-11

211 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