rwadurian/backend/services/mining-service/src
hailin 974d660544 feat(mining): sync pool balance via Kafka when mining distributes
- mining-service: publish MINING_MINUTE_DISTRIBUTED event to Kafka after
  each minute's mining distribution is completed
- mining-wallet-service: add MiningDistributionConsumer to consume the
  event and deduct from SHARE_POOL_B
- Add deductFromSharePoolB method in PoolAccountService
- This ensures the share pool balance displayed in mining-app reflects
  the actual remaining balance after mining distributions

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-15 21:30:35 -08:00
..
api fix(mining-service): make health endpoints public 2026-01-14 07:35:42 -08:00
application feat(mining): sync pool balance via Kafka when mining distributes 2026-01-15 21:30:35 -08:00
domain feat: split share pool into A (100亿) and B (200万) accounts 2026-01-15 05:55:52 -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 fix(mining-*): add parent .env path for shared config 2026-01-15 06:58:56 -08:00
main.ts refactor(api): 升级 mining-service 和 mining-wallet-service API 前缀至 v2 2026-01-11 22:31:06 -08:00