rwadurian/backend/services/mining-service/src
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
..
api feat(mining): 实现每秒挖矿分配系统 2026-01-14 03:25:47 -08:00
application fix(mining-service): listen to correct CDC topic for contribution sync 2026-01-14 05:30:38 -08:00
domain feat(mining): 实现每秒挖矿分配系统 2026-01-14 03:25:47 -08:00
infrastructure fix(mining-service): Redis锁使用毫秒PX代替秒EX支持小数TTL 2026-01-14 03:52:22 -08:00
shared feat(mining-ecosystem): 添加挖矿生态系统完整微服务与前端 2026-01-10 17:45:46 -08:00
app.module.ts feat(mining-ecosystem): 添加挖矿生态系统完整微服务与前端 2026-01-10 17:45:46 -08:00
main.ts refactor(api): 升级 mining-service 和 mining-wallet-service API 前缀至 v2 2026-01-11 22:31:06 -08:00