---
title: "github.com/decred/dcrd/dcrec/secp256k1/v4 (go) | Since.dev"
description: "What each github.com/decred/dcrd/dcrec/secp256k1/v4 release removed, renamed or changed: 46 breaking changes in 1 version on Go modules, each with its source."
canonical_url: https://since.dev/packages/go/github.com/decred/dcrd/dcrec/secp256k1/v4
last_updated: 2026-12-04
---

# github.com/decred/dcrd/dcrec/secp256k1/v4 breaking changes

github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.0 (September 14, 2021) is its newest release with breaking changes, 46 of them. The first: Removed github.com/decred/dcrd/dcrec/secp256k1/v4.Error.ErrorCode. Every breaking API change we have recorded in github.com/decred/dcrd/dcrec/secp256k1/v4 on Go modules: 46 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `v4.4.1`, released February 24, 2026. 

Packages on Go modules run on Go. [Go end of life dates](https://since.dev/calendar/go.md).

## github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.0 breaking changes

github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.0, released September 14, 2021: 46 breaking changes.

- **Removed** `github.com/decred/dcrd/dcrec/secp256k1/v4.Error.ErrorCode`  

github.com/decred/dcrd/dcrec/secp256k1/v4.Error.ErrorCode was removed in github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.0 [pkg.go.dev](https://pkg.go.dev/github.com/decred/dcrd/dcrec/secp256k1/v4@v4.0.0)
- **Removed** `github.com/decred/dcrd/dcrec/secp256k1/v4.Error.Is`  

github.com/decred/dcrd/dcrec/secp256k1/v4.Error.Is was removed in github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.0 [pkg.go.dev](https://pkg.go.dev/github.com/decred/dcrd/dcrec/secp256k1/v4@v4.0.0)
- **Removed** `github.com/decred/dcrd/dcrec/secp256k1/v4.ErrorCode`  

github.com/decred/dcrd/dcrec/secp256k1/v4.ErrorCode was removed in github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.0 [pkg.go.dev](https://pkg.go.dev/github.com/decred/dcrd/dcrec/secp256k1/v4@v4.0.0)
- **Removed** `github.com/decred/dcrd/dcrec/secp256k1/v4.KoblitzCurve.SerializedBytePoints`  

github.com/decred/dcrd/dcrec/secp256k1/v4.KoblitzCurve.SerializedBytePoints was removed in github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.0 [pkg.go.dev](https://pkg.go.dev/github.com/decred/dcrd/dcrec/secp256k1/v4@v4.0.0)
- **Removed** `github.com/decred/dcrd/dcrec/secp256k1/v4/ecdsa.Error.ErrorCode`  

github.com/decred/dcrd/dcrec/secp256k1/v4/ecdsa.Error.ErrorCode was removed in github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.0 [pkg.go.dev](https://pkg.go.dev/github.com/decred/dcrd/dcrec/secp256k1/v4@v4.0.0)
- **Removed** `github.com/decred/dcrd/dcrec/secp256k1/v4/ecdsa.Error.Is`  

github.com/decred/dcrd/dcrec/secp256k1/v4/ecdsa.Error.Is was removed in github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.0 [pkg.go.dev](https://pkg.go.dev/github.com/decred/dcrd/dcrec/secp256k1/v4@v4.0.0)
- **Removed** `github.com/decred/dcrd/dcrec/secp256k1/v4/ecdsa.ErrorCode`  

github.com/decred/dcrd/dcrec/secp256k1/v4/ecdsa.ErrorCode was removed in github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.0 [pkg.go.dev](https://pkg.go.dev/github.com/decred/dcrd/dcrec/secp256k1/v4@v4.0.0)
- **Removed** `github.com/decred/dcrd/dcrec/secp256k1/v4/schnorr.Error.ErrorCode`  

github.com/decred/dcrd/dcrec/secp256k1/v4/schnorr.Error.ErrorCode was removed in github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.0 [pkg.go.dev](https://pkg.go.dev/github.com/decred/dcrd/dcrec/secp256k1/v4@v4.0.0)
- **Removed** `github.com/decred/dcrd/dcrec/secp256k1/v4/schnorr.Error.Is`  

github.com/decred/dcrd/dcrec/secp256k1/v4/schnorr.Error.Is was removed in github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.0 [pkg.go.dev](https://pkg.go.dev/github.com/decred/dcrd/dcrec/secp256k1/v4@v4.0.0)
- **Removed** `github.com/decred/dcrd/dcrec/secp256k1/v4/schnorr.ErrorCode`  

github.com/decred/dcrd/dcrec/secp256k1/v4/schnorr.ErrorCode was removed in github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.0 [pkg.go.dev](https://pkg.go.dev/github.com/decred/dcrd/dcrec/secp256k1/v4@v4.0.0)
- **Signature changed** `github.com/decred/dcrd/dcrec/secp256k1/v4.ErrPubKeyInvalidFormat`  

Was const ErrPubKeyInvalidFormat ErrorCode; now const ErrPubKeyInvalidFormat. [pkg.go.dev](https://pkg.go.dev/github.com/decred/dcrd/dcrec/secp256k1/v4@v4.0.0)
- **Signature changed** `github.com/decred/dcrd/dcrec/secp256k1/v4.ErrPubKeyInvalidLen`  

Was const ErrPubKeyInvalidLen ErrorCode; now const ErrPubKeyInvalidLen. [pkg.go.dev](https://pkg.go.dev/github.com/decred/dcrd/dcrec/secp256k1/v4@v4.0.0)
- **Signature changed** `github.com/decred/dcrd/dcrec/secp256k1/v4.ErrPubKeyMismatchedOddness`  

Was const ErrPubKeyMismatchedOddness ErrorCode; now const ErrPubKeyMismatchedOddness. [pkg.go.dev](https://pkg.go.dev/github.com/decred/dcrd/dcrec/secp256k1/v4@v4.0.0)
- **Signature changed** `github.com/decred/dcrd/dcrec/secp256k1/v4.ErrPubKeyNotOnCurve`  

Was const ErrPubKeyNotOnCurve ErrorCode; now const ErrPubKeyNotOnCurve. [pkg.go.dev](https://pkg.go.dev/github.com/decred/dcrd/dcrec/secp256k1/v4@v4.0.0)
- **Signature changed** `github.com/decred/dcrd/dcrec/secp256k1/v4.ErrPubKeyXTooBig`  

Was const ErrPubKeyXTooBig ErrorCode; now const ErrPubKeyXTooBig. [pkg.go.dev](https://pkg.go.dev/github.com/decred/dcrd/dcrec/secp256k1/v4@v4.0.0)
- **Signature changed** `github.com/decred/dcrd/dcrec/secp256k1/v4.ErrPubKeyYTooBig`  

Was const ErrPubKeyYTooBig ErrorCode; now const ErrPubKeyYTooBig. [pkg.go.dev](https://pkg.go.dev/github.com/decred/dcrd/dcrec/secp256k1/v4@v4.0.0)
- **Signature changed** `github.com/decred/dcrd/dcrec/secp256k1/v4/ecdsa.ErrSigInvalidDataLen`  

Was const ErrSigInvalidDataLen ErrorCode; now const ErrSigInvalidDataLen. [pkg.go.dev](https://pkg.go.dev/github.com/decred/dcrd/dcrec/secp256k1/v4@v4.0.0)
- **Signature changed** `github.com/decred/dcrd/dcrec/secp256k1/v4/ecdsa.ErrSigInvalidRIntID`  

Was const ErrSigInvalidRIntID ErrorCode; now const ErrSigInvalidRIntID. [pkg.go.dev](https://pkg.go.dev/github.com/decred/dcrd/dcrec/secp256k1/v4@v4.0.0)
- **Signature changed** `github.com/decred/dcrd/dcrec/secp256k1/v4/ecdsa.ErrSigInvalidSeqID`  

Was const ErrSigInvalidSeqID ErrorCode; now const ErrSigInvalidSeqID. [pkg.go.dev](https://pkg.go.dev/github.com/decred/dcrd/dcrec/secp256k1/v4@v4.0.0)
- **Signature changed** `github.com/decred/dcrd/dcrec/secp256k1/v4/ecdsa.ErrSigInvalidSIntID`  

Was const ErrSigInvalidSIntID ErrorCode; now const ErrSigInvalidSIntID. [pkg.go.dev](https://pkg.go.dev/github.com/decred/dcrd/dcrec/secp256k1/v4@v4.0.0)
- **Signature changed** `github.com/decred/dcrd/dcrec/secp256k1/v4/ecdsa.ErrSigInvalidSLen`  

Was const ErrSigInvalidSLen ErrorCode; now const ErrSigInvalidSLen. [pkg.go.dev](https://pkg.go.dev/github.com/decred/dcrd/dcrec/secp256k1/v4@v4.0.0)
- **Signature changed** `github.com/decred/dcrd/dcrec/secp256k1/v4/ecdsa.ErrSigMissingSLen`  

Was const ErrSigMissingSLen ErrorCode; now const ErrSigMissingSLen. [pkg.go.dev](https://pkg.go.dev/github.com/decred/dcrd/dcrec/secp256k1/v4@v4.0.0)
- **Signature changed** `github.com/decred/dcrd/dcrec/secp256k1/v4/ecdsa.ErrSigMissingSTypeID`  

Was const ErrSigMissingSTypeID ErrorCode; now const ErrSigMissingSTypeID. [pkg.go.dev](https://pkg.go.dev/github.com/decred/dcrd/dcrec/secp256k1/v4@v4.0.0)
- **Signature changed** `github.com/decred/dcrd/dcrec/secp256k1/v4/ecdsa.ErrSigNegativeR`  

Was const ErrSigNegativeR ErrorCode; now const ErrSigNegativeR. [pkg.go.dev](https://pkg.go.dev/github.com/decred/dcrd/dcrec/secp256k1/v4@v4.0.0)
- **Signature changed** `github.com/decred/dcrd/dcrec/secp256k1/v4/ecdsa.ErrSigNegativeS`  

Was const ErrSigNegativeS ErrorCode; now const ErrSigNegativeS. [pkg.go.dev](https://pkg.go.dev/github.com/decred/dcrd/dcrec/secp256k1/v4@v4.0.0)
- **Signature changed** `github.com/decred/dcrd/dcrec/secp256k1/v4/ecdsa.ErrSigRIsZero`  

Was const ErrSigRIsZero ErrorCode; now const ErrSigRIsZero. [pkg.go.dev](https://pkg.go.dev/github.com/decred/dcrd/dcrec/secp256k1/v4@v4.0.0)
- **Signature changed** `github.com/decred/dcrd/dcrec/secp256k1/v4/ecdsa.ErrSigRTooBig`  

Was const ErrSigRTooBig ErrorCode; now const ErrSigRTooBig. [pkg.go.dev](https://pkg.go.dev/github.com/decred/dcrd/dcrec/secp256k1/v4@v4.0.0)
- **Signature changed** `github.com/decred/dcrd/dcrec/secp256k1/v4/ecdsa.ErrSigSIsZero`  

Was const ErrSigSIsZero ErrorCode; now const ErrSigSIsZero. [pkg.go.dev](https://pkg.go.dev/github.com/decred/dcrd/dcrec/secp256k1/v4@v4.0.0)
- **Signature changed** `github.com/decred/dcrd/dcrec/secp256k1/v4/ecdsa.ErrSigSTooBig`  

Was const ErrSigSTooBig ErrorCode; now const ErrSigSTooBig. [pkg.go.dev](https://pkg.go.dev/github.com/decred/dcrd/dcrec/secp256k1/v4@v4.0.0)
- **Signature changed** `github.com/decred/dcrd/dcrec/secp256k1/v4/ecdsa.ErrSigTooLong`  

Was const ErrSigTooLong ErrorCode; now const ErrSigTooLong. [pkg.go.dev](https://pkg.go.dev/github.com/decred/dcrd/dcrec/secp256k1/v4@v4.0.0)
- **Signature changed** `github.com/decred/dcrd/dcrec/secp256k1/v4/ecdsa.ErrSigTooMuchRPadding`  

Was const ErrSigTooMuchRPadding ErrorCode; now const ErrSigTooMuchRPadding. [pkg.go.dev](https://pkg.go.dev/github.com/decred/dcrd/dcrec/secp256k1/v4@v4.0.0)
- **Signature changed** `github.com/decred/dcrd/dcrec/secp256k1/v4/ecdsa.ErrSigTooMuchSPadding`  

Was const ErrSigTooMuchSPadding ErrorCode; now const ErrSigTooMuchSPadding. [pkg.go.dev](https://pkg.go.dev/github.com/decred/dcrd/dcrec/secp256k1/v4@v4.0.0)
- **Signature changed** `github.com/decred/dcrd/dcrec/secp256k1/v4/ecdsa.ErrSigTooShort`  

Was const ErrSigTooShort ErrorCode; now const ErrSigTooShort. [pkg.go.dev](https://pkg.go.dev/github.com/decred/dcrd/dcrec/secp256k1/v4@v4.0.0)
- **Signature changed** `github.com/decred/dcrd/dcrec/secp256k1/v4/ecdsa.ErrSigZeroRLen`  

Was const ErrSigZeroRLen ErrorCode; now const ErrSigZeroRLen. [pkg.go.dev](https://pkg.go.dev/github.com/decred/dcrd/dcrec/secp256k1/v4@v4.0.0)
- **Signature changed** `github.com/decred/dcrd/dcrec/secp256k1/v4/ecdsa.ErrSigZeroSLen`  

Was const ErrSigZeroSLen ErrorCode; now const ErrSigZeroSLen. [pkg.go.dev](https://pkg.go.dev/github.com/decred/dcrd/dcrec/secp256k1/v4@v4.0.0)
- **Signature changed** `github.com/decred/dcrd/dcrec/secp256k1/v4/schnorr.ErrInvalidHashLen`  

Was const ErrInvalidHashLen ErrorCode; now const ErrInvalidHashLen. [pkg.go.dev](https://pkg.go.dev/github.com/decred/dcrd/dcrec/secp256k1/v4@v4.0.0)
- **Signature changed** `github.com/decred/dcrd/dcrec/secp256k1/v4/schnorr.ErrPrivateKeyIsZero`  

Was const ErrPrivateKeyIsZero ErrorCode; now const ErrPrivateKeyIsZero. [pkg.go.dev](https://pkg.go.dev/github.com/decred/dcrd/dcrec/secp256k1/v4@v4.0.0)
- **Signature changed** `github.com/decred/dcrd/dcrec/secp256k1/v4/schnorr.ErrPubKeyNotOnCurve`  

Was const ErrPubKeyNotOnCurve ErrorCode; now const ErrPubKeyNotOnCurve. [pkg.go.dev](https://pkg.go.dev/github.com/decred/dcrd/dcrec/secp256k1/v4@v4.0.0)
- **Signature changed** `github.com/decred/dcrd/dcrec/secp256k1/v4/schnorr.ErrSchnorrHashValue`  

Was const ErrSchnorrHashValue ErrorCode; now const ErrSchnorrHashValue. [pkg.go.dev](https://pkg.go.dev/github.com/decred/dcrd/dcrec/secp256k1/v4@v4.0.0)
- **Signature changed** `github.com/decred/dcrd/dcrec/secp256k1/v4/schnorr.ErrSigRNotOnCurve`  

Was const ErrSigRNotOnCurve ErrorCode; now const ErrSigRNotOnCurve. [pkg.go.dev](https://pkg.go.dev/github.com/decred/dcrd/dcrec/secp256k1/v4@v4.0.0)
- **Signature changed** `github.com/decred/dcrd/dcrec/secp256k1/v4/schnorr.ErrSigRTooBig`  

Was const ErrSigRTooBig ErrorCode; now const ErrSigRTooBig. [pkg.go.dev](https://pkg.go.dev/github.com/decred/dcrd/dcrec/secp256k1/v4@v4.0.0)
- **Signature changed** `github.com/decred/dcrd/dcrec/secp256k1/v4/schnorr.ErrSigRYIsOdd`  

Was const ErrSigRYIsOdd ErrorCode; now const ErrSigRYIsOdd. [pkg.go.dev](https://pkg.go.dev/github.com/decred/dcrd/dcrec/secp256k1/v4@v4.0.0)
- **Signature changed** `github.com/decred/dcrd/dcrec/secp256k1/v4/schnorr.ErrSigSTooBig`  

Was const ErrSigSTooBig ErrorCode; now const ErrSigSTooBig. [pkg.go.dev](https://pkg.go.dev/github.com/decred/dcrd/dcrec/secp256k1/v4@v4.0.0)
- **Signature changed** `github.com/decred/dcrd/dcrec/secp256k1/v4/schnorr.ErrSigTooLong`  

Was const ErrSigTooLong ErrorCode; now const ErrSigTooLong. [pkg.go.dev](https://pkg.go.dev/github.com/decred/dcrd/dcrec/secp256k1/v4@v4.0.0)
- **Signature changed** `github.com/decred/dcrd/dcrec/secp256k1/v4/schnorr.ErrSigTooShort`  

Was const ErrSigTooShort ErrorCode; now const ErrSigTooShort. [pkg.go.dev](https://pkg.go.dev/github.com/decred/dcrd/dcrec/secp256k1/v4@v4.0.0)
- **Signature changed** `github.com/decred/dcrd/dcrec/secp256k1/v4/schnorr.ErrUnequalRValues`  

Was const ErrUnequalRValues ErrorCode; now const ErrUnequalRValues. [pkg.go.dev](https://pkg.go.dev/github.com/decred/dcrd/dcrec/secp256k1/v4@v4.0.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
