Skip to content

Don't create a ChannelMonitor for inbound channels until we have a confirmation #1987

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

Open
TheBlueMatt opened this issue Jan 26, 2023 · 0 comments
Milestone

Comments

@TheBlueMatt
Copy link
Collaborator

If we get an inbound (non-zero-conf) channel, there's no reason to bother creating a ChannelMonitor until we see the funding transaction on-chain. Given monitors have relatively high cost, we should absolutely avoid this if possible.

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

No branches or pull requests

1 participant