lnd.xprv/lnwallet/chanfunding
Olaoluwa Osuntokun d422ebbc66
lnwallet/chanfunding: introduce new channel funding abstractions
In this commit, we introduce a series of new abstractions for channel
funding. The end goal is to enable uses cases that construct the funding
transaction externally, eventually handing the funding outpoint to lnd.
An example of such a use case includes channel factories and external
channel funding using a hardware wallet.

We also add a new chanfunding.Assembler meant to allow external channel
funding in contexts similar to how channel factories
can be constructed. With this channel funder, we'll only obtain the
channel point and funding output from it, as this alone is enough to
carry out a funding flow as normal.
2019-12-02 17:11:32 -06:00
..
assembler.go lnwallet/chanfunding: introduce new channel funding abstractions 2019-12-02 17:11:32 -06:00
canned_assembler.go lnwallet/chanfunding: introduce new channel funding abstractions 2019-12-02 17:11:32 -06:00
coin_select_test.go chanfunding+lnwallet: move coin selection code into new chanfunding package 2019-12-02 17:11:25 -06:00
coin_select.go chanfunding+lnwallet: move coin selection code into new chanfunding package 2019-12-02 17:11:25 -06:00
log.go lnwallet/chanfunding: introduce new channel funding abstractions 2019-12-02 17:11:32 -06:00
wallet_assembler.go lnwallet/chanfunding: introduce new channel funding abstractions 2019-12-02 17:11:32 -06:00