Skip to main content

encode_batch

Function encode_batch 

Source
pub fn encode_batch(plans: &Vec<PhysicalPlan>) -> Result<Vec<u8>, WireError>
Expand description

Encode a Vec<PhysicalPlan> to MessagePack bytes.

Used by the Calvin scheduler when building TxClass::plans bytes for a cross-shard transaction that will be shipped through the sequencer.