observe

Function observe 

Source
pub fn observe<V: Variant, P: PublicKey>(
    info: Info<V, P>,
    logs: BTreeMap<P, DealerLog<V, P>>,
    concurrency: usize,
) -> Result<Output<V, P>, Error>
Expand description

Observe the result of a DKG, using the public results.

The log mapping dealers to their log is the shared piece of information that the participants (players, observers) of the DKG must all agree on.

From this log, we can (potentially, as the DKG can fail) compute the public output.

This will only ever return Error::DkgFailed.