From 224c81f5bcceb594065107f6b7531e715d9c4020 Mon Sep 17 00:00:00 2001 From: Gigi Date: Fri, 23 Jul 2021 18:29:36 +0200 Subject: [PATCH 1/5] Update example to make channel-level explicit --- value/value.md | 62 ++++++++++++++++++++++++++++---------------------- 1 file changed, 35 insertions(+), 27 deletions(-) diff --git a/value/value.md b/value/value.md index 8b338f6..ccaf079 100644 --- a/value/value.md +++ b/value/value.md @@ -300,33 +300,41 @@ 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 `` level, it applies to every podcast episode. ```xml - - - - - - +... + + + + + + + + ... + ... + ... + ... + ``` From b66bc47233e8f19433d8ffcb05a94ff2836c4e1a Mon Sep 17 00:00:00 2001 From: Gigi Date: Fri, 23 Jul 2021 19:32:26 +0200 Subject: [PATCH 2/5] Add Item-Override example --- value/value.md | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/value/value.md b/value/value.md index ccaf079..ee58e06 100644 --- a/value/value.md +++ b/value/value.md @@ -338,3 +338,56 @@ Since the value block is defined at the `` level, it applies to every p ... ``` + +##### Example: `` Override + + +```xml +... + + + + + ... + + + + + + ... + + + + + + + ... + + ... + +``` From 9c93e42785fbc7b1726ca098550feedc73538d47 Mon Sep 17 00:00:00 2001 From: Gigi Date: Fri, 23 Jul 2021 19:43:23 +0200 Subject: [PATCH 3/5] Add example description --- value/value.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/value/value.md b/value/value.md index ee58e06..c27eed7 100644 --- a/value/value.md +++ b/value/value.md @@ -341,6 +341,13 @@ Since the value block is defined at the `` level, it applies to every p ##### Example: `` Override +To set up different payment splits for individual episodes, a value block has to +be defined on the `` level. This will override the value settings set on +the `` level. + +The following example defines different value blocks for each episode in order +to include the guests as value recipients. Payments are split 50/50 between host +and guest. ```xml ... From 8a58330eb8192bf5e4e1bc3ec640a45ff2ce4915 Mon Sep 17 00:00:00 2001 From: Gigi Date: Fri, 23 Jul 2021 19:43:33 +0200 Subject: [PATCH 4/5] Update item-level override example --- value/value.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/value/value.md b/value/value.md index c27eed7..9bc9faf 100644 --- a/value/value.md +++ b/value/value.md @@ -357,11 +357,16 @@ and guest. name="John Vallis (Host)" type="node" address="02a9cd2bca29dd7e29bdfdf485a8e78b8ccf9327517afa03a59be8f62a58792e1b" - split="50" + split="100" /> ... + #00 - John's Solo Episode + ... + + + #01 - John and Gigi + #02 - John and Paul Date: Fri, 23 Jul 2021 19:46:53 +0200 Subject: [PATCH 5/5] Fix item-override example --- value/value.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/value/value.md b/value/value.md index 9bc9faf..c91a47b 100644 --- a/value/value.md +++ b/value/value.md @@ -389,7 +389,7 @@ and guest.