-
Notifications
You must be signed in to change notification settings - Fork 126
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
[bug]: How can EdgeNode obtain RFQ execution details for rebalancing? #1408
Comments
I think this information is not yet available to the edge node (outside of looking at the log files). |
Might relate to this also: #1362 |
will this feature be added in next version? Its hard for edge-node to work |
I'll see if I can add this functionality to lightningnetwork/lnd#9504, since what needs to be done is kind of similar. |
Until #1005 is finished, they can use the |
If EdgeNode can’t clearly determine its own routing info, it won’t rebalance in time. The only workaround would be to raise fees to cover the free call option issue. That would make it hard to offer a competitive Lightning Stablecoin experience and hurt user onboarding. |
Background
We have the following scenario:
When Bob creates an invoice for 100 USDT, Alice pays Bob’s invoice using BTC. According to Tapd’s EdgeNode logic, during this process, Bob effectively sells BTC to EdgeNode at a certain price and receives 100 USDT as part of an RFQ.
Since Bob’s invoice creation and Alice’s payment are asynchronous events, how does EdgeNode determine that Bob’s RFQ has been successfully executed and what the executed price is? This information is crucial for EdgeNode as it needs to perform rebalancing and update its data statistics based on the RFQ outcome.
Any guidance or suggestions on how to capture this execution information ?
The text was updated successfully, but these errors were encountered: