Commit Graph
5 Commits
Author SHA1 Message Date
Chris Troutner 962b2eb627 Lower tip dust limit to 600 sats and keep the like/tip modal editable after errors
Allow tips as low as 600 sats (tip output dust) while keeping the wallet
balance gate at 3000 sats to cover transaction fees. Keep the tip input and
Like button enabled after a validation error so the user can edit and retry.

By specifier.
2026-08-26 07:10:06 -07:00
Chris Troutner e7e758d370 Fix like/tip modal spendable balance against the live wallet
The Like/Tip modal crashed with "utxos.reduce is not a function" because
MemoLike.getSpendableSats assumed wallet.utxos was an array, while
minimal-slp-wallet exposes it as a UtxoStore object whose spendable BCH
outputs live under utxoStore.bchUtxos. Accept both shapes, and refresh the
wallet UTXOs before the modal's gating balance check.

By specifier.
2026-08-26 07:02:53 -07:00
Chris Troutner 61d50dfa88 Add architectural review for like-tip-memo
- Add three boundary unit tests to memo-like (tip == max, spendable ==
  dust, tip == spendable) closing mutation survivors.
- Refresh mutate4javascript and acceptance-mutation manifests from normal
  tool runs.
- Add written architectural review report for like-tip-memo.

By architect.
2026-08-26 06:40:27 -07:00
Chris Troutner 6b7a7e2b86 Reduce CRAP in like/tip slice and add property/coverage tests
- Extract helpers in memo-like to bring all CRAP scores to 6 or below.
- Consolidate duplicated rejection assertions in memo-like and like-tip-page tests.
- Add hex unit tests to close a coverage gap.
- Add property tests for hex round-trip, like validation, and spendable sum.

By refactorer.
2026-08-26 06:23:23 -07:00
Chris Troutner dd0535d133 Implement Like / Tip a Memo
Adds the Memo like action (0x6d04) with optional author tip, a like/tip
page controller, heart icon + modal UI, and acceptance handlers for
specs/like-tip-memo.feature.

By coder.
2026-08-26 06:14:01 -07:00