Post
Topic
Board Project Development
Merits 1 from 1 user
Re: "Proof of Work" - A game about the history of Bitcoin
by
stwenhao
on 02/06/2025, 19:27:00 UTC
⭐ Merited by askii (1)

Finally got all coins in the game. The limit is 49999.99994500 SAT. But now I wonder, why the Genesis Block didn't take 50 coins as unspendable forever?

Current chainwork:
Code:
user@st> block 0000000000000000000a4d303ce63a956ec7ea536337a3b9bb49a30d1d6ffe47
{
  "version": 1,
  "hash": "0000000000000000000a4d303ce63a956ec7ea536337a3b9bb49a30d1d6ffe47",
  "height": 16502,
  "confirmations": 1,
  "time": 1231259515,
  "prev_hash": "000000000000000000043ec69dc24869bad0c60461fe7c7a0395c2f9d9f2848c",
  "chain_work": "00000000000000000000000000000000000000003059494054622e495d0987c1",
  "target": "1706bf5d",
  "nonce": 1997155753,
  "merkle_root": "4024d142e9eaafa61d92979bb4019925a83ef69169eab1e3f34b42a1cc7ee059"
}
I guess I should experiment a little bit with the format of transactions and blocks, to reach some limits, like uint256 overflow. But anyway, I didn't expect to reach 2^96 chainwork. In general, when there will be 2^128 chainwork at any point in time, then it would mean, that the network produced enough power for a single SHA-256 collision, and then hash function should be upgraded.