etscrivner / rbsecp256k1

Compiled Ruby wrapper around libsecp256k1 for secp256k1 ECDSA.
The Unlicense
19 stars 13 forks source link

[Backwards Incompatible] Refactor KeyPair to use secp256k1_keypair #71

Closed etscrivner closed 1 year ago

etscrivner commented 1 year ago

Refactor the KeyPair class to use the secp256k1_keypair type and its associated methods. This new type is required by schnorrsig and is largely a drop-in replacement for the functionality previously provided by KeyPair.

Remove KeyPair#initialize since it no longer correctly mirrors the internal structure of the class. This breaks backwards compatibility.