-
Notifications
You must be signed in to change notification settings - Fork 306
Open
Description
We were going through to use secp256k1's size constants, but they're pretty confusing in their naming. eg PUBLIC_KEY_SIZE isn't really the "size" of a public key (in memory or conceptually), but rather the size of a public key when serialized in compressed form. Similarly, MAX_SIGNATURE_SIZE isn't actually the maximum signature size, but rather the maximum signature size the libsecp will generate (and the maximum standard signature size in Bitcoin), but some downstream logic will probably also grind signatures to reduce the max size but a further one.
Metadata
Metadata
Assignees
Labels
No labels