Skip to content

[tracking]: Ensure AuxFundingController functionality meets tap deliverables / needs #872

@dstadulis

Description

@dstadulis

lightningnetwork/lnd#8622 Adds AuxFundingController functionality to lnd and relies on a new MsgRouter to intercept messages passed over the wire for use in processing/arbitrating tap channel state.

Editable deliverable list tapd would need

  • [ ]

Design implementation commentary:

idea is we pass in AuxFundingController at the top level, it implements MsgEndpoint, so it can handle processing the tx_asset_proof messages
so given an external pending chan ID (kinda like the FundingStateStep stuff), it'll process all that and arrive at the top level commitment needed
then once open+accept chan come, we use that pending chan ID to map to the blobs and stuff we need
so that's now passed all the way down into the db, and the funding+commitment txn construction in that PR
now I'll circle back to look at signing, rn no new sigs are sent, but if you set these values properly, both sides will now arrive at the "correct" funding output + commitment txn that'll hold the asset

Metadata

Metadata

Assignees

Type

No type

Projects

Status

✅ Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions