htlcswitch: merge copy htlc custom records

This commit is contained in:
Carla Kirk-Cohen
2024-10-30 11:20:48 -04:00
parent 0899077fb5
commit 7896bef2a0
4 changed files with 13 additions and 18 deletions

View File

@@ -1064,13 +1064,9 @@ message ForwardHtlcInterceptResponse {
// the resumed HTLC. This field is ignored if the action is not
// RESUME_MODIFIED.
//
// If this map is populated, it will overwrite any of the wire custom
// records set by LND. It is the caller's responsibility to copy any desired
// records across. If the map is empty, no action will be taken and existing
// custom records will be propagated.
//
// The API does not currently support deleting custom records, unless they
// are overwritten by a new set.
// This map will merge with the existing set of custom records (if any),
// replacing any conflicting types. Note that there currently is no support
// for deleting existing custom records (they can only be replaced).
map<uint64, bytes> out_wire_custom_records = 8;
}