<oembed><type>rich</type><version>1.0</version><author_name>npub1r3san9v5njl6798hvauyu9ntm6r9c7u8s0t65wls58gpfdcvqp5sa48d0u</author_name><author_url>https://nostr.ae/npub1r3san9v5njl6798hvauyu9ntm6r9c7u8s0t65wls58gpfdcvqp5sa48d0u</author_url><provider_name>njump</provider_name><provider_url>https://nostr.ae</provider_url><html>📅 Original date posted:2015-08-13&#xA;📝 Original message:On Thu, Aug 13, 2015 at 4:42 PM, Joseph Poon via bitcoin-dev &lt;&#xA;bitcoin-dev at lists.linuxfoundation.org&gt; wrote:&#xA;&#xA;&gt; I haven&#39;t tested the details of this, but is there another bit available&#xA;&gt; for use in the future for the relative blockheight?&#xA;&gt;&#xA;&gt; I strongly believe that Lightning needs mitigations for a systemic&#xA;&gt; supervillan attack which attemps to flood the network with transactions,&#xA;&gt; which can hypothetically be mitigated with something like a timestop&#xA;&gt; bit (as originally suggested by gmaxwell).&#xA;&gt;&#xA;&#xA;This proposal includes no such provision.&#xA;&#xA;Since we talked about it, I spent considerable time thinking about the&#xA;supposed risk and proposed mitigations. I&#39;m frankly not convinced that it&#xA;is a risk of high enough credibility to worry about, or if it is that a&#xA;protocol-level complication is worth doing.&#xA;&#xA;The scenario as I understand it is a hub turns evil and tries to cheat&#xA;every single one of its users out of their bonds. Normally a lightning user&#xA;is protected form such behavior because they have time to broadcast their&#xA;own transactions spending part or all of the balance as fees. Therefore&#xA;because of the threat of mutually assured destruction, the optimal outcome&#xA;is to be an honest participant.&#xA;&#xA;But, the argument goes, the hub has many channels with many different&#xA;people closing at the same time. So if the hub tries to cheat all of them&#xA;at once by DoS&#39;ing the network, it can do so and spend more in fees than&#xA;any one participant stands to lose. My issue with this is that users don&#39;t&#xA;act alone -- users can be assured that other users will react, and all of&#xA;them together have enough coins to burn to make the attack unprofitable.&#xA;The hub-cheats-many-users case really is the same as the&#xA;hub-cheats-one-user case if the users act out their role in unison, which&#xA;they don&#39;t have to coordinate to do.&#xA;&#xA;Other than that, even if you are still concerned about that  scenario, I&#39;m&#xA;not sure timestop is the appropriate solution. A timestop is a&#xA;protocol-level complication that is not trivial to implement, indeed I&#39;m&#xA;not even sure there is a way to implement it at all -- how do you&#xA;differentiate in consensus code a DoS attack from regular old blocks&#xA;filling up? And if you could, why add further complication to the consensus&#xA;protocol?&#xA;&#xA;A simpler solution to me seems to be outsourcing the response to an attack&#xA;to a third party, or otherwise engineering ways for users to&#xA;respond-by-default even if their wallet is offline, or otherwise assuring&#xA;sufficient coordination in the event of a bad hub.&#xA;-------------- next part --------------&#xA;An HTML attachment was scrubbed...&#xA;URL: &lt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20150813/a161abd7/attachment.html&gt;</html></oembed>