Skip to content

Add btc_punish_txid to get-swaps response#1050

Merged
binarybaron merged 2 commits into
masterfrom
feat/punish-txid-get-swaps
May 27, 2026
Merged

Add btc_punish_txid to get-swaps response#1050
binarybaron merged 2 commits into
masterfrom
feat/punish-txid-get-swaps

Conversation

@binarybaron
Copy link
Copy Markdown

What changed

  • Added btc_punish_txid field to the Swap struct returned by the get-swaps ASB/controller endpoint. It is the Bitcoin punish transaction id, derived deterministically from the swap's locked state.
  • Added a public txid() method to TxPunish.
  • Made State3::tx_punish() public.
  • Added a BTC Punish TxID column to the swap-controller swaps table.
  • Added a changelog entry.

@binarybaron binarybaron merged commit 56cca78 into master May 27, 2026
58 of 76 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant