rwadurian/backend/services/mining-service
hailin ce95c40c84 fix(mining-service): listen to correct CDC topic for contribution sync
Changed event handler to:
- Listen to 'cdc.contribution.outbox' topic (CDC/Debezium format)
- Handle 'ContributionAccountUpdated' events instead of 'ContributionCalculated'
- Use effectiveContribution for mining power calculation

This fixes the issue where mining accounts had zero totalContribution
because they weren't receiving contribution sync events.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 05:30:38 -08:00
..
prisma feat(mining-service): 添加migration将minuteDistribution改为secondDistribution 2026-01-14 03:40:41 -08:00
src fix(mining-service): listen to correct CDC topic for contribution sync 2026-01-14 05:30:38 -08:00
.env.example feat(mining-ecosystem): 添加挖矿生态系统完整微服务与前端 2026-01-10 17:45:46 -08:00
DEVELOPMENT_GUIDE.md feat(mining-ecosystem): 添加挖矿生态系统完整微服务与前端 2026-01-10 17:45:46 -08:00
Dockerfile fix(mining-service): 添加Dockerfile构建验证步骤 2026-01-14 03:45:51 -08:00
nest-cli.json feat(mining-ecosystem): 添加挖矿生态系统完整微服务与前端 2026-01-10 17:45:46 -08:00
package-lock.json fix: update mining-service package-lock.json 2026-01-11 09:12:48 -08:00
package.json feat(mining): 实现每秒挖矿分配系统 2026-01-14 03:25:47 -08:00
tsconfig.json fix(mining-service): 添加tsconfig include/exclude配置修复构建 2026-01-14 03:48:18 -08:00