lnrpc: update description for RoutingPolicy.CustomRecords

This commit is contained in:
yyforyongyu committed 2025-07-01 19:59:51 +08:00
1 parent 9ed32bddf3
commit 43ea309f2c
4 files changed
+6 -4

No files matched your search

+1 -1
View File
@@ -320,7 +320,7 @@
"type": "string",
"format": "byte"
},
"description": "Custom channel update tlv records."
"description": "Custom channel update tlv records. These are customized fields that are\nnot defined by LND and cannot be extracted."
},
"inbound_fee_base_msat": {
"type": "integer",
+2 -1
View File
@@ -10993,7 +10993,8 @@ type RoutingPolicy struct {
Disabled bool `protobuf:"varint,5,opt,name=disabled,proto3" json:"disabled,omitempty"`
MaxHtlcMsat uint64 `protobuf:"varint,6,opt,name=max_htlc_msat,json=maxHtlcMsat,proto3" json:"max_htlc_msat,omitempty"`
LastUpdate uint32 `protobuf:"varint,7,opt,name=last_update,json=lastUpdate,proto3" json:"last_update,omitempty"`
// Custom channel update tlv records.
// Custom channel update tlv records. These are customized fields that are
// not defined by LND and cannot be extracted.
CustomRecords map[uint64][]byte `protobuf:"bytes,8,rep,name=custom_records,json=customRecords,proto3" json:"custom_records,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
InboundFeeBaseMsat int32 `protobuf:"varint,9,opt,name=inbound_fee_base_msat,json=inboundFeeBaseMsat,proto3" json:"inbound_fee_base_msat,omitempty"`
InboundFeeRateMilliMsat int32 `protobuf:"varint,10,opt,name=inbound_fee_rate_milli_msat,json=inboundFeeRateMilliMsat,proto3" json:"inbound_fee_rate_milli_msat,omitempty"`
+2 -1
View File
@@ -3471,7 +3471,8 @@ message RoutingPolicy {
uint64 max_htlc_msat = 6;
uint32 last_update = 7;
// Custom channel update tlv records.
// Custom channel update tlv records. These are customized fields that are
// not defined by LND and cannot be extracted.
map<uint64, bytes> custom_records = 8;
int32 inbound_fee_base_msat = 9;
+1 -1
View File
@@ -7350,7 +7350,7 @@
"type": "string",
"format": "byte"
},
"description": "Custom channel update tlv records."
"description": "Custom channel update tlv records. These are customized fields that are\nnot defined by LND and cannot be extracted."
},
"inbound_fee_base_msat": {
"type": "integer",