Block reward 90, ASIC prices follow the new card price scale
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
4196151f7e
commit
90f0075fd4
3 files changed
+4
-4
No files matched your search
@@ -89,11 +89,11 @@ internal static class Program
|
||||
Check(threw, "余额不足时拒绝");
|
||||
});
|
||||
|
||||
Test("挖矿:开局 1 H 每晚约 13.4 信用点;减半在第 90 天", () =>
|
||||
Test("挖矿:开局 1 H 每晚约 24.2 信用点;减半在第 90 天", () =>
|
||||
{
|
||||
var net = new Network();
|
||||
double perH = net.Mine(1) * Tuning.PscStartPrice;
|
||||
Check(Near(perH, 13.4, 0.2), $"1 H 每晚约 13.4 信用点(抽成后):{perH:0.00}");
|
||||
Check(Near(perH, 24.2, 0.2), $"1 H 每晚约 24.2 信用点(抽成后):{perH:0.00}");
|
||||
for (int d = 1; d <= 89; d++) net.Night(d, 100, 0);
|
||||
Check(net.Reward == Tuning.BlockReward, "第 89 天还没减半");
|
||||
net.Night(90, 100, 0);
|
||||
|
||||
Reference in new issue
Block a user