Hardware and cooling
ASICBoost
ASICBoost is a technique that lets a Bitcoin miner reuse part of each hash calculation, saving power per hash.
- Applies to
- SHA-256 as Bitcoin uses it
- Open form
- version rolling
- Bits set aside
- 16, in BIP 320
- Agreed by
- the mining.configure message (BIP 310)
- Effect
- fewer calculations for each attempt
What it means in practice
The common form, called overt ASICBoost or version rolling, changes bits in the block version field. The miner and the pool must both support it; when the pool does not, some miners show an error and run less efficiently.
Do you have to do anything?
No. Current Bitcoin machines use version rolling by default, and nearly every pool accepts it. The setting is agreed between machine and pool when they connect, so there is nothing to switch on.
The one time you meet it is an old pool server or proxy that does not pass it on: the miner then logs that version rolling is not supported and draws a little more power for the same hashrate. Another server from the pool’s list clears it.
The shortcut inside SHA-256
SHA-256 eats data in pieces of 64 bytes. A Bitcoin header has 80, so it needs two pieces. The second holds only the last part of the Merkle root, the time, the target and the nonce, plus padding. Before the rounds begin, each piece is stretched into a schedule of 64 words.
That schedule depends only on the second piece. If you have several different first pieces and the same second piece, one schedule serves them all. Changing the version bits changes only the first piece, and that is the whole trick.
Open and hidden
The open way rolls the version bits, where everyone can see it in the block. The hidden way changed the order or choice of transactions until the last four bytes of the Merkle root repeated. It left no clear trace, and it became a subject of argument in 2017.
Today the open way is normal. You can spot it in an explorer: blocks from current machines have version numbers that look random, such as 0x2a3f4000 instead of a plain 0x20000000.
Why use bits of the version at all? They were meant for signaling rule changes, and only a few are ever needed at the same time. Sixteen of them were set aside, so that machines can roll them freely and signals still have room.
A second benefit: longer work
The nonce alone has 4.29 billion values. Example figures: a 200 TH/s machine uses them up 46,566 times a second, and each time it needs a fresh header. With 16 version bits one job holds 65,536 times as many attempts, about 281 trillion, which lasts 1.4 seconds.
The control board therefore prepares far fewer headers for the chips. That keeps a small processor able to feed a very fast set of hashboards.
Seeing it in a log
When the machine connects, it sends its wish with a mask such as 1fffe000. The pool replies with the bits it allows. A line that says version rolling is enabled, or shows a version mask, means both sides agreed.
The original paper spoke of a saving of up to about 20%. What a given chip gains depends on how it is built, so the maker’s rated watts are the figure to go by, with the feature on.
Common mistakes
- Looking for a switch to turn on, when the machine negotiates it at every connection.
- Blaming a hot hashboard for extra watts after a move to an old proxy that drops the version mask.
- Thinking it is an overclock: frequency and voltage stay the same.
Common questions
How much does ASICBoost save?
It depends on the chip. A maker’s rated efficiency already assumes it is on.
Is ASICBoost allowed?
Yes. The open form uses bits of the block version set aside for miners, described in Bitcoin improvement proposal 320.
Does ASICBoost work on Litecoin or Kaspa?
No. It uses a detail of SHA-256 and of Bitcoin’s header. Other algorithms are built differently.
Why do some blocks show “unknown version bits”?
Software that watches for rule changes sees the rolled bits and does not know them. The warning is harmless.
Is it patented?
A patent was filed and later opened for defensive use by the industry. Chips of all major makers use the open form today.