fix credits package bug and improve stale payment logic

This commit is contained in:
jwinterm
2026-02-19 07:05:15 -05:00
parent bc55f0355e
commit 5776c58357
6 changed files with 102 additions and 24 deletions
@@ -0,0 +1,5 @@
-- Add address_index column to payments table
-- Stores the wallet subaddress index so payment monitoring can be fully
-- restored from DB after server restart (needed for get_transfers RPC call)
ALTER TABLE payments ADD COLUMN IF NOT EXISTS address_index INTEGER;