lnd.xprv/lnwallet/chanvalidate
Olaoluwa Osuntokun 0e13c5ac3f
lnwallet+funding: expose new ValidateChannel method for 1st party validation
In this commit, we use the recently added `chanvalidate` package to
verify channels once they have been confirmed in the funding manager. We
expose a new method on the `LightningWallet` struct: `ValidateChannels`
which calls the new shared 1st party verification code.

After the channel is fully confirmed in the funding manager, we'll now
use this newly exposed method to handle all validation. As a result, we
can remove the existing validation code in the funding manager, and rely
on the new code in isolation.
2019-10-03 16:23:23 -07:00
..
validate_test.go lnwallet/chanvalidate: create new channel validation package 2019-10-03 16:23:14 -07:00
validate.go lnwallet+funding: expose new ValidateChannel method for 1st party validation 2019-10-03 16:23:23 -07:00