dcrd/go.mod
Dave Collins 9f8114e53d
blockchain: Move package to internal.
The moves the blockchain package from the blockchain module to an
internal package of the root module meaning that it is no longer a part
of the exported blockchain module.  Nearly all of the logic it provides
is really for the internal implementation of dcrd itself and thus having
it exported module significantly increases the maintenance burden.

Note that as of this change the blockchain module still exists and
provides the chaingen and fullblocktests packages both or which are
useful and used by external consumers.

This is part of a continuing overall effort to reduce the total number
of exported packages and modules and eventually get to the point it will
be possible to follow semver for the root module.

Overview of the major changes:

- Move all go files from blockchain -> internal/blockchain
- Move testdata from blockchain -> internal/blockchain
- Remove doc.go in favor of the README.md since godoc now displays it
- Move README.md from blockchain -> internal/blockchain and update to
  match the new reality
- Add a new README.md in the exported blockchain module that documents
  it contains the remaining exported packages
- Update all import paths in the repository accordingly
- Run go mod tidy on all modules
2022-05-30 15:32:41 -05:00

81 lines
3.2 KiB
Modula-2

module github.com/decred/dcrd
go 1.17
require (
github.com/davecgh/go-spew v1.1.1
github.com/decred/base58 v1.0.4
github.com/decred/dcrd/addrmgr/v2 v2.0.0
github.com/decred/dcrd/bech32 v1.1.2
github.com/decred/dcrd/blockchain/stake/v5 v5.0.0
github.com/decred/dcrd/blockchain/standalone/v2 v2.1.0
github.com/decred/dcrd/blockchain/v5 v5.0.0
github.com/decred/dcrd/certgen v1.1.1
github.com/decred/dcrd/chaincfg/chainhash v1.0.3
github.com/decred/dcrd/chaincfg/v3 v3.1.1
github.com/decred/dcrd/connmgr/v3 v3.1.0
github.com/decred/dcrd/container/apbf v1.0.0
github.com/decred/dcrd/crypto/blake256 v1.0.0
github.com/decred/dcrd/crypto/ripemd160 v1.0.1
github.com/decred/dcrd/database/v3 v3.0.0
github.com/decred/dcrd/dcrec v1.0.0
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1
github.com/decred/dcrd/dcrjson/v4 v4.0.0
github.com/decred/dcrd/dcrutil/v4 v4.0.0
github.com/decred/dcrd/gcs/v4 v4.0.0
github.com/decred/dcrd/hdkeychain/v3 v3.1.0
github.com/decred/dcrd/lru v1.1.1
github.com/decred/dcrd/math/uint256 v1.0.0
github.com/decred/dcrd/peer/v3 v3.0.0
github.com/decred/dcrd/rpc/jsonrpc/types/v4 v4.0.0
github.com/decred/dcrd/rpcclient/v8 v8.0.0
github.com/decred/dcrd/txscript/v4 v4.0.0
github.com/decred/dcrd/wire v1.5.0
github.com/decred/go-socks v1.1.0
github.com/decred/slog v1.2.0
github.com/gorilla/websocket v1.5.0
github.com/jessevdk/go-flags v1.5.0
github.com/jrick/bitset v1.0.0
github.com/jrick/logrotate v1.0.0
github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7
golang.org/x/sys v0.0.0-20211216021012-1d35b9e2eb4e
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211
)
require (
github.com/agl/ed25519 v0.0.0-20170116200512-5312a6153412 // indirect
github.com/dchest/siphash v1.2.2 // indirect
github.com/decred/dcrd/dcrec/edwards/v2 v2.0.2 // indirect
github.com/golang/snappy v0.0.4 // indirect
)
replace (
github.com/decred/dcrd/addrmgr/v2 => ./addrmgr
github.com/decred/dcrd/bech32 => ./bech32
github.com/decred/dcrd/blockchain/stake/v5 => ./blockchain/stake
github.com/decred/dcrd/blockchain/standalone/v2 => ./blockchain/standalone
github.com/decred/dcrd/blockchain/v5 => ./blockchain
github.com/decred/dcrd/certgen => ./certgen
github.com/decred/dcrd/chaincfg/chainhash => ./chaincfg/chainhash
github.com/decred/dcrd/chaincfg/v3 => ./chaincfg
github.com/decred/dcrd/connmgr/v3 => ./connmgr
github.com/decred/dcrd/container/apbf => ./container/apbf
github.com/decred/dcrd/crypto/blake256 => ./crypto/blake256
github.com/decred/dcrd/crypto/ripemd160 => ./crypto/ripemd160
github.com/decred/dcrd/database/v3 => ./database
github.com/decred/dcrd/dcrec => ./dcrec
github.com/decred/dcrd/dcrec/secp256k1/v4 => ./dcrec/secp256k1
github.com/decred/dcrd/dcrjson/v4 => ./dcrjson
github.com/decred/dcrd/dcrutil/v4 => ./dcrutil
github.com/decred/dcrd/gcs/v4 => ./gcs
github.com/decred/dcrd/hdkeychain/v3 => ./hdkeychain
github.com/decred/dcrd/limits => ./limits
github.com/decred/dcrd/lru => ./lru
github.com/decred/dcrd/math/uint256 => ./math/uint256
github.com/decred/dcrd/peer/v3 => ./peer
github.com/decred/dcrd/rpc/jsonrpc/types/v4 => ./rpc/jsonrpc/types
github.com/decred/dcrd/rpcclient/v8 => ./rpcclient
github.com/decred/dcrd/txscript/v4 => ./txscript
github.com/decred/dcrd/wire => ./wire
)