Skip to main content

EXECUTION_WITNESSES

Constant EXECUTION_WITNESSES 

Source
pub const EXECUTION_WITNESSES: &str = "execution_witnesses";
Expand description

Execution witnesses column family: Vec<u8> => Vec<u8>

  • Vec<u8> = Composite key
     // let mut composite_key = Vec::with_capacity(8 + 32);
     // composite_key.extend_from_slice(&block_number.to_be_bytes());
     // composite_key.extend_from_slice(block_hash.as_bytes());
  • Vec<u8> = serde_json::to_vec(&witness)