mod: add temporary replace

This commit is contained in:
Oliver Gugger 2022-03-08 16:10:12 +01:00
parent 4ad74cd4c2
commit 56dfa0f7e2
No known key found for this signature in database
GPG key ID: 8E4256593F177720
4 changed files with 20 additions and 0 deletions

View file

@ -9,3 +9,8 @@ require (
)
require github.com/decred/dcrd/crypto/blake256 v1.0.0 // indirect
// We depend on chainhash as is, so we need to replace to use the version of
// chainhash included in the version of btcd we're building in.
// TODO(guggero): Remove this as soon as we have a tagged version of chainhash.
replace github.com/btcsuite/btcd/chaincfg/chainhash => ../chaincfg/chainhash

View file

@ -16,3 +16,8 @@ require (
replace github.com/btcsuite/btcd/btcec/v2 => ../btcec
replace github.com/btcsuite/btcd => ../
// We depend on chainhash as is, so we need to replace to use the version of
// chainhash included in the version of btcd we're building in.
// TODO(guggero): Remove this as soon as we have a tagged version of chainhash.
replace github.com/btcsuite/btcd/chaincfg/chainhash => ../chaincfg/chainhash

View file

@ -21,3 +21,8 @@ replace github.com/btcsuite/btcd/btcec/v2 => ../../btcec
replace github.com/btcsuite/btcd/btcutil => ../
replace github.com/btcsuite/btcd => ../..
// We depend on chainhash as is, so we need to replace to use the version of
// chainhash included in the version of btcd we're building in.
// TODO(guggero): Remove this as soon as we have a tagged version of chainhash.
replace github.com/btcsuite/btcd/chaincfg/chainhash => ../../chaincfg/chainhash

5
go.mod
View file

@ -27,6 +27,11 @@ replace github.com/btcsuite/btcd/btcutil => ./btcutil
replace github.com/btcsuite/btcd/btcec/v2 => ./btcec
// We depend on chainhash as is, so we need to replace to use the version of
// chainhash included in the version of btcd we're building in.
// TODO(guggero): Remove this as soon as we have a tagged version of chainhash.
replace github.com/btcsuite/btcd/chaincfg/chainhash => ./chaincfg/chainhash
// The retract statements below fixes an accidental push of the tags of a btcd
// fork.
retract (