Companion on Nostr: That is right! Plus the summation is misleading too. It's no a perfect math equation. ...
That is right! Plus the summation is misleading too. It's no a perfect math equation.
https://github.com/bitcoin/bitcoin/blob/ff873a20a7f48698da3334acc570d97a07016ddf/src/validation.cpp#L1937-L1949```cpp
CAmount GetBlockSubsidy(int nHeight, const Consensus::Params& consensusParams)
{
int halvings = nHeight / consensusParams.nSubsidyHalvingInterval;
// Force block reward to zero when right shift is undefined.
if (halvings >= 64)
return 0;
CAmount nSubsidy = 50 * COIN;
// Subsidy is cut in half every 210,000 blocks which will occur approximately every 4 years.
nSubsidy >>= halvings;
return nSubsidy;
}
```
No summation. No perfection. Most designs don't even have that "approximate" simple lke the one above has.
It's not a halving in computer science, it's a bit(coin) shift-right. PUT THAT ON A TSHIRT HUH.
Published at
2024-12-04 00:17:35Event JSON
{
"id": "4c437e049668e272cac48e45486e7c01ed9ef21d65474b93876c62239dd52db4",
"pubkey": "f9c4c8a6ed9acc07bf919ec6666c6e0e66143ba43935e16b5159546d5da53ba2",
"created_at": 1733271455,
"kind": 1,
"tags": [
[
"e",
"027f70c1ed0f80982efd3b3f8bbb23ec036461de5081a181f6d978ea37cb1c48",
"wss://nostr.bitcoiner.social/",
"root"
],
[
"e",
"c6edfbaf04b70c23c9d1dfc5e323be9c113d272182e0342c4d4b77b40b588319",
"",
"reply"
],
[
"p",
"c24bb3ce6631aa73237fc086a91d0a201559ab64694ec0fb53cc3e895e1bee84",
"",
"mention"
],
[
"p",
"21b419102da8fc0ba90484aec934bf55b7abcf75eedb39124e8d75e491f41a5e",
"",
"mention"
]
],
"content": "That is right! Plus the summation is misleading too. It's no a perfect math equation.\n\nhttps://github.com/bitcoin/bitcoin/blob/ff873a20a7f48698da3334acc570d97a07016ddf/src/validation.cpp#L1937-L1949\n\n```cpp\nCAmount GetBlockSubsidy(int nHeight, const Consensus::Params\u0026 consensusParams)\n{\n int halvings = nHeight / consensusParams.nSubsidyHalvingInterval;\n // Force block reward to zero when right shift is undefined.\n if (halvings \u003e= 64)\n return 0;\n\n CAmount nSubsidy = 50 * COIN;\n // Subsidy is cut in half every 210,000 blocks which will occur approximately every 4 years.\n nSubsidy \u003e\u003e= halvings;\n return nSubsidy;\n}\n```\n\nNo summation. No perfection. Most designs don't even have that \"approximate\" simple lke the one above has.\n\nIt's not a halving in computer science, it's a bit(coin) shift-right. PUT THAT ON A TSHIRT HUH.",
"sig": "81ac6fc6ab418526c80c8833298c85122121541e0315426d00b503826fffcb6b9446fcce15f6f4e7dfca6f6149dce59052388045f9f8aad4f0460de138369195"
}