Merge pull request #293 from michaelsproul/operation-pool

Implement Operation Pool
This commit is contained in:
Paul Hauner
2019-04-02 13:53:22 +11:00
committed by GitHub
26 changed files with 1451 additions and 403 deletions

View File

@@ -36,6 +36,11 @@ impl AggregateSignature {
}
}
/// Add (aggregate) another `AggregateSignature`.
pub fn add_aggregate(&mut self, agg_signature: &AggregateSignature) {
self.0.add_aggregate(&agg_signature.0)
}
/// Verify the `AggregateSignature` against an `AggregatePublicKey`.
///
/// Only returns `true` if the set of keys in the `AggregatePublicKey` match the set of keys