csecp256k1

Haskell FFI bindings to bitcoin-core/secp256k1.
git clone git://git.ppad.tech/csecp256k1.git
Log | Files | Refs | README | LICENSE

commit 389d3df97bea5d06f40c1d3fa91c1a67b71bb99c
parent ed95eae3e2fc1573cea860bb9eb09875e1ed25cd
Author: Jared Tobin <jared@jtobin.io>
Date:   Tue, 12 Mar 2024 18:00:44 +0400

lib: haddock fixups

Diffstat:
Mlib/Crypto/Secp256k1.hs | 8+++++---
1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/lib/Crypto/Secp256k1.hs b/lib/Crypto/Secp256k1.hs @@ -15,6 +15,11 @@ -- -- This library exposes a minimal subset of functionality, primarily -- supporting ECDSA/Schnorr signatures and ECDH secret computation. +-- +-- We're interacting with a C library here, and we don't pretend that we +-- aren't. 'IO' is prevalent and unhidden, and asynchronous exceptions +-- (in the form of 'Secp256k1Exception') are the error-handling method +-- of choice. module Crypto.Secp256k1 ( Context(..) @@ -132,9 +137,6 @@ instance Show Sig where -- | A catch-all exception type. -- --- Internal library errors (i.e., non-unit return values in the --- underlying C functions) will typically throw a 'Secp256k1Error' --- exception. data Secp256k1Exception = -- | Thrown when a bitcoin-core/secp256k1 function returns a value -- indicating failure.