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

melpow

Core state-transition function and data structures for Themelio

2 releases

0.1.2 Feb 24, 2025
0.1.1 May 5, 2022
0.1.0 May 5, 2022

#1 in #themelio

Download history 28/week @ 2024-11-19 32/week @ 2024-11-26 25/week @ 2024-12-03 61/week @ 2024-12-10 36/week @ 2024-12-17 10/week @ 2024-12-24 35/week @ 2024-12-31 35/week @ 2025-01-07 29/week @ 2025-01-14 24/week @ 2025-01-21 13/week @ 2025-01-28 38/week @ 2025-02-04 33/week @ 2025-02-11 176/week @ 2025-02-18 215/week @ 2025-02-25 140/week @ 2025-03-04

571 downloads per month
Used in 15 crates (6 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

~6.5MB
~148K SLoC