Hello ZmnSCPxj,
> Payee has incentive to give accurate information about the channel.
I understand.
Thank you very much.
Regards,
nayuta-ueno
On 2018/05/15 23:23, ZmnSCPxj wrote:
Good morning nayuto-ueno,
`r` field doesn't contain signature like `channel_update`.
Do c-lightning check something in the `r` field from payee's invoice?
No. Invoice has signature for whole invoice. Of course, only payee signature
(fee of this channel is fee from the peer of the payee, e.g. hub).
Payee has incentive to give accurate information about the channel. Otherwise
payment may fail if the channel fees or CLTV-delta, is not same as wanted by
the peer of the payee. So only payee signature should be enough; if payee
gives bad information about this channel, payee loses on getting paid.
Regards,
ZmnSCPxj
_______________________________________________
Lightning-dev mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev