bsv-wallet-postgres 0.4.0
·
565 commits
to master
since this release
0.4.0 — 2026-04-12
Added
BSV::Wallet::SolidQueueAdapter— PostgreSQL-backed async broadcast queue implementing theBroadcastQueueinterface- Migration 006:
wallet_broadcast_jobstable withFOR UPDATE SKIP LOCKEDpolling support - Background worker thread broadcasts transactions and promotes/rolls back wallet state
- Recovery on restart via stale
locked_atdetection - Idempotent enqueue on duplicate txid (crash recovery)
MAX_ATTEMPTSenforcement (5) prevents infinite retry loops- Guard refuses MemoryStore attachment
Fixed
- Migration timestamps use
timestamptz(matching migration 004 pattern) start()check-and-set is atomic under mutex (prevents TOCTOU double-spawn)- Deserialization failures mark job as failed immediately (no tight retry loop)