rwadurian/backend/mpc-system/services/service-party-android/tsslib
hailin 2365a50b1b feat(tss): add real-time round progress from msg.Type() parsing
Extract current round number from tss-lib message type string using
regex pattern `Round(\d+)`. This enables real-time progress updates
(1/4, 2/4... for keygen, 1/9, 2/9... for signing) instead of only
showing completion status.

Changes across all three platforms:
- tss-wasm/main.go: Add extractRoundFromMessageType() and call
  OnProgress with parsed round on each outgoing message
- service-party-android/tsslib/tsslib.go: Same implementation for
  Android gomobile binding
- service-party-app/tss-party/main.go: Same implementation for
  Electron subprocess, with isKeygen parameter to distinguish
  keygen (4 rounds) vs signing (9 rounds)

Safe fallback: Returns 0 if parsing fails, which doesn't affect
protocol execution - only UI display.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 22:41:51 -08:00
..
build.bat feat(android): add Android TSS Party app with full API implementation 2025-12-31 23:27:29 -08:00
build.sh feat(android): add Android TSS Party app with full API implementation 2025-12-31 23:27:29 -08:00
go.mod fix(android): simplify build-apk.bat with official gomobile setup 2026-01-01 00:53:04 -08:00
go.sum fix(android): simplify build-apk.bat with official gomobile setup 2026-01-01 00:53:04 -08:00
tsslib.go feat(tss): add real-time round progress from msg.Type() parsing 2026-01-01 22:41:51 -08:00