rustyrussell / secp256k1-py

Python FFI bindings for libsecp256k1 (maintained)
MIT License
56 stars 12 forks source link

Remove per-key secp256k1 context. #1

Closed rustyrussell closed 3 years ago

rustyrussell commented 3 years ago

Pieter Wuille points out this is needlessly slow: just use a single one.

Signed-off-by: Rusty Russell rusty@rustcorp.com.au

sipa commented 3 years ago

utACK 833c0f5ad24029704f6a7ad30065c9d426476a81. Changes look correct, and avoid the creation of a context object per key/privkey.

laanwj commented 3 years ago

Code review ACK 833c0f5ad24029704f6a7ad30065c9d426476a81