private/multinodepb: drpc operators controller added

Change-Id: Ie9bad9d5dba3e508d4cb8165aaca88d98ef1304d
This commit is contained in:
crawter 2021-06-01 10:29:46 +03:00 committed by Yehor Butko
parent 4c704ea9a4
commit 6d9b91d435
5 changed files with 306 additions and 138 deletions

View File

@ -689,6 +689,98 @@ func (m *TrustedSatellitesResponse_NodeURL) GetAddress() string {
return ""
}
type OperatorRequest struct {
Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *OperatorRequest) Reset() { *m = OperatorRequest{} }
func (m *OperatorRequest) String() string { return proto.CompactTextString(m) }
func (*OperatorRequest) ProtoMessage() {}
func (*OperatorRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_9a45fd79b06f3a1b, []int{13}
}
func (m *OperatorRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_OperatorRequest.Unmarshal(m, b)
}
func (m *OperatorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_OperatorRequest.Marshal(b, m, deterministic)
}
func (m *OperatorRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_OperatorRequest.Merge(m, src)
}
func (m *OperatorRequest) XXX_Size() int {
return xxx_messageInfo_OperatorRequest.Size(m)
}
func (m *OperatorRequest) XXX_DiscardUnknown() {
xxx_messageInfo_OperatorRequest.DiscardUnknown(m)
}
var xxx_messageInfo_OperatorRequest proto.InternalMessageInfo
func (m *OperatorRequest) GetHeader() *RequestHeader {
if m != nil {
return m.Header
}
return nil
}
type OperatorResponse struct {
Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
Wallet string `protobuf:"bytes,2,opt,name=wallet,proto3" json:"wallet,omitempty"`
WalletFeatures []string `protobuf:"bytes,3,rep,name=wallet_features,json=walletFeatures,proto3" json:"wallet_features,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *OperatorResponse) Reset() { *m = OperatorResponse{} }
func (m *OperatorResponse) String() string { return proto.CompactTextString(m) }
func (*OperatorResponse) ProtoMessage() {}
func (*OperatorResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_9a45fd79b06f3a1b, []int{14}
}
func (m *OperatorResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_OperatorResponse.Unmarshal(m, b)
}
func (m *OperatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_OperatorResponse.Marshal(b, m, deterministic)
}
func (m *OperatorResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_OperatorResponse.Merge(m, src)
}
func (m *OperatorResponse) XXX_Size() int {
return xxx_messageInfo_OperatorResponse.Size(m)
}
func (m *OperatorResponse) XXX_DiscardUnknown() {
xxx_messageInfo_OperatorResponse.DiscardUnknown(m)
}
var xxx_messageInfo_OperatorResponse proto.InternalMessageInfo
func (m *OperatorResponse) GetEmail() string {
if m != nil {
return m.Email
}
return ""
}
func (m *OperatorResponse) GetWallet() string {
if m != nil {
return m.Wallet
}
return ""
}
func (m *OperatorResponse) GetWalletFeatures() []string {
if m != nil {
return m.WalletFeatures
}
return nil
}
type EstimatedPayoutSatelliteRequest struct {
Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
SatelliteId NodeID `protobuf:"bytes,2,opt,name=satellite_id,json=satelliteId,proto3,customtype=NodeID" json:"satellite_id"`
@ -701,7 +793,7 @@ func (m *EstimatedPayoutSatelliteRequest) Reset() { *m = EstimatedPayout
func (m *EstimatedPayoutSatelliteRequest) String() string { return proto.CompactTextString(m) }
func (*EstimatedPayoutSatelliteRequest) ProtoMessage() {}
func (*EstimatedPayoutSatelliteRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_9a45fd79b06f3a1b, []int{13}
return fileDescriptor_9a45fd79b06f3a1b, []int{15}
}
func (m *EstimatedPayoutSatelliteRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_EstimatedPayoutSatelliteRequest.Unmarshal(m, b)
@ -739,7 +831,7 @@ func (m *EstimatedPayoutSatelliteResponse) Reset() { *m = EstimatedPayou
func (m *EstimatedPayoutSatelliteResponse) String() string { return proto.CompactTextString(m) }
func (*EstimatedPayoutSatelliteResponse) ProtoMessage() {}
func (*EstimatedPayoutSatelliteResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_9a45fd79b06f3a1b, []int{14}
return fileDescriptor_9a45fd79b06f3a1b, []int{16}
}
func (m *EstimatedPayoutSatelliteResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_EstimatedPayoutSatelliteResponse.Unmarshal(m, b)
@ -777,7 +869,7 @@ func (m *EstimatedPayoutRequest) Reset() { *m = EstimatedPayoutRequest{}
func (m *EstimatedPayoutRequest) String() string { return proto.CompactTextString(m) }
func (*EstimatedPayoutRequest) ProtoMessage() {}
func (*EstimatedPayoutRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_9a45fd79b06f3a1b, []int{15}
return fileDescriptor_9a45fd79b06f3a1b, []int{17}
}
func (m *EstimatedPayoutRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_EstimatedPayoutRequest.Unmarshal(m, b)
@ -815,7 +907,7 @@ func (m *EstimatedPayoutResponse) Reset() { *m = EstimatedPayoutResponse
func (m *EstimatedPayoutResponse) String() string { return proto.CompactTextString(m) }
func (*EstimatedPayoutResponse) ProtoMessage() {}
func (*EstimatedPayoutResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_9a45fd79b06f3a1b, []int{16}
return fileDescriptor_9a45fd79b06f3a1b, []int{18}
}
func (m *EstimatedPayoutResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_EstimatedPayoutResponse.Unmarshal(m, b)
@ -853,7 +945,7 @@ func (m *SummaryRequest) Reset() { *m = SummaryRequest{} }
func (m *SummaryRequest) String() string { return proto.CompactTextString(m) }
func (*SummaryRequest) ProtoMessage() {}
func (*SummaryRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_9a45fd79b06f3a1b, []int{17}
return fileDescriptor_9a45fd79b06f3a1b, []int{19}
}
func (m *SummaryRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SummaryRequest.Unmarshal(m, b)
@ -891,7 +983,7 @@ func (m *SummaryResponse) Reset() { *m = SummaryResponse{} }
func (m *SummaryResponse) String() string { return proto.CompactTextString(m) }
func (*SummaryResponse) ProtoMessage() {}
func (*SummaryResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_9a45fd79b06f3a1b, []int{18}
return fileDescriptor_9a45fd79b06f3a1b, []int{20}
}
func (m *SummaryResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SummaryResponse.Unmarshal(m, b)
@ -930,7 +1022,7 @@ func (m *SummaryPeriodRequest) Reset() { *m = SummaryPeriodRequest{} }
func (m *SummaryPeriodRequest) String() string { return proto.CompactTextString(m) }
func (*SummaryPeriodRequest) ProtoMessage() {}
func (*SummaryPeriodRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_9a45fd79b06f3a1b, []int{19}
return fileDescriptor_9a45fd79b06f3a1b, []int{21}
}
func (m *SummaryPeriodRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SummaryPeriodRequest.Unmarshal(m, b)
@ -975,7 +1067,7 @@ func (m *SummaryPeriodResponse) Reset() { *m = SummaryPeriodResponse{} }
func (m *SummaryPeriodResponse) String() string { return proto.CompactTextString(m) }
func (*SummaryPeriodResponse) ProtoMessage() {}
func (*SummaryPeriodResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_9a45fd79b06f3a1b, []int{20}
return fileDescriptor_9a45fd79b06f3a1b, []int{22}
}
func (m *SummaryPeriodResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SummaryPeriodResponse.Unmarshal(m, b)
@ -1014,7 +1106,7 @@ func (m *SummarySatelliteRequest) Reset() { *m = SummarySatelliteRequest
func (m *SummarySatelliteRequest) String() string { return proto.CompactTextString(m) }
func (*SummarySatelliteRequest) ProtoMessage() {}
func (*SummarySatelliteRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_9a45fd79b06f3a1b, []int{21}
return fileDescriptor_9a45fd79b06f3a1b, []int{23}
}
func (m *SummarySatelliteRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SummarySatelliteRequest.Unmarshal(m, b)
@ -1052,7 +1144,7 @@ func (m *SummarySatelliteResponse) Reset() { *m = SummarySatelliteRespon
func (m *SummarySatelliteResponse) String() string { return proto.CompactTextString(m) }
func (*SummarySatelliteResponse) ProtoMessage() {}
func (*SummarySatelliteResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_9a45fd79b06f3a1b, []int{22}
return fileDescriptor_9a45fd79b06f3a1b, []int{24}
}
func (m *SummarySatelliteResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SummarySatelliteResponse.Unmarshal(m, b)
@ -1092,7 +1184,7 @@ func (m *SummarySatellitePeriodRequest) Reset() { *m = SummarySatelliteP
func (m *SummarySatellitePeriodRequest) String() string { return proto.CompactTextString(m) }
func (*SummarySatellitePeriodRequest) ProtoMessage() {}
func (*SummarySatellitePeriodRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_9a45fd79b06f3a1b, []int{23}
return fileDescriptor_9a45fd79b06f3a1b, []int{25}
}
func (m *SummarySatellitePeriodRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SummarySatellitePeriodRequest.Unmarshal(m, b)
@ -1137,7 +1229,7 @@ func (m *SummarySatellitePeriodResponse) Reset() { *m = SummarySatellite
func (m *SummarySatellitePeriodResponse) String() string { return proto.CompactTextString(m) }
func (*SummarySatellitePeriodResponse) ProtoMessage() {}
func (*SummarySatellitePeriodResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_9a45fd79b06f3a1b, []int{24}
return fileDescriptor_9a45fd79b06f3a1b, []int{26}
}
func (m *SummarySatellitePeriodResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SummarySatellitePeriodResponse.Unmarshal(m, b)
@ -1175,7 +1267,7 @@ func (m *EarnedRequest) Reset() { *m = EarnedRequest{} }
func (m *EarnedRequest) String() string { return proto.CompactTextString(m) }
func (*EarnedRequest) ProtoMessage() {}
func (*EarnedRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_9a45fd79b06f3a1b, []int{25}
return fileDescriptor_9a45fd79b06f3a1b, []int{27}
}
func (m *EarnedRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_EarnedRequest.Unmarshal(m, b)
@ -1213,7 +1305,7 @@ func (m *EarnedResponse) Reset() { *m = EarnedResponse{} }
func (m *EarnedResponse) String() string { return proto.CompactTextString(m) }
func (*EarnedResponse) ProtoMessage() {}
func (*EarnedResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_9a45fd79b06f3a1b, []int{26}
return fileDescriptor_9a45fd79b06f3a1b, []int{28}
}
func (m *EarnedResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_EarnedResponse.Unmarshal(m, b)
@ -1251,7 +1343,7 @@ func (m *EarnedSatelliteRequest) Reset() { *m = EarnedSatelliteRequest{}
func (m *EarnedSatelliteRequest) String() string { return proto.CompactTextString(m) }
func (*EarnedSatelliteRequest) ProtoMessage() {}
func (*EarnedSatelliteRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_9a45fd79b06f3a1b, []int{27}
return fileDescriptor_9a45fd79b06f3a1b, []int{29}
}
func (m *EarnedSatelliteRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_EarnedSatelliteRequest.Unmarshal(m, b)
@ -1289,7 +1381,7 @@ func (m *EarnedSatelliteResponse) Reset() { *m = EarnedSatelliteResponse
func (m *EarnedSatelliteResponse) String() string { return proto.CompactTextString(m) }
func (*EarnedSatelliteResponse) ProtoMessage() {}
func (*EarnedSatelliteResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_9a45fd79b06f3a1b, []int{28}
return fileDescriptor_9a45fd79b06f3a1b, []int{30}
}
func (m *EarnedSatelliteResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_EarnedSatelliteResponse.Unmarshal(m, b)
@ -1328,7 +1420,7 @@ func (m *EarnedSatellite) Reset() { *m = EarnedSatellite{} }
func (m *EarnedSatellite) String() string { return proto.CompactTextString(m) }
func (*EarnedSatellite) ProtoMessage() {}
func (*EarnedSatellite) Descriptor() ([]byte, []int) {
return fileDescriptor_9a45fd79b06f3a1b, []int{29}
return fileDescriptor_9a45fd79b06f3a1b, []int{31}
}
func (m *EarnedSatellite) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_EarnedSatellite.Unmarshal(m, b)
@ -1366,7 +1458,7 @@ func (m *UndistributedRequest) Reset() { *m = UndistributedRequest{} }
func (m *UndistributedRequest) String() string { return proto.CompactTextString(m) }
func (*UndistributedRequest) ProtoMessage() {}
func (*UndistributedRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_9a45fd79b06f3a1b, []int{30}
return fileDescriptor_9a45fd79b06f3a1b, []int{32}
}
func (m *UndistributedRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UndistributedRequest.Unmarshal(m, b)
@ -1404,7 +1496,7 @@ func (m *UndistributedResponse) Reset() { *m = UndistributedResponse{} }
func (m *UndistributedResponse) String() string { return proto.CompactTextString(m) }
func (*UndistributedResponse) ProtoMessage() {}
func (*UndistributedResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_9a45fd79b06f3a1b, []int{31}
return fileDescriptor_9a45fd79b06f3a1b, []int{33}
}
func (m *UndistributedResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UndistributedResponse.Unmarshal(m, b)
@ -1443,7 +1535,7 @@ func (m *PaystubSatelliteRequest) Reset() { *m = PaystubSatelliteRequest
func (m *PaystubSatelliteRequest) String() string { return proto.CompactTextString(m) }
func (*PaystubSatelliteRequest) ProtoMessage() {}
func (*PaystubSatelliteRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_9a45fd79b06f3a1b, []int{32}
return fileDescriptor_9a45fd79b06f3a1b, []int{34}
}
func (m *PaystubSatelliteRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PaystubSatelliteRequest.Unmarshal(m, b)
@ -1481,7 +1573,7 @@ func (m *PaystubSatelliteResponse) Reset() { *m = PaystubSatelliteRespon
func (m *PaystubSatelliteResponse) String() string { return proto.CompactTextString(m) }
func (*PaystubSatelliteResponse) ProtoMessage() {}
func (*PaystubSatelliteResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_9a45fd79b06f3a1b, []int{33}
return fileDescriptor_9a45fd79b06f3a1b, []int{35}
}
func (m *PaystubSatelliteResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PaystubSatelliteResponse.Unmarshal(m, b)
@ -1519,7 +1611,7 @@ func (m *PaystubRequest) Reset() { *m = PaystubRequest{} }
func (m *PaystubRequest) String() string { return proto.CompactTextString(m) }
func (*PaystubRequest) ProtoMessage() {}
func (*PaystubRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_9a45fd79b06f3a1b, []int{34}
return fileDescriptor_9a45fd79b06f3a1b, []int{36}
}
func (m *PaystubRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PaystubRequest.Unmarshal(m, b)
@ -1557,7 +1649,7 @@ func (m *PaystubResponse) Reset() { *m = PaystubResponse{} }
func (m *PaystubResponse) String() string { return proto.CompactTextString(m) }
func (*PaystubResponse) ProtoMessage() {}
func (*PaystubResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_9a45fd79b06f3a1b, []int{35}
return fileDescriptor_9a45fd79b06f3a1b, []int{37}
}
func (m *PaystubResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PaystubResponse.Unmarshal(m, b)
@ -1596,7 +1688,7 @@ func (m *PaystubPeriodRequest) Reset() { *m = PaystubPeriodRequest{} }
func (m *PaystubPeriodRequest) String() string { return proto.CompactTextString(m) }
func (*PaystubPeriodRequest) ProtoMessage() {}
func (*PaystubPeriodRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_9a45fd79b06f3a1b, []int{36}
return fileDescriptor_9a45fd79b06f3a1b, []int{38}
}
func (m *PaystubPeriodRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PaystubPeriodRequest.Unmarshal(m, b)
@ -1641,7 +1733,7 @@ func (m *PaystubPeriodResponse) Reset() { *m = PaystubPeriodResponse{} }
func (m *PaystubPeriodResponse) String() string { return proto.CompactTextString(m) }
func (*PaystubPeriodResponse) ProtoMessage() {}
func (*PaystubPeriodResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_9a45fd79b06f3a1b, []int{37}
return fileDescriptor_9a45fd79b06f3a1b, []int{39}
}
func (m *PaystubPeriodResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PaystubPeriodResponse.Unmarshal(m, b)
@ -1681,7 +1773,7 @@ func (m *PaystubSatellitePeriodRequest) Reset() { *m = PaystubSatelliteP
func (m *PaystubSatellitePeriodRequest) String() string { return proto.CompactTextString(m) }
func (*PaystubSatellitePeriodRequest) ProtoMessage() {}
func (*PaystubSatellitePeriodRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_9a45fd79b06f3a1b, []int{38}
return fileDescriptor_9a45fd79b06f3a1b, []int{40}
}
func (m *PaystubSatellitePeriodRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PaystubSatellitePeriodRequest.Unmarshal(m, b)
@ -1726,7 +1818,7 @@ func (m *PaystubSatellitePeriodResponse) Reset() { *m = PaystubSatellite
func (m *PaystubSatellitePeriodResponse) String() string { return proto.CompactTextString(m) }
func (*PaystubSatellitePeriodResponse) ProtoMessage() {}
func (*PaystubSatellitePeriodResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_9a45fd79b06f3a1b, []int{39}
return fileDescriptor_9a45fd79b06f3a1b, []int{41}
}
func (m *PaystubSatellitePeriodResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PaystubSatellitePeriodResponse.Unmarshal(m, b)
@ -1765,7 +1857,7 @@ func (m *PayoutInfo) Reset() { *m = PayoutInfo{} }
func (m *PayoutInfo) String() string { return proto.CompactTextString(m) }
func (*PayoutInfo) ProtoMessage() {}
func (*PayoutInfo) Descriptor() ([]byte, []int) {
return fileDescriptor_9a45fd79b06f3a1b, []int{40}
return fileDescriptor_9a45fd79b06f3a1b, []int{42}
}
func (m *PayoutInfo) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_PayoutInfo.Unmarshal(m, b)
@ -1820,7 +1912,7 @@ func (m *Paystub) Reset() { *m = Paystub{} }
func (m *Paystub) String() string { return proto.CompactTextString(m) }
func (*Paystub) ProtoMessage() {}
func (*Paystub) Descriptor() ([]byte, []int) {
return fileDescriptor_9a45fd79b06f3a1b, []int{41}
return fileDescriptor_9a45fd79b06f3a1b, []int{43}
}
func (m *Paystub) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Paystub.Unmarshal(m, b)
@ -1928,7 +2020,7 @@ func (m *HeldAmountHistoryRequest) Reset() { *m = HeldAmountHistoryReque
func (m *HeldAmountHistoryRequest) String() string { return proto.CompactTextString(m) }
func (*HeldAmountHistoryRequest) ProtoMessage() {}
func (*HeldAmountHistoryRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_9a45fd79b06f3a1b, []int{42}
return fileDescriptor_9a45fd79b06f3a1b, []int{44}
}
func (m *HeldAmountHistoryRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_HeldAmountHistoryRequest.Unmarshal(m, b)
@ -1966,7 +2058,7 @@ func (m *HeldAmountHistoryResponse) Reset() { *m = HeldAmountHistoryResp
func (m *HeldAmountHistoryResponse) String() string { return proto.CompactTextString(m) }
func (*HeldAmountHistoryResponse) ProtoMessage() {}
func (*HeldAmountHistoryResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_9a45fd79b06f3a1b, []int{43}
return fileDescriptor_9a45fd79b06f3a1b, []int{45}
}
func (m *HeldAmountHistoryResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_HeldAmountHistoryResponse.Unmarshal(m, b)
@ -2005,7 +2097,7 @@ func (m *HeldAmountHistoryResponse_HeldAmount) Reset() { *m = HeldAmount
func (m *HeldAmountHistoryResponse_HeldAmount) String() string { return proto.CompactTextString(m) }
func (*HeldAmountHistoryResponse_HeldAmount) ProtoMessage() {}
func (*HeldAmountHistoryResponse_HeldAmount) Descriptor() ([]byte, []int) {
return fileDescriptor_9a45fd79b06f3a1b, []int{43, 0}
return fileDescriptor_9a45fd79b06f3a1b, []int{45, 0}
}
func (m *HeldAmountHistoryResponse_HeldAmount) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_HeldAmountHistoryResponse_HeldAmount.Unmarshal(m, b)
@ -2055,7 +2147,7 @@ func (m *HeldAmountHistoryResponse_HeldAmountHistory) String() string {
}
func (*HeldAmountHistoryResponse_HeldAmountHistory) ProtoMessage() {}
func (*HeldAmountHistoryResponse_HeldAmountHistory) Descriptor() ([]byte, []int) {
return fileDescriptor_9a45fd79b06f3a1b, []int{43, 1}
return fileDescriptor_9a45fd79b06f3a1b, []int{45, 1}
}
func (m *HeldAmountHistoryResponse_HeldAmountHistory) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_HeldAmountHistoryResponse_HeldAmountHistory.Unmarshal(m, b)
@ -2099,6 +2191,8 @@ func init() {
proto.RegisterType((*TrustedSatellitesRequest)(nil), "multinode.TrustedSatellitesRequest")
proto.RegisterType((*TrustedSatellitesResponse)(nil), "multinode.TrustedSatellitesResponse")
proto.RegisterType((*TrustedSatellitesResponse_NodeURL)(nil), "multinode.TrustedSatellitesResponse.NodeURL")
proto.RegisterType((*OperatorRequest)(nil), "multinode.OperatorRequest")
proto.RegisterType((*OperatorResponse)(nil), "multinode.OperatorResponse")
proto.RegisterType((*EstimatedPayoutSatelliteRequest)(nil), "multinode.EstimatedPayoutSatelliteRequest")
proto.RegisterType((*EstimatedPayoutSatelliteResponse)(nil), "multinode.EstimatedPayoutSatelliteResponse")
proto.RegisterType((*EstimatedPayoutRequest)(nil), "multinode.EstimatedPayoutRequest")
@ -2137,106 +2231,111 @@ func init() {
func init() { proto.RegisterFile("multinode.proto", fileDescriptor_9a45fd79b06f3a1b) }
var fileDescriptor_9a45fd79b06f3a1b = []byte{
// 1608 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x58, 0xcd, 0x6f, 0xdb, 0xc6,
0x12, 0x7f, 0xf4, 0x87, 0x64, 0x8d, 0x64, 0xcb, 0xde, 0xe7, 0x0f, 0x9a, 0xf1, 0xd7, 0xa3, 0x8d,
0xc4, 0x79, 0x49, 0xe4, 0xf7, 0x9c, 0x22, 0x40, 0x81, 0x14, 0x8d, 0xdd, 0x38, 0xb1, 0x5b, 0x37,
0x71, 0xe8, 0xa4, 0x08, 0x12, 0x20, 0xca, 0xda, 0x5c, 0xcb, 0x6c, 0x24, 0x92, 0xe5, 0x2e, 0xdd,
0xfa, 0x92, 0x63, 0xcf, 0x3d, 0x17, 0xfd, 0x5f, 0x8a, 0x5e, 0x8a, 0xfc, 0x0d, 0x3d, 0xa4, 0xe7,
0x1e, 0x7b, 0xea, 0xb5, 0xd8, 0x0f, 0x52, 0x24, 0x45, 0x29, 0x89, 0x84, 0x36, 0xbd, 0x71, 0x67,
0x7e, 0xfb, 0x9b, 0xd9, 0xd9, 0xd9, 0xe1, 0xec, 0x42, 0xb5, 0x15, 0x36, 0x99, 0xe3, 0x7a, 0x36,
0xa9, 0xf9, 0x81, 0xc7, 0x3c, 0x54, 0x8a, 0x05, 0x06, 0x34, 0xbc, 0x86, 0x27, 0xc5, 0xc6, 0x72,
0xc3, 0xf3, 0x1a, 0x4d, 0xb2, 0x21, 0x46, 0x47, 0xe1, 0xc9, 0x06, 0x73, 0x5a, 0x84, 0x32, 0xdc,
0xf2, 0x25, 0xc0, 0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0xfe, 0x1d, 0x00, 0x00, 0xff, 0xff, 0xc9, 0xb9, 0xc8, 0x97, 0x55,
0x1a, 0x00, 0x00,
}

View File

@ -47,6 +47,7 @@ service Node {
rpc LastContact(LastContactRequest) returns (LastContactResponse);
rpc Reputation(ReputationRequest) returns (ReputationResponse);
rpc TrustedSatellites(TrustedSatellitesRequest) returns (TrustedSatellitesResponse);
rpc Operator(OperatorRequest) returns (OperatorResponse);
}
message VersionRequest {
@ -96,6 +97,15 @@ message TrustedSatellitesResponse {
repeated NodeURL trusted_satellites = 1;
}
message OperatorRequest {
RequestHeader header = 1;
}
message OperatorResponse {
string email = 1;
string wallet = 2;
repeated string wallet_features = 3;
}
service Payouts {
rpc Summary(SummaryRequest) returns (SummaryResponse);
rpc SummaryPeriod(SummaryPeriodRequest) returns (SummaryPeriodResponse);

View File

@ -1,5 +1,5 @@
// Code generated by protoc-gen-go-drpc. DO NOT EDIT.
// protoc-gen-go-drpc version: v0.0.20
// protoc-gen-go-drpc version: v0.0.22
// source: multinode.proto
package multinodepb
@ -196,6 +196,7 @@ type DRPCNodeClient interface {
LastContact(ctx context.Context, in *LastContactRequest) (*LastContactResponse, error)
Reputation(ctx context.Context, in *ReputationRequest) (*ReputationResponse, error)
TrustedSatellites(ctx context.Context, in *TrustedSatellitesRequest) (*TrustedSatellitesResponse, error)
Operator(ctx context.Context, in *OperatorRequest) (*OperatorResponse, error)
}
type drpcNodeClient struct {
@ -244,11 +245,21 @@ func (c *drpcNodeClient) TrustedSatellites(ctx context.Context, in *TrustedSatel
return out, nil
}
func (c *drpcNodeClient) Operator(ctx context.Context, in *OperatorRequest) (*OperatorResponse, error) {
out := new(OperatorResponse)
err := c.cc.Invoke(ctx, "/multinode.Node/Operator", drpcEncoding_File_multinode_proto{}, in, out)
if err != nil {
return nil, err
}
return out, nil
}
type DRPCNodeServer interface {
Version(context.Context, *VersionRequest) (*VersionResponse, error)
LastContact(context.Context, *LastContactRequest) (*LastContactResponse, error)
Reputation(context.Context, *ReputationRequest) (*ReputationResponse, error)
TrustedSatellites(context.Context, *TrustedSatellitesRequest) (*TrustedSatellitesResponse, error)
Operator(context.Context, *OperatorRequest) (*OperatorResponse, error)
}
type DRPCNodeUnimplementedServer struct{}
@ -269,9 +280,13 @@ func (s *DRPCNodeUnimplementedServer) TrustedSatellites(context.Context, *Truste
return nil, drpcerr.WithCode(errors.New("Unimplemented"), 12)
}
func (s *DRPCNodeUnimplementedServer) Operator(context.Context, *OperatorRequest) (*OperatorResponse, error) {
return nil, drpcerr.WithCode(errors.New("Unimplemented"), 12)
}
type DRPCNodeDescription struct{}
func (DRPCNodeDescription) NumMethods() int { return 4 }
func (DRPCNodeDescription) NumMethods() int { return 5 }
func (DRPCNodeDescription) Method(n int) (string, drpc.Encoding, drpc.Receiver, interface{}, bool) {
switch n {
@ -311,6 +326,15 @@ func (DRPCNodeDescription) Method(n int) (string, drpc.Encoding, drpc.Receiver,
in1.(*TrustedSatellitesRequest),
)
}, DRPCNodeServer.TrustedSatellites, true
case 4:
return "/multinode.Node/Operator", drpcEncoding_File_multinode_proto{},
func(srv interface{}, ctx context.Context, in1, in2 interface{}) (drpc.Message, error) {
return srv.(DRPCNodeServer).
Operator(
ctx,
in1.(*OperatorRequest),
)
}, DRPCNodeServer.Operator, true
default:
return "", nil, nil, nil, false
}
@ -384,6 +408,22 @@ func (x *drpcNode_TrustedSatellitesStream) SendAndClose(m *TrustedSatellitesResp
return x.CloseSend()
}
type DRPCNode_OperatorStream interface {
drpc.Stream
SendAndClose(*OperatorResponse) error
}
type drpcNode_OperatorStream struct {
drpc.Stream
}
func (x *drpcNode_OperatorStream) SendAndClose(m *OperatorResponse) error {
if err := x.MsgSend(m, drpcEncoding_File_multinode_proto{}); err != nil {
return err
}
return x.CloseSend()
}
type DRPCPayoutsClient interface {
DRPCConn() drpc.Conn

View File

@ -13,10 +13,12 @@ import (
"storj.io/storj/private/multinodepb"
"storj.io/storj/storagenode/apikeys"
"storj.io/storj/storagenode/contact"
"storj.io/storj/storagenode/operator"
"storj.io/storj/storagenode/reputation"
"storj.io/storj/storagenode/trust"
)
// ensures that NodeEndpoint implements multinodepb.DRPCNodeServer.
var _ multinodepb.DRPCNodeServer = (*NodeEndpoint)(nil)
// NodeEndpoint implements multinode node endpoint.
@ -25,6 +27,8 @@ var _ multinodepb.DRPCNodeServer = (*NodeEndpoint)(nil)
type NodeEndpoint struct {
multinodepb.DRPCNodeUnimplementedServer
config operator.Config
log *zap.Logger
apiKeys *apikeys.Service
version version.Info
@ -34,9 +38,10 @@ type NodeEndpoint struct {
}
// NewNodeEndpoint creates new multinode node endpoint.
func NewNodeEndpoint(log *zap.Logger, apiKeys *apikeys.Service, version version.Info, contact *contact.PingStats, reputation reputation.DB, trust *trust.Pool) *NodeEndpoint {
func NewNodeEndpoint(log *zap.Logger, config operator.Config, apiKeys *apikeys.Service, version version.Info, contact *contact.PingStats, reputation reputation.DB, trust *trust.Pool) *NodeEndpoint {
return &NodeEndpoint{
log: log,
config: config,
apiKeys: apiKeys,
version: version,
contact: contact,
@ -120,3 +125,16 @@ func (node *NodeEndpoint) TrustedSatellites(ctx context.Context, req *multinodep
return response, nil
}
// Operator returns operators data.
func (node *NodeEndpoint) Operator(ctx context.Context, req *multinodepb.OperatorRequest) (_ *multinodepb.OperatorResponse, err error) {
defer mon.Task()(&ctx)(&err)
if err = authenticate(ctx, node.apiKeys, req.GetHeader()); err != nil {
return nil, rpcstatus.Wrap(rpcstatus.Unauthenticated, err)
}
return &multinodepb.OperatorResponse{
Email: node.config.Email,
Wallet: node.config.Wallet,
WalletFeatures: node.config.WalletFeatures,
}, nil
}

View File

@ -797,6 +797,7 @@ func New(log *zap.Logger, full *identity.FullIdentity, db DB, revocationDB exten
peer.Multinode.Node = multinode.NewNodeEndpoint(
peer.Log.Named("multinode:node-endpoint"),
config.Operator,
apiKeys,
peer.Version.Service.Info,
peer.Contact.PingStats,