rwadurian/backend/services/contribution-service/src
hailin de5416aee6 feat(mining): 实现系统账户和待解锁算力参与挖矿
重大变更:
- 挖矿分母从用户有效算力改为全网理论算力(networkTotalContribution)
- 系统账户(运营12%/省1%/市2%)参与挖矿,有独立的挖矿记录
- 待解锁算力参与挖矿,收益归总部账户,记录包含完整来源信息

新增功能:
- mining-service: 系统挖矿账户表、待解锁算力表及相关挖矿记录表
- mining-service: NetworkSyncService 同步全网数据
- mining-service: /admin/sync-network 和 /admin/system-accounts 端点
- contribution-service: /admin/system-accounts 和发布系统账户事件端点
- mining-admin-service: 状态检查返回全网理论算力信息

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 03:39:56 -08:00
..
api feat(mining): 实现系统账户和待解锁算力参与挖矿 2026-01-16 03:39:56 -08:00
application feat(dashboard): add detailed contribution breakdown by category 2026-01-15 01:43:37 -08:00
domain feat(mining): 实现系统账户和待解锁算力参与挖矿 2026-01-16 03:39:56 -08:00
infrastructure feat(dashboard): add detailed contribution breakdown by category 2026-01-15 01:43:37 -08:00
shared fix(contribution-service): 修复JWT验证与auth-service不兼容 2026-01-11 18:18:21 -08:00
app.module.ts fix(contribution-service): add parent .env path for shared config 2026-01-15 07:00:02 -08:00
main.ts fix(contribution-service): 统一使用api/v2前缀 2026-01-11 09:05:42 -08:00