Skip to content

Implement interactive-tx construction#2254

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

Implement interactive-tx construction#2254
t-bast wants to merge 7 commits into
masterfrom
interactive-tx-object

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 7 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.
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 closed this May 3, 2022
@t-bast t-bast deleted the interactive-tx-object branch May 3, 2022 13:18
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