e62fc414cb
This commit adds 3 methods to lnwallet.ChannelReservation intended to facilitating a single funder channel workflow between two nodes. A single funder workflow is characterized as the initiator committing all the funds to a channel, with the responder only providing public keys, and a revocation hash. The workflow remains the same for the initiator of the funding transaction, however for the responder, the following methods are instead called in order: * .ProcessSingleConribution() * .CompleteSingleContribution() * .FinalizeReservation() These methods are required for the responder as they are never able to construct the full funding transaction, and only receive the out point of the funding transaction once available. |
||
---|---|---|
.. | ||
channel.go | ||
coin_select.go | ||
config.go | ||
interface.go | ||
log.go | ||
reservation.go | ||
script_utils.go | ||
setup.go | ||
wallet_test.go | ||
wallet.go |