Skip to main content

Seal

Type Alias Seal 

Source
pub type Seal = Arc<dyn Fn(&str, &ViewOp) -> (Vec<u8>, Option<Witness>) + Send + Sync>;
Expand description

Turns a report op into the payload and signature a log will accept.

Shared rather than owned because the queue clones its reporter per verdict, and Arc is what lets one node key back every clone without the key itself being copied.

Aliased Typeยง

pub struct Seal { /* private fields */ }