#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

#9 in #themelio

Download history 56/week @ 2024-07-22 97/week @ 2024-07-29 53/week @ 2024-08-05 86/week @ 2024-08-12 39/week @ 2024-08-19 58/week @ 2024-08-26 13/week @ 2024-09-02 31/week @ 2024-09-09 23/week @ 2024-09-16 80/week @ 2024-09-23 18/week @ 2024-09-30 1/week @ 2024-10-07 20/week @ 2024-10-14 24/week @ 2024-10-21 51/week @ 2024-10-28 32/week @ 2024-11-04

127 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
~138K SLoC