pull down to refresh

One thing I’ve noticed from gaming is how strange RNG can feel. You can repeat the same action thousands of times and still have no idea when the result you want will appear.


Learning how Bitcoin mining works gave me a similar feeling. A miner repeatedly hashes a block header while changing the nonce and other data, looking for a hash that meets the network’s current difficulty target. There’s no shortcut that lets the miner know which attempt will succeed.
The interesting part is that the network doesn’t care how many failed attempts happened before the winning hash. Everyone can independently verify the result almost instantly once a valid block is found.

The strategy I’m experimenting with

✓ One thing I’m testing is not chasing losses. Instead, I keep each bet small and use a fixed percentage of my bankroll. I also look for games with the lowest house edge and only increase the stake when I’m already ahead.
✓ The interesting part is that this doesn’t magically change the probability of the next roll. The advantage comes from controlling how much I can lose while giving a lucky run more room to develop. If I hit a predetermined profit target, I stop rather than giving the winnings back.

Coming from gaming, that made proof-of-work click for me in a way that explanations about “mining Bitcoin” never really did. The difference is that Bitcoin turns this probabilistic search into part of a monetary network secured by real world computation and electricity.


I’m curious whether disciplined bankroll management can make a bigger difference to the overall result than constantly changing the betting pattern.

The gaming analogy holds up better than most, with one correction that matters for the bankroll part: mining has no memory at all. Every hash is an independent draw, so "I am already ahead, raise the stake" or "stop at a profit target" cannot change the expected outcome. The only thing that changes your expected income is hashrate, i.e. how many tickets per second you buy, and the only thing bankroll management changes is the variance you personally feel.

Two concrete numbers, because they made it click for me when I wrote a tiny miner to watch this happen:

  • At difficulty 1, one share needs about 4.3 billion hashes on average. A pool assigns you a difficulty so that you produce a share every few seconds; those shares are your "tickets", not wins. A block is a share that also happens to beat the network target.
  • A 4-core laptop does roughly 0.8 MH/s in Python. At the current network difficulty that is about 15 billion years per block on average. Same coin flip as an ASIC, you just flip it a trillion times slower.

So the pool is not a casino that pays out on luck. It is a bookkeeper that converts your luck into a steady average by counting tickets, and solo mining is the same game without the bookkeeper: exact same expected value, wildly different variance.

reply