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

Add wallet-backed chainntnfs implementations #92

Merged
merged 3 commits into from
Jul 8, 2020

Conversation

matheusd
Copy link
Member

Rebased on top of #83

Part of #80

This adds implementations for the chainntnfs package that use the wallet as source of chain events.

This allows to further decouple dcrlnd from an underlying dcrd, which is a requirement for having a dcrlnd instance running in SPV mode.

@matheusd matheusd force-pushed the wallet-chainntnfs branch 2 times, most recently from 3f04028 to 303fd20 Compare March 30, 2020 14:55
This was referenced Mar 30, 2020
@matheusd matheusd force-pushed the wallet-chainntnfs branch 2 times, most recently from b5ceb46 to 5ba644f Compare March 31, 2020 15:39
This introduces the dcrwnotify and remotedcrwnotify drivers, usable by
embedded and remote dcrwallets respectively.

The intention for these drivers is for them to replace the existing dcrd
driver so that dcrlnd can rely exclusively on the wallet for its
on-chain operations.

This is work towards eventually supporting SPV mode wallets so that
dcrlnd can also function in an SPV mode.

This commit only introduces the new chain notification drivers but does
not yet modify the app to use them.

Both drivers are implemented by way of a unified chainscan notification
driver.
@matheusd matheusd merged commit 6030cde into decred:master Jul 8, 2020
@matheusd matheusd deleted the wallet-chainntnfs branch July 8, 2020 19:31
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