<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/the-two-generals-problem-a1cdurn07" -->

---
title: The Two Generals Problem | daily.dev
description: The problem above is called the Two Generals Problem, and it’s provably unsolvable. If we remove the condition that both generals must be 100% confident that...
canonical: https://daily.dev/posts/the-two-generals-problem-a1cdurn07
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: The Two Generals Problem | daily.dev
og:description: The problem above is called the Two Generals Problem, and it’s provably unsolvable. If we remove the condition that both generals must be 100% confident that...
og:url: https://daily.dev/posts/the-two-generals-problem-a1cdurn07
og:image: https://api.daily.dev/og/posts/A1CDURN07.png
og:image:alt: The Two Generals Problem
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# The Two Generals Problem

**[Pointer](https://daily.dev/sources/pointer)** · 13 min read · 18 upvotes · 0 comments

## Summary

The problem above is called the Two Generals Problem, and it’s provably unsolvable. If we remove the condition that both generals must be 100% confident that the other one will attack, we can still change a few things. In the new version of the problem, Alice is the leader, she decides when to attack, and she will attack no matter what Bob says.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://haydenjames.io/the-two-generals-problem/>

---

Tags: [#security](https://daily.dev/tags/security)

[View this post on daily.dev](https://daily.dev/posts/the-two-generals-problem-a1cdurn07)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"The Two Generals Problem","url":"https://daily.dev/posts/the-two-generals-problem-a1cdurn07","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/the-two-generals-problem-a1cdurn07"},"datePublished":"2022-05-24T16:44:27.268Z","dateModified":"2022-05-24T16:44:27.268Z","description":"The problem above is called the Two Generals Problem, and it’s provably unsolvable. If we remove the condition that both generals must be 100% confident that...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a1b70329ed9a7cbb5c206149418b4f77","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a1b70329ed9a7cbb5c206149418b4f77","isAccessibleForFree":true,"articleSection":"Pointer","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Pointer","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/65d4168582f14e0cb2b46693356e66f1","url":"https://daily.dev/sources/pointer"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/the-two-generals-problem-a1cdurn07","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":18},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"security","timeRequired":"PT13M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Pointer","item":"https://daily.dev/sources/pointer"},{"@type":"ListItem","position":3,"name":"The Two Generals Problem"}]}
```

