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> |
||
|---|---|---|
| .. | ||
| build.sh | ||
| go.mod | ||
| go.sum | ||
| main.go | ||
| tss.wasm | ||