pub fn encode_nodes_to_ctbnbdl_bytes_with(
nodes: &[LedgerNode],
framing: CtbnbdlFramingDcs,
) -> Result<Vec<u8>>Expand description
Compiles a slice of LedgerNode entries into a .ctbnbdl (CtbNodeBundle2) binary buffer:
8-byte CTBNBDL\x02 magic + 21-byte DcMixed2 header + optional 641 l<max_node_id> most_recent
DcTFencoded543 617 .. 618 [<ts>]? 544 545 <checksum>checksummed node sections.