You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chanmon_consistency: track UTXOs to reject invalid transactions
The fuzzer's ChainState would confirm transactions that spend the same
input as an already-confirmed transaction, or spend outputs that were
never created (due to fuzz txid hash collisions). Both are impossible on
a real blockchain. This caused spurious assertion failures when e.g. a
splice tx and an old holder commitment tx both got confirmed despite
spending the same funding outpoint.
Add UTXO tracking to ChainState: confirmed transaction outputs are added
to a UTXO set, spent inputs are removed, and new transactions are
rejected unless all their inputs reference existing UTXOs. This
naturally prevents both double-spends and phantom output spends.
Also give each node 50 wallet UTXOs (up from 1) so that anchor-channel
HTLC claims don't exhaust the wallet during settlement.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments