Skip to content

Bump btcd version in btcutil package#1866

Merged
Roasbeef merged 4 commits intobtcsuite:masterfrom
darioush:bump-btcutils-versions
Aug 11, 2022
Merged

Bump btcd version in btcutil package#1866
Roasbeef merged 4 commits intobtcsuite:masterfrom
darioush:bump-btcutils-versions

Conversation

@darioush
Copy link
Copy Markdown

@darioush darioush commented Jun 29, 2022

Hi,

When I depend on github.com/btcsuite/btcd/btcutil v1.1.1 (but not github.com/btcsuite/btcd), I end up with the
v0.22.0-beta.0.20220111032746-97732e52810c version as a dependency in my go.sum.

This would normally be fine but it seems you have recently fixed an ambiguous import issue (#1839):

github.com/btcsuite/btcd/chaincfg/chainhash: ambiguous import: found package github.com/btcsuite/btcd/chaincfg/chainhash in multiple modules:
	github.com/btcsuite/btcd v0.21.0-beta (/Users/darioush.jalali/go/pkg/mod/github.com/btcsuite/btcd@v0.21.0-beta/chaincfg/chainhash)
	github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1 (/Users/darioush.jalali/go/pkg/mod/github.com/btcsuite/btcd/chaincfg/chainhash@v1.0.1)

So it would be beneficial to bump the version in the sub-module past your fix.
Apologies in advance if you would have preferred an issue instead of a PR. Thanks :)

@darioush
Copy link
Copy Markdown
Author

Also noticed #1825 may fix this.

Comment thread btcutil/go.mod
Copy link
Copy Markdown
Member

@Roasbeef Roasbeef left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 💵

@coveralls
Copy link
Copy Markdown

coveralls commented Jul 14, 2022

Pull Request Test Coverage Report for Build 2593225086

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 17 unchanged lines in 3 files lost coverage.
  • Overall coverage decreased (-0.04%) to 55.005%

Files with Coverage Reduction New Missed Lines %
connmgr/connmanager.go 2 86.07%
txscript/taproot.go 2 95.93%
peer/peer.go 13 73.2%
Totals Coverage Status
Change from base Build 2456385554: -0.04%
Covered Lines: 26435
Relevant Lines: 48059

💛 - Coveralls

@Roasbeef Roasbeef merged commit 0f49e10 into btcsuite:master Aug 11, 2022
@darioush darioush deleted the bump-btcutils-versions branch August 11, 2022 01:31
@coveralls
Copy link
Copy Markdown

coveralls commented Nov 30, 2024

Pull Request Test Coverage Report for Build 2579988045

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 16 unchanged lines in 3 files lost coverage.
  • Overall coverage decreased (-0.03%) to 55.007%

Files with Coverage Reduction New Missed Lines %
btcutil/gcs/gcs.go 1 81.25%
connmgr/connmanager.go 2 86.07%
peer/peer.go 13 73.2%
Totals Coverage Status
Change from base Build 2456385554: -0.03%
Covered Lines: 26436
Relevant Lines: 48059

💛 - Coveralls

asheswook pushed a commit to asheswook/btcd that referenced this pull request Apr 2, 2026
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.

3 participants