Skip to content

Commit 53fed7e

Browse files
Merge pull request #265 from shielded-nate/paste-ticket-264-for-audit-scope
A direct paste of a subset of ticket #254 for new PFFD subsection of pending "analysis" chapter; math formatting borked.
2 parents 7f7fc4e + 7d473ff commit 53fed7e

2 files changed

Lines changed: 18 additions & 0 deletions

File tree

book/src/SUMMARY.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,7 @@
1313
- [Design in a Nutshell](design/nutshell.md)
1414
- [Terminology](design/terminology.md)
1515
- [Architectural Decision Records](design/adrs.md)
16+
- [Design Security Analysis]() # Dummy chapter: TODO
17+
- [Penalty for Failure to Defend](design/pffd.md)
1618
- [Implementation](implementation.md)
1719
- [Style Conventions](style.md)

book/src/design/pffd.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Penalty for Failure to Defend
2+
3+
**TODO:** This is a paste of a Github ticket [Add "penalty-for-failure-to-defend" concept to book #264](https://github.com/ShieldedLabs/zebra-crosslink/issues/264) in order to ensure the text is committed into the revision.
4+
5+
Our primary conceptual framework for _quantitative_ comparison between Crosslink security properties versus pure PoW or Tendermint-like BFT protocols is called "penalty for failure to defend" (aka $PFD$).
6+
7+
## Key Top-Level Details
8+
9+
- PFDs can be specific to compromising specific properties; example: $PFD_{liveness}$ and $PFD_{finality}$ are different (so there's no simple top-line number for a given protocol).
10+
- $PFD$ is distinct from the confusing misnomer of "cost-to-attack" (because the penalty may accrue to non-attackers, and the nature of successful attacks is that they cost less than designers or security defense analyzers fail to anticipate).
11+
- Neither $PFD$ or the ill-conceived "cost-to-attack" metrics are conclusive about financial feasibility, since they don't capture attacker _revenue_/_profit_.
12+
- Some $PFD$ may be a "financial value gauge" such as in Tendermint protocols where a $PFD$ could slash a large bond at stake. Meanwhile others may be a "rate" such as in PoW where the penalty to miners is loss of a future revenue rate over time.
13+
- The two different types of $PFD$ (gauge vs rate) cannot be directly compared for two reasons:
14+
- The obvious reason that rates and gauges are different unit types.
15+
- The less obvious reason that the trade-offs in compromise, response, and recovery dynamics are qualitatively incommensurate. (TODO: flesh out the nuance here.)
16+

0 commit comments

Comments
 (0)