AntelopeIO / leap

C++ implementation of the Antelope protocol
Other
113 stars 69 forks source link

IF: Change bls_public_key & bls_signature serialization #2338

Closed heifner closed 3 months ago

heifner commented 3 months ago

Change bls_public_key and bls_signature serialization to be:

Add bls_aggregate_signature which is mutable version of bls_signature. bls_signature is now immutable.

Serialize as variable sized array and instead of a fixed sized array to make it easier to use in external tools that use ABI since our ABI does not handle fixed sized arrays.

Resolves #2334

ericpassmore commented 3 months ago

Note:start group: IF category: INTERNALS summary: Update internal storage format of BLS keys to optimize usage. No change to external representation of keys. Note:end