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

Update dcrd/dcrwallet packages #39

Merged
merged 7 commits into from
Oct 15, 2019
Merged

Conversation

matheusd
Copy link
Member

@matheusd matheusd commented Sep 6, 2019

This is currently using replaces for an unreleased version of the wallet packages and the lightning-onion packages.

This changes the defer function in the test for channel backups to
correctly close over the 'dave' variable.

Without this closure, the shutdownAndAssert call would attempt to
shutdown the original (non-restored) dave instead of the most recently
created (restored) dave, causing a leak of a node during tests.
@matheusd matheusd force-pushed the dcrd-dcrw-update branch 3 times, most recently from df3a332 to c933218 Compare September 11, 2019 12:04
This adds a check for the wallet funding transactions before proceeding
to improve the reliability of the tests.

It also increases the maximum time to sync the wallet due to ocasional
failing tests in -race mode.
This changes the dcrd make target to build the required dcrd version in
a temp dir instead of using go get.

During development it's common to have a situation where not all dcrd
modules have been tagged yet so go get might fail. It's easier to fetch
the repo in a temp dir and build from there, so that all module
replacements are correct.
This fixes the metadata in pseudo-version strings and tidies the module
entries so that go 1.13 doesn't complain about wrong strings.
This removes most replace directives and switches to using a correct
required version where possible.

Replaces are still used for the unmerged/untagged lightning-onion
version needed and for chaincfg v1.5.2 which is also untagged.
@matheusd matheusd force-pushed the dcrd-dcrw-update branch 2 times, most recently from 524cee5 to fe0c363 Compare September 11, 2019 18:34
@matheusd matheusd marked this pull request as ready for review October 4, 2019 20:52
lnwallet/dcrwallet/keychain.go Outdated Show resolved Hide resolved
This switches to using version 3 of the wallet packages.

This is currently used an as-of-yet unreleased version of the packages
since they have a few bug fixes that are useful and are likely to become
the new released version in a short amount of time.

In order to change to wallet v3 the rpcclient version for some
components also had to be bumped to version 3 due to incompatibility in
the API for dcrd's rescan rpc call.
This updates the rest of project to use the latest released major
version of all dependencies.
@matheusd matheusd merged commit 0fd7e26 into decred:master Oct 15, 2019
@matheusd matheusd deleted the dcrd-dcrw-update branch April 23, 2020 19:28
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