Bitcoinex.Secp256k1.Signature (bitcoinex v0.1.2) View Source

Contains r,s in signature.

Link to this section Summary

Functions

accepts a compact signature and returns a Signature containing r,s

Link to this section Types

Specs

t() :: %Bitcoinex.Secp256k1.Signature{r: pos_integer(), s: pos_integer()}

Link to this section Functions

Link to this function

parse_signature(compact_sig)

View Source

Specs

parse_signature(binary()) :: {:ok, t()} | {:error, String.t()}

accepts a compact signature and returns a Signature containing r,s