In running my lightning node Zap-O-Matic, I have been examining failed HTLCs and trying to reduce failures. One thing I've noticed other nodes doing is using tools like charge-lnd to dynamically update max HTLC size to prevent an attempt to route a message that exceeds the liquidity available.
This seems like a great idea to remove failures, but I've also been writing an app to allow me to scope out and score possible future connections and it occurred to me that I could observe nodes that are dynamically updating their
max_htlc_msat
value for changes, record those flow changes, and then know how much traffic is flowing through that node. Additionally, if enough other nodes in the route path are also dynamically updating their max_htlc_msat
, I could follow the route of the message. This is a case where if everyone does it, it's bad for the privacy of the network. I see several nodes that advertise auto-adjusting the max_htlc so I could make a list to follow, or simply examine their node information in the graph and see who is changing their htlc values on a regular basis...Is anyone concerned about this? I would think that the NSA/CIA/etc would be recording this data.
I really want anonymous traffic info into the network so that I can see where to plugin for maximum effect but I'm also concerned about harming the privacy of the network.
The Diamond Hands ranking page is an excellent example of just enough info to help a node operator without exposing end user traffic: https://diamondhands.shinyapps.io/ranking/ (more of these types of pages would be great).
max_htlc_msat
to a figure generally just below my current local balance.max_htlc_msat
settings to just under my side liquidity every hour (if the balance changes).