Update example to make channel-level explicit

pull/272/head
Gigi 2021-07-23 18:29:36 +02:00
rodzic 9e479b6cc1
commit 224c81f5bc
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 89C4A25E69A5DE7F
1 zmienionych plików z 35 dodań i 27 usunięć

Wyświetl plik

@ -300,9 +300,12 @@ the `customKey` and `customValue` can be utilized as follows:
This is a live, working example of a Lightning keysend value block in production. It designates four recipients for payment - two
podcast hosts at 49 and 46 shares respectively, a producer working on per episode chapter creation who gets a 5 share, and
a single share (effectively 1%) fee to the Podcastindex.org API.
Since the value block is defined at the `<channel>` level, it applies to every podcast episode.
```xml
<podcast:value type="lightning" method="keysend" suggested="0.00000015000">
...
<channel>
<podcast:value type="lightning" method="keysend" suggested="0.00000015000">
<podcast:valueRecipient
name="Adam Curry (Podcaster)"
type="node"
@ -328,5 +331,10 @@ a single share (effectively 1%) fee to the Podcastindex.org API.
split="1"
fee="true"
/>
</podcast:value>
</podcast:value>
...
<item>...</item>
<item>...</item>
...
</channel>
```