dcrd/mining/go.mod
Dave Collins 81c76dcb78
multi: Break blockchain dependency on dcrjson.
This modifies the ChainTips function in blockchain to return the results
using a type defined in the blockchain package itself instead of
directly returning a dcrjson type.  This is preferable since nothing
else in the module depends on dcrjson and therefore allows the
dependency on the dcrjson module to be broken.

It also updates the RPC server that makes use of the function to perform
the necessary conversions.

Finally, the associated module hierarchy documentation is updated to
properly remove the no longer required dependency.

It should be noted that this is a breaking change to the API and thus
will need a v2 major version bump of the blockchain module to be
published before the changes can be externally consumed.
2018-10-10 16:44:20 -05:00

26 lines
927 B
Modula-2

module github.com/decred/dcrd/mining
require (
github.com/decred/dcrd/blockchain v1.0.1
github.com/decred/dcrd/blockchain/stake v1.0.1
github.com/decred/dcrd/chaincfg/chainhash v1.0.1
github.com/decred/dcrd/dcrutil v1.1.1
github.com/decred/dcrd/gcs v1.0.1
github.com/decred/dcrd/wire v1.1.0
)
replace (
github.com/decred/dcrd/blockchain => ../blockchain
github.com/decred/dcrd/blockchain/stake => ../blockchain/stake
github.com/decred/dcrd/chaincfg => ../chaincfg
github.com/decred/dcrd/chaincfg/chainhash => ../chaincfg/chainhash
github.com/decred/dcrd/database => ../database
github.com/decred/dcrd/dcrec => ../dcrec
github.com/decred/dcrd/dcrec/edwards => ../dcrec/edwards
github.com/decred/dcrd/dcrec/secp256k1 => ../dcrec/secp256k1
github.com/decred/dcrd/dcrutil => ../dcrutil
github.com/decred/dcrd/gcs => ../gcs
github.com/decred/dcrd/txscript => ../txscript
github.com/decred/dcrd/wire => ../wire
)