decred / dcrlnd

Decred Lightning Network Daemon ⚡️
MIT License
36 stars 24 forks source link

Multi: Update dcrd and dcrwallet dependencies #138

Closed matheusd closed 3 years ago

matheusd commented 3 years ago

This updates the dcrwallet and dcrd dependencies to their current (in-development) version.

Due to the strong interdependency between the various packages, it's not really possible to do partial migrations that still work and pass all tests: all packages need to be updated in pretty much one go.

The most significant change is the introduction of the stdaddr package in dcrd, which replaces uses of dcrutil.Address throughout the codebases.

Another change included in this PR is building and using a uniquely named dcrd binary for unit and integration tests (dcrd-dcrlnd) now that the upstream dcrd rpctest package supports specifying the dcrd binary to use. This avoids having to have the local dcrd binary replaced by a potentially in-development version when running the dcrlnd tests.