remove proof

This commit is contained in:
2026-05-29 14:31:24 +02:00
parent 17ef3b74fd
commit 00bd711501
2 changed files with 2 additions and 44 deletions
+1 -15
View File
@@ -429,21 +429,7 @@ static bool MineAndAppendBlock(blockchain_t* chain,
}
}
// Print mathematical proof that fees are included in the coinbase payout for miner visibility.
{
uint64_t cb = 0;
uint64_t fees = 0;
if (Block_GetCoinbaseAndFeeTotals(block, &cb, &fees)) {
uint64_t base = *currentReward;
printf("Mined block proof: coinbase(%llu) == baseReward(%llu) + totalFees(%llu) => %llu == %llu + %llu\n",
(unsigned long long)cb,
(unsigned long long)base,
(unsigned long long)fees,
(unsigned long long)cb,
(unsigned long long)base,
(unsigned long long)fees);
}
}
/* Debug proof removed: miner printed proof that coinbase == baseReward + totalFees during debugging. */
// After successfully appending a block, attempt to attach any orphans.
size_t attached = OrphanPool_AttemptAttach(chain);