Passer au contenu

Bitcoin accepté au paiement  |  Expédié depuis Laval, QC, Canada  |  Soutien expert depuis 2016

Target (Mining)

Network & Protocol

Definition

The target is the 256-bit number that defines what counts as a winning hash in Bitcoin mining. For a block to be valid, the double SHA-256 hash of its header, interpreted as a number, must be equal to or below the current target. Hash outputs are unpredictable — there is no way to steer them — so miners simply try enormous numbers of header variations until one lands under the threshold. That brute, honest search is the essence of proof of work: the target is the bar, and hashing is the only way over it.

nBits: the compact encoding

Carrying a full 256-bit number in every block header would waste space, so the header stores the target in a 4-byte compressed form called nBits. It works like scientific notation in base 256: one byte of exponent and three bytes of coefficient expand deterministically back into the full 256-bit target. Every node decodes nBits from the block header and independently verifies both that the value matches what the protocol demands for that block, and that the header hash actually clears it. No one asserts a block is valid — everyone checks.

Target, difficulty, and the retarget

Target and difficulty are inverse expressions of the same quantity: a lower target leaves fewer valid hash values, so it is harder to hit, which we describe as higher difficulty. Every 2,016 blocks — roughly two weeks — each node recalculates the target from the timestamps of the preceding window to hold average block time near 10 minutes. If blocks arrived too fast, the target tightens; too slow, it loosens (capped at a factor of four per adjustment in either direction). This feedback loop is why Bitcoin's issuance schedule holds regardless of how much hashrate joins or leaves: more machines do not mean more coins, only a lower target.

How hardware searches under the target

The header's 32-bit nonce field offers only about 4.3 billion variations — an ASIC exhausts that in a fraction of a second — so real miners generate fresh search space by rolling the extranonce in the coinbase transaction (which changes the merkle root) and by version rolling spare bits in the header's version field. Every variation is another lottery ticket checked against the same target.

Share targets: the pool's easier bar

One target secures the network, but pools run a second, much easier one. A mining pool assigns each machine a share target thousands of times looser than the network target, so the machine regularly finds hashes that clear the easy bar. Those shares prove the miner is working and meter out payouts; the rare share that also clears the network target is a valid block. When your dashboard shows share difficulty or your firmware reports “best share,” it is describing this two-tier system — same search, two thresholds. Understanding the target makes the rest of mining legible: difficulty, luck, shares, and why a warehouse of machines and a single Bitaxe are playing exactly the same game with different numbers of tickets.

In Simple Terms

The target is the 256-bit number that defines what counts as a winning hash in Bitcoin mining. For a block to be valid, the double…

Explore the Full Glossary

Browse all Bitcoin mining terms from A to Z. Whether you are a beginner or expert, deepen your understanding of the mining ecosystem.

Glossaire du minage

ASIC Miner Database

Compare 500+ miners with real-time profitability data, home mining scores, and detailed specs.

Comparer les mineurs