lnrpc: deprecate invoice receipt field

This commit is contained in:
Joost Jager 2019-01-03 08:45:46 +01:00
parent 3c950e8f0d
commit d151916ae1
No known key found for this signature in database
GPG Key ID: AE6B0D042C8E38D9
3 changed files with 542 additions and 538 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1683,8 +1683,10 @@ message Invoice {
*/
string memo = 1 [json_name = "memo"];
/// An optional cryptographic receipt of payment
bytes receipt = 2 [json_name = "receipt"];
/** Deprecated. An optional cryptographic receipt of payment which is not
implemented.
*/
bytes receipt = 2 [json_name = "receipt", deprecated = true];
/**
The hex-encoded preimage (32 byte) which will allow settling an incoming

View File

@ -2042,7 +2042,7 @@
"receipt": {
"type": "string",
"format": "byte",
"title": "/ An optional cryptographic receipt of payment"
"description": "* Deprecated. An optional cryptographic receipt of payment which is not\nimplemented."
},
"r_preimage": {
"type": "string",