bsv-wallet-postgres 0.2.0
·
627 commits
to master
since this release
0.2.0 — 2026-04-12
Added
- Migration 004 — adds
satoshis,pending_since,pending_reference,
no_sendcolumns and a partial index on(state, basket)for spendable
rows (#353) find_spendable_outputs(basket:, min_satoshis:, sort_order:)— query
spendable outputs with backward-compatible COALESCE for legacy rows (#354)update_output_state(outpoint, new_state, ...)— transition output
state with JSONB data synchronisation (#354)lock_utxos(outpoints, reference:, no_send:)— atomic
UPDATE ... WHERE state = 'spendable' RETURNINGpattern for concurrent
safety (#355)release_stale_pending!(timeout:)— recover stuck pending outputs,
exemptingno_sendlocks (#355)- PostgresStore settings methods —
store_setting/find_setting
Fixed
- Spendable boolean sync —
update_output_state,lock_utxos, and
release_stale_pending!now keep the legacyspendablecolumn in sync
with thestatecolumn;filter_outputsuses dual-column WHERE clause
Changed
- Directory restructure — source moved to
gem/bsv-wallet-postgres/