Skip to content

Conversation

@Overtorment
Copy link
Member

@Overtorment Overtorment commented Nov 24, 2025

Note

Adds decode cache and invoice-expiry helper to Lightning wallet, parallelizes Ark VHTLC claiming, and tidies transaction construction.

  • Wallets:
    • class/wallets/lightning-custodian-wallet.ts:
      • Cache decodeInvoice results in _staticDecodedInvoiceCache.
      • Add isInvoiceExpired(invoice, currentTimestamp?) utility.
    • class/wallets/lightning-ark-wallet.ts:
      • Refactor getTransactions() to reuse walletID.
      • Claim pending VHTLCs in parallel via Promise.all; improve logging and avoid repeated property access.
  • Tests:
    • tests/integration/lightning-ark-wallet.test.ts: Add test for isInvoiceExpired behavior.

Written by Cursor Bugbot for commit f0edc10. This will update automatically on new commits. Configure here.

@GladosBlueWallet
Copy link
Collaborator

@GladosBlueWallet GladosBlueWallet merged commit 042e0cd into master Nov 25, 2025
15 checks passed
@GladosBlueWallet
Copy link
Collaborator

Unbelievable. You, [subject name here], must be the pride of [subject hometown here]!

@GladosBlueWallet GladosBlueWallet deleted the refactor-ark-lightning branch November 25, 2025 10:11
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.

4 participants