bitcoinops / bitcoinops.github.io

Bitcoin Optech website
MIT License
252 stars 121 forks source link

Missing entries around payment flows in the Topics list #1298

Open renepickhardt opened 1 year ago

renepickhardt commented 1 year ago

Hey everyone I am currently writing a blog article / research paper and I was linking to redundant overpayments (also listed on the topics page as stuckless payments). I also wanted to link to a glossary entry for payment flows but I realized despite optech having covered my results frequently that there is no particular topic for payment flows.

Of course multipath payments exists which from a mathematical perspective is a payment flow and I can agree that we can stick with the historically used term of multipart payments. However in that case the topic page of multipath payments is lacking some explaination of what a payment flow is and how it is related to the splitting problem and also some links to news letters covering a lot of the theory that we know these days. For example:

If you like I will be happy to refactor the topics around payment flows for the topic page but wanted to ask for your thoughts first.

harding commented 11 months ago

Partial duplicate of https://github.com/bitcoinops/bitcoinops.github.io/issues/721#issuecomment-1439473605

I'm almost finished addressing the above issue, which will add a pathfinding topic page[1]. I'm not sure about having a separate page for the specific topic of payment flows separate from the more general problem of pathfinding, but I'm certainly open to both. Our (soft) rule is to create a topic page once we've covered something three times, and if we expect to cover it again in the future, and that criteria is met for the payment flows work.

[1] I think you may have some suggestions for alternative naming to "pathfinding", which are welcome here or in that PR when it gets opened (if you don't object, I'll tag you there when it's opened).

renepickhardt commented 11 months ago

Thanks for the explanation, ideas and invitation to participate. I will try my best so please accept the following as a constructive approach even though it may look like a wall of text.

I'm not sure about having a separate page for the specific topic of payment flows separate from the more general problem of pathfinding, but I'm certainly open to both.

I think from a math perspective it is exactly the other way around. Every path is a payment flow but not every payment flow is a path. Thus I think payment flow is the general concept and path finding the specific topic.

We had a similar problem when writing Mastering the Lightning Network. Chapter 12 is called Pathfinding and Payment Delivery. It was a compromise agreement as historically speaking the term path finding was mainly used and is what most people think of. I think there are strong arguments for keeping the term and strong arguments for removing it which I will list:

Arguments for keeping the term Pathfinding

Arguments for replacing the term Pathfinding

Conclusion and recommendation for Naming

I would suggest to use the following terms on 3 pages.

While I think the proposed terminology and separation of topics is semantically reasonable I do see how this is a pretty severe change and would not even mean that people would intuitively understand and adopt this. For example I am not even sure if the line between the 2nd and 3rd topic is not to blurry. For example I kind or argued why splitting is part of MPP / flow but suggested to have this under planning.