3-phase commit for multihop payments (video)

![]() |
The perfect protocol for avoiding "reserve payment attacks". It is familiar to anyone who has worked with multihop payments, and it addresses the major "unsolved problem" so far. There have been attempts over past 20 years to solve that same problem ("staggered timeouts" as well as "stream payments") but the best solution was always the one suggested first (as early as 2006, whereas "staggered timeouts" are from 2008 I think), but it could never be achieved until now when I discovered the "3-phase commit". It combines both 2-phase commit variants, achieves a penalty on every phase, and thus allows gradual penalties. submitted by /u/johanngr |