Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: Refine build module support. #1384

Merged
merged 2 commits into from
Aug 6, 2018

Conversation

davecgh
Copy link
Member

@davecgh davecgh commented Aug 6, 2018

This further refines the modules to add the following new modules instead of depending on the entire dcrd module:

  • github.com/decred/dcrd/dcrjson@v1.0.0
  • github.com/decred/dcrd/blockchain@v1.0.0
  • github.com/decred/dcrd/blockchain/stake@v1.0.0
  • github.com/decred/dcrd/gcs@v1.0.0
  • github.com/decred/dcrd/mining@v1.0.0
  • github.com/decred/dcrd/mempool@v1.0.0
  • github.com/decred/dcrd/peer@v1.0.0
  • github.com/decred/dcrd/rpcclient@v1.0.0

Also, it ensures modules that rely on other modules within the repo are provided replacements to the latest repo code to ensure builds against master and continuous integration use the latest code.

  • github.com/decred/dcrd/addrmgr
  • github.com/decred/dcrd/blockchain
  • github.com/decred/dcrd/blockchain/stake
  • github.com/decred/dcrd/chaincfg
  • github.com/decred/dcrd/connmgr
  • github.com/decred/dcrd/database
  • github.com/decred/dcrd/dcrec/secp256k1
  • github.com/decred/dcrd/dcrjson
  • github.com/decred/dcrd/dcrutil
  • github.com/decred/dcrd/gcs
  • github.com/decred/dcrd/hdkeychain
  • github.com/decred/dcrd/mempool
  • github.com/decred/dcrd/mining
  • github.com/decred/dcrd/peer
  • github.com/decred/dcrd/rpcclient
  • github.com/decred/dcrd/txscript
  • github.com/decred/dcrd/wire

These functions and associated tests are being removed because nothing
depends on them and they end up creating a dependency on
blockchain/stake package, which is not desirable.
This further refines the modules to add the following new modules
instead of depending on the entire dcrd module:

- github.com/decred/dcrd/dcrjson@v1.0.0
- github.com/decred/dcrd/blockchain@v1.0.0
- github.com/decred/dcrd/blockchain/stake@v1.0.0
- github.com/decred/dcrd/gcs@v1.0.0
- github.com/decred/dcrd/mining@v1.0.0
- github.com/decred/dcrd/mempool@v1.0.0
- github.com/decred/dcrd/peer@v1.0.0
- github.com/decred/dcrd/rpcclient@v1.0.0

Also, it ensures modules that rely on other modules within the repo are
provided replacements to the latest repo code to ensure builds against
master and continuous integration use the latest code.

- github.com/decred/dcrd/addrmgr
- github.com/decred/dcrd/blockchain
- github.com/decred/dcrd/blockchain/stake
- github.com/decred/dcrd/chaincfg
- github.com/decred/dcrd/connmgr
- github.com/decred/dcrd/database
- github.com/decred/dcrd/dcrec/secp256k1
- github.com/decred/dcrd/dcrjson
- github.com/decred/dcrd/dcrutil
- github.com/decred/dcrd/gcs
- github.com/decred/dcrd/hdkeychain
- github.com/decred/dcrd/mempool
- github.com/decred/dcrd/mining
- github.com/decred/dcrd/peer
- github.com/decred/dcrd/rpcclient
- github.com/decred/dcrd/txscript
- github.com/decred/dcrd/wire
@jrick
Copy link
Member

jrick commented Aug 6, 2018

github will only let me comment, not review. without javascript.

OK

@davecgh davecgh merged commit 295179f into decred:master Aug 6, 2018
@davecgh davecgh deleted the build_refine_module_deps branch August 6, 2018 04:33
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.

2 participants