go-blockchain/tui
Claude 0408d2f3fa
Some checks failed
Security Scan / security (push) Successful in 9s
Test / Test (push) Failing after 15s
refactor(types): change TxOutputBare.Target to TxOutTarget interface
Prepares for HF1 output target types (TxOutMultisig, TxOutHTLC).
All call sites updated to type-assert TxOutToKey where needed.

Modified files:
- types/transaction.go: TxOutputBare.Target is now TxOutTarget
- wire/transaction.go: encode/decode use type switch on target
- chain/ring.go: type-assert target to TxOutToKey for key extraction
- wallet/scanner.go: type-assert target before key comparison
- tui/explorer_model.go: type-assert target for display
- wire/transaction_test.go: type-assert in assertions
- wallet/builder_test.go: type-assert in assertions

Co-Authored-By: Charon <charon@lethean.io>
2026-03-16 20:23:27 +00:00
..
explorer_model.go refactor(types): change TxOutputBare.Target to TxOutTarget interface 2026-03-16 20:23:27 +00:00
explorer_model_test.go test(tui): add ExplorerModel navigation and view tests 2026-02-23 00:05:10 +00:00
keyhints_model.go feat(tui): add KeyHintsModel for context-sensitive footer 2026-02-22 23:57:07 +00:00
keyhints_model_test.go feat(tui): add KeyHintsModel for context-sensitive footer 2026-02-22 23:57:07 +00:00
messages.go feat(tui): add custom bubbletea message types 2026-02-22 23:50:15 +00:00
node.go feat(tui): add Node wrapper with status polling 2026-02-22 23:52:50 +00:00
node_test.go feat(tui): add Node wrapper with status polling 2026-02-22 23:52:50 +00:00
status_model.go feat(tui): add StatusModel for chain sync header 2026-02-22 23:55:22 +00:00
status_model_test.go feat(tui): add StatusModel for chain sync header 2026-02-22 23:55:22 +00:00