Rusty Russell [ARCHIVE] on Nostr: 📅 Original date posted:2018-01-09 📝 Original message: ZmnSCPxj via ...
📅 Original date posted:2018-01-09
📝 Original message:
ZmnSCPxj via Lightning-dev <lightning-dev at lists.linuxfoundation.org> writes:
> Good morning Cezary,
>
> Currently, c-lightning can PAY amountless invoices via the "pay" command, but cannot CREATE them via the c-lightning "invoice" command.
Good point, I've filed an issue for this, so we don't lose it:
https://github.com/ElementsProject/lightning/issues/534> To pay an amountless invoice lntb... 4 satoshis in c-lightning: lightning-cli pay lntb.. 4000
Note that I'd prefer the "msatoshi" field to be a magic string
(eg. "any") rather than omitting the parameter, since it's too easy for
a bug to omit the parameter.
Cheers,
Rusty.
Published at
2023-06-09 12:48:24Event JSON
{
"id": "b49f286d07f7ade60069ac5055dc842aa3db6b8f817c8cd9786baef1c066bfb1",
"pubkey": "13bd8c1c5e3b3508a07c92598647160b11ab0deef4c452098e223e443c1ca425",
"created_at": 1686314904,
"kind": 1,
"tags": [
[
"e",
"1ff696e7d45be59b4bb11b293581a3aea766f334f1b0fbaa54a16bcfddcc3f31",
"",
"root"
],
[
"e",
"d6c75b2253ac0cbe7e1d444434082466f6bb533b7ec54e36eacaebece492cfea",
"",
"reply"
],
[
"p",
"4505072744a9d3e490af9262bfe38e6ee5338a77177b565b6b37730b63a7b861"
]
],
"content": "📅 Original date posted:2018-01-09\n📝 Original message:\nZmnSCPxj via Lightning-dev \u003clightning-dev at lists.linuxfoundation.org\u003e writes:\n\n\u003e Good morning Cezary,\n\u003e\n\u003e Currently, c-lightning can PAY amountless invoices via the \"pay\" command, but cannot CREATE them via the c-lightning \"invoice\" command.\n\nGood point, I've filed an issue for this, so we don't lose it:\n\n https://github.com/ElementsProject/lightning/issues/534\n\n\u003e To pay an amountless invoice lntb... 4 satoshis in c-lightning: lightning-cli pay lntb.. 4000\n\nNote that I'd prefer the \"msatoshi\" field to be a magic string\n(eg. \"any\") rather than omitting the parameter, since it's too easy for\na bug to omit the parameter.\n\nCheers,\nRusty.",
"sig": "16d213724a9fc3bda7587f32607f090eeb4d1e2e28ff74c9482e8098fae4e3cc84078ea76d5447604d37954bc432c93d82bd4f08246e9c9c362c13260b799ed3"
}