mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 00:01:03 +00:00
Fix docs (#7710)
* fix docs * Update frame/merkle-mountain-range/src/lib.rs Co-authored-by: Alexander Theißen <alex.theissen@me.com> Co-authored-by: Alexander Theißen <alex.theissen@me.com>
This commit is contained in:
committed by
GitHub
parent
9384e6ed53
commit
8814d793c7
@@ -20,7 +20,7 @@
|
||||
//! ## Overview
|
||||
//!
|
||||
//! Details on Merkle Mountain Ranges (MMRs) can be found here:
|
||||
//! https://github.com/mimblewimble/grin/blob/master/doc/mmr.md
|
||||
//! <https://github.com/mimblewimble/grin/blob/master/doc/mmr.md>
|
||||
//!
|
||||
//! The MMR pallet constructs a MMR from leaf data obtained on every block from
|
||||
//! `LeafDataProvider`. MMR nodes are stored both in:
|
||||
@@ -41,7 +41,7 @@
|
||||
//! ## What for?
|
||||
//!
|
||||
//! Primary use case for this pallet is to generate MMR root hashes, that can latter on be used by
|
||||
//! BEEFY protocol (see https://github.com/paritytech/grandpa-bridge-gadget).
|
||||
//! BEEFY protocol (see <https://github.com/paritytech/grandpa-bridge-gadget>).
|
||||
//! MMR root hashes along with BEEFY will make it possible to build Super Light Clients (SLC) of
|
||||
//! Substrate-based chains. The SLC will be able to follow finality and can be shown proofs of more
|
||||
//! details that happened on the source chain.
|
||||
@@ -88,7 +88,7 @@ pub trait Config<I = DefaultInstance>: frame_system::Config {
|
||||
/// and some of the inner mmr nodes might be pruned from on-chain storage.
|
||||
/// The later will contain all the entries in their full form.
|
||||
///
|
||||
/// Each node is stored in the Off-chain DB under key derived from the [INDEXING_PREFIX] and
|
||||
/// Each node is stored in the Off-chain DB under key derived from the [`Self::INDEXING_PREFIX`] and
|
||||
/// it's in-tree index (MMR position).
|
||||
const INDEXING_PREFIX: &'static [u8];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user