35 stable releases (17 major)

18.1.0 Jun 18, 2024
17.0.0 Apr 25, 2024
16.1.0 Nov 8, 2023
15.0.0 Jun 30, 2023
1.0.0 May 19, 2020

#25 in #filecoin

Download history 1314/week @ 2024-07-21 1120/week @ 2024-07-28 1876/week @ 2024-08-04 1022/week @ 2024-08-11 1574/week @ 2024-08-18 1113/week @ 2024-08-25 1517/week @ 2024-09-01 1704/week @ 2024-09-08 1654/week @ 2024-09-15 1742/week @ 2024-09-22 940/week @ 2024-09-29 1244/week @ 2024-10-06 1190/week @ 2024-10-13 775/week @ 2024-10-20 947/week @ 2024-10-27 821/week @ 2024-11-03

3,771 downloads per month
Used in 26 crates (6 directly)

MIT/Apache

160KB
3.5K SLoC

Filecoin Proofs API

This library is meant to be the official public API into the proofs library.

CircleCI

The main API to interact with the proofs system in Filecoin.

Default build options

The build options enabled by default are cuda and opencl.

Running the tests

Running the tests with the default features can be done like this:

cargo test --release --all

Running with the opencl feature only can be done like this:

cargo test --no-default-features --features opencl --release --all

License

MIT or Apache 2.0


lib.rs:

Proofs library for Filecoin open blockchain network.

This goal of the filecoin-proofs-api crate is to provide the proving and verification mechanisms used within Filecoin, to ensure Storage Providers are properly storing client data, and retaining that data over time. The ‘Proofs’ are used to assert that the work was done properly, and the nodes on the network are able to verify proofs to maintain trust across the distributed storage network. The proving system used by Filecoin is based on Groth16. Specific poofs include Proof-of-Spacetime, and Proof-of-Replication.

For further information, please see the Filecoin specification

Dependencies

~21–32MB
~511K SLoC