remcoros on Nostr: How do you calculate the hashrate of testnet4? Because what is shown on pools (like ...
How do you calculate the hashrate of testnet4? Because what is shown on pools (like testnet.vkbit) and 'getmininginfo' RPC is completely wrong. This is because people mine future blocks with their CPU, so there is a lot of "difficulty 1" blocks, which completely messes up the hashrate calculation.
If you want to calculate the chance of hitting high enough difficulty requirement, you should only use that. e.g. P (probabilty) = 1 / (difficulty * 2^32).
You can get the difficulty from a block that has difficulty > 1 (most blocks on testnet have difficulty "1" because they set the time of the block (nTime) to 'last block + 20 minutes', and then use CPU (or bitaxe or whatever) to immediatly hash that block.
Published at
2024-09-17 16:34:39Event JSON
{
"id": "551b725d35df8735a37f0c1ca9383371dcf857b52f20512d1a1f097222a8e617",
"pubkey": "aed0088b68f3b1545326768825fd3d207a1c33397e81cc5370683920f759a36b",
"created_at": 1726590879,
"kind": 1,
"tags": [
[
"e",
"79289050902722ac56d85b3362a6976fa42216df7a94aa212dd0a1d7f5a0206f",
"",
"root"
],
[
"e",
"36ef830304d7d4e02a601311f33235594fa6cecf447aaecca75a24239cf0892d",
"",
"reply"
],
[
"p",
"e2ccf7cf20403f3f2a4a55b328f0de3be38558a7d5f33632fdaaefc726c1c8eb"
],
[
"p",
"40bdcc08888d98d49d03fb93bffd1cc46d9b8f187d08c9fc81b4adf0ad00fd2c"
]
],
"content": "How do you calculate the hashrate of testnet4? Because what is shown on pools (like testnet.vkbit) and 'getmininginfo' RPC is completely wrong. This is because people mine future blocks with their CPU, so there is a lot of \"difficulty 1\" blocks, which completely messes up the hashrate calculation.\n\nIf you want to calculate the chance of hitting high enough difficulty requirement, you should only use that. e.g. P (probabilty) = 1 / (difficulty * 2^32).\n\nYou can get the difficulty from a block that has difficulty \u003e 1 (most blocks on testnet have difficulty \"1\" because they set the time of the block (nTime) to 'last block + 20 minutes', and then use CPU (or bitaxe or whatever) to immediatly hash that block.",
"sig": "31c7b4101a05d00d569690c621245f2cc4f0adcadd53b0b909a2af11594152a0d7d2ec4436cfc7b44aeda19288da0d1da7ae20cf3c45522d7d23c7fa6ff96da0"
}