-
Notifications
You must be signed in to change notification settings - Fork 267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improvements to the data stored in AuditDb
#2977
Comments
When paying a wallet behind a LSP, we log the node id of the wallet but not the one of the LSP. When the recipient is not a public node and we need routing hints to reach it, we should log the public node ids from the routing hints instead of the useless node id of the wallet. It would enable us to more easily detect LSPs that we should open a channel to. |
These are information that I currently store in my own database. The local fee on sent payments. The duration of each payment (failed and success) including route taken and point of failure in case of failure. Failure logs for local constrains, like fee mismatch. |
What do you mean exactly? Whenever we try to relay a payment, the failure reason (if any)? We want to store very minimal information about relay failures, because that can otherwise be used to DoS (it doesn't cost anything to send tons of invalid payments that will just fail). |
Yes, ideally, I would like to know the exact failure reason for each failed relay. The ACINQ node is more of a gateway-/payment-node. Routing reputation is not that important especially as you discourage routing over your node with a 500 ppm fee wall. For routing/rebalance heavy nodes, it is essential to minimize local failures. Detailed information about local failures helps to identify the route cause. Examples: If I often get |
Emitting an event on relay failures would make a lot of sense, this would indeed allow custom data collection from plugins (with the necessary protections against DoS risk based on what the node operator wishes to accomplish). |
We're missing a lot of data that would be really useful for auditing the economical performance of our peers. The goal of this issue is to gather the list of additional data we'd like to store. Feel free to comment with additional data that should be added.
node_id
instead ofchannel_id
?The text was updated successfully, but these errors were encountered: