前端"流通池"原来读取 circulationPool(交易流通池),因系统尚无卖出交易故为 0。 现改为读取 totalMined(全网已挖矿产出的积分股总量 = 用户已挖 + 系统已挖)。 后端新增 getTotalMinedFromMiningService() 方法,调用 mining-service 的 GET /mining/progress 接口获取 totalDistributed。 注意:价格公式中的 circulationPool 保持不变,仍用交易流通池参与计算。 新增的 totalMined 字段仅用于前端展示。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| android | ||
| assets | ||
| ios | ||
| lib | ||
| scripts | ||
| test | ||
| .gitignore | ||
| .metadata | ||
| DEVELOPMENT_GUIDE.md | ||
| README.md | ||
| analysis_options.yaml | ||
| pubspec.yaml | ||
README.md
mining_app
A new Flutter project.
Getting Started
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.