Skip to content

Implement interactive-tx construction#2255

Closed
t-bast wants to merge 7 commits into
masterfrom
dual-funding-interactive-tx
Closed

Implement interactive-tx construction#2255
t-bast wants to merge 7 commits into
masterfrom
dual-funding-interactive-tx

Conversation

@t-bast
Copy link
Copy Markdown
Member

@t-bast t-bast commented May 3, 2022

We build the funding transaction based on the interactive-tx protocol. We currently stop before exchanging signatures. Future commits will add the signature exchange and complete the dual funding flow.

NB: this builds on top of #2247

t-bast added 6 commits April 27, 2022 08:31
This is easier to use than having to decide which params we should look
into (local or remote). It will also be easier to integrate with dual funding.
This name was very confusing. This feerate only applies to the commit tx,
so we make that explicit.
We use a codec trick to make the channelReserve field in LocalParams and
RemoteParams an Option[Satoshi].
* Use u16 instead of varint for lengths
* Revert channel flags extension
* Remove support for non-native segwit inputs
We implement the first step of the dual funding protocol: exchanging
`open_channel2` and `accept_channel2`.

We currently stop after exchanging these two messages. Future commits will
add the interactive-tx protocol used to build the funding transaction.
@t-bast t-bast force-pushed the dual-funding-interactive-tx branch 2 times, most recently from 07f147f to 4e33a09 Compare May 3, 2022 15:10
We build the funding transaction based on the interactive-tx protocol.

We currently stop before exchanging signatures. Future commits will add
the signature exchange and complete the dual funding flow.
@t-bast t-bast force-pushed the dual-funding-interactive-tx branch from 4e33a09 to 6968978 Compare May 6, 2022 15:27
@t-bast t-bast marked this pull request as draft May 12, 2022 12:29
@t-bast
Copy link
Copy Markdown
Member Author

t-bast commented May 17, 2022

Closing in favor of a better alternative (coming soon).

@t-bast t-bast closed this May 17, 2022
@t-bast t-bast deleted the dual-funding-interactive-tx branch May 17, 2022 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant