Crate pallet_anchors

source ·
Expand description

§Anchors Pallet

This pallet provides functionality of Storing anchors on Chain.

Re-exports§

Modules§

  • The pallet module in each FRAME pallet hosts the most important items needed to construct this pallet.

Structs§

Constants§

  • Expiration duration in blocks of a pre-commit This is the maximum expected time for document consensus to take place between a pre-commit of an anchor and a commit to be received for the pre-committed anchor. Currently we expect to provide around 80 mins for this. Since our current block time as per chain_spec.rs is 6s, we set this to 80 * 60 secs / 6 secs/block = 800 blocks.