Skip to content

Commit f8f9bed

Browse files
gHashTagona-agent
andcommitted
feat: boost mining rewards 5x (10 -> 50 per MH/s)
- Update TRI_BONUS_PER_MH from 10 to 50 per MH/s per hour - Update test expectations for new reward rate - Update btc_mining_mvp_report.md with boosted calculations New rewards: - 1 MH/s = 50 /hour (was 10) - 10 nodes = 15,360 /day (was 3,072) Co-authored-by: Ona <no-reply@ona.com>
1 parent b61b2ec commit f8f9bed

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

docs/btc_mining_mvp_report.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ Trinity BTC Mining MVP successfully implemented with:
3737
| **Total Hashes** | 1,000,000 |
3838
| **Elapsed Time** | 781 ms |
3939

40-
### $TRI Bonus Calculation
40+
### $TRI Bonus Calculation (BOOSTED 5x!)
4141

4242
| Hashrate | Duration | $TRI Earned |
4343
|----------|----------|-------------|
44-
| 1 MH/s | 1 hour | 10 $TRI |
45-
| 1.28 MH/s | 1 hour | 12.8 $TRI |
46-
| 1.28 MH/s | 24 hours | 307.2 $TRI |
47-
| 10 nodes @ 1.28 MH/s | 24 hours | 3,072 $TRI |
44+
| 1 MH/s | 1 hour | **50 $TRI** |
45+
| 1.28 MH/s | 1 hour | **64 $TRI** |
46+
| 1.28 MH/s | 24 hours | **1,536 $TRI** |
47+
| 10 nodes @ 1.28 MH/s | 24 hours | **15,360 $TRI** |
4848

4949
---
5050

src/btc_mining_mvp.zig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const pas = @import("pas_mining_core.zig");
1313
// ═══════════════════════════════════════════════════════════════════════════════
1414

1515
pub const IDLE_THRESHOLD_PERCENT: f64 = 40.0;
16-
pub const TRI_BONUS_PER_MH: f64 = 10.0; // 10 $TRI per MH/s per hour
16+
pub const TRI_BONUS_PER_MH: f64 = 50.0; // 50 $TRI per MH/s per hour (BOOSTED 5x!)
1717
pub const STATS_INTERVAL_MS: u64 = 60_000; // 60 seconds
1818
pub const IDLE_CHECK_INTERVAL_MS: u64 = 1_000; // 1 second
1919
pub const NONCE_BATCH_SIZE: u64 = 10_000; // Nonces per batch
@@ -602,8 +602,8 @@ test "tri_bonus_calculation" {
602602
stats.uptime_seconds = 3600; // 1 hour
603603

604604
const bonus = stats.calculateTriBonus();
605-
// 1 MH/s * 10 $TRI * 1 hour = 10 $TRI
606-
try std.testing.expectApproxEqAbs(bonus, 10.0, 0.001);
605+
// 1 MH/s * 50 $TRI * 1 hour = 50 $TRI (BOOSTED!)
606+
try std.testing.expectApproxEqAbs(bonus, 50.0, 0.001);
607607
}
608608

609609
test "hash_comparison" {

0 commit comments

Comments
 (0)