Bitcoin Forum
April 16, 2024, 05:05:58 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: [VIDEO][TECNICO] Come funziona il Bitcoin sotto al coperchio  (Read 9400 times)
bitbollo
Legendary
*
Offline Offline

Activity: 3220
Merit: 3451


Nec Recisa Recedit


View Profile
September 13, 2021, 09:18:13 AM
 #21


Questa è un'immagine proveniente dal video (min 17:35):



Secondo l'immagine anche tutti i miner che trovano una soluzione "001", "002", "050", "075" vincono, no?


Da questa immagine vince solo l'ultimo miner, perchè trova 87 < 100

███████████████████████████
███████▄████████████▄██████
████████▄████████▄████████
███▀█████▀▄███▄▀█████▀███
█████▀█▀▄██▀▀▀██▄▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄▀██▄▄▄██▀▄██▄████
████▄████▄▀███▀▄████▄████
██▄███▀▀█▀██████▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits.
..........UNLEASH..........
THE ULTIMATE
GAMING EXPERIENCE
DUELBITS
FANTASY
SPORTS
████▄▄█████▄▄
░▄████
███████████▄
▐███
███████████████▄
███
████████████████
███
████████████████▌
███
██████████████████
████████████████▀▀▀
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
.
▬▬
VS
▬▬
████▄▄▄█████▄▄▄
░▄████████████████▄
▐██████████████████▄
████████████████████
████████████████████▌
█████████████████████
███████████████████
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
/// PLAY FOR  FREE  ///
WIN FOR REAL
..PLAY NOW..
1713243958
Hero Member
*
Offline Offline

Posts: 1713243958

View Profile Personal Message (Offline)

Ignore
1713243958
Reply with quote  #2

1713243958
Report to moderator
The Bitcoin software, network, and concept is called "Bitcoin" with a capitalized "B". Bitcoin currency units are called "bitcoins" with a lowercase "b" -- this is often abbreviated BTC.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713243958
Hero Member
*
Offline Offline

Posts: 1713243958

View Profile Personal Message (Offline)

Ignore
1713243958
Reply with quote  #2

1713243958
Report to moderator
bitbollo
Legendary
*
Offline Offline

Activity: 3220
Merit: 3451


Nec Recisa Recedit


View Profile
September 13, 2021, 09:35:58 AM
 #22

Il video per semplificare parla sempre di hash...

credo che sia corretto e non una semplificazione

Quote
(Mastering Bitcoin - Antonopoulos)
the miner calculates the hash of this block’s header and sees if it is smaller than the current target.
If the hash is not less than the target, the miner will modify the nonce (usually just incrementing it by one) and try again. At the current difficulty in the bitcoin network, miners have to try quadrillions of times before finding a nonce that results in a low enough block header hash.


I miner verificano questo hash generato dalla stringa di bit e non la stringa di bit in se (...un discorso di "lunghezza" e di "formattazione" di questa stringa)

███████████████████████████
███████▄████████████▄██████
████████▄████████▄████████
███▀█████▀▄███▄▀█████▀███
█████▀█▀▄██▀▀▀██▄▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄▀██▄▄▄██▀▄██▄████
████▄████▄▀███▀▄████▄████
██▄███▀▀█▀██████▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits.
..........UNLEASH..........
THE ULTIMATE
GAMING EXPERIENCE
DUELBITS
FANTASY
SPORTS
████▄▄█████▄▄
░▄████
███████████▄
▐███
███████████████▄
███
████████████████
███
████████████████▌
███
██████████████████
████████████████▀▀▀
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
.
▬▬
VS
▬▬
████▄▄▄█████▄▄▄
░▄████████████████▄
▐██████████████████▄
████████████████████
████████████████████▌
█████████████████████
███████████████████
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
/// PLAY FOR  FREE  ///
WIN FOR REAL
..PLAY NOW..
simpic
Hero Member
*****
Offline Offline

Activity: 1234
Merit: 789


View Profile
September 13, 2021, 09:50:06 AM
 #23


Questa è un'immagine proveniente dal video (min 17:35):



Secondo l'immagine anche tutti i miner che trovano una soluzione "001", "002", "050", "075" vincono, no?


Da questa immagine vince solo l'ultimo miner, perchè trova 87 < 100

Sì, sì, lo so. Dicevo ad esempio, se seguiamo questa immagine allora anche se c'erano altri miner con soluzioni "001", "002", "050", "075" vincevano, no?

Comunque ho risolto. Vediamola in binario:

00001001 (target)
00001000 miner1
00001010 miner2
00001111 miner3

Chi vince? Solo il miner1... perché è l'unico che ha un hash che in binario è minore al binario dell'hash target.

I miner verificano questo hash generato dalla stringa di bit e non la stringa di bit in se (...un discorso di "lunghezza" e di "formattazione" di questa stringa)
Guardando il codice sorgente la verifica è sui bit, non sull'hash esadecimale...

bitbollo
Legendary
*
Offline Offline

Activity: 3220
Merit: 3451


Nec Recisa Recedit


View Profile
September 14, 2021, 05:29:44 AM
 #24

Sì, sì, lo so. Dicevo ad esempio, se seguiamo questa immagine allora anche se c'erano altri miner con soluzioni "001", "002", "050", "075" vincevano, no?
E' l'esempio che ti ho riportato prima. Però se è davvero improbabile praticamente impossibile che vincono 2 miner insieme, figuriamoci 4 ! Roll Eyes
Ma ovviamente si nel caso trovassero il blocco tutti nello stesso istante.

Chi vince? Solo il miner1... perché è l'unico che ha un hash che in binario è minore al binario dell'hash target.
Certo

Guardando il codice sorgente la verifica è sui bit, non sull'hash esadecimale...
 
Non sono un informatico e capirei ben poco dal codice sorgente, per cui non riesco a risponderti oltre a quanto detto. 
Ho riportato la spiegazione dal libro Mastering Bitcoin, almeno per il momento me la sono fatta andare bene Smiley

███████████████████████████
███████▄████████████▄██████
████████▄████████▄████████
███▀█████▀▄███▄▀█████▀███
█████▀█▀▄██▀▀▀██▄▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄▀██▄▄▄██▀▄██▄████
████▄████▄▀███▀▄████▄████
██▄███▀▀█▀██████▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits.
..........UNLEASH..........
THE ULTIMATE
GAMING EXPERIENCE
DUELBITS
FANTASY
SPORTS
████▄▄█████▄▄
░▄████
███████████▄
▐███
███████████████▄
███
████████████████
███
████████████████▌
███
██████████████████
████████████████▀▀▀
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
.
▬▬
VS
▬▬
████▄▄▄█████▄▄▄
░▄████████████████▄
▐██████████████████▄
████████████████████
████████████████████▌
█████████████████████
███████████████████
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
/// PLAY FOR  FREE  ///
WIN FOR REAL
..PLAY NOW..
Pages: « 1 [2]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!