Skip to content

Commit

Permalink
remove batch verification flag from Compactcert struct (algorand#3644)
Browse files Browse the repository at this point in the history
Nodes create the compact cert using falcon keys so the batch verification flag (related to the ed25519 scheme) is no longer necessary.
  • Loading branch information
id-ms authored Feb 25, 2022
1 parent 7a12937 commit dac1fc1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions crypto/compactcert/structs.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ type Params struct {
ProvenWeight uint64 // Weight threshold proven by the certificate
SigRound basics.Round // The round for which the ephemeral key is committed to
SecKQ uint64 // Security parameter (k+q) from analysis document

EnableBatchVerification bool // whether ED25519 batch verification is enabled
}

// CompactOneTimeSignature is crypto.OneTimeSignature with omitempty
Expand Down
2 changes: 0 additions & 2 deletions ledger/internal/compactcert.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,6 @@ func CompactCertParams(votersHdr bookkeeping.BlockHeader, hdr bookkeeping.BlockH
ProvenWeight: provenWeight,
SigRound: hdr.Round,
SecKQ: proto.CompactCertSecKQ,

EnableBatchVerification: proto.EnableBatchVerification,
}
return
}
Expand Down

0 comments on commit dac1fc1

Please sign in to comment.