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

Mint: Recover pending melts at startup #499

Merged
merged 26 commits into from
Apr 3, 2024
Merged

Mint: Recover pending melts at startup #499

merged 26 commits into from
Apr 3, 2024

Conversation

callebtc
Copy link
Collaborator

Recovers pending melt requests by checking the LN backends during startup.

@callebtc callebtc added enhancement New feature or request mint About the Nutshell mint labels Mar 30, 2024
Copy link

codecov bot commented Mar 30, 2024

Codecov Report

Attention: Patch coverage is 80.18018% with 22 lines in your changes are missing coverage. Please review.

Project coverage is 69.12%. Comparing base (1f1daca) to head (f09630b).

Files Patch % Lines
cashu/mint/ledger.py 85.71% 7 Missing ⚠️
cashu/lightning/corelightningrest.py 28.57% 5 Missing ⚠️
cashu/lightning/lnbits.py 62.50% 3 Missing ⚠️
cashu/lightning/lndrest.py 0.00% 2 Missing ⚠️
cashu/mint/router.py 0.00% 2 Missing ⚠️
cashu/mint/startup.py 0.00% 2 Missing ⚠️
cashu/core/errors.py 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #499      +/-   ##
==========================================
+ Coverage   67.89%   69.12%   +1.23%     
==========================================
  Files          76       76              
  Lines        6815     6876      +61     
==========================================
+ Hits         4627     4753     +126     
+ Misses       2188     2123      -65     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@callebtc callebtc merged commit b8ad0e0 into main Apr 3, 2024
16 checks passed
@callebtc callebtc deleted the recover_startup branch April 3, 2024 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request mint About the Nutshell mint
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant