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

Bond punishment logic could be more advanced #5

Open
f321x opened this issue Aug 26, 2024 · 0 comments
Open

Bond punishment logic could be more advanced #5

f321x opened this issue Aug 26, 2024 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@f321x
Copy link
Collaborator

f321x commented Aug 26, 2024

The punishment logic for publishing bonds is not very advanced right now. It publishes the bond and deletes the offer from the database.
The logic could be improved, for example, by continuing to monitor the published bonds inputs and do CPFP in case the punished trader tries to double spend the input with a higher fee than the bond.
There could also be logic to send the bond amount to the other trade participant if the offer has already been taken but the escrow locking tx is not completed.

@f321x f321x added the enhancement New feature or request label Aug 26, 2024
@f321x f321x added this to the v0.1 milestone Aug 26, 2024
@RoboSats RoboSats deleted a comment Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants
@f321x and others