thunderhub icon indicating copy to clipboard operation
thunderhub copied to clipboard

Question regarding viewing custom tlv records

Open aChrisYouKnow opened this issue 3 years ago • 1 comments

If I was trying to distinguish between the following two scenarios:

  1. Keysend invoices coming into the node contain custom tlv records, but I don't know how to view them through ThunderHub
  2. The keysend invoices coming into the node do not contain custom tlv records, and that is why I can't find a way to view them in ThunderHub

How would I be able to distinguish between those? These wouldn't be chat messages, but podcast episode names and timestamps that correspond to the payment being sent. See the _getTlv portion of .sendSpontaneousPayment at the following link for the information I am expecting to be contained in the payment, and am hoping to view. (https://github.com/breez/breezmobile/blob/ac0882f05485fdad82ac86589e8b4a62a78487a8/lib/bloc/podcast_payments/podcast_payments_bloc.dart)

I believe this information is contained in the invoice, but I'm not seeing it in ThunderHub (v0.10.4, lnd on a raspiblitz).

Thanks in advance.

aChrisYouKnow avatar May 07 '21 15:05 aChrisYouKnow

Update: I just found this list of TLV fields that Satoshis.Steam is reading in (https://github.com/satoshisstream/satoshis.stream/blob/main/TLV_registry.md). I think they're a great service, and I hope lots of people who aren't into running their own node use them to add a new value stream to their podcast. However, for those who are already running a node, I haven't found a way to get at those same TLV fields. Wasn't sure if there was a way to get at that information with ThunderHub, and if not, if it was on the roadmap. Thanks!

aChrisYouKnow avatar May 07 '21 20:05 aChrisYouKnow