Ulasan Challenge #6 - Mining Quiz Periode-4-
Archived- Jumlah partisipan : 4
- Link jawaban peserta quiz :
Sheets JawabanJawaban salah dan tidak memenuhi syarat*
Jawaban salah dan tidak memenuhi syarat*
Jawaban keduanya benar (reward merit +5 by
@dbshck)
* Partisipasi Challenge #6 - Mining Quiz - Periode 4
* Account : Sectorcleaar
* Link Profile :https://bitcointalk.org/index.php?action=profile;u=2039425
* Sudah mengisi Form submit jawaban : Ya
Ralat pak jawaban nomer 2 saya ubah , karna keburu kepencet saat submit form . Jawaban baru saya kirim di PM pak
Jawaban salah dan tidak memenuhi syarat*
* Rules : Setiap jawaban harus diuraikan dengan jelas (harus ada langkah-langkah pengerjaannya)
PembahasanPertanyaanDifficulty (BDiff) Bitcoin diketahui sebesar 623,3869598689275350875461418504115754357567263467498371464103120866973292
1. Dengan menggunakan protocol yang berlaku, maka carilah nilai Target sekarang dalam format Compact 4 Bytes (Bits)
2. Difficulty pada sebuah pool X menggunakan parameter PDiff (Pool Difficulty), dan pool hashrate diketahui sebesar 0.002 Th/s. Jika reward 1 block sebesar 50BTC, berapa jumlah coin (satoshi) yang bisa dihasilkan oleh miner A yang mempunyai avg hasrate sebesar 3 Mh/s, saat mining di PooL X selama 24 Jam ?
Petunjuk :
- Gunakan Protocol Bitcoin
- Untuk hasil Target dalam bentuk decimal (soal No.1), abaikan nilai dibelakang tanda koma
-
https://www.calculator.net/big-number-calculator.html-
https://www.mobilefish.com/services/big_number/big_number.php Jawaban1. Diketahui
Difficulty (BDiff) = 623,3869598689275350875461418504115754357567263467498371464103120866973292
Difficulty_1_Target (BDiff) = 0000 0000 FFFF 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 (32 Bytes)
Convert Hex To Decimal = 2,6959535291011E+67
= 26.959.535.291.011.309.493.156.476.344.723.991.336.010.898.738.574.164.086.137.
773.096.960
Current Target = Difficulty_1_Target (BDiff) : Difficulty
= 26.959.535.291.011.309.493.156.476.344.723.991.336.010.898.738.574.164.086.137.
773.096.960 / 623,3869598689275350875461418504115754357567263467498371464103120866973292
= 43.246.870.766.561.725.070.861.386.869.077.695.524.372.774.526.710.079.316.876.
591.104,00000000007833149065
= 43.246.870.766.561.725.070.861.386.869.077.695.524.372.774.526.710.079.316.876.
591.104
Convert Decimal to Hex (43.246.870.766.561.725.070.861.386.869.077.695.524.372.774.526.710.079.316.876.
591.104)
= 69 2098 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 (27 Bytes)
1 Byte = 2 Hex Character
27 Bytes = 54 Hex Character
27 Bytes (in Decimal) = 1B Bytes (in Hex)
- Bits (Target) : Current Target dalam Compact Format (32 bits / 4 Bytes / 8 Hex Character) (
https://bitcoin.org/en/developer-reference#target-nbits)
- Struktur target (Bits) 0xEECCCC terdiri dari EE = exponent dan CCCC = coefficient (significand),
- Target 69 2098 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 (27 Bytes), dimana byte pertama 69 (105) lebih kecil dari 7F (127) maka tidak perlu ditambahkan zero digit sehingga ukurannya tetap 27 bytes.
Maka :
exponent = 27 Bytes (convert decimal form to hex form) = 1B = 0x1B
coefficient = 692098 = 0x692098.
Sehingga didapat Target (Bits) : 0x1B692098 = 1B692098
Proof :
Target = coefficient * 2^(8 * (exponent – 3))
= 0x692098 * 2 ^ (0x08 * (0x1B - 0x03) >>>> Convert Hex to Decimal
= 6.889.624 * 2 ^ (8 * (27 - 3))
= 6.889.624 * 2 ^ (192)
= 43.246.870.766.561.725.070.861.386.869.077.695.524.372.774.526.710.079.316.876.
591.104
Jadi untuk nilai target Bits (4 Bytes) adalah 1B692098
(Valid Proof bisa dilihat pada Block 77777
https://blockexplorer.com/block/00000000005f2ffd0a95ae6d0f96c82782093debe7118af13debfbf5d5e69b86)
2. Diketahui
Target (Bits) = 1B692098
Recall 256 Bit (32 Byte) = 0000 0000 0069 2098 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
Hex to Decimal = 43.246.870.766.561.725.070.861.386.869.077.695.524.372.774.526.710.079.316.876.
591.104
Difficulty_1_Target (PDiff) = 0000 0000 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF
Hex to Decimal = 26.959.946.667.150.639.794.667.015.087.019.630.673.637.144.422.540.572.481.103.
610.249.215
Difficulty (PDiff) = Difficulty_1_Target (Non-truncated target) : Current Target (256 Bit)
Difficulty (PDiff) = 0000 0000 FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFF / 0000 0000 0069 2098 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
= 26.959.946.667.150.639.794.667.015.087.019.630.673.637.144.422.540.572.481.103.
610.249.215 / 43.246.870.766.561.725.070.861.386.869.077.695.524.372.774.526.710.079.316.876.
591.104
= 623,39647214
Pool Hashrate = 0.002 Th/s = 2 Gh/s = 2.000.000.000 h/s
Difficulty (PDiff) = 623,39647214
Reward = 50 BTC
Block Time = difficulty * 2^32 / hashrate
= 623,39647214 * 4.294.967.296 / 2.000.000.000
= 1.338,7337 detik = 22,31222883569 Menit
24 Jam = 24 x 60 Menit = 1440 Menit
Est. Block found 24H = 1440 : 22,31222883569 = 64,538599465
Est. Block/Hash (24H) = 64,538599465 : 2.000.000.000 = 0,0000000322692997325 Block
Miner A Hashrate = 3 Mh/s = 3.000.000 h/s
Block found 24 H = 0,0000000322692997325 * 3.000.000 = 0,0968078992 Block
BTC earn 24 H = 0,0968078992 * 50 BTC = 4,84039496 BTC = 484.039.496 Satoshi
Jadi dalam sehari Miner A akan mendapatkan hasil mining sekitar 484.039.496 Satoshi (4,84039496 BTC)
Proof :
https://www.coinwarz.com/calculators/bitcoin-mining-calculator/?h=0.003&p=1320.00&pc=0.10&pf=0.00&d=623.39647214&r=50&er=6579.00000000&hc=0.00Ref :
https://en.bitcoin.it/wiki/Difficultyhttps://blockexplorer.com/block/00000000005f2ffd0a95ae6d0f96c82782093debe7118af13debfbf5d5e69b86https://www.calculator.net/big-number-calculator.htmlhttps://www.mobilefish.com/services/big_number/big_number.phphttps://www.coinwarz.com/calculators/bitcoin-mining-calculator/Credit to :
@dbshck (untuk reward Quiz)