Trait sda_client::Receiving [] [src]

pub trait Receiving {
    fn upload_aggregation(&self,
                          aggregation: &Aggregation)
                          -> SdaClientResult<()>; fn begin_aggregation(&self,
                         aggregation: &AggregationId)
                         -> SdaClientResult<()>; fn end_aggregation(&self,
                       aggregation: &AggregationId)
                       -> SdaClientResult<()>; fn reveal_aggregation(&self,
                          aggregation: &AggregationId)
                          -> SdaClientResult<RecipientOutput>; }

Basic tasks typically performed by a recipient.

Required Methods

Upload aggregation to service.

Opens the aggregation for participations.

Assigns a service chosen committee to the aggregation if none if elected already.

Closes the aggregation for participations.

Downloads result from service and decrypts it.

Implementors