Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dual-funding spec edits, cleanup #4410

Merged
merged 7 commits into from
Mar 9, 2021

Conversation

niftynei
Copy link
Collaborator

@niftynei niftynei commented Mar 3, 2021

There've been some spec changes etc. This updates all 'dual-funding' related spec references to the latest spec proposal lightning/bolts#851.

Notable notes:

Built atop of #4399, new commits start at b8806ba

Changelog-None.

@niftynei niftynei requested a review from cdecker as a code owner March 3, 2021 22:34
@niftynei niftynei changed the title Nifty/spec clean Dual-funding spec edits, cleanup Mar 3, 2021
@niftynei niftynei force-pushed the nifty/spec-clean branch 2 times, most recently from aab2c26 to e6e01c9 Compare March 4, 2021 23:01
niftynei added 7 commits March 6, 2021 17:21
We're punting on PODLE's for v1 of dual-funded channels
We consolidate to the latest/singular RFC patch for dual-funding, so
there's just a single patchfile for the change. Plus we move back to the
opener setting the desired feerate, the accepter merely declines to
participate if they disagree with the set rate.
> If the peer's revocation basepoint is unknown (e.g. `open_channel2`),
> a temporary `channel_id` should be found by using a zeroed out basepoint
> for the unknown peer.
    The receiving node: ...
      - MUST fail the channel if:
        - the `witness_stack` weight lowers the effective `feerate`
          below the agreed upon transaction `feerate`
The maximum inputs and outputs are capped at 252. This effectively fixes
the byte size of the input and output counts on the transaction to one (1).
Copy link
Contributor

@rustyrussell rustyrussell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ack 3ef059b

u32 funding_feerate_max;
u32 funding_feerate_min;
u32 funding_feerate_best;
u32 funding_feerate_per_kw;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't remember why we decided on this. I guess simplicity, and to mirror RBF where you need to decide whether to contribute anyway?

@rustyrussell rustyrussell merged commit bfa5db7 into ElementsProject:master Mar 9, 2021
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.

2 participants