pull down to refresh

In a previous post, I explained how Bitcoin mining can be modeled as a Poisson process.

Recap: A Poisson process is a probabilistic model of discrete events. It's defined by a parameter, , known as the hazard rate. measures the probability of an event occurring per time unit, i.e. = 1 block per 10 minutes. In it, we showed that where is the hash rate (e.g. measured in EH/s) and is an "effective difficulty", which roughly corresponds to the average number of exahashes (EH) required to find one block.


Competing Poisson ProcessesCompeting Poisson Processes

But Bitcoin mining is not really a single Poisson processes. It's actually a number of Poisson processes competing against each other. Every miner/mining pool is its own Poisson process, and the event a block is found by Antpool isn't the same as the event a block is found by Foundry.

Thus, Bitcoin mining can be better thought of as a "competing Poisson process". That is, we have multiple Poisson processes competing against each other, and we want to answer questions like:

  • What is the expected time until the next block found by Antpool?
  • What is the expected time until the next block found by Foundry?
  • What is the expected time until the next block found by anyone?
  • What is the probability that Antpool (or anyone else) finds the next block?

The super cool thing about competing Poisson processes is that they basically add up to one big Poisson process.


Antpool v. Foundry exampleAntpool v. Foundry example

Suppose there are just two miners, Antpool and Foundry. Antpool has hash rate and Foundry has hash rate . Antpool blocks are modeled by a Poisson process with rate and Foundry blocks are modeled by a Poisson process with rate .

The combined process (e.g. blocks found by anyone) is then simply modeled by a single Poisson process with rate

In other words: the combined process is just a Poisson process based on the combined hash rate.

Moreover, the expected time until Antpool finds another block is always and the expected time until Foundry finds another block is always . The expected time unitl any block is found is always .

The probability that Antpool finds the next block is and the probability that Foundry finds the next block is .


General case of N minersGeneral case of N miners

In the more general case, suppose there are miners with hash rates for . Then, each miner's blocks are modeled by a Poisson process with rate , and the combined process is modeled by a Poisson process with rate

The expected time until miner finds another block is , and the expected time until any block is found is .

The probability that miner finds the next block is , e.g. it's their share of the total hash rate.


Competing Poisson processes will be important for analyzing selfish mining, and for constructing other game theoretic models of miner behavior, because in strategic analysis it matters who finds the next block and when. (e.g. It matters whether the selfish miner finds the next block, or the honest miner.)

71 sats \ 1 reply \ @BITC0IN 20 Apr

I like this.

reply

Beautiful comment lol

reply
4 sats \ 0 replies \ @6404e30b28 20 Apr -30 sats

This also highlights why distribution of hash rate matters so much for security and game theory.