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

mempool: Introduce v3 module. #1835

Merged
merged 4 commits into from
Aug 13, 2019
Merged

Conversation

davecgh
Copy link
Member

@davecgh davecgh commented Aug 12, 2019

This requires #1834.

In order to make use of blockchain/stake/v2, blockchain/standalone, blockchain/v2, chaincfg/v2, dcrutil/v2, mining/v2, and txscript/v2 a new major version of the mempool module is required because mempool/v2 accepts and returns types from all of them in its API.

Consequently, this introduces mempool/v3. A series of individual commits is provided to make the review process easier. Each commit message more thoroughly describes its purpose, but primarily they consist of the following:

  • Freeze version 2 of the mempool module use
  • Remove the root module mempool override so building the software will still produce binaries based on the v2 module until the v3 module is fully released
  • Bump the module version to v3
  • Update docs for the new module version

Finally, it should also be noted that this only introduces the new module and does not update anything to make use of it yet, so building the software will still produce binaries based on the v2 module.

@davecgh davecgh added this to the 1.5.0 milestone Aug 12, 2019
This freezes the root module usage of v2 of the mempool module by
removing the replacement and bumping the required version.  This means
building the software will still produce binaries based on the v2 module
until the v3 module is fully released.

All future releases will be moving to version 3 of the module.

Consequently, it bumps the required module versions as follows:

- github.com/decred/dcrd/mempool/v2 v2.1.0
This udpates the mempool module to use the latest module major versions
as well as the new blockchain/standard module.

The updated direct dependencies are as follows:

- 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/chaincfg/v2@v2.2.0
- github.com/decred/dcrd/dcrutil/v2@v2.0.0
- github.com/decred/dcrd/mining/v2@v2.0.0
- github.com/decred/dcrd/txscript/v2@v2.0.0
@davecgh davecgh merged commit e54dde1 into decred:master Aug 13, 2019
@davecgh davecgh deleted the mempool_introduce_v3 branch August 13, 2019 04:39
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