Function sp_io::storage::root

source · []
pub fn root() -> Vec<u8>Notable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
    A: Allocator
Expand description

“Commit” all existing operations and compute the resulting storage root.

The hashing algorithm is defined by the Block.

Returns a Vec<u8> that holds the SCALE encoded hash.