Skip to main content

restore

Function restore 

Source
pub fn restore(
    txs: &[(Vec<u8>, Vec<u8>)],
    seq: u32,
    stored: &[([u8; 32], Vec<u8>)],
) -> Result<Vec<([u8; 32], Vec<u8>)>, String>
Expand description

The patches of a ledger from its transactions and stored entries.