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

Multi: Support SPV in embedded wallet mode #140

Merged
merged 5 commits into from Aug 26, 2021

Conversation

matheusd
Copy link
Member

Part of #80

This adds support for SPV mode when running in embedded wallet mode by specifying the --node=dcrw and --dcrwallet.spv flags.

An optional --dcrwallet.spvconnect flag is also provided to allow specifying a specific node to connect to via the P2P network.

Github actions tests are updated to ensure all integration tests pass for the new mode.

This is useful to locally debug failing unit tests by writing the log to
a file instead of clutering the terminal.
This updates the dcrd dependency to the latest version, due to a
required change in the rpctest package.
This adds a SPV syncer driver to the embedded wallet implementation of
dcrlnd.

This allows running the embedded wallet and connecting directly to the
P2P network without having to use an associated dcrd instance.
This allows specifying to run the embedded wallet in SPV mode, to avoid
having to run a dcrd instance.
This adds a new test matrix option to perform integration testing of
dcrlnd running with an embedded wallet and using SPV to sync to the
network.
@matheusd matheusd mentioned this pull request Aug 17, 2021
9 tasks
@matheusd matheusd merged commit 063deb7 into decred:master Aug 26, 2021
@matheusd matheusd deleted the spv-embedded branch October 7, 2021 13:04
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.

None yet

1 participant