core-lightning/contrib
Vincenzo Palazzo 6f0dbbb20f bolt12: allow to inject payer_metadata
Payer metadata is a field that controls the payer ID
provided during the fetchinvoice process.

There are use cases where this is highly useful, such as
proving that the payer has paid for the correct item.

Imagine visiting a merchant's website to pay for multiple offers, where
one of these offers is a default offer (with no description and no set amount).

In this scenario, the merchant could claim not to have received
payment for a specific item. Since the same offer may be used to
fetch invoices for different products, there needs to be a way to
identify which product the invoice corresponds to.

With this commit, it will be possible to inject payer metadata,
which helps solve the issue described above.

For example, possible payer metadata could be `to_hex(b"{payer_node_id}.{product_id}.{created_at}")`.

Changelog-Added: JSON-RPC: `fetchinvoice` allows setting invreq_metadata via `payer_metadata` parameter.
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
2024-11-19 22:54:22 +01:00
..
cln-tracer cln-tracer: readme usage clarifications 2024-09-05 15:49:03 -07:00
docker docker: Docker file fixes for reproducible builds 2024-08-15 16:47:45 +09:30
init Remove --daemon from lightningd.service 2023-07-09 13:02:10 +09:30
keys gpg: New public key 2024-09-24 21:00:25 -07:00
msggen bolt12: allow to inject payer_metadata 2024-11-19 22:54:22 +01:00
plugins tests: notification response fixes 2023-07-10 14:51:11 +09:30
pylightning tests: notification response fixes 2023-07-10 14:51:11 +09:30
pyln-client pyln-client: adds testcase for usage in manifest and print_usage 2024-11-19 11:50:42 +10:30
pyln-grpc-proto bolt12: allow to inject payer_metadata 2024-11-19 22:54:22 +01:00
pyln-proto release: Update the changelog for point release v24.08.2 2024-10-18 09:06:17 -07:00
pyln-spec Fix incorrect hex value for Signet port 2024-02-16 15:54:29 +01:00
pyln-testing pyln-testing: don't skip renepay and askrene! 2024-11-18 11:03:26 +10:30
reprobuild repro: focal modded fix 2024-10-31 20:26:30 -07:00
sanitizer_suppressions common/autodata: use instead of ccan/autodata 2021-09-21 18:04:43 +02:00
bootstrap-node.sh Replace head -n with sort -R for better random peer selection 2023-01-04 13:29:46 +10:30
cl-repro.sh script: Adjusting the script with ubuntu:noble updates 2024-06-18 16:53:32 -07:00
clang-coverage-report.sh shellcheck: shellcheck fixes 2024-11-19 09:05:55 +10:30
config-example Added sample config file 2023-06-21 14:57:34 +09:30
giantnode.py script: Giantnode paths fix 2024-11-06 13:48:12 +10:30
lightning-cli.bash-completion Fix bash completion. 2020-05-15 15:25:33 +02:00
short_channel_id-to-txid.sh Add compability to current formalism to short_channel_id-to-txid.sh 2019-10-04 00:38:52 +00:00
startup_regtest.sh regtest: fix check for bitcoin-cli 2024-02-04 16:54:53 +01:00