Change the message to the same to improve BLS signature verification performance #204
Closed
4 tasks done
Labels
C: proposal
Classification: Proposal for specification, algorithm, architecture, or communication
G: epic
Granularity: Epic issue
P: nice to have
Priority: nice to have
Stale
For github bot
Summary
If the messages are the same, the messages are signed, and the messages are aggregated, the pairing map can be processed only once.
Problem Definition
Verification of aggregated BLS signatures is easy when the messages are the same, as shown in the following formula. By simplifying the verification, the pairing mapping only needs to be performed once, and the computational complexity can be significantly reduced.
reference:
https://crypto.stanford.edu/~dabo/pubs/papers/BLSmultisig.html#BGLS03
Therefore, it is necessary to change the message when signing to be the same.
Proposal
The message used when signing is this structure. If all the
Timestamp
are the same, the message when signing will be the same.Then we call this function to verify.
https://github.com/herumi/bls-eth-go-binary/blob/master/bls/bls.go#L843
related issue
#72
see also by tendermint/tendermint:
https://github.com/tendermint/tendermint/blob/master/docs/architecture/adr-025-commit.md#decision
tendermint/tendermint#2840 (comment)
For Admin Use
Appropriate labels appliedAppropriate contributors taggedThe text was updated successfully, but these errors were encountered: