This switches the main dcrlnd package to use the recently introduced wallet-backed drivers for chain IO operations.
The net result is that chain IO operations are now fully performed by the underlying dcrwallet instance and dcrlnd no longer requires a connection to a running dcrd to perform its job.
For dcrlnd operating in remote wallet mode (such as those running from within Decrediton) the change is automatic.
For dcrlnd operating with an embedded dcrwallet, a new value for the node config option (dcrw) must be specified to use the new IO mode. Both the old dcrd mode and the dcrw mode are tested via itests running in the Github Actions CI.
Rebased on top of #93
Part of #80
This switches the main dcrlnd package to use the recently introduced wallet-backed drivers for chain IO operations.
The net result is that chain IO operations are now fully performed by the underlying dcrwallet instance and dcrlnd no longer requires a connection to a running dcrd to perform its job.
For dcrlnd operating in remote wallet mode (such as those running from within Decrediton) the change is automatic.
For dcrlnd operating with an embedded dcrwallet, a new value for the
node
config option (dcrw
) must be specified to use the new IO mode. Both the olddcrd
mode and thedcrw
mode are tested via itests running in the Github Actions CI.