Skip to content

BOLT 2: clarify that nodes may support early mutual close - #355

Merged
cdecker merged 1 commit into
masterfrom
early-mutual-close
Jan 22, 2018
Merged

cdecker merged 1 commit into
masterfrom
early-mutual-close

Conversation

@pm47

@pm47 pm47 commented Jan 10, 2018

Copy link
Copy Markdown
Collaborator

Clarify that nodes MAY initiate/handle a mutual close before the funding transaction has reached min_depth.

If it doesn't support it, the receiving node will just ignore the shutdown. Alternative was to fail the channel, which could also make sense. A feature bit was probably overkill.

I may have been a little bit verbose, let me know what you think.

This fixes #335.

@SeekTheError SeekTheError left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Looks good to me

Comment thread 02-peer-protocol.md
A sending node:
- if it hasn't sent a `funding_created` (if it is a funder) or a `funding_signed` (if it is a fundee):
- MUST NOT send a `shutdown`
- MAY send a `shutdown` before a `funding_locked`, i.e. before the funding transaction has reached `min_depth`.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

missing comma after i.e.

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.

Allow mutual close before min_depth

3 participants