arweave_rs_vdf

Crates.ioarweave_rs_vdf
lib.rsarweave_rs_vdf
version0.1.0
sourcesrc
created_at2024-02-14 23:35:12.950627
updated_at2024-02-14 23:35:12.950627
descriptionFunctions for validating Arweave VDF checkpoints in parallel.
homepage
repositoryhttps://github.com/ThePeopleOfTheNetwork/arweave_rs
max_upload_size
id1140332
size12,249
DMac (DanMacDonald)

documentation

README

VDF Validation

Arweave uses a VDF as a cryptographic clock that limits the speed at which hashes may be produced.

In order to prove the block producer followed the speed limit set by the VDF the checkpoints for the VDF are included in the block.

These checkpoints allow a block recipient to verify the VDF steps are accurate by computing all the checkpoints in parallel across multiple cores.

Validation

There are two phases to VDF step validation. When a miner recieves a block they validate the "last step checkpoints" which takes a few milliseconds and serve as a quick pre-validation.

Depending on the block time, it may take 30 or more seconds to fully validate the checkpoints a 2+ minute VDF in parallel.

This package implements both the pre-validation and full validation of the VDF checkpoings.

Commit count: 0

cargo fmt