1

Will Bitcoin (or Nakamoto consensus) work if a non trivial portion (say 5%) of miners/nodes are on the moon? What about mars? How about one of the moons of Jupiter?

If not, why not? If yes, how does the consensus algorithm adapt to messaging delays because of large distances?

If 5% on the moon works, will 20%? What about 50%? If 5% doesn't work, what about 1%? Or 0.1%?

Are there well known theoretical limits of extraplanetary (ie: beyond earth) consensus?

Murch
  • 75,206
  • 34
  • 186
  • 622

2 Answers2

1

The Nakomoto consensus should work regardless of where the miners are located, as long as they are using the same network. The internet on earth, as it currently stands, is fully connected. So miners in China, Germany, and the United States are all contributing to the network where information is travelling across the internet.

It could be conceivable that different planets (or the moon) would have their own internet at some point, disconnected from that of earth's, but that seems less likely than being connected via satellite transmission. As long as the networks of the moon and Mars are connected to the internet on earth, everything should still work normally.

Edit: Thanks to @PeterWuille in the comments for correcting this information. Here's what was said:

"Nakamoto consensus requires that the block propagation time between miners is negligible compared to the inter-block time. If it isn't, miners which are latency-wise "close" to each other will find more blocks that proportional to their hashrate share (simply because further out miners have a delay before being able to start working on a block), resulting in a (geographical) centralization pressure. When the latency exceeds the inter-block time (like it would be between Earth and Mars) the networks will split and fail to converge even."

  • Interesting. What if 51% of miners are on a planet that is more than 10-light minutes away from earth while the remaining 49% of miners are on earth? Will it still work under those conditions? If so, why? – Paymahn Moghadasian Jul 22 '21 at 16:52
  • @PaymahnMoghadasian Admittedly, I'm not sure if the latency that would come along with a earth-internet-connected Mars would make a difference, other than potentially the speed of transactions. – Jacob Jones Jul 22 '21 at 17:00
  • This answer is incorrect. Nakamoto consensus requires that the block propagation time between miners is negligible compared to the inter-block time. If it isn't, miners which are latency-wise "close" to each other will find more blocks that proportional to their hashrate share (simply because further out miners have a delay before being able to start working on a block), resulting in a (geographical) centralization pressure. When the latency exceeds the inter-block time (like it would be between Earth and Mars) the networks will split and fail to converge even. – Pieter Wuille Jul 22 '21 at 17:09
  • Got it, thanks for the confirmation @PieterWuille - your answer is more inline with my intuition. – Paymahn Moghadasian Jul 22 '21 at 18:53
  • @PieterWuille Thanks for correcting me there! – Jacob Jones Jul 22 '21 at 18:53
1

According to an answer to Specific explanation of "timeout" configuration option in Bitcoin

The -timeout flag sets the amount of time to wait during an attempt to connect to a node. It defaults to 5000 ms.

According to Earth–Moon–Earth communication (Wikipedia)

Propagation time to the Moon and back ranges from 2.4 to 2.7 seconds, with an average of 2.56 seconds (distance from Earth to the Moon is 384,400 km).

So, even taking into account processing delays at each end and at intermediate stations, the protocol ought to be usable. Whether nodes would selectively choose more responsive peer nodes might depend on implementation, if so, that might lead to a blockchain fork.

Data rates will be a critical factor, starting up a full node (or several concurrently) on the Moon might be challenging.

Mars would be out though.

RedGrittyBrick
  • 26,841
  • 3
  • 25
  • 51
  • And just to confirm, mars would be out because the time for light to travel to mars and back is not negligible compared to the interblock time? – Paymahn Moghadasian Jul 22 '21 at 18:57
  • @Paymahn: Mars is out because the Earth-Mars-Earth propagation time is between 6 and 44 minutes (depending on orbital positions) - which is always far longer than any reasonable connection timeout as well as often being substantially greater than the target interblock time and, in the worst case (during Mars opposition) longer than all but a small percentage of actual interblock times – RedGrittyBrick Jul 22 '21 at 19:04