AntelopeIO / leap

C++ implementation of the Antelope protocol
Other
116 stars 70 forks source link

IF : Current bls_public_key and bls_signature wire message format uses uncompressed (Jacobian) bytes #1678

Closed systemzax closed 9 months ago

systemzax commented 12 months ago

Considering that the cost of converting from compressed to uncompressed format is negligible compared to the bottleneck imposed by the pairing function, using the compressed format instead of Jacobian format for wire messages would provide a good trade-off, resulting in a substantial reduction of bls_public_key and bls_signature data size (3x smaller) for network messages and storage in block extensions / history solutions etc.

heifner commented 9 months ago

Current wire format is affine non-montgomery base64. See https://github.com/AntelopeIO/leap/pull/1600 & https://github.com/AntelopeIO/leap/pull/1950