decode_ctbnbdl_bundle_resilient

Function decode_ctbnbdl_bundle_resilient 

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

Resiliently decodes a .ctbnbdl (CtbNodeBundle) binary buffer, quarantining any corrupted or checksum-mismatched node section while recovering all remaining valid nodes and returning diagnostic warning strings.