[utxo] Skip VIN Selection over Descendant Limit

This fixes the issue that caused currently stuck BTC outbounds:

  asset  amount   age  scheduled vault  vault_balance to_address                                                          in_hash
BTC.BTC 0.34339 16351   24112080  kryt       0.686541    ...d78w 4DEC40762776B902243EA49EA674D6059928305945243E40B49C8C83CCA94840
BTC.BTC 0.34309 16366   24112060  kryt       0.686541    ...d78w 4000FD1398FDECC156428FA25BA08A8672FCF212477B99FCF575689C534CDB87

Similar to the ancestor limit there is a descendant limit check that will block broadcast, which caused a race with multiple outbounds using the same VINs after both were locked to the vault via instant-observe.

Merge request reports

Loading