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

fix: claim swap after one confirmation #26

Merged
merged 1 commit into from
Dec 10, 2018
Merged

Conversation

michael1011
Copy link
Member

Before this PR boltz would claim the swap once the lockup transaction is found in the mempool which is not optimal because:

  • of RBF and simply because one should not rely on the immutability of transactions in the mempool
  • if a transaction is confirmed before it reaches the mempool of the node to which boltz is connected boltz would not find the lockup transaciton

From now on boltz will claim the swap after one confirmation.

@michael1011 michael1011 merged commit bee35ea into master Dec 10, 2018
@michael1011 michael1011 deleted the swapmanager-listen branch December 10, 2018 06:22
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.

None yet

2 participants