#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

#10 in #themelio

Download history 56/week @ 2024-03-11 48/week @ 2024-03-18 122/week @ 2024-03-25 168/week @ 2024-04-01 39/week @ 2024-04-08 40/week @ 2024-04-15 57/week @ 2024-04-22 45/week @ 2024-04-29 53/week @ 2024-05-06 63/week @ 2024-05-13 64/week @ 2024-05-20 48/week @ 2024-05-27 54/week @ 2024-06-03 43/week @ 2024-06-10 49/week @ 2024-06-17 112/week @ 2024-06-24

260 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
~132K SLoC