summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralgoidan <79864820+algoidan@users.noreply.github.com>2022-02-25 03:28:40 +0200
committerGitHub <noreply@github.com>2022-02-24 20:28:40 -0500
commitdac1fc1926acc464f9a4f023e12bd1ee0dbb7692 (patch)
tree3e940714cf848aaa233c2b8404a41e82b39f79eb
parent7a129374c8aa7b33da05494bfb4cc73070cf1b19 (diff)
remove batch verification flag from Compactcert struct (#3644)
Nodes create the compact cert using falcon keys so the batch verification flag (related to the ed25519 scheme) is no longer necessary.
-rw-r--r--crypto/compactcert/structs.go2
-rw-r--r--ledger/internal/compactcert.go2
2 files changed, 0 insertions, 4 deletions
diff --git a/crypto/compactcert/structs.go b/crypto/compactcert/structs.go
index d8a6e2100..dd1a4f315 100644
--- a/crypto/compactcert/structs.go
+++ b/crypto/compactcert/structs.go
@@ -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
diff --git a/ledger/internal/compactcert.go b/ledger/internal/compactcert.go
index 623cdc526..ca2be6d19 100644
--- a/ledger/internal/compactcert.go
+++ b/ledger/internal/compactcert.go
@@ -136,8 +136,6 @@ func CompactCertParams(votersHdr bookkeeping.BlockHeader, hdr bookkeeping.BlockH
ProvenWeight: provenWeight,
SigRound: hdr.Round,
SecKQ: proto.CompactCertSecKQ,
-
- EnableBatchVerification: proto.EnableBatchVerification,
}
return
}