From 0bb706b113f3a3ddadf41138b95696df19b0c485 Mon Sep 17 00:00:00 2001 From: Elle Mouton Date: Thu, 20 May 2021 14:38:29 +0200 Subject: [PATCH 1/2] frdrpc: Regenerate protos This commit regenerates the protos using the updated protobuf compiler version. --- frdrpc/faraday.pb.go | 2728 +++++++++++++++++++++++++++--------------- go.mod | 1 + 2 files changed, 1757 insertions(+), 972 deletions(-) diff --git a/frdrpc/faraday.pb.go b/frdrpc/faraday.pb.go index dee6e79..1731d88 100644 --- a/frdrpc/faraday.pb.go +++ b/frdrpc/faraday.pb.go @@ -1,28 +1,33 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.6.1 // source: faraday.proto package frdrpc import ( context "context" - fmt "fmt" proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 // //Granularity describes the aggregation level at which the Bitcoin price should @@ -42,36 +47,57 @@ const ( Granularity_DAY Granularity = 8 ) -var Granularity_name = map[int32]string{ - 0: "UNKNOWN_GRANULARITY", - 1: "MINUTE", - 2: "FIVE_MINUTES", - 3: "FIFTEEN_MINUTES", - 4: "THIRTY_MINUTES", - 5: "HOUR", - 6: "SIX_HOURS", - 7: "TWELVE_HOURS", - 8: "DAY", -} - -var Granularity_value = map[string]int32{ - "UNKNOWN_GRANULARITY": 0, - "MINUTE": 1, - "FIVE_MINUTES": 2, - "FIFTEEN_MINUTES": 3, - "THIRTY_MINUTES": 4, - "HOUR": 5, - "SIX_HOURS": 6, - "TWELVE_HOURS": 7, - "DAY": 8, +// Enum value maps for Granularity. +var ( + Granularity_name = map[int32]string{ + 0: "UNKNOWN_GRANULARITY", + 1: "MINUTE", + 2: "FIVE_MINUTES", + 3: "FIFTEEN_MINUTES", + 4: "THIRTY_MINUTES", + 5: "HOUR", + 6: "SIX_HOURS", + 7: "TWELVE_HOURS", + 8: "DAY", + } + Granularity_value = map[string]int32{ + "UNKNOWN_GRANULARITY": 0, + "MINUTE": 1, + "FIVE_MINUTES": 2, + "FIFTEEN_MINUTES": 3, + "THIRTY_MINUTES": 4, + "HOUR": 5, + "SIX_HOURS": 6, + "TWELVE_HOURS": 7, + "DAY": 8, + } +) + +func (x Granularity) Enum() *Granularity { + p := new(Granularity) + *p = x + return p } func (x Granularity) String() string { - return proto.EnumName(Granularity_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (Granularity) Descriptor() protoreflect.EnumDescriptor { + return file_faraday_proto_enumTypes[0].Descriptor() } +func (Granularity) Type() protoreflect.EnumType { + return &file_faraday_proto_enumTypes[0] +} + +func (x Granularity) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Granularity.Descriptor instead. func (Granularity) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_9ccb88e279ed9462, []int{0} + return file_faraday_proto_rawDescGZIP(), []int{0} } // @@ -90,24 +116,45 @@ const ( FiatBackend_COINDESK FiatBackend = 2 ) -var FiatBackend_name = map[int32]string{ - 0: "UNKNOWN_FIATBACKEND", - 1: "COINCAP", - 2: "COINDESK", -} +// Enum value maps for FiatBackend. +var ( + FiatBackend_name = map[int32]string{ + 0: "UNKNOWN_FIATBACKEND", + 1: "COINCAP", + 2: "COINDESK", + } + FiatBackend_value = map[string]int32{ + "UNKNOWN_FIATBACKEND": 0, + "COINCAP": 1, + "COINDESK": 2, + } +) -var FiatBackend_value = map[string]int32{ - "UNKNOWN_FIATBACKEND": 0, - "COINCAP": 1, - "COINDESK": 2, +func (x FiatBackend) Enum() *FiatBackend { + p := new(FiatBackend) + *p = x + return p } func (x FiatBackend) String() string { - return proto.EnumName(FiatBackend_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (FiatBackend) Descriptor() protoreflect.EnumDescriptor { + return file_faraday_proto_enumTypes[1].Descriptor() +} + +func (FiatBackend) Type() protoreflect.EnumType { + return &file_faraday_proto_enumTypes[1] +} + +func (x FiatBackend) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use FiatBackend.Descriptor instead. func (FiatBackend) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_9ccb88e279ed9462, []int{1} + return file_faraday_proto_rawDescGZIP(), []int{1} } type EntryType int32 @@ -148,50 +195,71 @@ const ( EntryType_CHANNEL_CLOSE_FEE EntryType = 15 ) -var EntryType_name = map[int32]string{ - 0: "UNKNOWN", - 1: "LOCAL_CHANNEL_OPEN", - 2: "REMOTE_CHANNEL_OPEN", - 3: "CHANNEL_OPEN_FEE", - 4: "CHANNEL_CLOSE", - 5: "RECEIPT", - 6: "PAYMENT", - 7: "FEE", - 8: "CIRCULAR_RECEIPT", - 9: "FORWARD", - 10: "FORWARD_FEE", - 11: "CIRCULAR_PAYMENT", - 12: "CIRCULAR_FEE", - 13: "SWEEP", - 14: "SWEEP_FEE", - 15: "CHANNEL_CLOSE_FEE", -} - -var EntryType_value = map[string]int32{ - "UNKNOWN": 0, - "LOCAL_CHANNEL_OPEN": 1, - "REMOTE_CHANNEL_OPEN": 2, - "CHANNEL_OPEN_FEE": 3, - "CHANNEL_CLOSE": 4, - "RECEIPT": 5, - "PAYMENT": 6, - "FEE": 7, - "CIRCULAR_RECEIPT": 8, - "FORWARD": 9, - "FORWARD_FEE": 10, - "CIRCULAR_PAYMENT": 11, - "CIRCULAR_FEE": 12, - "SWEEP": 13, - "SWEEP_FEE": 14, - "CHANNEL_CLOSE_FEE": 15, +// Enum value maps for EntryType. +var ( + EntryType_name = map[int32]string{ + 0: "UNKNOWN", + 1: "LOCAL_CHANNEL_OPEN", + 2: "REMOTE_CHANNEL_OPEN", + 3: "CHANNEL_OPEN_FEE", + 4: "CHANNEL_CLOSE", + 5: "RECEIPT", + 6: "PAYMENT", + 7: "FEE", + 8: "CIRCULAR_RECEIPT", + 9: "FORWARD", + 10: "FORWARD_FEE", + 11: "CIRCULAR_PAYMENT", + 12: "CIRCULAR_FEE", + 13: "SWEEP", + 14: "SWEEP_FEE", + 15: "CHANNEL_CLOSE_FEE", + } + EntryType_value = map[string]int32{ + "UNKNOWN": 0, + "LOCAL_CHANNEL_OPEN": 1, + "REMOTE_CHANNEL_OPEN": 2, + "CHANNEL_OPEN_FEE": 3, + "CHANNEL_CLOSE": 4, + "RECEIPT": 5, + "PAYMENT": 6, + "FEE": 7, + "CIRCULAR_RECEIPT": 8, + "FORWARD": 9, + "FORWARD_FEE": 10, + "CIRCULAR_PAYMENT": 11, + "CIRCULAR_FEE": 12, + "SWEEP": 13, + "SWEEP_FEE": 14, + "CHANNEL_CLOSE_FEE": 15, + } +) + +func (x EntryType) Enum() *EntryType { + p := new(EntryType) + *p = x + return p } func (x EntryType) String() string { - return proto.EnumName(EntryType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (EntryType) Descriptor() protoreflect.EnumDescriptor { + return file_faraday_proto_enumTypes[2].Descriptor() +} + +func (EntryType) Type() protoreflect.EnumType { + return &file_faraday_proto_enumTypes[2] +} + +func (x EntryType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use EntryType.Descriptor instead. func (EntryType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_9ccb88e279ed9462, []int{2} + return file_faraday_proto_rawDescGZIP(), []int{2} } type CloseRecommendationRequest_Metric int32 @@ -205,33 +273,58 @@ const ( CloseRecommendationRequest_TOTAL_VOLUME CloseRecommendationRequest_Metric = 5 ) -var CloseRecommendationRequest_Metric_name = map[int32]string{ - 0: "UNKNOWN", - 1: "UPTIME", - 2: "REVENUE", - 3: "INCOMING_VOLUME", - 4: "OUTGOING_VOLUME", - 5: "TOTAL_VOLUME", -} +// Enum value maps for CloseRecommendationRequest_Metric. +var ( + CloseRecommendationRequest_Metric_name = map[int32]string{ + 0: "UNKNOWN", + 1: "UPTIME", + 2: "REVENUE", + 3: "INCOMING_VOLUME", + 4: "OUTGOING_VOLUME", + 5: "TOTAL_VOLUME", + } + CloseRecommendationRequest_Metric_value = map[string]int32{ + "UNKNOWN": 0, + "UPTIME": 1, + "REVENUE": 2, + "INCOMING_VOLUME": 3, + "OUTGOING_VOLUME": 4, + "TOTAL_VOLUME": 5, + } +) -var CloseRecommendationRequest_Metric_value = map[string]int32{ - "UNKNOWN": 0, - "UPTIME": 1, - "REVENUE": 2, - "INCOMING_VOLUME": 3, - "OUTGOING_VOLUME": 4, - "TOTAL_VOLUME": 5, +func (x CloseRecommendationRequest_Metric) Enum() *CloseRecommendationRequest_Metric { + p := new(CloseRecommendationRequest_Metric) + *p = x + return p } func (x CloseRecommendationRequest_Metric) String() string { - return proto.EnumName(CloseRecommendationRequest_Metric_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (CloseRecommendationRequest_Metric) Descriptor() protoreflect.EnumDescriptor { + return file_faraday_proto_enumTypes[3].Descriptor() +} + +func (CloseRecommendationRequest_Metric) Type() protoreflect.EnumType { + return &file_faraday_proto_enumTypes[3] +} + +func (x CloseRecommendationRequest_Metric) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use CloseRecommendationRequest_Metric.Descriptor instead. func (CloseRecommendationRequest_Metric) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_9ccb88e279ed9462, []int{0, 0} + return file_faraday_proto_rawDescGZIP(), []int{0, 0} } type CloseRecommendationRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //The minimum amount of time in seconds that a channel should have been //monitored by lnd to be eligible for close. This value is in place to @@ -243,52 +336,60 @@ type CloseRecommendationRequest struct { //monitored to. //Revenue: the revenue that the channel has produced per block that its //funding transaction has been confirmed for. - Metric CloseRecommendationRequest_Metric `protobuf:"varint,2,opt,name=metric,proto3,enum=frdrpc.CloseRecommendationRequest_Metric" json:"metric,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Metric CloseRecommendationRequest_Metric `protobuf:"varint,2,opt,name=metric,proto3,enum=frdrpc.CloseRecommendationRequest_Metric" json:"metric,omitempty"` } -func (m *CloseRecommendationRequest) Reset() { *m = CloseRecommendationRequest{} } -func (m *CloseRecommendationRequest) String() string { return proto.CompactTextString(m) } -func (*CloseRecommendationRequest) ProtoMessage() {} -func (*CloseRecommendationRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9ccb88e279ed9462, []int{0} +func (x *CloseRecommendationRequest) Reset() { + *x = CloseRecommendationRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_faraday_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CloseRecommendationRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CloseRecommendationRequest.Unmarshal(m, b) -} -func (m *CloseRecommendationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CloseRecommendationRequest.Marshal(b, m, deterministic) +func (x *CloseRecommendationRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CloseRecommendationRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CloseRecommendationRequest.Merge(m, src) -} -func (m *CloseRecommendationRequest) XXX_Size() int { - return xxx_messageInfo_CloseRecommendationRequest.Size(m) -} -func (m *CloseRecommendationRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CloseRecommendationRequest.DiscardUnknown(m) + +func (*CloseRecommendationRequest) ProtoMessage() {} + +func (x *CloseRecommendationRequest) ProtoReflect() protoreflect.Message { + mi := &file_faraday_proto_msgTypes[0] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_CloseRecommendationRequest proto.InternalMessageInfo +// Deprecated: Use CloseRecommendationRequest.ProtoReflect.Descriptor instead. +func (*CloseRecommendationRequest) Descriptor() ([]byte, []int) { + return file_faraday_proto_rawDescGZIP(), []int{0} +} -func (m *CloseRecommendationRequest) GetMinimumMonitored() int64 { - if m != nil { - return m.MinimumMonitored +func (x *CloseRecommendationRequest) GetMinimumMonitored() int64 { + if x != nil { + return x.MinimumMonitored } return 0 } -func (m *CloseRecommendationRequest) GetMetric() CloseRecommendationRequest_Metric { - if m != nil { - return m.Metric +func (x *CloseRecommendationRequest) GetMetric() CloseRecommendationRequest_Metric { + if x != nil { + return x.Metric } return CloseRecommendationRequest_UNKNOWN } type OutlierRecommendationsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //The parameters that are common to all close recommendations. RecRequest *CloseRecommendationRequest `protobuf:"bytes,1,opt,name=rec_request,json=recRequest,proto3" json:"rec_request,omitempty"` @@ -298,52 +399,60 @@ type OutlierRecommendationsRequest struct { //Lower values will be more aggressive in recommending channel closes, and //upper values will be more conservative. Recommended values are 1.5 for //aggressive recommendations and 3 for conservative recommendations. - OutlierMultiplier float32 `protobuf:"fixed32,2,opt,name=outlier_multiplier,json=outlierMultiplier,proto3" json:"outlier_multiplier,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + OutlierMultiplier float32 `protobuf:"fixed32,2,opt,name=outlier_multiplier,json=outlierMultiplier,proto3" json:"outlier_multiplier,omitempty"` } -func (m *OutlierRecommendationsRequest) Reset() { *m = OutlierRecommendationsRequest{} } -func (m *OutlierRecommendationsRequest) String() string { return proto.CompactTextString(m) } -func (*OutlierRecommendationsRequest) ProtoMessage() {} -func (*OutlierRecommendationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9ccb88e279ed9462, []int{1} +func (x *OutlierRecommendationsRequest) Reset() { + *x = OutlierRecommendationsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_faraday_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *OutlierRecommendationsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OutlierRecommendationsRequest.Unmarshal(m, b) -} -func (m *OutlierRecommendationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OutlierRecommendationsRequest.Marshal(b, m, deterministic) -} -func (m *OutlierRecommendationsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_OutlierRecommendationsRequest.Merge(m, src) +func (x *OutlierRecommendationsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *OutlierRecommendationsRequest) XXX_Size() int { - return xxx_messageInfo_OutlierRecommendationsRequest.Size(m) -} -func (m *OutlierRecommendationsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_OutlierRecommendationsRequest.DiscardUnknown(m) + +func (*OutlierRecommendationsRequest) ProtoMessage() {} + +func (x *OutlierRecommendationsRequest) ProtoReflect() protoreflect.Message { + mi := &file_faraday_proto_msgTypes[1] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_OutlierRecommendationsRequest proto.InternalMessageInfo +// Deprecated: Use OutlierRecommendationsRequest.ProtoReflect.Descriptor instead. +func (*OutlierRecommendationsRequest) Descriptor() ([]byte, []int) { + return file_faraday_proto_rawDescGZIP(), []int{1} +} -func (m *OutlierRecommendationsRequest) GetRecRequest() *CloseRecommendationRequest { - if m != nil { - return m.RecRequest +func (x *OutlierRecommendationsRequest) GetRecRequest() *CloseRecommendationRequest { + if x != nil { + return x.RecRequest } return nil } -func (m *OutlierRecommendationsRequest) GetOutlierMultiplier() float32 { - if m != nil { - return m.OutlierMultiplier +func (x *OutlierRecommendationsRequest) GetOutlierMultiplier() float32 { + if x != nil { + return x.OutlierMultiplier } return 0 } type ThresholdRecommendationsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //The parameters that are common to all close recommendations. RecRequest *CloseRecommendationRequest `protobuf:"bytes,1,opt,name=rec_request,json=recRequest,proto3" json:"rec_request,omitempty"` @@ -371,52 +480,60 @@ type ThresholdRecommendationsRequest struct { //committed to the channel beneath which channels will be recommended for //closure. This value is provided per block so that channels that have been //open for different periods of time can be compared. - ThresholdValue float32 `protobuf:"fixed32,2,opt,name=threshold_value,json=thresholdValue,proto3" json:"threshold_value,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ThresholdValue float32 `protobuf:"fixed32,2,opt,name=threshold_value,json=thresholdValue,proto3" json:"threshold_value,omitempty"` } -func (m *ThresholdRecommendationsRequest) Reset() { *m = ThresholdRecommendationsRequest{} } -func (m *ThresholdRecommendationsRequest) String() string { return proto.CompactTextString(m) } -func (*ThresholdRecommendationsRequest) ProtoMessage() {} -func (*ThresholdRecommendationsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9ccb88e279ed9462, []int{2} +func (x *ThresholdRecommendationsRequest) Reset() { + *x = ThresholdRecommendationsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_faraday_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ThresholdRecommendationsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ThresholdRecommendationsRequest.Unmarshal(m, b) -} -func (m *ThresholdRecommendationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ThresholdRecommendationsRequest.Marshal(b, m, deterministic) -} -func (m *ThresholdRecommendationsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ThresholdRecommendationsRequest.Merge(m, src) +func (x *ThresholdRecommendationsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ThresholdRecommendationsRequest) XXX_Size() int { - return xxx_messageInfo_ThresholdRecommendationsRequest.Size(m) -} -func (m *ThresholdRecommendationsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ThresholdRecommendationsRequest.DiscardUnknown(m) + +func (*ThresholdRecommendationsRequest) ProtoMessage() {} + +func (x *ThresholdRecommendationsRequest) ProtoReflect() protoreflect.Message { + mi := &file_faraday_proto_msgTypes[2] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ThresholdRecommendationsRequest proto.InternalMessageInfo +// Deprecated: Use ThresholdRecommendationsRequest.ProtoReflect.Descriptor instead. +func (*ThresholdRecommendationsRequest) Descriptor() ([]byte, []int) { + return file_faraday_proto_rawDescGZIP(), []int{2} +} -func (m *ThresholdRecommendationsRequest) GetRecRequest() *CloseRecommendationRequest { - if m != nil { - return m.RecRequest +func (x *ThresholdRecommendationsRequest) GetRecRequest() *CloseRecommendationRequest { + if x != nil { + return x.RecRequest } return nil } -func (m *ThresholdRecommendationsRequest) GetThresholdValue() float32 { - if m != nil { - return m.ThresholdValue +func (x *ThresholdRecommendationsRequest) GetThresholdValue() float32 { + if x != nil { + return x.ThresholdValue } return 0 } type CloseRecommendationsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //The total number of channels, before filtering out channels that are //not eligible for close recommendations. @@ -429,59 +546,67 @@ type CloseRecommendationsResponse struct { //set implies that it was not considered for close because it did not meet //the criteria for close recommendations (it is private, or has not been //monitored for long enough). - Recommendations []*Recommendation `protobuf:"bytes,3,rep,name=recommendations,proto3" json:"recommendations,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Recommendations []*Recommendation `protobuf:"bytes,3,rep,name=recommendations,proto3" json:"recommendations,omitempty"` } -func (m *CloseRecommendationsResponse) Reset() { *m = CloseRecommendationsResponse{} } -func (m *CloseRecommendationsResponse) String() string { return proto.CompactTextString(m) } -func (*CloseRecommendationsResponse) ProtoMessage() {} -func (*CloseRecommendationsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_9ccb88e279ed9462, []int{3} +func (x *CloseRecommendationsResponse) Reset() { + *x = CloseRecommendationsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_faraday_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CloseRecommendationsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CloseRecommendationsResponse.Unmarshal(m, b) +func (x *CloseRecommendationsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CloseRecommendationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CloseRecommendationsResponse.Marshal(b, m, deterministic) -} -func (m *CloseRecommendationsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CloseRecommendationsResponse.Merge(m, src) -} -func (m *CloseRecommendationsResponse) XXX_Size() int { - return xxx_messageInfo_CloseRecommendationsResponse.Size(m) -} -func (m *CloseRecommendationsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CloseRecommendationsResponse.DiscardUnknown(m) + +func (*CloseRecommendationsResponse) ProtoMessage() {} + +func (x *CloseRecommendationsResponse) ProtoReflect() protoreflect.Message { + mi := &file_faraday_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_CloseRecommendationsResponse proto.InternalMessageInfo +// Deprecated: Use CloseRecommendationsResponse.ProtoReflect.Descriptor instead. +func (*CloseRecommendationsResponse) Descriptor() ([]byte, []int) { + return file_faraday_proto_rawDescGZIP(), []int{3} +} -func (m *CloseRecommendationsResponse) GetTotalChannels() int32 { - if m != nil { - return m.TotalChannels +func (x *CloseRecommendationsResponse) GetTotalChannels() int32 { + if x != nil { + return x.TotalChannels } return 0 } -func (m *CloseRecommendationsResponse) GetConsideredChannels() int32 { - if m != nil { - return m.ConsideredChannels +func (x *CloseRecommendationsResponse) GetConsideredChannels() int32 { + if x != nil { + return x.ConsideredChannels } return 0 } -func (m *CloseRecommendationsResponse) GetRecommendations() []*Recommendation { - if m != nil { - return m.Recommendations +func (x *CloseRecommendationsResponse) GetRecommendations() []*Recommendation { + if x != nil { + return x.Recommendations } return nil } type Recommendation struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //The channel point [funding txid: outpoint] of the channel being considered //for close. @@ -489,59 +614,67 @@ type Recommendation struct { // The value of the metric that close recommendations were based on. Value float32 `protobuf:"fixed32,2,opt,name=value,proto3" json:"value,omitempty"` // A boolean indicating whether we recommend closing the channel. - RecommendClose bool `protobuf:"varint,3,opt,name=recommend_close,json=recommendClose,proto3" json:"recommend_close,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + RecommendClose bool `protobuf:"varint,3,opt,name=recommend_close,json=recommendClose,proto3" json:"recommend_close,omitempty"` } -func (m *Recommendation) Reset() { *m = Recommendation{} } -func (m *Recommendation) String() string { return proto.CompactTextString(m) } -func (*Recommendation) ProtoMessage() {} -func (*Recommendation) Descriptor() ([]byte, []int) { - return fileDescriptor_9ccb88e279ed9462, []int{4} +func (x *Recommendation) Reset() { + *x = Recommendation{} + if protoimpl.UnsafeEnabled { + mi := &file_faraday_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Recommendation) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Recommendation.Unmarshal(m, b) -} -func (m *Recommendation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Recommendation.Marshal(b, m, deterministic) -} -func (m *Recommendation) XXX_Merge(src proto.Message) { - xxx_messageInfo_Recommendation.Merge(m, src) +func (x *Recommendation) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Recommendation) XXX_Size() int { - return xxx_messageInfo_Recommendation.Size(m) -} -func (m *Recommendation) XXX_DiscardUnknown() { - xxx_messageInfo_Recommendation.DiscardUnknown(m) + +func (*Recommendation) ProtoMessage() {} + +func (x *Recommendation) ProtoReflect() protoreflect.Message { + mi := &file_faraday_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Recommendation proto.InternalMessageInfo +// Deprecated: Use Recommendation.ProtoReflect.Descriptor instead. +func (*Recommendation) Descriptor() ([]byte, []int) { + return file_faraday_proto_rawDescGZIP(), []int{4} +} -func (m *Recommendation) GetChanPoint() string { - if m != nil { - return m.ChanPoint +func (x *Recommendation) GetChanPoint() string { + if x != nil { + return x.ChanPoint } return "" } -func (m *Recommendation) GetValue() float32 { - if m != nil { - return m.Value +func (x *Recommendation) GetValue() float32 { + if x != nil { + return x.Value } return 0 } -func (m *Recommendation) GetRecommendClose() bool { - if m != nil { - return m.RecommendClose +func (x *Recommendation) GetRecommendClose() bool { + if x != nil { + return x.RecommendClose } return false } type RevenueReportRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //The funding transaction outpoints for the channels to generate a revenue //report for. If this is empty, it will be generated for all open and closed @@ -555,101 +688,117 @@ type RevenueReportRequest struct { // //End time is end of the range over which the report will be //generated, expressed as unix epoch offset in seconds. - EndTime uint64 `protobuf:"varint,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + EndTime uint64 `protobuf:"varint,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` } -func (m *RevenueReportRequest) Reset() { *m = RevenueReportRequest{} } -func (m *RevenueReportRequest) String() string { return proto.CompactTextString(m) } -func (*RevenueReportRequest) ProtoMessage() {} -func (*RevenueReportRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9ccb88e279ed9462, []int{5} +func (x *RevenueReportRequest) Reset() { + *x = RevenueReportRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_faraday_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RevenueReportRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RevenueReportRequest.Unmarshal(m, b) +func (x *RevenueReportRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RevenueReportRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RevenueReportRequest.Marshal(b, m, deterministic) -} -func (m *RevenueReportRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RevenueReportRequest.Merge(m, src) -} -func (m *RevenueReportRequest) XXX_Size() int { - return xxx_messageInfo_RevenueReportRequest.Size(m) -} -func (m *RevenueReportRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RevenueReportRequest.DiscardUnknown(m) + +func (*RevenueReportRequest) ProtoMessage() {} + +func (x *RevenueReportRequest) ProtoReflect() protoreflect.Message { + mi := &file_faraday_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_RevenueReportRequest proto.InternalMessageInfo +// Deprecated: Use RevenueReportRequest.ProtoReflect.Descriptor instead. +func (*RevenueReportRequest) Descriptor() ([]byte, []int) { + return file_faraday_proto_rawDescGZIP(), []int{5} +} -func (m *RevenueReportRequest) GetChanPoints() []string { - if m != nil { - return m.ChanPoints +func (x *RevenueReportRequest) GetChanPoints() []string { + if x != nil { + return x.ChanPoints } return nil } -func (m *RevenueReportRequest) GetStartTime() uint64 { - if m != nil { - return m.StartTime +func (x *RevenueReportRequest) GetStartTime() uint64 { + if x != nil { + return x.StartTime } return 0 } -func (m *RevenueReportRequest) GetEndTime() uint64 { - if m != nil { - return m.EndTime +func (x *RevenueReportRequest) GetEndTime() uint64 { + if x != nil { + return x.EndTime } return 0 } type RevenueReportResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //Reports is a set of pairwise revenue report generated for the channel(s) //over the period specified. - Reports []*RevenueReport `protobuf:"bytes,1,rep,name=reports,proto3" json:"reports,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Reports []*RevenueReport `protobuf:"bytes,1,rep,name=reports,proto3" json:"reports,omitempty"` } -func (m *RevenueReportResponse) Reset() { *m = RevenueReportResponse{} } -func (m *RevenueReportResponse) String() string { return proto.CompactTextString(m) } -func (*RevenueReportResponse) ProtoMessage() {} -func (*RevenueReportResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_9ccb88e279ed9462, []int{6} +func (x *RevenueReportResponse) Reset() { + *x = RevenueReportResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_faraday_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RevenueReportResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RevenueReportResponse.Unmarshal(m, b) -} -func (m *RevenueReportResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RevenueReportResponse.Marshal(b, m, deterministic) -} -func (m *RevenueReportResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RevenueReportResponse.Merge(m, src) -} -func (m *RevenueReportResponse) XXX_Size() int { - return xxx_messageInfo_RevenueReportResponse.Size(m) +func (x *RevenueReportResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RevenueReportResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RevenueReportResponse.DiscardUnknown(m) + +func (*RevenueReportResponse) ProtoMessage() {} + +func (x *RevenueReportResponse) ProtoReflect() protoreflect.Message { + mi := &file_faraday_proto_msgTypes[6] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_RevenueReportResponse proto.InternalMessageInfo +// Deprecated: Use RevenueReportResponse.ProtoReflect.Descriptor instead. +func (*RevenueReportResponse) Descriptor() ([]byte, []int) { + return file_faraday_proto_rawDescGZIP(), []int{6} +} -func (m *RevenueReportResponse) GetReports() []*RevenueReport { - if m != nil { - return m.Reports +func (x *RevenueReportResponse) GetReports() []*RevenueReport { + if x != nil { + return x.Reports } return nil } type RevenueReport struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //Target channel is the channel that the report is generated for; incoming //fields in the report mean that this channel was the incoming channel, @@ -659,52 +808,60 @@ type RevenueReport struct { // //Pair reports maps the channel point of a peer that we generated revenue //with to a report detailing the revenue. - PairReports map[string]*PairReport `protobuf:"bytes,2,rep,name=pair_reports,json=pairReports,proto3" json:"pair_reports,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + PairReports map[string]*PairReport `protobuf:"bytes,2,rep,name=pair_reports,json=pairReports,proto3" json:"pair_reports,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` } -func (m *RevenueReport) Reset() { *m = RevenueReport{} } -func (m *RevenueReport) String() string { return proto.CompactTextString(m) } -func (*RevenueReport) ProtoMessage() {} -func (*RevenueReport) Descriptor() ([]byte, []int) { - return fileDescriptor_9ccb88e279ed9462, []int{7} +func (x *RevenueReport) Reset() { + *x = RevenueReport{} + if protoimpl.UnsafeEnabled { + mi := &file_faraday_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RevenueReport) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RevenueReport.Unmarshal(m, b) -} -func (m *RevenueReport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RevenueReport.Marshal(b, m, deterministic) +func (x *RevenueReport) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RevenueReport) XXX_Merge(src proto.Message) { - xxx_messageInfo_RevenueReport.Merge(m, src) -} -func (m *RevenueReport) XXX_Size() int { - return xxx_messageInfo_RevenueReport.Size(m) -} -func (m *RevenueReport) XXX_DiscardUnknown() { - xxx_messageInfo_RevenueReport.DiscardUnknown(m) + +func (*RevenueReport) ProtoMessage() {} + +func (x *RevenueReport) ProtoReflect() protoreflect.Message { + mi := &file_faraday_proto_msgTypes[7] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_RevenueReport proto.InternalMessageInfo +// Deprecated: Use RevenueReport.ProtoReflect.Descriptor instead. +func (*RevenueReport) Descriptor() ([]byte, []int) { + return file_faraday_proto_rawDescGZIP(), []int{7} +} -func (m *RevenueReport) GetTargetChannel() string { - if m != nil { - return m.TargetChannel +func (x *RevenueReport) GetTargetChannel() string { + if x != nil { + return x.TargetChannel } return "" } -func (m *RevenueReport) GetPairReports() map[string]*PairReport { - if m != nil { - return m.PairReports +func (x *RevenueReport) GetPairReports() map[string]*PairReport { + if x != nil { + return x.PairReports } return nil } type PairReport struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //Amount outgoing msat is the amount in millisatoshis that arrived //on the pair channel to be forwarded onwards by our channel. @@ -722,137 +879,160 @@ type PairReport struct { //Fees incoming is the amount of fees in millisatoshis that we //attribute to the channel for its role as the incoming channel in //forwards. - FeesIncomingMsat int64 `protobuf:"varint,4,opt,name=fees_incoming_msat,json=feesIncomingMsat,proto3" json:"fees_incoming_msat,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + FeesIncomingMsat int64 `protobuf:"varint,4,opt,name=fees_incoming_msat,json=feesIncomingMsat,proto3" json:"fees_incoming_msat,omitempty"` } -func (m *PairReport) Reset() { *m = PairReport{} } -func (m *PairReport) String() string { return proto.CompactTextString(m) } -func (*PairReport) ProtoMessage() {} -func (*PairReport) Descriptor() ([]byte, []int) { - return fileDescriptor_9ccb88e279ed9462, []int{8} +func (x *PairReport) Reset() { + *x = PairReport{} + if protoimpl.UnsafeEnabled { + mi := &file_faraday_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PairReport) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PairReport.Unmarshal(m, b) -} -func (m *PairReport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PairReport.Marshal(b, m, deterministic) -} -func (m *PairReport) XXX_Merge(src proto.Message) { - xxx_messageInfo_PairReport.Merge(m, src) -} -func (m *PairReport) XXX_Size() int { - return xxx_messageInfo_PairReport.Size(m) +func (x *PairReport) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PairReport) XXX_DiscardUnknown() { - xxx_messageInfo_PairReport.DiscardUnknown(m) + +func (*PairReport) ProtoMessage() {} + +func (x *PairReport) ProtoReflect() protoreflect.Message { + mi := &file_faraday_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_PairReport proto.InternalMessageInfo +// Deprecated: Use PairReport.ProtoReflect.Descriptor instead. +func (*PairReport) Descriptor() ([]byte, []int) { + return file_faraday_proto_rawDescGZIP(), []int{8} +} -func (m *PairReport) GetAmountOutgoingMsat() int64 { - if m != nil { - return m.AmountOutgoingMsat +func (x *PairReport) GetAmountOutgoingMsat() int64 { + if x != nil { + return x.AmountOutgoingMsat } return 0 } -func (m *PairReport) GetFeesOutgoingMsat() int64 { - if m != nil { - return m.FeesOutgoingMsat +func (x *PairReport) GetFeesOutgoingMsat() int64 { + if x != nil { + return x.FeesOutgoingMsat } return 0 } -func (m *PairReport) GetAmountIncomingMsat() int64 { - if m != nil { - return m.AmountIncomingMsat +func (x *PairReport) GetAmountIncomingMsat() int64 { + if x != nil { + return x.AmountIncomingMsat } return 0 } -func (m *PairReport) GetFeesIncomingMsat() int64 { - if m != nil { - return m.FeesIncomingMsat +func (x *PairReport) GetFeesIncomingMsat() int64 { + if x != nil { + return x.FeesIncomingMsat } return 0 } type ChannelInsightsRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ChannelInsightsRequest) Reset() { *m = ChannelInsightsRequest{} } -func (m *ChannelInsightsRequest) String() string { return proto.CompactTextString(m) } -func (*ChannelInsightsRequest) ProtoMessage() {} -func (*ChannelInsightsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9ccb88e279ed9462, []int{9} +func (x *ChannelInsightsRequest) Reset() { + *x = ChannelInsightsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_faraday_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ChannelInsightsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ChannelInsightsRequest.Unmarshal(m, b) -} -func (m *ChannelInsightsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ChannelInsightsRequest.Marshal(b, m, deterministic) +func (x *ChannelInsightsRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ChannelInsightsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChannelInsightsRequest.Merge(m, src) -} -func (m *ChannelInsightsRequest) XXX_Size() int { - return xxx_messageInfo_ChannelInsightsRequest.Size(m) -} -func (m *ChannelInsightsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ChannelInsightsRequest.DiscardUnknown(m) + +func (*ChannelInsightsRequest) ProtoMessage() {} + +func (x *ChannelInsightsRequest) ProtoReflect() protoreflect.Message { + mi := &file_faraday_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ChannelInsightsRequest proto.InternalMessageInfo +// Deprecated: Use ChannelInsightsRequest.ProtoReflect.Descriptor instead. +func (*ChannelInsightsRequest) Descriptor() ([]byte, []int) { + return file_faraday_proto_rawDescGZIP(), []int{9} +} type ChannelInsightsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Insights for the set of currently open channels. - ChannelInsights []*ChannelInsight `protobuf:"bytes,1,rep,name=channel_insights,json=channelInsights,proto3" json:"channel_insights,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ChannelInsights []*ChannelInsight `protobuf:"bytes,1,rep,name=channel_insights,json=channelInsights,proto3" json:"channel_insights,omitempty"` } -func (m *ChannelInsightsResponse) Reset() { *m = ChannelInsightsResponse{} } -func (m *ChannelInsightsResponse) String() string { return proto.CompactTextString(m) } -func (*ChannelInsightsResponse) ProtoMessage() {} -func (*ChannelInsightsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_9ccb88e279ed9462, []int{10} +func (x *ChannelInsightsResponse) Reset() { + *x = ChannelInsightsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_faraday_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ChannelInsightsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ChannelInsightsResponse.Unmarshal(m, b) -} -func (m *ChannelInsightsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ChannelInsightsResponse.Marshal(b, m, deterministic) -} -func (m *ChannelInsightsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChannelInsightsResponse.Merge(m, src) +func (x *ChannelInsightsResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ChannelInsightsResponse) XXX_Size() int { - return xxx_messageInfo_ChannelInsightsResponse.Size(m) -} -func (m *ChannelInsightsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ChannelInsightsResponse.DiscardUnknown(m) + +func (*ChannelInsightsResponse) ProtoMessage() {} + +func (x *ChannelInsightsResponse) ProtoReflect() protoreflect.Message { + mi := &file_faraday_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ChannelInsightsResponse proto.InternalMessageInfo +// Deprecated: Use ChannelInsightsResponse.ProtoReflect.Descriptor instead. +func (*ChannelInsightsResponse) Descriptor() ([]byte, []int) { + return file_faraday_proto_rawDescGZIP(), []int{10} +} -func (m *ChannelInsightsResponse) GetChannelInsights() []*ChannelInsight { - if m != nil { - return m.ChannelInsights +func (x *ChannelInsightsResponse) GetChannelInsights() []*ChannelInsight { + if x != nil { + return x.ChannelInsights } return nil } type ChannelInsight struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The outpoint of the channel's funding transaction. ChanPoint string `protobuf:"bytes,1,opt,name=chan_point,json=chanPoint,proto3" json:"chan_point,omitempty"` // @@ -879,293 +1059,333 @@ type ChannelInsight struct { // The number of confirmations the funding transaction has. Confirmations uint32 `protobuf:"varint,7,opt,name=confirmations,proto3" json:"confirmations,omitempty"` // True if the channel is private. - Private bool `protobuf:"varint,8,opt,name=private,proto3" json:"private,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Private bool `protobuf:"varint,8,opt,name=private,proto3" json:"private,omitempty"` } -func (m *ChannelInsight) Reset() { *m = ChannelInsight{} } -func (m *ChannelInsight) String() string { return proto.CompactTextString(m) } -func (*ChannelInsight) ProtoMessage() {} -func (*ChannelInsight) Descriptor() ([]byte, []int) { - return fileDescriptor_9ccb88e279ed9462, []int{11} +func (x *ChannelInsight) Reset() { + *x = ChannelInsight{} + if protoimpl.UnsafeEnabled { + mi := &file_faraday_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ChannelInsight) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ChannelInsight.Unmarshal(m, b) -} -func (m *ChannelInsight) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ChannelInsight.Marshal(b, m, deterministic) -} -func (m *ChannelInsight) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChannelInsight.Merge(m, src) +func (x *ChannelInsight) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ChannelInsight) XXX_Size() int { - return xxx_messageInfo_ChannelInsight.Size(m) -} -func (m *ChannelInsight) XXX_DiscardUnknown() { - xxx_messageInfo_ChannelInsight.DiscardUnknown(m) + +func (*ChannelInsight) ProtoMessage() {} + +func (x *ChannelInsight) ProtoReflect() protoreflect.Message { + mi := &file_faraday_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ChannelInsight proto.InternalMessageInfo +// Deprecated: Use ChannelInsight.ProtoReflect.Descriptor instead. +func (*ChannelInsight) Descriptor() ([]byte, []int) { + return file_faraday_proto_rawDescGZIP(), []int{11} +} -func (m *ChannelInsight) GetChanPoint() string { - if m != nil { - return m.ChanPoint +func (x *ChannelInsight) GetChanPoint() string { + if x != nil { + return x.ChanPoint } return "" } -func (m *ChannelInsight) GetMonitoredSeconds() uint64 { - if m != nil { - return m.MonitoredSeconds +func (x *ChannelInsight) GetMonitoredSeconds() uint64 { + if x != nil { + return x.MonitoredSeconds } return 0 } -func (m *ChannelInsight) GetUptimeSeconds() uint64 { - if m != nil { - return m.UptimeSeconds +func (x *ChannelInsight) GetUptimeSeconds() uint64 { + if x != nil { + return x.UptimeSeconds } return 0 } -func (m *ChannelInsight) GetVolumeIncomingMsat() int64 { - if m != nil { - return m.VolumeIncomingMsat +func (x *ChannelInsight) GetVolumeIncomingMsat() int64 { + if x != nil { + return x.VolumeIncomingMsat } return 0 } -func (m *ChannelInsight) GetVolumeOutgoingMsat() int64 { - if m != nil { - return m.VolumeOutgoingMsat +func (x *ChannelInsight) GetVolumeOutgoingMsat() int64 { + if x != nil { + return x.VolumeOutgoingMsat } return 0 } -func (m *ChannelInsight) GetFeesEarnedMsat() int64 { - if m != nil { - return m.FeesEarnedMsat +func (x *ChannelInsight) GetFeesEarnedMsat() int64 { + if x != nil { + return x.FeesEarnedMsat } return 0 } -func (m *ChannelInsight) GetConfirmations() uint32 { - if m != nil { - return m.Confirmations +func (x *ChannelInsight) GetConfirmations() uint32 { + if x != nil { + return x.Confirmations } return 0 } -func (m *ChannelInsight) GetPrivate() bool { - if m != nil { - return m.Private +func (x *ChannelInsight) GetPrivate() bool { + if x != nil { + return x.Private } return false } type ExchangeRateRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A set of timestamps for which we want the bitcoin price. Timestamps []uint64 `protobuf:"varint,3,rep,packed,name=timestamps,proto3" json:"timestamps,omitempty"` // The level of granularity at which we want the bitcoin price to be quoted. Granularity Granularity `protobuf:"varint,4,opt,name=granularity,proto3,enum=frdrpc.Granularity" json:"granularity,omitempty"` // The api to be used for fiat related queries. - FiatBackend FiatBackend `protobuf:"varint,5,opt,name=fiat_backend,json=fiatBackend,proto3,enum=frdrpc.FiatBackend" json:"fiat_backend,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + FiatBackend FiatBackend `protobuf:"varint,5,opt,name=fiat_backend,json=fiatBackend,proto3,enum=frdrpc.FiatBackend" json:"fiat_backend,omitempty"` } -func (m *ExchangeRateRequest) Reset() { *m = ExchangeRateRequest{} } -func (m *ExchangeRateRequest) String() string { return proto.CompactTextString(m) } -func (*ExchangeRateRequest) ProtoMessage() {} -func (*ExchangeRateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9ccb88e279ed9462, []int{12} +func (x *ExchangeRateRequest) Reset() { + *x = ExchangeRateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_faraday_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ExchangeRateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExchangeRateRequest.Unmarshal(m, b) +func (x *ExchangeRateRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ExchangeRateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExchangeRateRequest.Marshal(b, m, deterministic) -} -func (m *ExchangeRateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExchangeRateRequest.Merge(m, src) -} -func (m *ExchangeRateRequest) XXX_Size() int { - return xxx_messageInfo_ExchangeRateRequest.Size(m) -} -func (m *ExchangeRateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ExchangeRateRequest.DiscardUnknown(m) + +func (*ExchangeRateRequest) ProtoMessage() {} + +func (x *ExchangeRateRequest) ProtoReflect() protoreflect.Message { + mi := &file_faraday_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ExchangeRateRequest proto.InternalMessageInfo +// Deprecated: Use ExchangeRateRequest.ProtoReflect.Descriptor instead. +func (*ExchangeRateRequest) Descriptor() ([]byte, []int) { + return file_faraday_proto_rawDescGZIP(), []int{12} +} -func (m *ExchangeRateRequest) GetTimestamps() []uint64 { - if m != nil { - return m.Timestamps +func (x *ExchangeRateRequest) GetTimestamps() []uint64 { + if x != nil { + return x.Timestamps } return nil } -func (m *ExchangeRateRequest) GetGranularity() Granularity { - if m != nil { - return m.Granularity +func (x *ExchangeRateRequest) GetGranularity() Granularity { + if x != nil { + return x.Granularity } return Granularity_UNKNOWN_GRANULARITY } -func (m *ExchangeRateRequest) GetFiatBackend() FiatBackend { - if m != nil { - return m.FiatBackend +func (x *ExchangeRateRequest) GetFiatBackend() FiatBackend { + if x != nil { + return x.FiatBackend } return FiatBackend_UNKNOWN_FIATBACKEND } type ExchangeRateResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Rates contains a set of exchange rates for the set of timestamps - Rates []*ExchangeRate `protobuf:"bytes,2,rep,name=rates,proto3" json:"rates,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Rates []*ExchangeRate `protobuf:"bytes,2,rep,name=rates,proto3" json:"rates,omitempty"` } -func (m *ExchangeRateResponse) Reset() { *m = ExchangeRateResponse{} } -func (m *ExchangeRateResponse) String() string { return proto.CompactTextString(m) } -func (*ExchangeRateResponse) ProtoMessage() {} -func (*ExchangeRateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_9ccb88e279ed9462, []int{13} +func (x *ExchangeRateResponse) Reset() { + *x = ExchangeRateResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_faraday_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ExchangeRateResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExchangeRateResponse.Unmarshal(m, b) -} -func (m *ExchangeRateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExchangeRateResponse.Marshal(b, m, deterministic) -} -func (m *ExchangeRateResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExchangeRateResponse.Merge(m, src) +func (x *ExchangeRateResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ExchangeRateResponse) XXX_Size() int { - return xxx_messageInfo_ExchangeRateResponse.Size(m) -} -func (m *ExchangeRateResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ExchangeRateResponse.DiscardUnknown(m) + +func (*ExchangeRateResponse) ProtoMessage() {} + +func (x *ExchangeRateResponse) ProtoReflect() protoreflect.Message { + mi := &file_faraday_proto_msgTypes[13] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ExchangeRateResponse proto.InternalMessageInfo +// Deprecated: Use ExchangeRateResponse.ProtoReflect.Descriptor instead. +func (*ExchangeRateResponse) Descriptor() ([]byte, []int) { + return file_faraday_proto_rawDescGZIP(), []int{13} +} -func (m *ExchangeRateResponse) GetRates() []*ExchangeRate { - if m != nil { - return m.Rates +func (x *ExchangeRateResponse) GetRates() []*ExchangeRate { + if x != nil { + return x.Rates } return nil } type BitcoinPrice struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The price of 1 BTC, expressed in USD. Price string `protobuf:"bytes,1,opt,name=price,proto3" json:"price,omitempty"` // The timestamp for this price price provided. - PriceTimestamp uint64 `protobuf:"varint,2,opt,name=price_timestamp,json=priceTimestamp,proto3" json:"price_timestamp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + PriceTimestamp uint64 `protobuf:"varint,2,opt,name=price_timestamp,json=priceTimestamp,proto3" json:"price_timestamp,omitempty"` } -func (m *BitcoinPrice) Reset() { *m = BitcoinPrice{} } -func (m *BitcoinPrice) String() string { return proto.CompactTextString(m) } -func (*BitcoinPrice) ProtoMessage() {} -func (*BitcoinPrice) Descriptor() ([]byte, []int) { - return fileDescriptor_9ccb88e279ed9462, []int{14} +func (x *BitcoinPrice) Reset() { + *x = BitcoinPrice{} + if protoimpl.UnsafeEnabled { + mi := &file_faraday_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *BitcoinPrice) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BitcoinPrice.Unmarshal(m, b) +func (x *BitcoinPrice) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BitcoinPrice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BitcoinPrice.Marshal(b, m, deterministic) -} -func (m *BitcoinPrice) XXX_Merge(src proto.Message) { - xxx_messageInfo_BitcoinPrice.Merge(m, src) -} -func (m *BitcoinPrice) XXX_Size() int { - return xxx_messageInfo_BitcoinPrice.Size(m) -} -func (m *BitcoinPrice) XXX_DiscardUnknown() { - xxx_messageInfo_BitcoinPrice.DiscardUnknown(m) + +func (*BitcoinPrice) ProtoMessage() {} + +func (x *BitcoinPrice) ProtoReflect() protoreflect.Message { + mi := &file_faraday_proto_msgTypes[14] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_BitcoinPrice proto.InternalMessageInfo +// Deprecated: Use BitcoinPrice.ProtoReflect.Descriptor instead. +func (*BitcoinPrice) Descriptor() ([]byte, []int) { + return file_faraday_proto_rawDescGZIP(), []int{14} +} -func (m *BitcoinPrice) GetPrice() string { - if m != nil { - return m.Price +func (x *BitcoinPrice) GetPrice() string { + if x != nil { + return x.Price } return "" } -func (m *BitcoinPrice) GetPriceTimestamp() uint64 { - if m != nil { - return m.PriceTimestamp +func (x *BitcoinPrice) GetPriceTimestamp() uint64 { + if x != nil { + return x.PriceTimestamp } return 0 } type ExchangeRate struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // timestamp is the timestamp of the original request made. Timestamp uint64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // //Price is the bitcoin price approximation for the timestamp queried. Note //that this value has its own timestamp because we are not guaranteed to get //price points for the exact timestamp that was queried. - BtcPrice *BitcoinPrice `protobuf:"bytes,2,opt,name=btc_price,json=btcPrice,proto3" json:"btc_price,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + BtcPrice *BitcoinPrice `protobuf:"bytes,2,opt,name=btc_price,json=btcPrice,proto3" json:"btc_price,omitempty"` } -func (m *ExchangeRate) Reset() { *m = ExchangeRate{} } -func (m *ExchangeRate) String() string { return proto.CompactTextString(m) } -func (*ExchangeRate) ProtoMessage() {} -func (*ExchangeRate) Descriptor() ([]byte, []int) { - return fileDescriptor_9ccb88e279ed9462, []int{15} +func (x *ExchangeRate) Reset() { + *x = ExchangeRate{} + if protoimpl.UnsafeEnabled { + mi := &file_faraday_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ExchangeRate) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExchangeRate.Unmarshal(m, b) -} -func (m *ExchangeRate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExchangeRate.Marshal(b, m, deterministic) -} -func (m *ExchangeRate) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExchangeRate.Merge(m, src) -} -func (m *ExchangeRate) XXX_Size() int { - return xxx_messageInfo_ExchangeRate.Size(m) +func (x *ExchangeRate) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ExchangeRate) XXX_DiscardUnknown() { - xxx_messageInfo_ExchangeRate.DiscardUnknown(m) + +func (*ExchangeRate) ProtoMessage() {} + +func (x *ExchangeRate) ProtoReflect() protoreflect.Message { + mi := &file_faraday_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ExchangeRate proto.InternalMessageInfo +// Deprecated: Use ExchangeRate.ProtoReflect.Descriptor instead. +func (*ExchangeRate) Descriptor() ([]byte, []int) { + return file_faraday_proto_rawDescGZIP(), []int{15} +} -func (m *ExchangeRate) GetTimestamp() uint64 { - if m != nil { - return m.Timestamp +func (x *ExchangeRate) GetTimestamp() uint64 { + if x != nil { + return x.Timestamp } return 0 } -func (m *ExchangeRate) GetBtcPrice() *BitcoinPrice { - if m != nil { - return m.BtcPrice +func (x *ExchangeRate) GetBtcPrice() *BitcoinPrice { + if x != nil { + return x.BtcPrice } return nil } type NodeAuditRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The unix time from which to produce the report, inclusive. StartTime uint64 `protobuf:"varint,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // The unix time until which to produce the report, exclusive. @@ -1183,80 +1403,88 @@ type NodeAuditRequest struct { //categories report the category name in the CustomCategory field. CustomCategories []*CustomCategory `protobuf:"bytes,6,rep,name=custom_categories,json=customCategories,proto3" json:"custom_categories,omitempty"` // The api to be used for fiat related queries. - FiatBackend FiatBackend `protobuf:"varint,7,opt,name=fiat_backend,json=fiatBackend,proto3,enum=frdrpc.FiatBackend" json:"fiat_backend,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + FiatBackend FiatBackend `protobuf:"varint,7,opt,name=fiat_backend,json=fiatBackend,proto3,enum=frdrpc.FiatBackend" json:"fiat_backend,omitempty"` } -func (m *NodeAuditRequest) Reset() { *m = NodeAuditRequest{} } -func (m *NodeAuditRequest) String() string { return proto.CompactTextString(m) } -func (*NodeAuditRequest) ProtoMessage() {} -func (*NodeAuditRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9ccb88e279ed9462, []int{16} +func (x *NodeAuditRequest) Reset() { + *x = NodeAuditRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_faraday_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *NodeAuditRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NodeAuditRequest.Unmarshal(m, b) -} -func (m *NodeAuditRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NodeAuditRequest.Marshal(b, m, deterministic) +func (x *NodeAuditRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NodeAuditRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_NodeAuditRequest.Merge(m, src) -} -func (m *NodeAuditRequest) XXX_Size() int { - return xxx_messageInfo_NodeAuditRequest.Size(m) -} -func (m *NodeAuditRequest) XXX_DiscardUnknown() { - xxx_messageInfo_NodeAuditRequest.DiscardUnknown(m) + +func (*NodeAuditRequest) ProtoMessage() {} + +func (x *NodeAuditRequest) ProtoReflect() protoreflect.Message { + mi := &file_faraday_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_NodeAuditRequest proto.InternalMessageInfo +// Deprecated: Use NodeAuditRequest.ProtoReflect.Descriptor instead. +func (*NodeAuditRequest) Descriptor() ([]byte, []int) { + return file_faraday_proto_rawDescGZIP(), []int{16} +} -func (m *NodeAuditRequest) GetStartTime() uint64 { - if m != nil { - return m.StartTime +func (x *NodeAuditRequest) GetStartTime() uint64 { + if x != nil { + return x.StartTime } return 0 } -func (m *NodeAuditRequest) GetEndTime() uint64 { - if m != nil { - return m.EndTime +func (x *NodeAuditRequest) GetEndTime() uint64 { + if x != nil { + return x.EndTime } return 0 } -func (m *NodeAuditRequest) GetDisableFiat() bool { - if m != nil { - return m.DisableFiat +func (x *NodeAuditRequest) GetDisableFiat() bool { + if x != nil { + return x.DisableFiat } return false } -func (m *NodeAuditRequest) GetGranularity() Granularity { - if m != nil { - return m.Granularity +func (x *NodeAuditRequest) GetGranularity() Granularity { + if x != nil { + return x.Granularity } return Granularity_UNKNOWN_GRANULARITY } -func (m *NodeAuditRequest) GetCustomCategories() []*CustomCategory { - if m != nil { - return m.CustomCategories +func (x *NodeAuditRequest) GetCustomCategories() []*CustomCategory { + if x != nil { + return x.CustomCategories } return nil } -func (m *NodeAuditRequest) GetFiatBackend() FiatBackend { - if m != nil { - return m.FiatBackend +func (x *NodeAuditRequest) GetFiatBackend() FiatBackend { + if x != nil { + return x.FiatBackend } return FiatBackend_UNKNOWN_FIATBACKEND } type CustomCategory struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //The name for the custom category which will contain all transactions that //are labelled with a string matching one of the regexes provided in @@ -1280,66 +1508,74 @@ type CustomCategory struct { //forwards or off chain payments. These expressions must be unique across //custom categories, otherwise faraday will not be able to identify which //custom category a transaction belongs in. - LabelPatterns []string `protobuf:"bytes,5,rep,name=label_patterns,json=labelPatterns,proto3" json:"label_patterns,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + LabelPatterns []string `protobuf:"bytes,5,rep,name=label_patterns,json=labelPatterns,proto3" json:"label_patterns,omitempty"` } -func (m *CustomCategory) Reset() { *m = CustomCategory{} } -func (m *CustomCategory) String() string { return proto.CompactTextString(m) } -func (*CustomCategory) ProtoMessage() {} -func (*CustomCategory) Descriptor() ([]byte, []int) { - return fileDescriptor_9ccb88e279ed9462, []int{17} +func (x *CustomCategory) Reset() { + *x = CustomCategory{} + if protoimpl.UnsafeEnabled { + mi := &file_faraday_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CustomCategory) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CustomCategory.Unmarshal(m, b) -} -func (m *CustomCategory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CustomCategory.Marshal(b, m, deterministic) -} -func (m *CustomCategory) XXX_Merge(src proto.Message) { - xxx_messageInfo_CustomCategory.Merge(m, src) -} -func (m *CustomCategory) XXX_Size() int { - return xxx_messageInfo_CustomCategory.Size(m) +func (x *CustomCategory) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CustomCategory) XXX_DiscardUnknown() { - xxx_messageInfo_CustomCategory.DiscardUnknown(m) + +func (*CustomCategory) ProtoMessage() {} + +func (x *CustomCategory) ProtoReflect() protoreflect.Message { + mi := &file_faraday_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_CustomCategory proto.InternalMessageInfo +// Deprecated: Use CustomCategory.ProtoReflect.Descriptor instead. +func (*CustomCategory) Descriptor() ([]byte, []int) { + return file_faraday_proto_rawDescGZIP(), []int{17} +} -func (m *CustomCategory) GetName() string { - if m != nil { - return m.Name +func (x *CustomCategory) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *CustomCategory) GetOnChain() bool { - if m != nil { - return m.OnChain +func (x *CustomCategory) GetOnChain() bool { + if x != nil { + return x.OnChain } return false } -func (m *CustomCategory) GetOffChain() bool { - if m != nil { - return m.OffChain +func (x *CustomCategory) GetOffChain() bool { + if x != nil { + return x.OffChain } return false } -func (m *CustomCategory) GetLabelPatterns() []string { - if m != nil { - return m.LabelPatterns +func (x *CustomCategory) GetLabelPatterns() []string { + if x != nil { + return x.LabelPatterns } return nil } type ReportEntry struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The unix timestamp of the event. Timestamp uint64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Whether the entry occurred on chain or off chain. @@ -1365,204 +1601,228 @@ type ReportEntry struct { // An additional note for the entry, providing additional context. Note string `protobuf:"bytes,10,opt,name=note,proto3" json:"note,omitempty"` // The bitcoin price and timestamp used to calcualte our fiat value. - BtcPrice *BitcoinPrice `protobuf:"bytes,11,opt,name=btc_price,json=btcPrice,proto3" json:"btc_price,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + BtcPrice *BitcoinPrice `protobuf:"bytes,11,opt,name=btc_price,json=btcPrice,proto3" json:"btc_price,omitempty"` } -func (m *ReportEntry) Reset() { *m = ReportEntry{} } -func (m *ReportEntry) String() string { return proto.CompactTextString(m) } -func (*ReportEntry) ProtoMessage() {} -func (*ReportEntry) Descriptor() ([]byte, []int) { - return fileDescriptor_9ccb88e279ed9462, []int{18} +func (x *ReportEntry) Reset() { + *x = ReportEntry{} + if protoimpl.UnsafeEnabled { + mi := &file_faraday_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ReportEntry) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReportEntry.Unmarshal(m, b) -} -func (m *ReportEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReportEntry.Marshal(b, m, deterministic) +func (x *ReportEntry) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ReportEntry) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReportEntry.Merge(m, src) -} -func (m *ReportEntry) XXX_Size() int { - return xxx_messageInfo_ReportEntry.Size(m) -} -func (m *ReportEntry) XXX_DiscardUnknown() { - xxx_messageInfo_ReportEntry.DiscardUnknown(m) + +func (*ReportEntry) ProtoMessage() {} + +func (x *ReportEntry) ProtoReflect() protoreflect.Message { + mi := &file_faraday_proto_msgTypes[18] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_ReportEntry proto.InternalMessageInfo +// Deprecated: Use ReportEntry.ProtoReflect.Descriptor instead. +func (*ReportEntry) Descriptor() ([]byte, []int) { + return file_faraday_proto_rawDescGZIP(), []int{18} +} -func (m *ReportEntry) GetTimestamp() uint64 { - if m != nil { - return m.Timestamp +func (x *ReportEntry) GetTimestamp() uint64 { + if x != nil { + return x.Timestamp } return 0 } -func (m *ReportEntry) GetOnChain() bool { - if m != nil { - return m.OnChain +func (x *ReportEntry) GetOnChain() bool { + if x != nil { + return x.OnChain } return false } -func (m *ReportEntry) GetAmount() uint64 { - if m != nil { - return m.Amount +func (x *ReportEntry) GetAmount() uint64 { + if x != nil { + return x.Amount } return 0 } -func (m *ReportEntry) GetCredit() bool { - if m != nil { - return m.Credit +func (x *ReportEntry) GetCredit() bool { + if x != nil { + return x.Credit } return false } -func (m *ReportEntry) GetAsset() string { - if m != nil { - return m.Asset +func (x *ReportEntry) GetAsset() string { + if x != nil { + return x.Asset } return "" } -func (m *ReportEntry) GetType() EntryType { - if m != nil { - return m.Type +func (x *ReportEntry) GetType() EntryType { + if x != nil { + return x.Type } return EntryType_UNKNOWN } -func (m *ReportEntry) GetCustomCategory() string { - if m != nil { - return m.CustomCategory +func (x *ReportEntry) GetCustomCategory() string { + if x != nil { + return x.CustomCategory } return "" } -func (m *ReportEntry) GetTxid() string { - if m != nil { - return m.Txid +func (x *ReportEntry) GetTxid() string { + if x != nil { + return x.Txid } return "" } -func (m *ReportEntry) GetFiat() string { - if m != nil { - return m.Fiat +func (x *ReportEntry) GetFiat() string { + if x != nil { + return x.Fiat } return "" } -func (m *ReportEntry) GetReference() string { - if m != nil { - return m.Reference +func (x *ReportEntry) GetReference() string { + if x != nil { + return x.Reference } return "" } -func (m *ReportEntry) GetNote() string { - if m != nil { - return m.Note +func (x *ReportEntry) GetNote() string { + if x != nil { + return x.Note } return "" } -func (m *ReportEntry) GetBtcPrice() *BitcoinPrice { - if m != nil { - return m.BtcPrice +func (x *ReportEntry) GetBtcPrice() *BitcoinPrice { + if x != nil { + return x.BtcPrice } return nil } type NodeAuditResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // On chain reports for the period queried. - Reports []*ReportEntry `protobuf:"bytes,1,rep,name=reports,proto3" json:"reports,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Reports []*ReportEntry `protobuf:"bytes,1,rep,name=reports,proto3" json:"reports,omitempty"` } -func (m *NodeAuditResponse) Reset() { *m = NodeAuditResponse{} } -func (m *NodeAuditResponse) String() string { return proto.CompactTextString(m) } -func (*NodeAuditResponse) ProtoMessage() {} -func (*NodeAuditResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_9ccb88e279ed9462, []int{19} +func (x *NodeAuditResponse) Reset() { + *x = NodeAuditResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_faraday_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *NodeAuditResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NodeAuditResponse.Unmarshal(m, b) -} -func (m *NodeAuditResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NodeAuditResponse.Marshal(b, m, deterministic) -} -func (m *NodeAuditResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_NodeAuditResponse.Merge(m, src) +func (x *NodeAuditResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *NodeAuditResponse) XXX_Size() int { - return xxx_messageInfo_NodeAuditResponse.Size(m) -} -func (m *NodeAuditResponse) XXX_DiscardUnknown() { - xxx_messageInfo_NodeAuditResponse.DiscardUnknown(m) + +func (*NodeAuditResponse) ProtoMessage() {} + +func (x *NodeAuditResponse) ProtoReflect() protoreflect.Message { + mi := &file_faraday_proto_msgTypes[19] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_NodeAuditResponse proto.InternalMessageInfo +// Deprecated: Use NodeAuditResponse.ProtoReflect.Descriptor instead. +func (*NodeAuditResponse) Descriptor() ([]byte, []int) { + return file_faraday_proto_rawDescGZIP(), []int{19} +} -func (m *NodeAuditResponse) GetReports() []*ReportEntry { - if m != nil { - return m.Reports +func (x *NodeAuditResponse) GetReports() []*ReportEntry { + if x != nil { + return x.Reports } return nil } type CloseReportRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //The funding outpoint of the channel the report should be created for, //formatted txid:outpoint. - ChannelPoint string `protobuf:"bytes,1,opt,name=channel_point,json=channelPoint,proto3" json:"channel_point,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ChannelPoint string `protobuf:"bytes,1,opt,name=channel_point,json=channelPoint,proto3" json:"channel_point,omitempty"` } -func (m *CloseReportRequest) Reset() { *m = CloseReportRequest{} } -func (m *CloseReportRequest) String() string { return proto.CompactTextString(m) } -func (*CloseReportRequest) ProtoMessage() {} -func (*CloseReportRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9ccb88e279ed9462, []int{20} +func (x *CloseReportRequest) Reset() { + *x = CloseReportRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_faraday_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CloseReportRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CloseReportRequest.Unmarshal(m, b) -} -func (m *CloseReportRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CloseReportRequest.Marshal(b, m, deterministic) +func (x *CloseReportRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CloseReportRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CloseReportRequest.Merge(m, src) -} -func (m *CloseReportRequest) XXX_Size() int { - return xxx_messageInfo_CloseReportRequest.Size(m) -} -func (m *CloseReportRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CloseReportRequest.DiscardUnknown(m) + +func (*CloseReportRequest) ProtoMessage() {} + +func (x *CloseReportRequest) ProtoReflect() protoreflect.Message { + mi := &file_faraday_proto_msgTypes[20] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_CloseReportRequest proto.InternalMessageInfo +// Deprecated: Use CloseReportRequest.ProtoReflect.Descriptor instead. +func (*CloseReportRequest) Descriptor() ([]byte, []int) { + return file_faraday_proto_rawDescGZIP(), []int{20} +} -func (m *CloseReportRequest) GetChannelPoint() string { - if m != nil { - return m.ChannelPoint +func (x *CloseReportRequest) GetChannelPoint() string { + if x != nil { + return x.ChannelPoint } return "" } type CloseReportResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The funding outpoint of the channel. ChannelPoint string `protobuf:"bytes,1,opt,name=channel_point,json=channelPoint,proto3" json:"channel_point,omitempty"` // True if we opened the channel, false if the remote peer did. @@ -1578,231 +1838,755 @@ type CloseReportResponse struct { // //The fee we paid on chain for the close transaction in staoshis, note that //this field will be zero if the remote party paid. - CloseFee string `protobuf:"bytes,6,opt,name=close_fee,json=closeFee,proto3" json:"close_fee,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + CloseFee string `protobuf:"bytes,6,opt,name=close_fee,json=closeFee,proto3" json:"close_fee,omitempty"` } -func (m *CloseReportResponse) Reset() { *m = CloseReportResponse{} } -func (m *CloseReportResponse) String() string { return proto.CompactTextString(m) } -func (*CloseReportResponse) ProtoMessage() {} -func (*CloseReportResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_9ccb88e279ed9462, []int{21} +func (x *CloseReportResponse) Reset() { + *x = CloseReportResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_faraday_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CloseReportResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CloseReportResponse.Unmarshal(m, b) -} -func (m *CloseReportResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CloseReportResponse.Marshal(b, m, deterministic) -} -func (m *CloseReportResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_CloseReportResponse.Merge(m, src) -} -func (m *CloseReportResponse) XXX_Size() int { - return xxx_messageInfo_CloseReportResponse.Size(m) +func (x *CloseReportResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CloseReportResponse) XXX_DiscardUnknown() { - xxx_messageInfo_CloseReportResponse.DiscardUnknown(m) + +func (*CloseReportResponse) ProtoMessage() {} + +func (x *CloseReportResponse) ProtoReflect() protoreflect.Message { + mi := &file_faraday_proto_msgTypes[21] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_CloseReportResponse proto.InternalMessageInfo +// Deprecated: Use CloseReportResponse.ProtoReflect.Descriptor instead. +func (*CloseReportResponse) Descriptor() ([]byte, []int) { + return file_faraday_proto_rawDescGZIP(), []int{21} +} -func (m *CloseReportResponse) GetChannelPoint() string { - if m != nil { - return m.ChannelPoint +func (x *CloseReportResponse) GetChannelPoint() string { + if x != nil { + return x.ChannelPoint } return "" } -func (m *CloseReportResponse) GetChannelInitiator() bool { - if m != nil { - return m.ChannelInitiator +func (x *CloseReportResponse) GetChannelInitiator() bool { + if x != nil { + return x.ChannelInitiator } return false } -func (m *CloseReportResponse) GetCloseType() string { - if m != nil { - return m.CloseType +func (x *CloseReportResponse) GetCloseType() string { + if x != nil { + return x.CloseType } return "" } -func (m *CloseReportResponse) GetCloseTxid() string { - if m != nil { - return m.CloseTxid +func (x *CloseReportResponse) GetCloseTxid() string { + if x != nil { + return x.CloseTxid } return "" } -func (m *CloseReportResponse) GetOpenFee() string { - if m != nil { - return m.OpenFee +func (x *CloseReportResponse) GetOpenFee() string { + if x != nil { + return x.OpenFee } return "" } -func (m *CloseReportResponse) GetCloseFee() string { - if m != nil { - return m.CloseFee +func (x *CloseReportResponse) GetCloseFee() string { + if x != nil { + return x.CloseFee } return "" } -func init() { - proto.RegisterEnum("frdrpc.Granularity", Granularity_name, Granularity_value) - proto.RegisterEnum("frdrpc.FiatBackend", FiatBackend_name, FiatBackend_value) - proto.RegisterEnum("frdrpc.EntryType", EntryType_name, EntryType_value) - proto.RegisterEnum("frdrpc.CloseRecommendationRequest_Metric", CloseRecommendationRequest_Metric_name, CloseRecommendationRequest_Metric_value) - proto.RegisterType((*CloseRecommendationRequest)(nil), "frdrpc.CloseRecommendationRequest") - proto.RegisterType((*OutlierRecommendationsRequest)(nil), "frdrpc.OutlierRecommendationsRequest") - proto.RegisterType((*ThresholdRecommendationsRequest)(nil), "frdrpc.ThresholdRecommendationsRequest") - proto.RegisterType((*CloseRecommendationsResponse)(nil), "frdrpc.CloseRecommendationsResponse") - proto.RegisterType((*Recommendation)(nil), "frdrpc.Recommendation") - proto.RegisterType((*RevenueReportRequest)(nil), "frdrpc.RevenueReportRequest") - proto.RegisterType((*RevenueReportResponse)(nil), "frdrpc.RevenueReportResponse") - proto.RegisterType((*RevenueReport)(nil), "frdrpc.RevenueReport") - proto.RegisterMapType((map[string]*PairReport)(nil), "frdrpc.RevenueReport.PairReportsEntry") - proto.RegisterType((*PairReport)(nil), "frdrpc.PairReport") - proto.RegisterType((*ChannelInsightsRequest)(nil), "frdrpc.ChannelInsightsRequest") - proto.RegisterType((*ChannelInsightsResponse)(nil), "frdrpc.ChannelInsightsResponse") - proto.RegisterType((*ChannelInsight)(nil), "frdrpc.ChannelInsight") - proto.RegisterType((*ExchangeRateRequest)(nil), "frdrpc.ExchangeRateRequest") - proto.RegisterType((*ExchangeRateResponse)(nil), "frdrpc.ExchangeRateResponse") - proto.RegisterType((*BitcoinPrice)(nil), "frdrpc.BitcoinPrice") - proto.RegisterType((*ExchangeRate)(nil), "frdrpc.ExchangeRate") - proto.RegisterType((*NodeAuditRequest)(nil), "frdrpc.NodeAuditRequest") - proto.RegisterType((*CustomCategory)(nil), "frdrpc.CustomCategory") - proto.RegisterType((*ReportEntry)(nil), "frdrpc.ReportEntry") - proto.RegisterType((*NodeAuditResponse)(nil), "frdrpc.NodeAuditResponse") - proto.RegisterType((*CloseReportRequest)(nil), "frdrpc.CloseReportRequest") - proto.RegisterType((*CloseReportResponse)(nil), "frdrpc.CloseReportResponse") -} - -func init() { proto.RegisterFile("faraday.proto", fileDescriptor_9ccb88e279ed9462) } - -var fileDescriptor_9ccb88e279ed9462 = []byte{ - // 1878 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x58, 0xcd, 0x72, 0xdb, 0xc8, - 0x11, 0x5e, 0xf0, 0x9f, 0x0d, 0x92, 0x82, 0x46, 0xb2, 0x96, 0x2b, 0xdb, 0x6b, 0x05, 0x59, 0xc7, - 0x5a, 0x27, 0x2b, 0x6d, 0x94, 0x4a, 0x2a, 0xc9, 0x69, 0x29, 0x1a, 0xb4, 0xb8, 0xe6, 0x5f, 0x8d, - 0x28, 0x39, 0x4e, 0xa5, 0x0a, 0x05, 0x81, 0x43, 0x6a, 0xb2, 0x04, 0xc0, 0x05, 0x86, 0xaa, 0xd5, - 0x39, 0x0f, 0x90, 0x43, 0x9e, 0x20, 0xb9, 0xe5, 0x96, 0x63, 0x1e, 0x22, 0x97, 0x1c, 0x52, 0x95, - 0x4b, 0x1e, 0x20, 0x6f, 0x90, 0x63, 0x6a, 0x7e, 0x00, 0x02, 0x34, 0x25, 0xeb, 0xb2, 0x37, 0xcc, - 0xf7, 0xf5, 0x74, 0xcf, 0x74, 0xf7, 0xf4, 0x4c, 0x03, 0xea, 0x53, 0x27, 0x74, 0x26, 0xce, 0xed, - 0xd1, 0x22, 0x0c, 0x58, 0x80, 0x4a, 0xd3, 0x70, 0x12, 0x2e, 0x5c, 0xf3, 0x7f, 0x1a, 0xec, 0xb7, - 0xe7, 0x41, 0x44, 0x30, 0x71, 0x03, 0xcf, 0x23, 0xfe, 0xc4, 0x61, 0x34, 0xf0, 0x31, 0xf9, 0x76, - 0x49, 0x22, 0x86, 0x7e, 0x0c, 0xdb, 0x1e, 0xf5, 0xa9, 0xb7, 0xf4, 0x6c, 0x2f, 0xf0, 0x29, 0x0b, - 0x42, 0x32, 0x69, 0x6a, 0x07, 0xda, 0x61, 0x1e, 0x1b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35, 0xf6, 0x3f, - 0xd9, 0xc0, 0x28, 0x0d, 0x1d, 0xd0, 0x53, 0xd5, 0x0f, 0xed, 0xaf, 0xf9, 0x38, 0xed, 0xaa, 0xc7, - 0x1b, 0x39, 0xa9, 0xe7, 0xf4, 0xf3, 0xdf, 0xbe, 0x98, 0x51, 0x76, 0xbd, 0xbc, 0x3a, 0x72, 0x03, - 0xef, 0x78, 0xce, 0x77, 0xec, 0x53, 0x7f, 0x36, 0x77, 0xae, 0xa2, 0x63, 0xf5, 0x03, 0xe9, 0x58, - 0x4e, 0xbf, 0x2a, 0x89, 0x1f, 0x49, 0x3f, 0xfb, 0x7f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xc8, 0xc8, - 0x5b, 0x07, 0x59, 0x12, 0x00, 0x00, +var File_faraday_proto protoreflect.FileDescriptor + +var file_faraday_proto_rawDesc = []byte{ + 0x0a, 0x0d, 0x66, 0x61, 0x72, 0x61, 0x64, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, + 0x06, 0x66, 0x72, 0x64, 0x72, 0x70, 0x63, 0x22, 0xf8, 0x01, 0x0a, 0x1a, 0x43, 0x6c, 0x6f, 0x73, + 0x65, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2b, 0x0a, 0x11, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x75, + 0x6d, 0x5f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x10, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, + 0x72, 0x65, 0x64, 0x12, 0x41, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x66, 0x72, 0x64, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6c, 0x6f, + 0x73, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x52, 0x06, + 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x22, 0x6a, 0x0a, 0x06, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, + 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0a, 0x0a, + 0x06, 0x55, 0x50, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x45, 0x56, + 0x45, 0x4e, 0x55, 0x45, 0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x49, 0x4e, 0x43, 0x4f, 0x4d, 0x49, + 0x4e, 0x47, 0x5f, 0x56, 0x4f, 0x4c, 0x55, 0x4d, 0x45, 0x10, 0x03, 0x12, 0x13, 0x0a, 0x0f, 0x4f, + 0x55, 0x54, 0x47, 0x4f, 0x49, 0x4e, 0x47, 0x5f, 0x56, 0x4f, 0x4c, 0x55, 0x4d, 0x45, 0x10, 0x04, + 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x4f, 0x54, 0x41, 0x4c, 0x5f, 0x56, 0x4f, 0x4c, 0x55, 0x4d, 0x45, + 0x10, 0x05, 0x22, 0x93, 0x01, 0x0a, 0x1d, 0x4f, 0x75, 0x74, 0x6c, 0x69, 0x65, 0x72, 0x52, 0x65, + 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x0b, 0x72, 0x65, 0x63, 0x5f, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x66, 0x72, 0x64, 0x72, + 0x70, 0x63, 0x2e, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, + 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x72, + 0x65, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2d, 0x0a, 0x12, 0x6f, 0x75, 0x74, + 0x6c, 0x69, 0x65, 0x72, 0x5f, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x11, 0x6f, 0x75, 0x74, 0x6c, 0x69, 0x65, 0x72, 0x4d, 0x75, + 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x69, 0x65, 0x72, 0x22, 0x8f, 0x01, 0x0a, 0x1f, 0x54, 0x68, 0x72, + 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x43, 0x0a, 0x0b, + 0x72, 0x65, 0x63, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x22, 0x2e, 0x66, 0x72, 0x64, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6c, 0x6f, 0x73, 0x65, + 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x0a, 0x72, 0x65, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x5f, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0e, 0x74, 0x68, 0x72, 0x65, + 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xb8, 0x01, 0x0a, 0x1c, 0x43, + 0x6c, 0x6f, 0x73, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x74, + 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x05, 0x52, 0x0d, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, + 0x6c, 0x73, 0x12, 0x2f, 0x0a, 0x13, 0x63, 0x6f, 0x6e, 0x73, 0x69, 0x64, 0x65, 0x72, 0x65, 0x64, + 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x12, 0x63, 0x6f, 0x6e, 0x73, 0x69, 0x64, 0x65, 0x72, 0x65, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x6e, + 0x65, 0x6c, 0x73, 0x12, 0x40, 0x0a, 0x0f, 0x72, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x66, + 0x72, 0x64, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x72, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x6e, 0x0a, 0x0e, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, + 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x6e, 0x5f, + 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x68, 0x61, + 0x6e, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x27, 0x0a, 0x0f, + 0x72, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x5f, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x72, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, + 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x22, 0x71, 0x0a, 0x14, 0x52, 0x65, 0x76, 0x65, 0x6e, 0x75, 0x65, + 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, + 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x0a, 0x63, 0x68, 0x61, 0x6e, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x1d, + 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, + 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x48, 0x0a, 0x15, 0x52, 0x65, 0x76, 0x65, + 0x6e, 0x75, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x2f, 0x0a, 0x07, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x66, 0x72, 0x64, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x76, 0x65, + 0x6e, 0x75, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x07, 0x72, 0x65, 0x70, 0x6f, 0x72, + 0x74, 0x73, 0x22, 0xd5, 0x01, 0x0a, 0x0d, 0x52, 0x65, 0x76, 0x65, 0x6e, 0x75, 0x65, 0x52, 0x65, + 0x70, 0x6f, 0x72, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x63, + 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x74, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x49, 0x0a, 0x0c, 0x70, + 0x61, 0x69, 0x72, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x26, 0x2e, 0x66, 0x72, 0x64, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x76, 0x65, 0x6e, + 0x75, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x50, 0x61, 0x69, 0x72, 0x52, 0x65, 0x70, + 0x6f, 0x72, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x70, 0x61, 0x69, 0x72, 0x52, + 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, 0x1a, 0x52, 0x0a, 0x10, 0x50, 0x61, 0x69, 0x72, 0x52, 0x65, + 0x70, 0x6f, 0x72, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x28, 0x0a, 0x05, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x66, 0x72, + 0x64, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x61, 0x69, 0x72, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xcc, 0x01, 0x0a, 0x0a, 0x50, + 0x61, 0x69, 0x72, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x30, 0x0a, 0x14, 0x61, 0x6d, 0x6f, + 0x75, 0x6e, 0x74, 0x5f, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x6d, 0x73, 0x61, + 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x4f, + 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x4d, 0x73, 0x61, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x66, + 0x65, 0x65, 0x73, 0x5f, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x6d, 0x73, 0x61, + 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x66, 0x65, 0x65, 0x73, 0x4f, 0x75, 0x74, + 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x4d, 0x73, 0x61, 0x74, 0x12, 0x30, 0x0a, 0x14, 0x61, 0x6d, 0x6f, + 0x75, 0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x5f, 0x6d, 0x73, 0x61, + 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x49, + 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x4d, 0x73, 0x61, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x66, + 0x65, 0x65, 0x73, 0x5f, 0x69, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x5f, 0x6d, 0x73, 0x61, + 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x66, 0x65, 0x65, 0x73, 0x49, 0x6e, 0x63, + 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x4d, 0x73, 0x61, 0x74, 0x22, 0x18, 0x0a, 0x16, 0x43, 0x68, 0x61, + 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x22, 0x5c, 0x0a, 0x17, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x6e, + 0x73, 0x69, 0x67, 0x68, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, + 0x0a, 0x10, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x69, 0x6e, 0x73, 0x69, 0x67, 0x68, + 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x66, 0x72, 0x64, 0x72, 0x70, + 0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, + 0x52, 0x0f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, + 0x73, 0x22, 0xd1, 0x02, 0x0a, 0x0e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x6e, 0x73, + 0x69, 0x67, 0x68, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x6e, 0x5f, 0x70, 0x6f, 0x69, + 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x68, 0x61, 0x6e, 0x50, 0x6f, + 0x69, 0x6e, 0x74, 0x12, 0x2b, 0x0a, 0x11, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, + 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, + 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x65, 0x64, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, + 0x12, 0x25, 0x0a, 0x0e, 0x75, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, + 0x64, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x75, 0x70, 0x74, 0x69, 0x6d, 0x65, + 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x30, 0x0a, 0x14, 0x76, 0x6f, 0x6c, 0x75, 0x6d, + 0x65, 0x5f, 0x69, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x5f, 0x6d, 0x73, 0x61, 0x74, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x6e, 0x63, + 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x4d, 0x73, 0x61, 0x74, 0x12, 0x30, 0x0a, 0x14, 0x76, 0x6f, 0x6c, + 0x75, 0x6d, 0x65, 0x5f, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x6d, 0x73, 0x61, + 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x4f, + 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x4d, 0x73, 0x61, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x66, + 0x65, 0x65, 0x73, 0x5f, 0x65, 0x61, 0x72, 0x6e, 0x65, 0x64, 0x5f, 0x6d, 0x73, 0x61, 0x74, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x66, 0x65, 0x65, 0x73, 0x45, 0x61, 0x72, 0x6e, 0x65, + 0x64, 0x4d, 0x73, 0x61, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x63, 0x6f, + 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x70, + 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x70, 0x72, + 0x69, 0x76, 0x61, 0x74, 0x65, 0x22, 0xb0, 0x01, 0x0a, 0x13, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, + 0x67, 0x65, 0x52, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, + 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, + 0x04, 0x52, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x73, 0x12, 0x35, 0x0a, + 0x0b, 0x67, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, 0x79, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x66, 0x72, 0x64, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x72, 0x61, 0x6e, + 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, 0x79, 0x52, 0x0b, 0x67, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, + 0x72, 0x69, 0x74, 0x79, 0x12, 0x36, 0x0a, 0x0c, 0x66, 0x69, 0x61, 0x74, 0x5f, 0x62, 0x61, 0x63, + 0x6b, 0x65, 0x6e, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x66, 0x72, 0x64, + 0x72, 0x70, 0x63, 0x2e, 0x46, 0x69, 0x61, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x52, + 0x0b, 0x66, 0x69, 0x61, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x4a, 0x04, 0x08, 0x01, + 0x10, 0x02, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x22, 0x48, 0x0a, 0x14, 0x45, 0x78, 0x63, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x52, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x2a, 0x0a, 0x05, 0x72, 0x61, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x14, 0x2e, 0x66, 0x72, 0x64, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, + 0x65, 0x52, 0x61, 0x74, 0x65, 0x52, 0x05, 0x72, 0x61, 0x74, 0x65, 0x73, 0x4a, 0x04, 0x08, 0x01, + 0x10, 0x02, 0x22, 0x4d, 0x0a, 0x0c, 0x42, 0x69, 0x74, 0x63, 0x6f, 0x69, 0x6e, 0x50, 0x72, 0x69, + 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x05, 0x70, 0x72, 0x69, 0x63, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x72, 0x69, 0x63, + 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x0e, 0x70, 0x72, 0x69, 0x63, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, + 0x70, 0x22, 0x5f, 0x0a, 0x0c, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x61, 0x74, + 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, + 0x31, 0x0a, 0x09, 0x62, 0x74, 0x63, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x66, 0x72, 0x64, 0x72, 0x70, 0x63, 0x2e, 0x42, 0x69, 0x74, 0x63, + 0x6f, 0x69, 0x6e, 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, 0x08, 0x62, 0x74, 0x63, 0x50, 0x72, 0x69, + 0x63, 0x65, 0x22, 0xa9, 0x02, 0x0a, 0x10, 0x4e, 0x6f, 0x64, 0x65, 0x41, 0x75, 0x64, 0x69, 0x74, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, + 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x73, 0x74, 0x61, + 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, + 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, + 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x66, 0x69, 0x61, + 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, + 0x46, 0x69, 0x61, 0x74, 0x12, 0x35, 0x0a, 0x0b, 0x67, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, + 0x69, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x66, 0x72, 0x64, 0x72, + 0x70, 0x63, 0x2e, 0x47, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, 0x79, 0x52, 0x0b, + 0x67, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, 0x79, 0x12, 0x43, 0x0a, 0x11, 0x63, + 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x65, 0x73, + 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x66, 0x72, 0x64, 0x72, 0x70, 0x63, 0x2e, + 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x10, + 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x65, 0x73, + 0x12, 0x36, 0x0a, 0x0c, 0x66, 0x69, 0x61, 0x74, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x66, 0x72, 0x64, 0x72, 0x70, 0x63, 0x2e, + 0x46, 0x69, 0x61, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x52, 0x0b, 0x66, 0x69, 0x61, + 0x74, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x22, 0x83, + 0x01, 0x0a, 0x0e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, + 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x6e, 0x5f, 0x63, 0x68, 0x61, 0x69, + 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x69, 0x6e, + 0x12, 0x1b, 0x0a, 0x09, 0x6f, 0x66, 0x66, 0x5f, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x08, 0x6f, 0x66, 0x66, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x12, 0x25, 0x0a, + 0x0e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x73, 0x18, + 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x50, 0x61, 0x74, 0x74, + 0x65, 0x72, 0x6e, 0x73, 0x22, 0xe9, 0x02, 0x0a, 0x0b, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, + 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, + 0x6d, 0x70, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x6e, 0x5f, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x12, 0x16, 0x0a, + 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x61, + 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x63, 0x72, 0x65, 0x64, 0x69, 0x74, 0x12, 0x14, 0x0a, + 0x05, 0x61, 0x73, 0x73, 0x65, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x73, + 0x73, 0x65, 0x74, 0x12, 0x25, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x11, 0x2e, 0x66, 0x72, 0x64, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x63, 0x75, + 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x0c, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x61, 0x74, 0x65, 0x67, + 0x6f, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x78, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x74, 0x78, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x69, 0x61, 0x74, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x66, 0x69, 0x61, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x72, + 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, + 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x6f, 0x74, + 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x6f, 0x74, 0x65, 0x12, 0x31, 0x0a, + 0x09, 0x62, 0x74, 0x63, 0x5f, 0x70, 0x72, 0x69, 0x63, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, + 0x32, 0x14, 0x2e, 0x66, 0x72, 0x64, 0x72, 0x70, 0x63, 0x2e, 0x42, 0x69, 0x74, 0x63, 0x6f, 0x69, + 0x6e, 0x50, 0x72, 0x69, 0x63, 0x65, 0x52, 0x08, 0x62, 0x74, 0x63, 0x50, 0x72, 0x69, 0x63, 0x65, + 0x22, 0x42, 0x0a, 0x11, 0x4e, 0x6f, 0x64, 0x65, 0x41, 0x75, 0x64, 0x69, 0x74, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2d, 0x0a, 0x07, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x66, 0x72, 0x64, 0x72, 0x70, 0x63, 0x2e, + 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x72, 0x65, 0x70, + 0x6f, 0x72, 0x74, 0x73, 0x22, 0x39, 0x0a, 0x12, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x52, 0x65, 0x70, + 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x68, + 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0c, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x22, + 0xdd, 0x01, 0x0a, 0x13, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x68, 0x61, 0x6e, 0x6e, + 0x65, 0x6c, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, + 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x2b, 0x0a, 0x11, + 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x74, 0x6f, + 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, + 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x6f, + 0x73, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, + 0x6c, 0x6f, 0x73, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x6f, 0x73, + 0x65, 0x5f, 0x74, 0x78, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x6c, + 0x6f, 0x73, 0x65, 0x54, 0x78, 0x69, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x70, 0x65, 0x6e, 0x5f, + 0x66, 0x65, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x70, 0x65, 0x6e, 0x46, + 0x65, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x5f, 0x66, 0x65, 0x65, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x46, 0x65, 0x65, 0x2a, + 0xa1, 0x01, 0x0a, 0x0b, 0x47, 0x72, 0x61, 0x6e, 0x75, 0x6c, 0x61, 0x72, 0x69, 0x74, 0x79, 0x12, + 0x17, 0x0a, 0x13, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x47, 0x52, 0x41, 0x4e, 0x55, + 0x4c, 0x41, 0x52, 0x49, 0x54, 0x59, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x4d, 0x49, 0x4e, 0x55, + 0x54, 0x45, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x46, 0x49, 0x56, 0x45, 0x5f, 0x4d, 0x49, 0x4e, + 0x55, 0x54, 0x45, 0x53, 0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x46, 0x49, 0x46, 0x54, 0x45, 0x45, + 0x4e, 0x5f, 0x4d, 0x49, 0x4e, 0x55, 0x54, 0x45, 0x53, 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x54, + 0x48, 0x49, 0x52, 0x54, 0x59, 0x5f, 0x4d, 0x49, 0x4e, 0x55, 0x54, 0x45, 0x53, 0x10, 0x04, 0x12, + 0x08, 0x0a, 0x04, 0x48, 0x4f, 0x55, 0x52, 0x10, 0x05, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x49, 0x58, + 0x5f, 0x48, 0x4f, 0x55, 0x52, 0x53, 0x10, 0x06, 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x57, 0x45, 0x4c, + 0x56, 0x45, 0x5f, 0x48, 0x4f, 0x55, 0x52, 0x53, 0x10, 0x07, 0x12, 0x07, 0x0a, 0x03, 0x44, 0x41, + 0x59, 0x10, 0x08, 0x2a, 0x41, 0x0a, 0x0b, 0x46, 0x69, 0x61, 0x74, 0x42, 0x61, 0x63, 0x6b, 0x65, + 0x6e, 0x64, 0x12, 0x17, 0x0a, 0x13, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x46, 0x49, + 0x41, 0x54, 0x42, 0x41, 0x43, 0x4b, 0x45, 0x4e, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x43, + 0x4f, 0x49, 0x4e, 0x43, 0x41, 0x50, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x4f, 0x49, 0x4e, + 0x44, 0x45, 0x53, 0x4b, 0x10, 0x02, 0x2a, 0xa2, 0x02, 0x0a, 0x09, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, + 0x00, 0x12, 0x16, 0x0a, 0x12, 0x4c, 0x4f, 0x43, 0x41, 0x4c, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x4e, + 0x45, 0x4c, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x52, 0x45, 0x4d, + 0x4f, 0x54, 0x45, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x4e, 0x45, 0x4c, 0x5f, 0x4f, 0x50, 0x45, 0x4e, + 0x10, 0x02, 0x12, 0x14, 0x0a, 0x10, 0x43, 0x48, 0x41, 0x4e, 0x4e, 0x45, 0x4c, 0x5f, 0x4f, 0x50, + 0x45, 0x4e, 0x5f, 0x46, 0x45, 0x45, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, 0x43, 0x48, 0x41, 0x4e, + 0x4e, 0x45, 0x4c, 0x5f, 0x43, 0x4c, 0x4f, 0x53, 0x45, 0x10, 0x04, 0x12, 0x0b, 0x0a, 0x07, 0x52, + 0x45, 0x43, 0x45, 0x49, 0x50, 0x54, 0x10, 0x05, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x41, 0x59, 0x4d, + 0x45, 0x4e, 0x54, 0x10, 0x06, 0x12, 0x07, 0x0a, 0x03, 0x46, 0x45, 0x45, 0x10, 0x07, 0x12, 0x14, + 0x0a, 0x10, 0x43, 0x49, 0x52, 0x43, 0x55, 0x4c, 0x41, 0x52, 0x5f, 0x52, 0x45, 0x43, 0x45, 0x49, + 0x50, 0x54, 0x10, 0x08, 0x12, 0x0b, 0x0a, 0x07, 0x46, 0x4f, 0x52, 0x57, 0x41, 0x52, 0x44, 0x10, + 0x09, 0x12, 0x0f, 0x0a, 0x0b, 0x46, 0x4f, 0x52, 0x57, 0x41, 0x52, 0x44, 0x5f, 0x46, 0x45, 0x45, + 0x10, 0x0a, 0x12, 0x14, 0x0a, 0x10, 0x43, 0x49, 0x52, 0x43, 0x55, 0x4c, 0x41, 0x52, 0x5f, 0x50, + 0x41, 0x59, 0x4d, 0x45, 0x4e, 0x54, 0x10, 0x0b, 0x12, 0x10, 0x0a, 0x0c, 0x43, 0x49, 0x52, 0x43, + 0x55, 0x4c, 0x41, 0x52, 0x5f, 0x46, 0x45, 0x45, 0x10, 0x0c, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x57, + 0x45, 0x45, 0x50, 0x10, 0x0d, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x57, 0x45, 0x45, 0x50, 0x5f, 0x46, + 0x45, 0x45, 0x10, 0x0e, 0x12, 0x15, 0x0a, 0x11, 0x43, 0x48, 0x41, 0x4e, 0x4e, 0x45, 0x4c, 0x5f, + 0x43, 0x4c, 0x4f, 0x53, 0x45, 0x5f, 0x46, 0x45, 0x45, 0x10, 0x0f, 0x32, 0xd8, 0x04, 0x0a, 0x0d, + 0x46, 0x61, 0x72, 0x61, 0x64, 0x61, 0x79, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x65, 0x0a, + 0x16, 0x4f, 0x75, 0x74, 0x6c, 0x69, 0x65, 0x72, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, + 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x25, 0x2e, 0x66, 0x72, 0x64, 0x72, 0x70, 0x63, + 0x2e, 0x4f, 0x75, 0x74, 0x6c, 0x69, 0x65, 0x72, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, + 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, + 0x2e, 0x66, 0x72, 0x64, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x52, 0x65, 0x63, + 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x69, 0x0a, 0x18, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, + 0x64, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x12, 0x27, 0x2e, 0x66, 0x72, 0x64, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, + 0x6f, 0x6c, 0x64, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x64, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x66, 0x72, 0x64, 0x72, + 0x70, 0x63, 0x2e, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x52, 0x65, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, + 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x4c, 0x0a, 0x0d, 0x52, 0x65, 0x76, 0x65, 0x6e, 0x75, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, + 0x12, 0x1c, 0x2e, 0x66, 0x72, 0x64, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x76, 0x65, 0x6e, 0x75, + 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, + 0x2e, 0x66, 0x72, 0x64, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x76, 0x65, 0x6e, 0x75, 0x65, 0x52, + 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, + 0x0f, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x49, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x73, + 0x12, 0x1e, 0x2e, 0x66, 0x72, 0x64, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, + 0x6c, 0x49, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x1f, 0x2e, 0x66, 0x72, 0x64, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, + 0x6c, 0x49, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x49, 0x0a, 0x0c, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x61, 0x74, + 0x65, 0x12, 0x1b, 0x2e, 0x66, 0x72, 0x64, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, + 0x6e, 0x67, 0x65, 0x52, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, + 0x2e, 0x66, 0x72, 0x64, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x78, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, + 0x52, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x09, + 0x4e, 0x6f, 0x64, 0x65, 0x41, 0x75, 0x64, 0x69, 0x74, 0x12, 0x18, 0x2e, 0x66, 0x72, 0x64, 0x72, + 0x70, 0x63, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x41, 0x75, 0x64, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x66, 0x72, 0x64, 0x72, 0x70, 0x63, 0x2e, 0x4e, 0x6f, 0x64, + 0x65, 0x41, 0x75, 0x64, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, + 0x0a, 0x0b, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x1a, 0x2e, + 0x66, 0x72, 0x64, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x52, 0x65, 0x70, 0x6f, + 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x66, 0x72, 0x64, 0x72, + 0x70, 0x63, 0x2e, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x29, 0x5a, 0x27, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x6e, 0x69, 0x6e, 0x67, 0x6c, 0x61, + 0x62, 0x73, 0x2f, 0x66, 0x61, 0x72, 0x61, 0x64, 0x61, 0x79, 0x2f, 0x66, 0x72, 0x64, 0x72, 0x70, + 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_faraday_proto_rawDescOnce sync.Once + file_faraday_proto_rawDescData = file_faraday_proto_rawDesc +) + +func file_faraday_proto_rawDescGZIP() []byte { + file_faraday_proto_rawDescOnce.Do(func() { + file_faraday_proto_rawDescData = protoimpl.X.CompressGZIP(file_faraday_proto_rawDescData) + }) + return file_faraday_proto_rawDescData +} + +var file_faraday_proto_enumTypes = make([]protoimpl.EnumInfo, 4) +var file_faraday_proto_msgTypes = make([]protoimpl.MessageInfo, 23) +var file_faraday_proto_goTypes = []interface{}{ + (Granularity)(0), // 0: frdrpc.Granularity + (FiatBackend)(0), // 1: frdrpc.FiatBackend + (EntryType)(0), // 2: frdrpc.EntryType + (CloseRecommendationRequest_Metric)(0), // 3: frdrpc.CloseRecommendationRequest.Metric + (*CloseRecommendationRequest)(nil), // 4: frdrpc.CloseRecommendationRequest + (*OutlierRecommendationsRequest)(nil), // 5: frdrpc.OutlierRecommendationsRequest + (*ThresholdRecommendationsRequest)(nil), // 6: frdrpc.ThresholdRecommendationsRequest + (*CloseRecommendationsResponse)(nil), // 7: frdrpc.CloseRecommendationsResponse + (*Recommendation)(nil), // 8: frdrpc.Recommendation + (*RevenueReportRequest)(nil), // 9: frdrpc.RevenueReportRequest + (*RevenueReportResponse)(nil), // 10: frdrpc.RevenueReportResponse + (*RevenueReport)(nil), // 11: frdrpc.RevenueReport + (*PairReport)(nil), // 12: frdrpc.PairReport + (*ChannelInsightsRequest)(nil), // 13: frdrpc.ChannelInsightsRequest + (*ChannelInsightsResponse)(nil), // 14: frdrpc.ChannelInsightsResponse + (*ChannelInsight)(nil), // 15: frdrpc.ChannelInsight + (*ExchangeRateRequest)(nil), // 16: frdrpc.ExchangeRateRequest + (*ExchangeRateResponse)(nil), // 17: frdrpc.ExchangeRateResponse + (*BitcoinPrice)(nil), // 18: frdrpc.BitcoinPrice + (*ExchangeRate)(nil), // 19: frdrpc.ExchangeRate + (*NodeAuditRequest)(nil), // 20: frdrpc.NodeAuditRequest + (*CustomCategory)(nil), // 21: frdrpc.CustomCategory + (*ReportEntry)(nil), // 22: frdrpc.ReportEntry + (*NodeAuditResponse)(nil), // 23: frdrpc.NodeAuditResponse + (*CloseReportRequest)(nil), // 24: frdrpc.CloseReportRequest + (*CloseReportResponse)(nil), // 25: frdrpc.CloseReportResponse + nil, // 26: frdrpc.RevenueReport.PairReportsEntry +} +var file_faraday_proto_depIdxs = []int32{ + 3, // 0: frdrpc.CloseRecommendationRequest.metric:type_name -> frdrpc.CloseRecommendationRequest.Metric + 4, // 1: frdrpc.OutlierRecommendationsRequest.rec_request:type_name -> frdrpc.CloseRecommendationRequest + 4, // 2: frdrpc.ThresholdRecommendationsRequest.rec_request:type_name -> frdrpc.CloseRecommendationRequest + 8, // 3: frdrpc.CloseRecommendationsResponse.recommendations:type_name -> frdrpc.Recommendation + 11, // 4: frdrpc.RevenueReportResponse.reports:type_name -> frdrpc.RevenueReport + 26, // 5: frdrpc.RevenueReport.pair_reports:type_name -> frdrpc.RevenueReport.PairReportsEntry + 15, // 6: frdrpc.ChannelInsightsResponse.channel_insights:type_name -> frdrpc.ChannelInsight + 0, // 7: frdrpc.ExchangeRateRequest.granularity:type_name -> frdrpc.Granularity + 1, // 8: frdrpc.ExchangeRateRequest.fiat_backend:type_name -> frdrpc.FiatBackend + 19, // 9: frdrpc.ExchangeRateResponse.rates:type_name -> frdrpc.ExchangeRate + 18, // 10: frdrpc.ExchangeRate.btc_price:type_name -> frdrpc.BitcoinPrice + 0, // 11: frdrpc.NodeAuditRequest.granularity:type_name -> frdrpc.Granularity + 21, // 12: frdrpc.NodeAuditRequest.custom_categories:type_name -> frdrpc.CustomCategory + 1, // 13: frdrpc.NodeAuditRequest.fiat_backend:type_name -> frdrpc.FiatBackend + 2, // 14: frdrpc.ReportEntry.type:type_name -> frdrpc.EntryType + 18, // 15: frdrpc.ReportEntry.btc_price:type_name -> frdrpc.BitcoinPrice + 22, // 16: frdrpc.NodeAuditResponse.reports:type_name -> frdrpc.ReportEntry + 12, // 17: frdrpc.RevenueReport.PairReportsEntry.value:type_name -> frdrpc.PairReport + 5, // 18: frdrpc.FaradayServer.OutlierRecommendations:input_type -> frdrpc.OutlierRecommendationsRequest + 6, // 19: frdrpc.FaradayServer.ThresholdRecommendations:input_type -> frdrpc.ThresholdRecommendationsRequest + 9, // 20: frdrpc.FaradayServer.RevenueReport:input_type -> frdrpc.RevenueReportRequest + 13, // 21: frdrpc.FaradayServer.ChannelInsights:input_type -> frdrpc.ChannelInsightsRequest + 16, // 22: frdrpc.FaradayServer.ExchangeRate:input_type -> frdrpc.ExchangeRateRequest + 20, // 23: frdrpc.FaradayServer.NodeAudit:input_type -> frdrpc.NodeAuditRequest + 24, // 24: frdrpc.FaradayServer.CloseReport:input_type -> frdrpc.CloseReportRequest + 7, // 25: frdrpc.FaradayServer.OutlierRecommendations:output_type -> frdrpc.CloseRecommendationsResponse + 7, // 26: frdrpc.FaradayServer.ThresholdRecommendations:output_type -> frdrpc.CloseRecommendationsResponse + 10, // 27: frdrpc.FaradayServer.RevenueReport:output_type -> frdrpc.RevenueReportResponse + 14, // 28: frdrpc.FaradayServer.ChannelInsights:output_type -> frdrpc.ChannelInsightsResponse + 17, // 29: frdrpc.FaradayServer.ExchangeRate:output_type -> frdrpc.ExchangeRateResponse + 23, // 30: frdrpc.FaradayServer.NodeAudit:output_type -> frdrpc.NodeAuditResponse + 25, // 31: frdrpc.FaradayServer.CloseReport:output_type -> frdrpc.CloseReportResponse + 25, // [25:32] is the sub-list for method output_type + 18, // [18:25] is the sub-list for method input_type + 18, // [18:18] is the sub-list for extension type_name + 18, // [18:18] is the sub-list for extension extendee + 0, // [0:18] is the sub-list for field type_name +} + +func init() { file_faraday_proto_init() } +func file_faraday_proto_init() { + if File_faraday_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_faraday_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CloseRecommendationRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_faraday_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OutlierRecommendationsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_faraday_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ThresholdRecommendationsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_faraday_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CloseRecommendationsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_faraday_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Recommendation); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_faraday_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RevenueReportRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_faraday_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RevenueReportResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_faraday_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RevenueReport); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_faraday_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PairReport); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_faraday_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChannelInsightsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_faraday_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChannelInsightsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_faraday_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChannelInsight); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_faraday_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExchangeRateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_faraday_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExchangeRateResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_faraday_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BitcoinPrice); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_faraday_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ExchangeRate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_faraday_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NodeAuditRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_faraday_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CustomCategory); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_faraday_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReportEntry); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_faraday_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*NodeAuditResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_faraday_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CloseReportRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_faraday_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CloseReportResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_faraday_proto_rawDesc, + NumEnums: 4, + NumMessages: 23, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_faraday_proto_goTypes, + DependencyIndexes: file_faraday_proto_depIdxs, + EnumInfos: file_faraday_proto_enumTypes, + MessageInfos: file_faraday_proto_msgTypes, + }.Build() + File_faraday_proto = out.File + file_faraday_proto_rawDesc = nil + file_faraday_proto_goTypes = nil + file_faraday_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. @@ -1986,25 +2770,25 @@ type FaradayServerServer interface { type UnimplementedFaradayServerServer struct { } -func (*UnimplementedFaradayServerServer) OutlierRecommendations(ctx context.Context, req *OutlierRecommendationsRequest) (*CloseRecommendationsResponse, error) { +func (*UnimplementedFaradayServerServer) OutlierRecommendations(context.Context, *OutlierRecommendationsRequest) (*CloseRecommendationsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method OutlierRecommendations not implemented") } -func (*UnimplementedFaradayServerServer) ThresholdRecommendations(ctx context.Context, req *ThresholdRecommendationsRequest) (*CloseRecommendationsResponse, error) { +func (*UnimplementedFaradayServerServer) ThresholdRecommendations(context.Context, *ThresholdRecommendationsRequest) (*CloseRecommendationsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ThresholdRecommendations not implemented") } -func (*UnimplementedFaradayServerServer) RevenueReport(ctx context.Context, req *RevenueReportRequest) (*RevenueReportResponse, error) { +func (*UnimplementedFaradayServerServer) RevenueReport(context.Context, *RevenueReportRequest) (*RevenueReportResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method RevenueReport not implemented") } -func (*UnimplementedFaradayServerServer) ChannelInsights(ctx context.Context, req *ChannelInsightsRequest) (*ChannelInsightsResponse, error) { +func (*UnimplementedFaradayServerServer) ChannelInsights(context.Context, *ChannelInsightsRequest) (*ChannelInsightsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ChannelInsights not implemented") } -func (*UnimplementedFaradayServerServer) ExchangeRate(ctx context.Context, req *ExchangeRateRequest) (*ExchangeRateResponse, error) { +func (*UnimplementedFaradayServerServer) ExchangeRate(context.Context, *ExchangeRateRequest) (*ExchangeRateResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ExchangeRate not implemented") } -func (*UnimplementedFaradayServerServer) NodeAudit(ctx context.Context, req *NodeAuditRequest) (*NodeAuditResponse, error) { +func (*UnimplementedFaradayServerServer) NodeAudit(context.Context, *NodeAuditRequest) (*NodeAuditResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method NodeAudit not implemented") } -func (*UnimplementedFaradayServerServer) CloseReport(ctx context.Context, req *CloseReportRequest) (*CloseReportResponse, error) { +func (*UnimplementedFaradayServerServer) CloseReport(context.Context, *CloseReportRequest) (*CloseReportResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CloseReport not implemented") } diff --git a/go.mod b/go.mod index 2b1deaf..2caa565 100644 --- a/go.mod +++ b/go.mod @@ -15,6 +15,7 @@ require ( github.com/stretchr/testify v1.7.0 github.com/urfave/cli v1.20.0 google.golang.org/grpc v1.29.1 + google.golang.org/protobuf v1.23.0 gopkg.in/macaroon-bakery.v2 v2.0.1 gopkg.in/macaroon.v2 v2.1.0 ) From 7203f3e405c67fd454a2a9596d1f52260b2ea910 Mon Sep 17 00:00:00 2001 From: Elle Mouton Date: Thu, 20 May 2021 14:40:37 +0200 Subject: [PATCH 2/2] multi: fix NewPriceSource typo This commit fixes a typo in the NewPriceSource function name. --- accounting/conversions.go | 2 +- fiat/prices.go | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/accounting/conversions.go b/accounting/conversions.go index d72c5c2..5c18897 100644 --- a/accounting/conversions.go +++ b/accounting/conversions.go @@ -49,7 +49,7 @@ func getConversion(ctx context.Context, startTime, endTime time.Time, return nil, err } - fiatClient, err := fiat.NewPricePriceSource(fiatBackend, granularity) + fiatClient, err := fiat.NewPriceSource(fiatBackend, granularity) if err != nil { return nil, err } diff --git a/fiat/prices.go b/fiat/prices.go index 1a35019..b92e83c 100644 --- a/fiat/prices.go +++ b/fiat/prices.go @@ -96,9 +96,9 @@ func (p PriceBackend) String() string { return priceBackendNames[p] } -// NewPricePriceSource returns a PriceSource which can be used to query price +// NewPriceSource returns a PriceSource which can be used to query price // data. -func NewPricePriceSource(backend PriceBackend, granularity *Granularity) ( +func NewPriceSource(backend PriceBackend, granularity *Granularity) ( *PriceSource, error) { switch backend { @@ -152,7 +152,7 @@ func GetPrices(ctx context.Context, timestamps []time.Time, // timestamp if we have 1 entry, but that's ok. start, end := timestamps[0], timestamps[len(timestamps)-1] - client, err := NewPricePriceSource(backend, &granularity) + client, err := NewPriceSource(backend, &granularity) if err != nil { return nil, err }