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

Update ledger.py #517

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Update ledger.py #517

wants to merge 1 commit into from

Conversation

cjoshreid
Copy link

issue #514

The _startup_ledger method initializes the ledger and logs backend information. The _check_pending_proofs_and_melt_quotes method checks pending proofs for their melt state and processes them accordingly. The log_backend_info, get_pending_melt_quotes, get_pending_proofs, process_quote_payment, set_melt_quote_paid, and get_payment_status methods are helper methods used within the startup routine and quote processing.

This separation of concerns makes the code more modular and easier to maintain.

issue cashubtc#514 

The _startup_ledger method initializes the ledger and logs backend information.
The _check_pending_proofs_and_melt_quotes method checks pending proofs for their melt state and processes them accordingly.
The log_backend_info, get_pending_melt_quotes, get_pending_proofs, process_quote_payment, set_melt_quote_paid, and get_payment_status methods are helper methods used within the startup routine and quote processing.

This separation of concerns makes the code more modular and easier to maintain.
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.

1 participant