Skip to content

Prevent fundee from force closing zero-conf channel before confirmation #7028

Open
@Crypt-iQ

Description

@Crypt-iQ

If the funding tx hasn't been confirmed and isn't in the fundee's mempool, the fundee's contractcourt will advance to StateContractClosed without broadcasting the unilateral close (since it would be rejected). The funder will be unaware the fundee is trying to close the channel and will still think it's open. The solution is to probably disallow the fundee from force closing the channel before a single confirmation. The same thing could be done for coop closing.

Metadata

Metadata

Assignees

Labels

P2should be fixed if one has timezero conf

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions