# Latency and Privacy in Lightning

**URL:** <https://delvingbitcoin.org/t/latency-and-privacy-in-lightning/1723>\
**Category:** Protocol Design\
**Tags:** lightning\
**Created:** [May 23, 2025, 5:44pm UTC](https://delvingbitcoin.org/t/latency-and-privacy-in-lightning/1723 "2025-05-23T17:44:47Z")\
**Posts on this page:** 1\
**Showing post:** 20

<div class="post-metadata">

**Author:** ![MattCorallo](https://delvingbitcoin.org/letter_avatar_proxy/v4/letter/m/e47c2d/32.png) [@MattCorallo](https://delvingbitcoin.org/u/MattCorallo)\
**Post date:** [June 2, 2025, 7:01pm UTC](https://delvingbitcoin.org/t/latency-and-privacy-in-lightning/1723/20 "2025-06-02T19:01:52Z")

</div>

> [@carla](#):
>
> Is there an off-path attack which does not require the attacker to run a ton of pathfinding to complete the path?

Given many payments are only a few hops, I assume most of them, honestly.

> [@carla](#):
>
> Are you talking about the case where the attacker sees network messages for the full path (they’re all in the same malicious AS group)?

I assume that in many payments an attacker can see network messages for much of the path, or at a minimum the first hop and last hop of a path, which suffices to figure out a payment based on timing (assuming we don’t have any delays and only a moderate flow of payments along the path, which is probably common-ish, at least today, but if you only add one or two intermediate hops I assume its still pretty doable).

> [@carla](#):
>
> Could you explain this further? Based on the PTLC reference, I assume we’re talking about the on-path attack? It’s unclear to me why a receiver-side delay doesn’t help with a multi-node on-path attacker.

My point was that being an on-path attacker is pretty similar in principle to a network attacker who can see only a subset of the hops, but with additional information, that lets you remove some false-positives in the classifier. Obviously pre-PTLCs you just know from the payment hash, but post-PTLCs the amount is pretty valuable, just not perfect - at that point we really want some delays so that the amount stays a bad classifier rather than a perfect one when combined with time.

---

_[View the full topic](https://delvingbitcoin.org/t/latency-and-privacy-in-lightning/1723)._
