Skip to content

Commit

Permalink
Refactor & Implement explicit justification within modular framework
Browse files Browse the repository at this point in the history
  • Loading branch information
ranchalp committed Jan 6, 2024
1 parent 6ed3e3d commit 641fbaf
Show file tree
Hide file tree
Showing 4 changed files with 297 additions and 43 deletions.
4 changes: 2 additions & 2 deletions f3/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ type Signer interface {

type Aggregator interface {
// Aggregates signatures from a participant to an existing signature.
Aggregate(msg, sig []byte, aggSignature []byte) []byte
Aggregate(sig []byte, senderID ActorID, aggSignature []byte, signers *BitSet, actor2Index map[ActorID]uint64) ([]byte, *BitSet)
// VerifyAggregate verifies an aggregate signature.
VerifyAggregate(msg, aggSig []byte, signers []byte) bool
VerifyAggregate(msg, aggSig []byte, signers *BitSet, actor2Index map[ActorID]uint64) bool
}

// Participant interface to the host system resources.
Expand Down
Loading

0 comments on commit 641fbaf

Please sign in to comment.