public inbox for bitcoindev@googlegroups.com
 help / color / mirror / Atom feed
* [bitcoindev] Network partition recovery
@ 2024-06-14 21:31 Tao Effect
  2024-06-16 20:30 ` Ethan Heilman
  2024-06-21  1:30 ` Peter Todd
  0 siblings, 2 replies; 3+ messages in thread
From: Tao Effect @ 2024-06-14 21:31 UTC (permalink / raw)
  To: Bitcoin Development Mailing List

What work has been done on recovering from a network partition?

The day is fast approaching when Bitcoin could be split in two not by a purposeful fork, but because the Internet is split in two.

Have Bitcoiners gamed this out? What happens when the Internet reconnects? Do we throw out half of the transactions? Or is a merge possible? Can it be done automatically?

- Greg

-- 
You received this message because you are subscribed to the Google Groups "Bitcoin Development Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bitcoindev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bitcoindev/CC066457-A396-4680-8F11-F013E5EFDD1E%40taoeffect.com.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [bitcoindev] Network partition recovery
  2024-06-14 21:31 [bitcoindev] Network partition recovery Tao Effect
@ 2024-06-16 20:30 ` Ethan Heilman
  2024-06-21  1:30 ` Peter Todd
  1 sibling, 0 replies; 3+ messages in thread
From: Ethan Heilman @ 2024-06-16 20:30 UTC (permalink / raw)
  To: Tao Effect; +Cc: Bitcoin Development Mailing List

[-- Attachment #1: Type: text/plain, Size: 2665 bytes --]

> Have Bitcoiners gamed this out?

Not that I am aware of.

Short term partitions (10 to 30 minutes) would likely not be noticed by
most users. Long term partitions (1 day to 1 week) would likely cause
relying parties to find non-internet mechanisms to communicate blocks and
transactions.

If say 20% of the mining power was stuck in a partition, the miners in that
partition would likely stop mining once they realized they were partitioned
because they would understand they would lose all their rewards when the
partition stops. Likely people in the partition would no longer respect
confirmations made by miners in the partition because those confirmations
will be reversed when the partition ends.

It seems likely that parties (miners, relying parties) in the partition
will attempt to communicate outside the partition to interact with Bitcoin.

The issue becomes much trickier if the partition, partitions mining power
exactly into 50%. It is unlikely that if the internet has a long term
partition it will exactly split the mining power.

> What happens when the Internet reconnects?

"Longest" chain wins.

 > Or is a merge possible? Can it be done automatically?

Some DAG chains do allow to two forks to be merged automatically including
resolving double spends. Adding this functionality in Bitcoin would likely
be the biggest consensus change in the history of Bitcoin.



On Sat, Jun 15, 2024, 6:11 PM Tao Effect <contact@taoeffect.com> wrote:

> What work has been done on recovering from a network partition?
>
> The day is fast approaching when Bitcoin could be split in two not by a
> purposeful fork, but because the Internet is split in two.
>
> Have Bitcoiners gamed this out? What happens when the Internet reconnects?
> Do we throw out half of the transactions? Or is a merge possible? Can it be
> done automatically?
>
> - Greg
>
> --
> You received this message because you are subscribed to the Google Groups
> "Bitcoin Development Mailing List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to bitcoindev+unsubscribe@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/bitcoindev/CC066457-A396-4680-8F11-F013E5EFDD1E%40taoeffect.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups "Bitcoin Development Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bitcoindev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bitcoindev/CAEM%3Dy%2BXzVksuon-bUsc%3D44UEw0vWVi_QmB5jjtkLp2VdO2QzbQ%40mail.gmail.com.

[-- Attachment #2: Type: text/html, Size: 4016 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [bitcoindev] Network partition recovery
  2024-06-14 21:31 [bitcoindev] Network partition recovery Tao Effect
  2024-06-16 20:30 ` Ethan Heilman
@ 2024-06-21  1:30 ` Peter Todd
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Todd @ 2024-06-21  1:30 UTC (permalink / raw)
  To: Tao Effect; +Cc: Bitcoin Development Mailing List

[-- Attachment #1: Type: text/plain, Size: 1526 bytes --]

On Fri, Jun 14, 2024 at 02:31:42PM -0700, Tao Effect wrote:
> What work has been done on recovering from a network partition?
> 
> The day is fast approaching when Bitcoin could be split in two not by a purposeful fork, but because the Internet is split in two.
> 
> Have Bitcoiners gamed this out? What happens when the Internet reconnects? Do we throw out half of the transactions? Or is a merge possible? Can it be done automatically?

Given how little bandwidth it takes to synchronize blocks, and the enormous
financial incentives to solve this problem, it's unlikely that an internet
split would result in a long term network partition. It's just too easy to fix
the split through technologies like satellite internet, amateur radio,
Blockstream satellite, pigeons, etc. If the event leading to the split manages
to defeat all these mechanisms on a large scale, there's a good chance that
Bitcoin is the least of our worries...

Anyway, transactions in blocks that have been reorged out can be mined in
subsequent blocks so long as there are no conflicts. In practice, this will
happen automatically.

-- 
https://petertodd.org 'peter'[:-1]@petertodd.org

-- 
You received this message because you are subscribed to the Google Groups "Bitcoin Development Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bitcoindev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bitcoindev/ZnTXpNIPIeCwHSvx%40petertodd.org.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-06-21 12:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-14 21:31 [bitcoindev] Network partition recovery Tao Effect
2024-06-16 20:30 ` Ethan Heilman
2024-06-21  1:30 ` Peter Todd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox