Thanks to visit codestin.com
Credit goes to github.com

Skip to content

multi: pin new v2 submodule tags and bump to v0.26.0-beta.rc1#2532

Merged
Roasbeef merged 1 commit into
btcsuite:masterfrom
Roasbeef:release-v0.26-rc1
May 15, 2026
Merged

multi: pin new v2 submodule tags and bump to v0.26.0-beta.rc1#2532
Roasbeef merged 1 commit into
btcsuite:masterfrom
Roasbeef:release-v0.26-rc1

Conversation

@Roasbeef
Copy link
Copy Markdown
Member

@Roasbeef Roasbeef commented May 15, 2026

In this PR, we follow up on #1825 by stripping the temporary replace ... => ../... directives that were used to make the freshly carved-out v2 submodules build locally while their tags didn't yet exist. Tags now exist for every submodule (pushed at the merge commit of #1825), so each in-tree go.mod is pinned directly to the published version, and downstream consumers can pull the v2 modules through the normal proxy path.

Tags consumed

The wave of tags pushed alongside this PR:

chainhash/v2.0.0
btcec/v2.5.0
wire/v2.0.0
chaincfg/v2.0.0
address/v2.0.0
txscript/v2.0.0
btcutil/v2.0.0
psbt/v2.0.0

btcec is bumped from v2.4.0 to v2.5.0 since it now depends on chainhash/v2 (it used to pull chaincfg/chainhash), so its require set changed even though the public API surface didn't.

Toolchain + version bump

While we're touching every go.mod, we unify the Go toolchain to 1.25 across the board. A few of the new submodules from #1825 (chainhash, wire, chaincfg) landed on 1.23.2 since that was the floor at the time the PR was originally written. Now they match everything else, so the workspace resolves a consistent set of language features.

We also bump version.go from v0.25.0-beta to v0.26.0-beta.rc1 in preparation for the next release candidate.

Test plan

  • go build ./... clean in every module (chainhash, btcec, wire, chaincfg, address, txscript, btcutil, psbt, v2transport, root)
  • go test ./... clean in every module
  • go vet ./... clean across every module
  • CI green on this PR

In this commit, we strip all of the local `replace ... => ../...`
directives that were introduced as part of btcsuite#1825 (the v2 module
restructuring), now that proper tags exist for every freshly carved-out
submodule. Every in-tree go.mod is pinned to the newly published tags:
chainhash/v2.0.0, wire/v2.0.0, chaincfg/v2.0.0, address/v2.0.0,
txscript/v2.0.0, btcutil/v2.0.0, psbt/v2.0.0, and btcec is bumped to
v2.5.0 since it now depends on chainhash/v2 (previously
chaincfg/chainhash).

While here, we also unify the Go toolchain to 1.25 across every
submodule so the workspace resolves a consistent set of language
features.

Finally, we bump the main btcd version to v0.26.0-beta.rc1 in
preparation for the upcoming release candidate.
@Roasbeef Roasbeef merged commit b3cbf4f into btcsuite:master May 15, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant