rwadurian/backend/services/mining-wallet-service
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
..
prisma fix(mining-wallet-service): use upsert in seed for 100% overwrite 2026-01-15 06:42:34 -08:00
src feat(mining): sync pool balance via Kafka when mining distributes 2026-01-15 21:30:35 -08:00
.env.example feat(mining-wallet-service): 添加独立钱包管理微服务 2026-01-10 22:21:08 -08:00
Dockerfile fix(mining-wallet): fix province/city creation and add seed on startup 2026-01-14 00:40:49 -08:00
nest-cli.json feat(mining-wallet-service): 添加独立钱包管理微服务 2026-01-10 22:21:08 -08:00
package-lock.json feat(mining-wallet-service): 添加独立钱包管理微服务 2026-01-10 22:21:08 -08:00
package.json fix(mining-wallet): fix province/city creation and add seed on startup 2026-01-14 00:40:49 -08:00
tsconfig.json fix(mining-wallet): exclude prisma directory from TypeScript compilation 2026-01-14 00:07:58 -08:00