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

Make Peer.trustedSwapInTxs a callback #516

Closed
wants to merge 1 commit into from
Closed

Conversation

pm47
Copy link
Member

@pm47 pm47 commented Aug 17, 2023

It allows adding txids without restarting the Peer (useful for iOS channel migration/consolidation) and facilitates testing.

It allows adding txids without restarting the Peer and facilitates
testing.
@pm47 pm47 requested review from dpad85 and t-bast August 17, 2023 16:34
pm47 added a commit that referenced this pull request Aug 18, 2023
Instead of explicitly providing txids, we can look at local channel data
to extract mutual close txids, because either the tx is unconfirmed and
the channel data will still be in `Closing` state, otherwise the tx is
confirmed and the utxo can be used immediately anyway.

This is an alternative to #516.
pm47 added a commit that referenced this pull request Aug 18, 2023
Instead of explicitly providing txids, we can look at local channel data
to extract mutual close txids, because either the tx is unconfirmed and
the channel data will still be in `Closing` state, otherwise the tx is
confirmed and the utxo can be used immediately anyway.

This is an alternative to #516.
@pm47
Copy link
Member Author

pm47 commented Aug 18, 2023

Superseded by #517.

@pm47 pm47 closed this Aug 18, 2023
pm47 added a commit that referenced this pull request Aug 18, 2023
Instead of explicitly providing txids, we can look at local channel data
to extract mutual close txids, because either the tx is unconfirmed and
the channel data will still be in `Closing` state, otherwise the tx is
confirmed and the utxo can be used immediately anyway.

This is an alternative to #516.
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