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

rpcclient: Introduce v4 module. #1807

Merged
merged 4 commits into from
Jul 30, 2019
Merged

Conversation

davecgh
Copy link
Member

@davecgh davecgh commented Jul 30, 2019

In order to make use of dcrutil/v2, which in turn requires chaincfg/v2, a new major version of the rpcclient module is required because rpcclient/v3 accepts and returns types from dcrutil/v1 in its API.

Consequently, this introduces rpcclient/v4 to address the aforementioned items. 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 3 of the rpcclient module
  • Remove the root module rpcclient override so building the software will still produce binaries based on the v3 module until the v4 module is fully released
  • Update to use the following module versions:
    • dcrutil/v2@v2.0.0
    • gcs@v1.1.0
    • hdkeychain/v2@v2.0.1
  • Bump the module version to v4
  • 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 v3 module.

@davecgh davecgh added this to the 1.5.0 milestone Jul 30, 2019
rpcclient/wallet.go Outdated Show resolved Hide resolved
This serves as the final release of version 3 of the rpcclient module.
All future releases will be moving to version 4 of the module.

Since no changes have been made since the last release, it merely
removes the rpcclient override in the root module and updates it so
building the software will still produce binaries based on the v3 module
until the v4 module is fully released.
This udpates the rpcclient module to use v2 of the dcrutil module and v2
of the chaincfg module since dcrutil/v2 requires it.

While here it also updates the latest releases of the gcs and
hdkeychain/v2 modules.

The updated direct dependencies are as follows:

- github.com/decred/dcrd/dcrutil/v2@v2.0.0
- github.com/decred/dcrd/gcs@v1.1.0
- github.com/decred/dcrd/hdkeychain/v2@v2.0.1
Copy link
Member

@chappjc chappjc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good with decred/dcrdata#1491

@davecgh davecgh merged commit e6bd4b1 into decred:master Jul 30, 2019
@davecgh davecgh deleted the rpcclient_introduce_v4 branch July 30, 2019 18:10
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.

3 participants