-
Notifications
You must be signed in to change notification settings - Fork 407
HRN: Emit new event type when Offer has been received and validated #3779
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
Comments
Hmm, is there a reason you need the |
Hmm, IIUC, |
I'd like to pick this up. |
Sure, go for it! |
that's easy to fix, though, and likely it should :).
Hmm? Like what? I'm not really sure there's much to fill in from an
That's one RTT, but I guess I'm not clear on the point of that? Like, DNS should move pretty quick, hopefully, and if an Offer request times out its probably already retried a few times and we've waited a while. Adding one RTT on top of the retry seems perfectly fine? |
The point is that we already retrieved the offer and still would have an entirely blank entry in the payment store even though we could provide the user additional metadata. |
Currently, when using the
ChannelManager::pay_for_offer_from_human_readable_name
API, the user gets no access to the offer data retrieved. It would be great to add a new event type that is emitted when the offer has been retrieved and validated, e.g. here:rust-lightning/lightning/src/ln/channelmanager.rs
Line 12790 in b543afe
The text was updated successfully, but these errors were encountered: