dcrd/go.mod
Dave Collins feb4ff55e0
gcs: Start v2 module dev cycle.
This removes the unused and undesired FromPBytes and FromNPBytes
functions and associated tests from the gcs module in preparation for
upcoming changes aimed to support new version filters for use
in header commitments.

Since these changes, and several planned upcoming ones, constitute
breaking pubic API changes, this bumps the major version of the gcs
module, adds a replacement for gcs/v2 to the main module and updates all
other modules to make use of it.

It also bumps the rpcclient module to v5 since it makes use of the
gcs.Filter type in its API, adds a replacement for rpcclient/v5 to the
main module and updates all other modules to make use of it.

Note that this also marks the start of a new approach towards handling
module versioning between release cycles to reduce the maintenance
burden.

The new approach is as follows.

Whenever a new breaking change to a module's API is introduced, the
following will happen:

- Bump the major version in the go.mod of the affected module if not
  already done since the last release tag
- Add a replacement to the go.mod in the main module if not already
  done since the last release tag
- Update all imports in the repo to use the new major version as
  necessary
  - Make necessary modifications to allow all other modules to use the
    new version in the same commit
- Repeat the process for any other modules the require a new major as a
  result of consuming the new major(s)

Finally, once the repo is frozen for software release, all modules will
be tagged in dependency order to stabilize them and all module
replacements will be removed in order to ensure releases are only using
fully tagged and released code.
2019-08-20 09:07:07 -05:00

74 lines
2.9 KiB
Modula-2

module github.com/decred/dcrd
go 1.11
require (
github.com/btcsuite/winsvc v1.0.0
github.com/decred/base58 v1.0.0
github.com/decred/dcrd/addrmgr v1.0.2
github.com/decred/dcrd/blockchain/stake/v2 v2.0.1
github.com/decred/dcrd/blockchain/standalone v1.0.0
github.com/decred/dcrd/blockchain/v2 v2.0.2
github.com/decred/dcrd/certgen v1.1.0
github.com/decred/dcrd/chaincfg/chainhash v1.0.2
github.com/decred/dcrd/chaincfg/v2 v2.2.0
github.com/decred/dcrd/connmgr/v2 v2.0.0
github.com/decred/dcrd/database/v2 v2.0.0
github.com/decred/dcrd/dcrec v1.0.0
github.com/decred/dcrd/dcrec/secp256k1 v1.0.2
github.com/decred/dcrd/dcrjson/v3 v3.0.0
github.com/decred/dcrd/dcrutil/v2 v2.0.0
github.com/decred/dcrd/fees/v2 v2.0.0
github.com/decred/dcrd/gcs/v2 v2.0.0
github.com/decred/dcrd/hdkeychain/v2 v2.0.1
github.com/decred/dcrd/lru v1.0.0
github.com/decred/dcrd/mempool/v3 v3.0.0
github.com/decred/dcrd/mining/v2 v2.0.0
github.com/decred/dcrd/peer/v2 v2.0.0
github.com/decred/dcrd/rpc/jsonrpc/types v1.0.0
github.com/decred/dcrd/rpcclient/v5 v5.0.0
github.com/decred/dcrd/txscript/v2 v2.0.0
github.com/decred/dcrd/wire v1.2.0
github.com/decred/dcrwallet/rpc/jsonrpc/types v1.2.0
github.com/decred/go-socks v1.0.0
github.com/decred/slog v1.0.0
github.com/gorilla/websocket v1.4.0
github.com/jessevdk/go-flags v1.4.0
github.com/jrick/bitset v1.0.0
github.com/jrick/logrotate v1.0.0
github.com/kr/pretty v0.1.0 // indirect
github.com/onsi/ginkgo v1.7.0 // indirect
github.com/onsi/gomega v1.4.3 // indirect
golang.org/x/crypto v0.0.0-20190611184440-5c40567a22f8
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 // indirect
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 // indirect
gopkg.in/yaml.v2 v2.2.2 // indirect
)
replace (
github.com/decred/dcrd/addrmgr => ./addrmgr
github.com/decred/dcrd/blockchain/standalone => ./blockchain/standalone
github.com/decred/dcrd/blockchain/v2 => ./blockchain
github.com/decred/dcrd/certgen => ./certgen
github.com/decred/dcrd/chaincfg/chainhash => ./chaincfg/chainhash
github.com/decred/dcrd/chaincfg/v2 => ./chaincfg
github.com/decred/dcrd/connmgr/v2 => ./connmgr
github.com/decred/dcrd/crypto/blake256 => ./crypto/blake256
github.com/decred/dcrd/database/v2 => ./database
github.com/decred/dcrd/dcrec => ./dcrec
github.com/decred/dcrd/dcrjson/v3 => ./dcrjson
github.com/decred/dcrd/dcrutil/v2 => ./dcrutil
github.com/decred/dcrd/fees/v2 => ./fees
github.com/decred/dcrd/gcs/v2 => ./gcs
github.com/decred/dcrd/hdkeychain/v2 => ./hdkeychain
github.com/decred/dcrd/limits => ./limits
github.com/decred/dcrd/lru => ./lru
github.com/decred/dcrd/mempool/v3 => ./mempool
github.com/decred/dcrd/mining/v2 => ./mining
github.com/decred/dcrd/peer/v2 => ./peer
github.com/decred/dcrd/rpc/jsonrpc/types => ./rpc/jsonrpc/types
github.com/decred/dcrd/rpcclient/v5 => ./rpcclient
github.com/decred/dcrd/txscript/v2 => ./txscript
github.com/decred/dcrd/wire => ./wire
)