decode_ctbnbdl_bundle_resilient_with

Function decode_ctbnbdl_bundle_resilient_with 

Source
pub fn decode_ctbnbdl_bundle_resilient_with(
    bytes: &[u8],
    framing: CtbnbdlFramingDcs,
) -> Result<(Option<u128>, Vec<LedgerNode>, Vec<String>)>
Expand description

Resiliently decodes a .ctbnbdl (CtbNodeBundle1 or CtbNodeBundle2) binary buffer, quarantining any corrupted or checksum-mismatched node section while recovering all remaining valid nodes and returning diagnostic warnings for every skipped section.