Skip to main content

encode

Function encode 

Source
pub fn encode(
    l: &Ledger,
    seq: u32,
    prev: &Prev<'_>,
) -> Result<(Vec<u8>, usize), String>
Expand description

Changes of ledger seq as a format 3 record. Returns the record and how many objects had to be stored in full.