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
Lightning-dev@lists.linuxfoundation.org
https://lists.linuxfoundation.org/mailman/listinfo/lightning-dev

Reply via email to