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

feat: renew fidelity bond #678

Merged
merged 8 commits into from Feb 6, 2024
Merged

feat: renew fidelity bond #678

merged 8 commits into from Feb 6, 2024

Conversation

theborakompanioni
Copy link
Collaborator

@theborakompanioni theborakompanioni commented Oct 14, 2023

Resolves #610

Adds the ability to renew an expired fidelity bond.

This will be done with a direct-send creating a "single input, single output transaction" (this might not be what more advanced users want - e.g. CPFP is not possible afterwards). Feedback welcome.

In addition, the "Create FB" confirm dialog will now display the fee settings for the user to review before actually creating the bond.

📸

Expired fidelity bond (Before/After)

Renew fidelity bond flow

On Error

"Create fidelity bond" Confirm Modal (Before/After)

How to test

  • Create an expired fidelity bond (only possible in dev mode with npm run dev:start)
  • Renew expired fidelity bond (also, possibly with lockdate in the past)
  • Rinse and repeat!

@theborakompanioni
Copy link
Collaborator Author

I am inclined to hide this behind a feature toggle till users can specify the tx fee directly when JoinMarket-Org/joinmarket-clientserver#1360 is implemented. (There is a workaround by temporarily setting the txfee via /configset and resetting it to the previous value after the transaction.. but I think we do not want to go down this potentially error-prone route..)

@theborakompanioni
Copy link
Collaborator Author

Revert to draft - blocked till JoinMarket-Org/joinmarket-clientserver#1597 is tested and merged.

@theborakompanioni theborakompanioni marked this pull request as draft November 21, 2023 09:24
kristapsk added a commit to JoinMarket-Org/joinmarket-clientserver that referenced this pull request Nov 22, 2023
d8f1fc4 Add optional txfee property for direct-send wallet RPC (Kristaps Kaupe)

Pull request description:

  Resolves #1360. Jam wants it for joinmarket-webui/jam#678.

ACKs for top commit:
  AdamISZ:
    tACK d8f1fc4

Tree-SHA512: aa5afc17c0a39d65094c69d847841295c101ed74518be25610378aa7eda95ee3e609f7ae49be75c3e9d148dd8f7787ac1ccc17aa8ee624d1cef3508fa70af114
@editwentyone
Copy link

nice, one little thing: remove cancel button in this dialog

image

@theborakompanioni
Copy link
Collaborator Author

Unblocked. This can now be tackled once again.

@theborakompanioni theborakompanioni removed the blocked Merging this pull request is blocked until another issue is resolved label Jan 27, 2024
@theborakompanioni theborakompanioni marked this pull request as ready for review February 6, 2024 09:55
@editwentyone editwentyone merged commit b4948ef into master Feb 6, 2024
3 checks passed
@editwentyone editwentyone deleted the feat/renew-fb branch February 6, 2024 10:02
@MarnixCroes
Copy link

nice, great work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Fidelity Bonds Label for grouping FB issues
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

feat: renew fidelity bond
3 participants