<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <updated></updated>
  <generator>https://nostr.ae</generator>

  <title>Nostr notes by </title>
  <author>
    <name></name>
  </author>
  <link rel="self" type="application/atom+xml" href="https://nostr.ae/npub1d7e068ud72v0au6xf53qvek44eccfhlgnhzuclf6za6hnxrvx89sc93exj.rss" />
  <link href="https://nostr.ae/npub1d7e068ud72v0au6xf53qvek44eccfhlgnhzuclf6za6hnxrvx89sc93exj" />
  <id>https://nostr.ae/npub1d7e068ud72v0au6xf53qvek44eccfhlgnhzuclf6za6hnxrvx89sc93exj</id>
  <icon></icon>
  <logo></logo>




  <entry>
    <id>https://nostr.ae/nevent1qqs946aypd30tm4jp4kkthks6qvfjpp0pstet0jhydrqn9wwtfcpraszyphm9lgl3hef3lhngexjypnx6kh8rpxlazwutnra8gth27vcdscukmyyc9w</id>
    
      <title type="html">📅 Original date posted:2022-01-18 📝 Original message: Hey ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqs946aypd30tm4jp4kkthks6qvfjpp0pstet0jhydrqn9wwtfcpraszyphm9lgl3hef3lhngexjypnx6kh8rpxlazwutnra8gth27vcdscukmyyc9w" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsthtaufsmku59zmp3z4dk867ac2renwa9w3jydgvgvultaspezppgl7q705&#39;&gt;nevent1q…q705&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2022-01-18&lt;br/&gt;📝 Original message:&lt;br/&gt;Hey Christian,&lt;br/&gt;&lt;br/&gt;I noticed you are doing RPC stuff... I&amp;#39;m looking to do RPC over&lt;br/&gt;lightning itself. I started a C library called lnsocket[1], scrounged&lt;br/&gt;from clightning parts, so that I can send messages from iOS to control&lt;br/&gt;my lightning node.&lt;br/&gt;&lt;br/&gt;I&amp;#39;ve got to the point with lnsocket where I can send TLVs to my node,&lt;br/&gt;and now I&amp;#39;m starting to think about what format the RPC commands should&lt;br/&gt;be.&lt;br/&gt;&lt;br/&gt;I noticed the commando c-lightning plugin just uses the JSON-RPC&lt;br/&gt;payload, but perhaps something more compact and rpc-friendly like grpc&lt;br/&gt;would be better... which is why this cln-grpc PR peaked my curiosity.&lt;br/&gt;&lt;br/&gt;I think the end goal of an RPC bolt would be super powerful, so that&lt;br/&gt;lnsocket could talk to any lightning node, but that could be further&lt;br/&gt;down the line. Choosing the right data format seemed like an important&lt;br/&gt;step in that direction. Would love to hear your thoughts on this!&lt;br/&gt;&lt;br/&gt;I&amp;#39;ve cc&amp;#39;d clightning/lightning-dev as well to see if anyone else is&lt;br/&gt;working on this or thinking about this stuff right now.&lt;br/&gt;&lt;br/&gt;Cheers,&lt;br/&gt;Will&lt;br/&gt;&lt;br/&gt;[1] &lt;a href=&#34;http://git.jb55.com/lnsocket&#34;&gt;http://git.jb55.com/lnsocket&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;On Tue, Jan 18, 2022 at 06:01:46AM -0800, Christian Decker wrote:&lt;br/&gt;&amp;gt;This is the final PR in the cln-* series. It uses all the primitives we&lt;br/&gt;&amp;gt;built in the previous 3 PRs and uses them to expose the JSON-RPC over&lt;br/&gt;&amp;gt;grpc, with mTLS authentication builtin. You can view, comment on, or&lt;br/&gt;&amp;gt;merge this pull request online at:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;  &lt;a href=&#34;https://github.com/ElementsProject/lightning/pull/5013&#34;&gt;https://github.com/ElementsProject/lightning/pull/5013&lt;/a&gt;&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;-- Commit Summary --&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;  * cln-grpc-plugin: Add scaffolding for the cln-grpc-plugin&lt;br/&gt;&amp;gt;  * make: Add a hook for us to depend on generated files for tests&lt;br/&gt;&amp;gt;  * make: Generate grpc bindings if we want to test with rust enabled
    </content>
    <updated>2023-06-09T15:05:03&#43;02:00</updated>
  </entry>

  <entry>
    <id>https://nostr.ae/nevent1qqs0gtrqw53rp43pjxewwp42kspqdantv2v0j4fa7y0zafcpvutdxmszyphm9lgl3hef3lhngexjypnx6kh8rpxlazwutnra8gth27vcdscukhr7wer</id>
    
      <title type="html">📅 Original date posted:2021-12-15 📝 Original message: On ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqs0gtrqw53rp43pjxewwp42kspqdantv2v0j4fa7y0zafcpvutdxmszyphm9lgl3hef3lhngexjypnx6kh8rpxlazwutnra8gth27vcdscukhr7wer" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqswgfpj36dn0wa34at6ry4mdkapden4ets77sjvzpmlfc227l0n0zcmc39lu&#39;&gt;nevent1q…39lu&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2021-12-15&lt;br/&gt;📝 Original message:&lt;br/&gt;On Wed, Dec 15, 2021 at 01:59:49PM -0800, William Casarin wrote:&lt;br/&gt;&amp;gt;Hey Ronan,&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;On Wed, Dec 15, 2021 at 05:33:51PM &#43;0000, Ronan McGovern wrote:&lt;br/&gt;&amp;gt;&amp;gt;If not, what would be required to develop this?&lt;br/&gt;&amp;gt;&amp;gt;* A protocol change?&lt;br/&gt;&amp;gt;&amp;gt;* Could it be built with the current protocol (I see an app on LN Bits to&lt;br/&gt;&amp;gt;&amp;gt;split but it doesn&amp;#39;t seem to work).&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;This is typically done at the application level. The fountain podcasting&lt;br/&gt;&amp;gt;app works this way and it seems to work okish.&lt;br/&gt;&lt;br/&gt;The tricky part is what to do when the payment partially fails. Perhaps&lt;br/&gt;you keep trying with exponential backoff until the payment completes for&lt;br/&gt;all parties. If this was handled at the protocol level, would you fail&lt;br/&gt;the entire transaction if one of the channels failed? This is the kind&lt;br/&gt;of business logic that would be tricky when designing a protocol-level&lt;br/&gt;solution to this.&lt;br/&gt;&lt;br/&gt;I think it&amp;#39;s reasonable to handle this at the application level for now,&lt;br/&gt;but perhaps some standard protocols might be useful in the future.&lt;br/&gt;&lt;br/&gt;Cheers,&lt;br/&gt;Will
    </content>
    <updated>2023-06-09T15:04:50&#43;02:00</updated>
  </entry>

  <entry>
    <id>https://nostr.ae/nevent1qqswgfpj36dn0wa34at6ry4mdkapden4ets77sjvzpmlfc227l0n0zczyphm9lgl3hef3lhngexjypnx6kh8rpxlazwutnra8gth27vcdscuk0xm6gv</id>
    
      <title type="html">📅 Original date posted:2021-12-15 📝 Original message: Hey ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqswgfpj36dn0wa34at6ry4mdkapden4ets77sjvzpmlfc227l0n0zczyphm9lgl3hef3lhngexjypnx6kh8rpxlazwutnra8gth27vcdscuk0xm6gv" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsxjl5ekhg3r72cr04kkv8xeppw34wpunchypfh8q326gqq27r8jnqlkg7ft&#39;&gt;nevent1q…g7ft&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2021-12-15&lt;br/&gt;📝 Original message:&lt;br/&gt;Hey Ronan,&lt;br/&gt;&lt;br/&gt;On Wed, Dec 15, 2021 at 05:33:51PM &#43;0000, Ronan McGovern wrote:&lt;br/&gt;&amp;gt;Hi folks, I&amp;#39;m Ronan - based in Dublin and building Trelis.com (simple&lt;br/&gt;&amp;gt;payment links to accept Lightning).&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;I&amp;#39;m wondering if there is a way to create an invoice that splits the&lt;br/&gt;&amp;gt;payment to two lightning addresses?&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;If not, what would be required to develop this?&lt;br/&gt;&amp;gt;* A protocol change?&lt;br/&gt;&amp;gt;* Could it be built with the current protocol (I see an app on LN Bits to&lt;br/&gt;&amp;gt;split but it doesn&amp;#39;t seem to work).&lt;br/&gt;&lt;br/&gt;This is typically done at the application level. The fountain podcasting&lt;br/&gt;app works this way and it seems to work okish.
    </content>
    <updated>2023-06-09T15:04:50&#43;02:00</updated>
  </entry>

  <entry>
    <id>https://nostr.ae/nevent1qqsf80va6qz0uqxcr6lsnlxhh62eqtyzxmp82vqh250ndgadf5fk00gzyphm9lgl3hef3lhngexjypnx6kh8rpxlazwutnra8gth27vcdscuk6jn2j4</id>
    
      <title type="html">📅 Original date posted:2021-12-16 📝 Original message: Hey ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqsf80va6qz0uqxcr6lsnlxhh62eqtyzxmp82vqh250ndgadf5fk00gzyphm9lgl3hef3lhngexjypnx6kh8rpxlazwutnra8gth27vcdscuk6jn2j4" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqs2tkd5k50ltj6kevxmmrsc8a8ar4xecv4y0df0kak57f564txkfkqe0jt5f&#39;&gt;nevent1q…jt5f&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2021-12-16&lt;br/&gt;📝 Original message:&lt;br/&gt;Hey Christian,&lt;br/&gt;&lt;br/&gt;On Thu, Dec 16, 2021 at 11:27:33AM &#43;0100, Christian Decker wrote:&lt;br/&gt;&amp;gt;This is quite a common request, and we&amp;#39;ve used a solution I like to call&lt;br/&gt;&amp;gt;the &amp;#34;Poor man&amp;#39;s rendez-vous&amp;#34;. It basically routes a payment through all&lt;br/&gt;&amp;gt;the parties that are to be paid, with the last one accepting the payment&lt;br/&gt;&amp;gt;for all participants.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;The payment is atomic, once the circuit is set up no participant can&lt;br/&gt;&amp;gt;cheat the others and it&amp;#39;s seamless from the payer&amp;#39;s perspective.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;Let&amp;#39;s say user `A` wants to pay `B` and `C` atomically. `B` gets 10ksat&lt;br/&gt;&amp;gt;and `C` gets 90ksat out of a total of 100ksat:&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; 1) `C` creates an invoice with payment hash `H` for 90ksat and sends it&lt;br/&gt;&amp;gt;    to `B`&lt;br/&gt;&amp;gt; 2) `B` creates an invoice with payment hash `H` (same as the first&lt;br/&gt;&amp;gt;    invoice, but `B` doesn&amp;#39;t know the preimage) for 100ksat (maybe plus&lt;br/&gt;&amp;gt;    a tiny bit for routing fees between `B` and `C`).&lt;br/&gt;&amp;gt; 3) `A` receives an invoice which appears to be from `B` for the&lt;br/&gt;&amp;gt;    expected total of 100ksat.&lt;br/&gt;&amp;gt; 4) `A` proceeds to pay the invoice to `B` like normal&lt;br/&gt;&amp;gt; 5) `B` receives the incoming payment, but doesn&amp;#39;t have the preimage for&lt;br/&gt;&amp;gt;    `H`, so they must forward to `C` if they want to receive their&lt;br/&gt;&amp;gt;    share. `B` then proceeds to pay the 90ksat invoice from `C`, which&lt;br/&gt;&amp;gt;    reveals the preimage to them, and they can turn around and claim&lt;br/&gt;&amp;gt;    the incoming `100ksat` (covering both `B` and `C` share)&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt;It&amp;#39;s a poor man&amp;#39;s version because it requires creating two invoices and&lt;br/&gt;&amp;gt;`B` sees two payments (100ksat incoming, 90ksat outgoing), but the&lt;br/&gt;&amp;gt;overall outcome is the desired one: either both parties get paid or&lt;br/&gt;&amp;gt;noone gets paid. This can trivially be extended to any number of parties&lt;br/&gt;&amp;gt;(with reduced success probability), and will remain atomic. It also&lt;br/&gt;&amp;gt;doesn&amp;#39;t require any changes on the sender side, and only minimal setup&lt;br/&gt;&amp;gt;between the payees. The crux here is that we somehow need to ensure `H`&lt;br/&gt;&amp;gt;is always the same along the entire chain of payments, but with a good&lt;br/&gt;&amp;gt;coordination protocol that should be feasible.&lt;br/&gt;&lt;br/&gt;This is very cool, at least for a small number of parties. When I was&lt;br/&gt;working at a record label it was very common to split between 1-5 people&lt;br/&gt;on a given track, being able to atomically payout to individual artist&amp;#39;s&lt;br/&gt;lightning nodes would have been super useful at the time (assuming a&lt;br/&gt;world where our artists ran lightning nodes). At some point I was&lt;br/&gt;testing 600-output bitcoin transactions as a payout method, but that&lt;br/&gt;looked like it was going to be economically infeasible sometime in the&lt;br/&gt;future.&lt;br/&gt;&lt;br/&gt;Has anyone coded up a &amp;#39;Poor man&amp;#39;s rendez-vous&amp;#39; demo yet? How hard would&lt;br/&gt;it be, could it be done with a clightning plugin perhaps?&lt;br/&gt;&lt;br/&gt;Cheers,&lt;br/&gt;Will
    </content>
    <updated>2023-06-09T15:04:50&#43;02:00</updated>
  </entry>

  <entry>
    <id>https://nostr.ae/nevent1qqszqmn4dqrc8w3w2ju284fvqgty90ka36nh3kn2g92jc3rjp958uegzyphm9lgl3hef3lhngexjypnx6kh8rpxlazwutnra8gth27vcdscukunvztq</id>
    
      <title type="html">📅 Original date posted:2020-05-14 📝 Original message: ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqszqmn4dqrc8w3w2ju284fvqgty90ka36nh3kn2g92jc3rjp958uegzyphm9lgl3hef3lhngexjypnx6kh8rpxlazwutnra8gth27vcdscukunvztq" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqsr5dkp05rx8jjat5nvs26vpyuw5pnj9wrz4ywy85l3cgczqfl2hqc4mq0gw&#39;&gt;nevent1q…q0gw&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2020-05-14&lt;br/&gt;📝 Original message:&lt;br/&gt;Orfeas Stefanos Thyfronitis Litos &amp;lt;o.thyfronitis at ed.ac.uk&amp;gt; writes:&lt;br/&gt;&amp;gt; ZmnSCPxj via Lightning-dev &amp;lt;lightning-dev at lists.linuxfoundation.org&amp;gt; writes:&lt;br/&gt;&amp;gt;&amp;gt; If everyone runs such a privately-owned server, on the other hand, this&lt;br/&gt;&amp;gt;&amp;gt; is not so different from having a Lightning node you run at your home&lt;br/&gt;&amp;gt;&amp;gt; that has a fullnode as well and which you access via a remote control&lt;br/&gt;&amp;gt;&amp;gt; mobile device, and it is the inconvenience of having such a server at&lt;br/&gt;&amp;gt;&amp;gt; your home that prevents this in the first place.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Private full nodes serving headers to a handful of weak devices have&lt;br/&gt;&amp;gt; been mentioned many times as a good solution against all sorts of&lt;br/&gt;&amp;gt; problems in a future full of LN &#43; SPV nodes. I agree. It should be&lt;br/&gt;&amp;gt; therefore a top priority to make the UX of connecting my mobile LN&lt;br/&gt;&amp;gt; client to my home full node extremely easy, so that centralised&lt;br/&gt;&amp;gt; services can&amp;#39;t improve much on that step. Especially if I already run&lt;br/&gt;&amp;gt; a full node.&lt;br/&gt;&amp;gt;&lt;br/&gt;&amp;gt; Could someone briefly describe how this UX looks currently? And if&lt;br/&gt;&amp;gt; it&amp;#39;s not as seamless as it could, what blockers are there?&lt;br/&gt;&lt;br/&gt;The UX for this doesn&amp;#39;t have to be complicated. All you need is a node&lt;br/&gt;provider like FullyNoded, Casa, etc. My setup at home is a desktop with:&lt;br/&gt;&lt;br/&gt;  - bitcoind&lt;br/&gt;  - clightning&lt;br/&gt;  - zerotier (or tailscale) (private vpn for connecting to your node from anywhere)&lt;br/&gt;  - sparkwallet (clightning webui) bound to a zerotier interface&lt;br/&gt;&lt;br/&gt;So as long as you have a node that runs these bits of software, perhaps&lt;br/&gt;assumeutxo to speed up IBD, and a QR-code automagic setup, then UX&lt;br/&gt;should be pretty smooth. You would still need to deal with lightning&lt;br/&gt;backups and liquidity issues, but we just need to do more work on the&lt;br/&gt;software side to make that experience nicer.&lt;br/&gt;&lt;br/&gt;Cheers,&lt;br/&gt;Will&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;--&lt;br/&gt;&lt;a href=&#34;https://jb55.com&#34;&gt;https://jb55.com&lt;/a&gt;
    </content>
    <updated>2023-06-09T15:00:10&#43;02:00</updated>
  </entry>

  <entry>
    <id>https://nostr.ae/nevent1qqsgdatdp0lkwymd5a7lhpyvp8gf9sc6lurad2makm52jndzytwe04gzyphm9lgl3hef3lhngexjypnx6kh8rpxlazwutnra8gth27vcdscukfnzxdc</id>
    
      <title type="html">📅 Original date posted:2018-01-16 📝 Original message: ...</title>
    
    <link rel="alternate" href="https://nostr.ae/nevent1qqsgdatdp0lkwymd5a7lhpyvp8gf9sc6lurad2makm52jndzytwe04gzyphm9lgl3hef3lhngexjypnx6kh8rpxlazwutnra8gth27vcdscukfnzxdc" />
    <content type="html">
      In reply to &lt;a href=&#39;/nevent1qqs2ndn3xq2ae5spxy2jf347d0juh73v9ayhf2zr4j5a2zhfsezv29c0320pc&#39;&gt;nevent1q…20pc&lt;/a&gt;&lt;br/&gt;_________________________&lt;br/&gt;&lt;br/&gt;📅 Original date posted:2018-01-16&lt;br/&gt;📝 Original message:&lt;br/&gt;Benjamin Mord &amp;lt;ben at mord.io&amp;gt; writes:&lt;br/&gt;&amp;gt; [..]&lt;br/&gt;&amp;gt; why not allow negative fees to incent unwinding, in scenarios where nodes&lt;br/&gt;&amp;gt; consider that cheaper than on-chain rebalancing?&lt;br/&gt;&lt;br/&gt;This was brought up before here [1]:&lt;br/&gt;&lt;br/&gt;Rusty Russell &amp;lt;rusty at rustcorp.com.au&amp;gt; writes:&lt;br/&gt;&amp;gt;&amp;gt; Edward Marynarz &amp;lt;edziumarynarz at gmail.com&amp;gt; writes:&lt;br/&gt;&amp;gt;&amp;gt; Another trivial question: can the fee be negative? It might help with some&lt;br/&gt;&amp;gt;&amp;gt; channel rebalancing.&lt;br/&gt;&lt;br/&gt;&amp;gt;In my original implementation, they could be.  However, that turns out&lt;br/&gt;&amp;gt;to be a very strange idea, and complicates routing.&lt;br/&gt;&lt;br/&gt;[1] &lt;a href=&#34;https://lists.linuxfoundation.org/pipermail/lightning-dev/2017-December/000827.html&#34;&gt;https://lists.linuxfoundation.org/pipermail/lightning-dev/2017-December/000827.html&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;Cheers,&lt;br/&gt;&lt;br/&gt;-- &lt;br/&gt;&lt;a href=&#34;https://jb55.com&#34;&gt;https://jb55.com&lt;/a&gt;
    </content>
    <updated>2023-06-09T14:48:35&#43;02:00</updated>
  </entry>

</feed>