mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 09:53:54 +01:00
5e84ba92af
The BlindedPathConfig struct is nice for invoice creation but when we use the Invoice message for viewing an invoice, it would be nicer to see an "is_blinded" field.
24423 lines
933 KiB
Go
24423 lines
933 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.33.0
|
|
// protoc v3.21.12
|
|
// source: lightning.proto
|
|
|
|
package lnrpc
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
)
|
|
|
|
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)
|
|
)
|
|
|
|
type OutputScriptType int32
|
|
|
|
const (
|
|
OutputScriptType_SCRIPT_TYPE_PUBKEY_HASH OutputScriptType = 0
|
|
OutputScriptType_SCRIPT_TYPE_SCRIPT_HASH OutputScriptType = 1
|
|
OutputScriptType_SCRIPT_TYPE_WITNESS_V0_PUBKEY_HASH OutputScriptType = 2
|
|
OutputScriptType_SCRIPT_TYPE_WITNESS_V0_SCRIPT_HASH OutputScriptType = 3
|
|
OutputScriptType_SCRIPT_TYPE_PUBKEY OutputScriptType = 4
|
|
OutputScriptType_SCRIPT_TYPE_MULTISIG OutputScriptType = 5
|
|
OutputScriptType_SCRIPT_TYPE_NULLDATA OutputScriptType = 6
|
|
OutputScriptType_SCRIPT_TYPE_NON_STANDARD OutputScriptType = 7
|
|
OutputScriptType_SCRIPT_TYPE_WITNESS_UNKNOWN OutputScriptType = 8
|
|
OutputScriptType_SCRIPT_TYPE_WITNESS_V1_TAPROOT OutputScriptType = 9
|
|
)
|
|
|
|
// Enum value maps for OutputScriptType.
|
|
var (
|
|
OutputScriptType_name = map[int32]string{
|
|
0: "SCRIPT_TYPE_PUBKEY_HASH",
|
|
1: "SCRIPT_TYPE_SCRIPT_HASH",
|
|
2: "SCRIPT_TYPE_WITNESS_V0_PUBKEY_HASH",
|
|
3: "SCRIPT_TYPE_WITNESS_V0_SCRIPT_HASH",
|
|
4: "SCRIPT_TYPE_PUBKEY",
|
|
5: "SCRIPT_TYPE_MULTISIG",
|
|
6: "SCRIPT_TYPE_NULLDATA",
|
|
7: "SCRIPT_TYPE_NON_STANDARD",
|
|
8: "SCRIPT_TYPE_WITNESS_UNKNOWN",
|
|
9: "SCRIPT_TYPE_WITNESS_V1_TAPROOT",
|
|
}
|
|
OutputScriptType_value = map[string]int32{
|
|
"SCRIPT_TYPE_PUBKEY_HASH": 0,
|
|
"SCRIPT_TYPE_SCRIPT_HASH": 1,
|
|
"SCRIPT_TYPE_WITNESS_V0_PUBKEY_HASH": 2,
|
|
"SCRIPT_TYPE_WITNESS_V0_SCRIPT_HASH": 3,
|
|
"SCRIPT_TYPE_PUBKEY": 4,
|
|
"SCRIPT_TYPE_MULTISIG": 5,
|
|
"SCRIPT_TYPE_NULLDATA": 6,
|
|
"SCRIPT_TYPE_NON_STANDARD": 7,
|
|
"SCRIPT_TYPE_WITNESS_UNKNOWN": 8,
|
|
"SCRIPT_TYPE_WITNESS_V1_TAPROOT": 9,
|
|
}
|
|
)
|
|
|
|
func (x OutputScriptType) Enum() *OutputScriptType {
|
|
p := new(OutputScriptType)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x OutputScriptType) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (OutputScriptType) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_lightning_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (OutputScriptType) Type() protoreflect.EnumType {
|
|
return &file_lightning_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x OutputScriptType) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use OutputScriptType.Descriptor instead.
|
|
func (OutputScriptType) EnumDescriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
type CoinSelectionStrategy int32
|
|
|
|
const (
|
|
// Use the coin selection strategy defined in the global configuration
|
|
// (lnd.conf).
|
|
CoinSelectionStrategy_STRATEGY_USE_GLOBAL_CONFIG CoinSelectionStrategy = 0
|
|
// Select the largest available coins first during coin selection.
|
|
CoinSelectionStrategy_STRATEGY_LARGEST CoinSelectionStrategy = 1
|
|
// Randomly select the available coins during coin selection.
|
|
CoinSelectionStrategy_STRATEGY_RANDOM CoinSelectionStrategy = 2
|
|
)
|
|
|
|
// Enum value maps for CoinSelectionStrategy.
|
|
var (
|
|
CoinSelectionStrategy_name = map[int32]string{
|
|
0: "STRATEGY_USE_GLOBAL_CONFIG",
|
|
1: "STRATEGY_LARGEST",
|
|
2: "STRATEGY_RANDOM",
|
|
}
|
|
CoinSelectionStrategy_value = map[string]int32{
|
|
"STRATEGY_USE_GLOBAL_CONFIG": 0,
|
|
"STRATEGY_LARGEST": 1,
|
|
"STRATEGY_RANDOM": 2,
|
|
}
|
|
)
|
|
|
|
func (x CoinSelectionStrategy) Enum() *CoinSelectionStrategy {
|
|
p := new(CoinSelectionStrategy)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x CoinSelectionStrategy) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (CoinSelectionStrategy) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_lightning_proto_enumTypes[1].Descriptor()
|
|
}
|
|
|
|
func (CoinSelectionStrategy) Type() protoreflect.EnumType {
|
|
return &file_lightning_proto_enumTypes[1]
|
|
}
|
|
|
|
func (x CoinSelectionStrategy) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use CoinSelectionStrategy.Descriptor instead.
|
|
func (CoinSelectionStrategy) EnumDescriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
// `AddressType` has to be one of:
|
|
//
|
|
// - `p2wkh`: Pay to witness key hash (`WITNESS_PUBKEY_HASH` = 0)
|
|
// - `np2wkh`: Pay to nested witness key hash (`NESTED_PUBKEY_HASH` = 1)
|
|
// - `p2tr`: Pay to taproot pubkey (`TAPROOT_PUBKEY` = 4)
|
|
type AddressType int32
|
|
|
|
const (
|
|
AddressType_WITNESS_PUBKEY_HASH AddressType = 0
|
|
AddressType_NESTED_PUBKEY_HASH AddressType = 1
|
|
AddressType_UNUSED_WITNESS_PUBKEY_HASH AddressType = 2
|
|
AddressType_UNUSED_NESTED_PUBKEY_HASH AddressType = 3
|
|
AddressType_TAPROOT_PUBKEY AddressType = 4
|
|
AddressType_UNUSED_TAPROOT_PUBKEY AddressType = 5
|
|
)
|
|
|
|
// Enum value maps for AddressType.
|
|
var (
|
|
AddressType_name = map[int32]string{
|
|
0: "WITNESS_PUBKEY_HASH",
|
|
1: "NESTED_PUBKEY_HASH",
|
|
2: "UNUSED_WITNESS_PUBKEY_HASH",
|
|
3: "UNUSED_NESTED_PUBKEY_HASH",
|
|
4: "TAPROOT_PUBKEY",
|
|
5: "UNUSED_TAPROOT_PUBKEY",
|
|
}
|
|
AddressType_value = map[string]int32{
|
|
"WITNESS_PUBKEY_HASH": 0,
|
|
"NESTED_PUBKEY_HASH": 1,
|
|
"UNUSED_WITNESS_PUBKEY_HASH": 2,
|
|
"UNUSED_NESTED_PUBKEY_HASH": 3,
|
|
"TAPROOT_PUBKEY": 4,
|
|
"UNUSED_TAPROOT_PUBKEY": 5,
|
|
}
|
|
)
|
|
|
|
func (x AddressType) Enum() *AddressType {
|
|
p := new(AddressType)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x AddressType) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (AddressType) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_lightning_proto_enumTypes[2].Descriptor()
|
|
}
|
|
|
|
func (AddressType) Type() protoreflect.EnumType {
|
|
return &file_lightning_proto_enumTypes[2]
|
|
}
|
|
|
|
func (x AddressType) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use AddressType.Descriptor instead.
|
|
func (AddressType) EnumDescriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
type CommitmentType int32
|
|
|
|
const (
|
|
// Returned when the commitment type isn't known or unavailable.
|
|
CommitmentType_UNKNOWN_COMMITMENT_TYPE CommitmentType = 0
|
|
// A channel using the legacy commitment format having tweaked to_remote
|
|
// keys.
|
|
CommitmentType_LEGACY CommitmentType = 1
|
|
// A channel that uses the modern commitment format where the key in the
|
|
// output of the remote party does not change each state. This makes back
|
|
// up and recovery easier as when the channel is closed, the funds go
|
|
// directly to that key.
|
|
CommitmentType_STATIC_REMOTE_KEY CommitmentType = 2
|
|
// A channel that uses a commitment format that has anchor outputs on the
|
|
// commitments, allowing fee bumping after a force close transaction has
|
|
// been broadcast.
|
|
CommitmentType_ANCHORS CommitmentType = 3
|
|
// A channel that uses a commitment type that builds upon the anchors
|
|
// commitment format, but in addition requires a CLTV clause to spend outputs
|
|
// paying to the channel initiator. This is intended for use on leased channels
|
|
// to guarantee that the channel initiator has no incentives to close a leased
|
|
// channel before its maturity date.
|
|
CommitmentType_SCRIPT_ENFORCED_LEASE CommitmentType = 4
|
|
// TODO(roasbeef): need script enforce mirror type for the above as well?
|
|
CommitmentType_SIMPLE_TAPROOT CommitmentType = 5
|
|
)
|
|
|
|
// Enum value maps for CommitmentType.
|
|
var (
|
|
CommitmentType_name = map[int32]string{
|
|
0: "UNKNOWN_COMMITMENT_TYPE",
|
|
1: "LEGACY",
|
|
2: "STATIC_REMOTE_KEY",
|
|
3: "ANCHORS",
|
|
4: "SCRIPT_ENFORCED_LEASE",
|
|
5: "SIMPLE_TAPROOT",
|
|
}
|
|
CommitmentType_value = map[string]int32{
|
|
"UNKNOWN_COMMITMENT_TYPE": 0,
|
|
"LEGACY": 1,
|
|
"STATIC_REMOTE_KEY": 2,
|
|
"ANCHORS": 3,
|
|
"SCRIPT_ENFORCED_LEASE": 4,
|
|
"SIMPLE_TAPROOT": 5,
|
|
}
|
|
)
|
|
|
|
func (x CommitmentType) Enum() *CommitmentType {
|
|
p := new(CommitmentType)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x CommitmentType) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (CommitmentType) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_lightning_proto_enumTypes[3].Descriptor()
|
|
}
|
|
|
|
func (CommitmentType) Type() protoreflect.EnumType {
|
|
return &file_lightning_proto_enumTypes[3]
|
|
}
|
|
|
|
func (x CommitmentType) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use CommitmentType.Descriptor instead.
|
|
func (CommitmentType) EnumDescriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
type Initiator int32
|
|
|
|
const (
|
|
Initiator_INITIATOR_UNKNOWN Initiator = 0
|
|
Initiator_INITIATOR_LOCAL Initiator = 1
|
|
Initiator_INITIATOR_REMOTE Initiator = 2
|
|
Initiator_INITIATOR_BOTH Initiator = 3
|
|
)
|
|
|
|
// Enum value maps for Initiator.
|
|
var (
|
|
Initiator_name = map[int32]string{
|
|
0: "INITIATOR_UNKNOWN",
|
|
1: "INITIATOR_LOCAL",
|
|
2: "INITIATOR_REMOTE",
|
|
3: "INITIATOR_BOTH",
|
|
}
|
|
Initiator_value = map[string]int32{
|
|
"INITIATOR_UNKNOWN": 0,
|
|
"INITIATOR_LOCAL": 1,
|
|
"INITIATOR_REMOTE": 2,
|
|
"INITIATOR_BOTH": 3,
|
|
}
|
|
)
|
|
|
|
func (x Initiator) Enum() *Initiator {
|
|
p := new(Initiator)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x Initiator) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (Initiator) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_lightning_proto_enumTypes[4].Descriptor()
|
|
}
|
|
|
|
func (Initiator) Type() protoreflect.EnumType {
|
|
return &file_lightning_proto_enumTypes[4]
|
|
}
|
|
|
|
func (x Initiator) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use Initiator.Descriptor instead.
|
|
func (Initiator) EnumDescriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
type ResolutionType int32
|
|
|
|
const (
|
|
ResolutionType_TYPE_UNKNOWN ResolutionType = 0
|
|
// We resolved an anchor output.
|
|
ResolutionType_ANCHOR ResolutionType = 1
|
|
// We are resolving an incoming htlc on chain. This if this htlc is
|
|
// claimed, we swept the incoming htlc with the preimage. If it is timed
|
|
// out, our peer swept the timeout path.
|
|
ResolutionType_INCOMING_HTLC ResolutionType = 2
|
|
// We are resolving an outgoing htlc on chain. If this htlc is claimed,
|
|
// the remote party swept the htlc with the preimage. If it is timed out,
|
|
// we swept it with the timeout path.
|
|
ResolutionType_OUTGOING_HTLC ResolutionType = 3
|
|
// We force closed and need to sweep our time locked commitment output.
|
|
ResolutionType_COMMIT ResolutionType = 4
|
|
)
|
|
|
|
// Enum value maps for ResolutionType.
|
|
var (
|
|
ResolutionType_name = map[int32]string{
|
|
0: "TYPE_UNKNOWN",
|
|
1: "ANCHOR",
|
|
2: "INCOMING_HTLC",
|
|
3: "OUTGOING_HTLC",
|
|
4: "COMMIT",
|
|
}
|
|
ResolutionType_value = map[string]int32{
|
|
"TYPE_UNKNOWN": 0,
|
|
"ANCHOR": 1,
|
|
"INCOMING_HTLC": 2,
|
|
"OUTGOING_HTLC": 3,
|
|
"COMMIT": 4,
|
|
}
|
|
)
|
|
|
|
func (x ResolutionType) Enum() *ResolutionType {
|
|
p := new(ResolutionType)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x ResolutionType) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (ResolutionType) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_lightning_proto_enumTypes[5].Descriptor()
|
|
}
|
|
|
|
func (ResolutionType) Type() protoreflect.EnumType {
|
|
return &file_lightning_proto_enumTypes[5]
|
|
}
|
|
|
|
func (x ResolutionType) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use ResolutionType.Descriptor instead.
|
|
func (ResolutionType) EnumDescriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
type ResolutionOutcome int32
|
|
|
|
const (
|
|
// Outcome unknown.
|
|
ResolutionOutcome_OUTCOME_UNKNOWN ResolutionOutcome = 0
|
|
// An output was claimed on chain.
|
|
ResolutionOutcome_CLAIMED ResolutionOutcome = 1
|
|
// An output was left unclaimed on chain.
|
|
ResolutionOutcome_UNCLAIMED ResolutionOutcome = 2
|
|
// ResolverOutcomeAbandoned indicates that an output that we did not
|
|
// claim on chain, for example an anchor that we did not sweep and a
|
|
// third party claimed on chain, or a htlc that we could not decode
|
|
// so left unclaimed.
|
|
ResolutionOutcome_ABANDONED ResolutionOutcome = 3
|
|
// If we force closed our channel, our htlcs need to be claimed in two
|
|
// stages. This outcome represents the broadcast of a timeout or success
|
|
// transaction for this two stage htlc claim.
|
|
ResolutionOutcome_FIRST_STAGE ResolutionOutcome = 4
|
|
// A htlc was timed out on chain.
|
|
ResolutionOutcome_TIMEOUT ResolutionOutcome = 5
|
|
)
|
|
|
|
// Enum value maps for ResolutionOutcome.
|
|
var (
|
|
ResolutionOutcome_name = map[int32]string{
|
|
0: "OUTCOME_UNKNOWN",
|
|
1: "CLAIMED",
|
|
2: "UNCLAIMED",
|
|
3: "ABANDONED",
|
|
4: "FIRST_STAGE",
|
|
5: "TIMEOUT",
|
|
}
|
|
ResolutionOutcome_value = map[string]int32{
|
|
"OUTCOME_UNKNOWN": 0,
|
|
"CLAIMED": 1,
|
|
"UNCLAIMED": 2,
|
|
"ABANDONED": 3,
|
|
"FIRST_STAGE": 4,
|
|
"TIMEOUT": 5,
|
|
}
|
|
)
|
|
|
|
func (x ResolutionOutcome) Enum() *ResolutionOutcome {
|
|
p := new(ResolutionOutcome)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x ResolutionOutcome) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (ResolutionOutcome) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_lightning_proto_enumTypes[6].Descriptor()
|
|
}
|
|
|
|
func (ResolutionOutcome) Type() protoreflect.EnumType {
|
|
return &file_lightning_proto_enumTypes[6]
|
|
}
|
|
|
|
func (x ResolutionOutcome) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use ResolutionOutcome.Descriptor instead.
|
|
func (ResolutionOutcome) EnumDescriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
type NodeMetricType int32
|
|
|
|
const (
|
|
NodeMetricType_UNKNOWN NodeMetricType = 0
|
|
NodeMetricType_BETWEENNESS_CENTRALITY NodeMetricType = 1
|
|
)
|
|
|
|
// Enum value maps for NodeMetricType.
|
|
var (
|
|
NodeMetricType_name = map[int32]string{
|
|
0: "UNKNOWN",
|
|
1: "BETWEENNESS_CENTRALITY",
|
|
}
|
|
NodeMetricType_value = map[string]int32{
|
|
"UNKNOWN": 0,
|
|
"BETWEENNESS_CENTRALITY": 1,
|
|
}
|
|
)
|
|
|
|
func (x NodeMetricType) Enum() *NodeMetricType {
|
|
p := new(NodeMetricType)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x NodeMetricType) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (NodeMetricType) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_lightning_proto_enumTypes[7].Descriptor()
|
|
}
|
|
|
|
func (NodeMetricType) Type() protoreflect.EnumType {
|
|
return &file_lightning_proto_enumTypes[7]
|
|
}
|
|
|
|
func (x NodeMetricType) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use NodeMetricType.Descriptor instead.
|
|
func (NodeMetricType) EnumDescriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
type InvoiceHTLCState int32
|
|
|
|
const (
|
|
InvoiceHTLCState_ACCEPTED InvoiceHTLCState = 0
|
|
InvoiceHTLCState_SETTLED InvoiceHTLCState = 1
|
|
InvoiceHTLCState_CANCELED InvoiceHTLCState = 2
|
|
)
|
|
|
|
// Enum value maps for InvoiceHTLCState.
|
|
var (
|
|
InvoiceHTLCState_name = map[int32]string{
|
|
0: "ACCEPTED",
|
|
1: "SETTLED",
|
|
2: "CANCELED",
|
|
}
|
|
InvoiceHTLCState_value = map[string]int32{
|
|
"ACCEPTED": 0,
|
|
"SETTLED": 1,
|
|
"CANCELED": 2,
|
|
}
|
|
)
|
|
|
|
func (x InvoiceHTLCState) Enum() *InvoiceHTLCState {
|
|
p := new(InvoiceHTLCState)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x InvoiceHTLCState) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (InvoiceHTLCState) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_lightning_proto_enumTypes[8].Descriptor()
|
|
}
|
|
|
|
func (InvoiceHTLCState) Type() protoreflect.EnumType {
|
|
return &file_lightning_proto_enumTypes[8]
|
|
}
|
|
|
|
func (x InvoiceHTLCState) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use InvoiceHTLCState.Descriptor instead.
|
|
func (InvoiceHTLCState) EnumDescriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
type PaymentFailureReason int32
|
|
|
|
const (
|
|
// Payment isn't failed (yet).
|
|
PaymentFailureReason_FAILURE_REASON_NONE PaymentFailureReason = 0
|
|
// There are more routes to try, but the payment timeout was exceeded.
|
|
PaymentFailureReason_FAILURE_REASON_TIMEOUT PaymentFailureReason = 1
|
|
// All possible routes were tried and failed permanently. Or were no
|
|
// routes to the destination at all.
|
|
PaymentFailureReason_FAILURE_REASON_NO_ROUTE PaymentFailureReason = 2
|
|
// A non-recoverable error has occured.
|
|
PaymentFailureReason_FAILURE_REASON_ERROR PaymentFailureReason = 3
|
|
// Payment details incorrect (unknown hash, invalid amt or
|
|
// invalid final cltv delta)
|
|
PaymentFailureReason_FAILURE_REASON_INCORRECT_PAYMENT_DETAILS PaymentFailureReason = 4
|
|
// Insufficient local balance.
|
|
PaymentFailureReason_FAILURE_REASON_INSUFFICIENT_BALANCE PaymentFailureReason = 5
|
|
// The payment was canceled.
|
|
PaymentFailureReason_FAILURE_REASON_CANCELED PaymentFailureReason = 6
|
|
)
|
|
|
|
// Enum value maps for PaymentFailureReason.
|
|
var (
|
|
PaymentFailureReason_name = map[int32]string{
|
|
0: "FAILURE_REASON_NONE",
|
|
1: "FAILURE_REASON_TIMEOUT",
|
|
2: "FAILURE_REASON_NO_ROUTE",
|
|
3: "FAILURE_REASON_ERROR",
|
|
4: "FAILURE_REASON_INCORRECT_PAYMENT_DETAILS",
|
|
5: "FAILURE_REASON_INSUFFICIENT_BALANCE",
|
|
6: "FAILURE_REASON_CANCELED",
|
|
}
|
|
PaymentFailureReason_value = map[string]int32{
|
|
"FAILURE_REASON_NONE": 0,
|
|
"FAILURE_REASON_TIMEOUT": 1,
|
|
"FAILURE_REASON_NO_ROUTE": 2,
|
|
"FAILURE_REASON_ERROR": 3,
|
|
"FAILURE_REASON_INCORRECT_PAYMENT_DETAILS": 4,
|
|
"FAILURE_REASON_INSUFFICIENT_BALANCE": 5,
|
|
"FAILURE_REASON_CANCELED": 6,
|
|
}
|
|
)
|
|
|
|
func (x PaymentFailureReason) Enum() *PaymentFailureReason {
|
|
p := new(PaymentFailureReason)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x PaymentFailureReason) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (PaymentFailureReason) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_lightning_proto_enumTypes[9].Descriptor()
|
|
}
|
|
|
|
func (PaymentFailureReason) Type() protoreflect.EnumType {
|
|
return &file_lightning_proto_enumTypes[9]
|
|
}
|
|
|
|
func (x PaymentFailureReason) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use PaymentFailureReason.Descriptor instead.
|
|
func (PaymentFailureReason) EnumDescriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
type FeatureBit int32
|
|
|
|
const (
|
|
FeatureBit_DATALOSS_PROTECT_REQ FeatureBit = 0
|
|
FeatureBit_DATALOSS_PROTECT_OPT FeatureBit = 1
|
|
FeatureBit_INITIAL_ROUING_SYNC FeatureBit = 3
|
|
FeatureBit_UPFRONT_SHUTDOWN_SCRIPT_REQ FeatureBit = 4
|
|
FeatureBit_UPFRONT_SHUTDOWN_SCRIPT_OPT FeatureBit = 5
|
|
FeatureBit_GOSSIP_QUERIES_REQ FeatureBit = 6
|
|
FeatureBit_GOSSIP_QUERIES_OPT FeatureBit = 7
|
|
FeatureBit_TLV_ONION_REQ FeatureBit = 8
|
|
FeatureBit_TLV_ONION_OPT FeatureBit = 9
|
|
FeatureBit_EXT_GOSSIP_QUERIES_REQ FeatureBit = 10
|
|
FeatureBit_EXT_GOSSIP_QUERIES_OPT FeatureBit = 11
|
|
FeatureBit_STATIC_REMOTE_KEY_REQ FeatureBit = 12
|
|
FeatureBit_STATIC_REMOTE_KEY_OPT FeatureBit = 13
|
|
FeatureBit_PAYMENT_ADDR_REQ FeatureBit = 14
|
|
FeatureBit_PAYMENT_ADDR_OPT FeatureBit = 15
|
|
FeatureBit_MPP_REQ FeatureBit = 16
|
|
FeatureBit_MPP_OPT FeatureBit = 17
|
|
FeatureBit_WUMBO_CHANNELS_REQ FeatureBit = 18
|
|
FeatureBit_WUMBO_CHANNELS_OPT FeatureBit = 19
|
|
FeatureBit_ANCHORS_REQ FeatureBit = 20
|
|
FeatureBit_ANCHORS_OPT FeatureBit = 21
|
|
FeatureBit_ANCHORS_ZERO_FEE_HTLC_REQ FeatureBit = 22
|
|
FeatureBit_ANCHORS_ZERO_FEE_HTLC_OPT FeatureBit = 23
|
|
FeatureBit_ROUTE_BLINDING_REQUIRED FeatureBit = 24
|
|
FeatureBit_ROUTE_BLINDING_OPTIONAL FeatureBit = 25
|
|
FeatureBit_AMP_REQ FeatureBit = 30
|
|
FeatureBit_AMP_OPT FeatureBit = 31
|
|
)
|
|
|
|
// Enum value maps for FeatureBit.
|
|
var (
|
|
FeatureBit_name = map[int32]string{
|
|
0: "DATALOSS_PROTECT_REQ",
|
|
1: "DATALOSS_PROTECT_OPT",
|
|
3: "INITIAL_ROUING_SYNC",
|
|
4: "UPFRONT_SHUTDOWN_SCRIPT_REQ",
|
|
5: "UPFRONT_SHUTDOWN_SCRIPT_OPT",
|
|
6: "GOSSIP_QUERIES_REQ",
|
|
7: "GOSSIP_QUERIES_OPT",
|
|
8: "TLV_ONION_REQ",
|
|
9: "TLV_ONION_OPT",
|
|
10: "EXT_GOSSIP_QUERIES_REQ",
|
|
11: "EXT_GOSSIP_QUERIES_OPT",
|
|
12: "STATIC_REMOTE_KEY_REQ",
|
|
13: "STATIC_REMOTE_KEY_OPT",
|
|
14: "PAYMENT_ADDR_REQ",
|
|
15: "PAYMENT_ADDR_OPT",
|
|
16: "MPP_REQ",
|
|
17: "MPP_OPT",
|
|
18: "WUMBO_CHANNELS_REQ",
|
|
19: "WUMBO_CHANNELS_OPT",
|
|
20: "ANCHORS_REQ",
|
|
21: "ANCHORS_OPT",
|
|
22: "ANCHORS_ZERO_FEE_HTLC_REQ",
|
|
23: "ANCHORS_ZERO_FEE_HTLC_OPT",
|
|
24: "ROUTE_BLINDING_REQUIRED",
|
|
25: "ROUTE_BLINDING_OPTIONAL",
|
|
30: "AMP_REQ",
|
|
31: "AMP_OPT",
|
|
}
|
|
FeatureBit_value = map[string]int32{
|
|
"DATALOSS_PROTECT_REQ": 0,
|
|
"DATALOSS_PROTECT_OPT": 1,
|
|
"INITIAL_ROUING_SYNC": 3,
|
|
"UPFRONT_SHUTDOWN_SCRIPT_REQ": 4,
|
|
"UPFRONT_SHUTDOWN_SCRIPT_OPT": 5,
|
|
"GOSSIP_QUERIES_REQ": 6,
|
|
"GOSSIP_QUERIES_OPT": 7,
|
|
"TLV_ONION_REQ": 8,
|
|
"TLV_ONION_OPT": 9,
|
|
"EXT_GOSSIP_QUERIES_REQ": 10,
|
|
"EXT_GOSSIP_QUERIES_OPT": 11,
|
|
"STATIC_REMOTE_KEY_REQ": 12,
|
|
"STATIC_REMOTE_KEY_OPT": 13,
|
|
"PAYMENT_ADDR_REQ": 14,
|
|
"PAYMENT_ADDR_OPT": 15,
|
|
"MPP_REQ": 16,
|
|
"MPP_OPT": 17,
|
|
"WUMBO_CHANNELS_REQ": 18,
|
|
"WUMBO_CHANNELS_OPT": 19,
|
|
"ANCHORS_REQ": 20,
|
|
"ANCHORS_OPT": 21,
|
|
"ANCHORS_ZERO_FEE_HTLC_REQ": 22,
|
|
"ANCHORS_ZERO_FEE_HTLC_OPT": 23,
|
|
"ROUTE_BLINDING_REQUIRED": 24,
|
|
"ROUTE_BLINDING_OPTIONAL": 25,
|
|
"AMP_REQ": 30,
|
|
"AMP_OPT": 31,
|
|
}
|
|
)
|
|
|
|
func (x FeatureBit) Enum() *FeatureBit {
|
|
p := new(FeatureBit)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x FeatureBit) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (FeatureBit) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_lightning_proto_enumTypes[10].Descriptor()
|
|
}
|
|
|
|
func (FeatureBit) Type() protoreflect.EnumType {
|
|
return &file_lightning_proto_enumTypes[10]
|
|
}
|
|
|
|
func (x FeatureBit) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use FeatureBit.Descriptor instead.
|
|
func (FeatureBit) EnumDescriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
type UpdateFailure int32
|
|
|
|
const (
|
|
UpdateFailure_UPDATE_FAILURE_UNKNOWN UpdateFailure = 0
|
|
UpdateFailure_UPDATE_FAILURE_PENDING UpdateFailure = 1
|
|
UpdateFailure_UPDATE_FAILURE_NOT_FOUND UpdateFailure = 2
|
|
UpdateFailure_UPDATE_FAILURE_INTERNAL_ERR UpdateFailure = 3
|
|
UpdateFailure_UPDATE_FAILURE_INVALID_PARAMETER UpdateFailure = 4
|
|
)
|
|
|
|
// Enum value maps for UpdateFailure.
|
|
var (
|
|
UpdateFailure_name = map[int32]string{
|
|
0: "UPDATE_FAILURE_UNKNOWN",
|
|
1: "UPDATE_FAILURE_PENDING",
|
|
2: "UPDATE_FAILURE_NOT_FOUND",
|
|
3: "UPDATE_FAILURE_INTERNAL_ERR",
|
|
4: "UPDATE_FAILURE_INVALID_PARAMETER",
|
|
}
|
|
UpdateFailure_value = map[string]int32{
|
|
"UPDATE_FAILURE_UNKNOWN": 0,
|
|
"UPDATE_FAILURE_PENDING": 1,
|
|
"UPDATE_FAILURE_NOT_FOUND": 2,
|
|
"UPDATE_FAILURE_INTERNAL_ERR": 3,
|
|
"UPDATE_FAILURE_INVALID_PARAMETER": 4,
|
|
}
|
|
)
|
|
|
|
func (x UpdateFailure) Enum() *UpdateFailure {
|
|
p := new(UpdateFailure)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x UpdateFailure) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (UpdateFailure) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_lightning_proto_enumTypes[11].Descriptor()
|
|
}
|
|
|
|
func (UpdateFailure) Type() protoreflect.EnumType {
|
|
return &file_lightning_proto_enumTypes[11]
|
|
}
|
|
|
|
func (x UpdateFailure) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use UpdateFailure.Descriptor instead.
|
|
func (UpdateFailure) EnumDescriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
type ChannelCloseSummary_ClosureType int32
|
|
|
|
const (
|
|
ChannelCloseSummary_COOPERATIVE_CLOSE ChannelCloseSummary_ClosureType = 0
|
|
ChannelCloseSummary_LOCAL_FORCE_CLOSE ChannelCloseSummary_ClosureType = 1
|
|
ChannelCloseSummary_REMOTE_FORCE_CLOSE ChannelCloseSummary_ClosureType = 2
|
|
ChannelCloseSummary_BREACH_CLOSE ChannelCloseSummary_ClosureType = 3
|
|
ChannelCloseSummary_FUNDING_CANCELED ChannelCloseSummary_ClosureType = 4
|
|
ChannelCloseSummary_ABANDONED ChannelCloseSummary_ClosureType = 5
|
|
)
|
|
|
|
// Enum value maps for ChannelCloseSummary_ClosureType.
|
|
var (
|
|
ChannelCloseSummary_ClosureType_name = map[int32]string{
|
|
0: "COOPERATIVE_CLOSE",
|
|
1: "LOCAL_FORCE_CLOSE",
|
|
2: "REMOTE_FORCE_CLOSE",
|
|
3: "BREACH_CLOSE",
|
|
4: "FUNDING_CANCELED",
|
|
5: "ABANDONED",
|
|
}
|
|
ChannelCloseSummary_ClosureType_value = map[string]int32{
|
|
"COOPERATIVE_CLOSE": 0,
|
|
"LOCAL_FORCE_CLOSE": 1,
|
|
"REMOTE_FORCE_CLOSE": 2,
|
|
"BREACH_CLOSE": 3,
|
|
"FUNDING_CANCELED": 4,
|
|
"ABANDONED": 5,
|
|
}
|
|
)
|
|
|
|
func (x ChannelCloseSummary_ClosureType) Enum() *ChannelCloseSummary_ClosureType {
|
|
p := new(ChannelCloseSummary_ClosureType)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x ChannelCloseSummary_ClosureType) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (ChannelCloseSummary_ClosureType) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_lightning_proto_enumTypes[12].Descriptor()
|
|
}
|
|
|
|
func (ChannelCloseSummary_ClosureType) Type() protoreflect.EnumType {
|
|
return &file_lightning_proto_enumTypes[12]
|
|
}
|
|
|
|
func (x ChannelCloseSummary_ClosureType) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use ChannelCloseSummary_ClosureType.Descriptor instead.
|
|
func (ChannelCloseSummary_ClosureType) EnumDescriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{47, 0}
|
|
}
|
|
|
|
type Peer_SyncType int32
|
|
|
|
const (
|
|
// Denotes that we cannot determine the peer's current sync type.
|
|
Peer_UNKNOWN_SYNC Peer_SyncType = 0
|
|
// Denotes that we are actively receiving new graph updates from the peer.
|
|
Peer_ACTIVE_SYNC Peer_SyncType = 1
|
|
// Denotes that we are not receiving new graph updates from the peer.
|
|
Peer_PASSIVE_SYNC Peer_SyncType = 2
|
|
// Denotes that this peer is pinned into an active sync.
|
|
Peer_PINNED_SYNC Peer_SyncType = 3
|
|
)
|
|
|
|
// Enum value maps for Peer_SyncType.
|
|
var (
|
|
Peer_SyncType_name = map[int32]string{
|
|
0: "UNKNOWN_SYNC",
|
|
1: "ACTIVE_SYNC",
|
|
2: "PASSIVE_SYNC",
|
|
3: "PINNED_SYNC",
|
|
}
|
|
Peer_SyncType_value = map[string]int32{
|
|
"UNKNOWN_SYNC": 0,
|
|
"ACTIVE_SYNC": 1,
|
|
"PASSIVE_SYNC": 2,
|
|
"PINNED_SYNC": 3,
|
|
}
|
|
)
|
|
|
|
func (x Peer_SyncType) Enum() *Peer_SyncType {
|
|
p := new(Peer_SyncType)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x Peer_SyncType) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (Peer_SyncType) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_lightning_proto_enumTypes[13].Descriptor()
|
|
}
|
|
|
|
func (Peer_SyncType) Type() protoreflect.EnumType {
|
|
return &file_lightning_proto_enumTypes[13]
|
|
}
|
|
|
|
func (x Peer_SyncType) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use Peer_SyncType.Descriptor instead.
|
|
func (Peer_SyncType) EnumDescriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{51, 0}
|
|
}
|
|
|
|
type PeerEvent_EventType int32
|
|
|
|
const (
|
|
PeerEvent_PEER_ONLINE PeerEvent_EventType = 0
|
|
PeerEvent_PEER_OFFLINE PeerEvent_EventType = 1
|
|
)
|
|
|
|
// Enum value maps for PeerEvent_EventType.
|
|
var (
|
|
PeerEvent_EventType_name = map[int32]string{
|
|
0: "PEER_ONLINE",
|
|
1: "PEER_OFFLINE",
|
|
}
|
|
PeerEvent_EventType_value = map[string]int32{
|
|
"PEER_ONLINE": 0,
|
|
"PEER_OFFLINE": 1,
|
|
}
|
|
)
|
|
|
|
func (x PeerEvent_EventType) Enum() *PeerEvent_EventType {
|
|
p := new(PeerEvent_EventType)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x PeerEvent_EventType) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (PeerEvent_EventType) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_lightning_proto_enumTypes[14].Descriptor()
|
|
}
|
|
|
|
func (PeerEvent_EventType) Type() protoreflect.EnumType {
|
|
return &file_lightning_proto_enumTypes[14]
|
|
}
|
|
|
|
func (x PeerEvent_EventType) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use PeerEvent_EventType.Descriptor instead.
|
|
func (PeerEvent_EventType) EnumDescriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{56, 0}
|
|
}
|
|
|
|
// There are three resolution states for the anchor:
|
|
// limbo, lost and recovered. Derive the current state
|
|
// from the limbo and recovered balances.
|
|
type PendingChannelsResponse_ForceClosedChannel_AnchorState int32
|
|
|
|
const (
|
|
// The recovered_balance is zero and limbo_balance is non-zero.
|
|
PendingChannelsResponse_ForceClosedChannel_LIMBO PendingChannelsResponse_ForceClosedChannel_AnchorState = 0
|
|
// The recovered_balance is non-zero.
|
|
PendingChannelsResponse_ForceClosedChannel_RECOVERED PendingChannelsResponse_ForceClosedChannel_AnchorState = 1
|
|
// A state that is neither LIMBO nor RECOVERED.
|
|
PendingChannelsResponse_ForceClosedChannel_LOST PendingChannelsResponse_ForceClosedChannel_AnchorState = 2
|
|
)
|
|
|
|
// Enum value maps for PendingChannelsResponse_ForceClosedChannel_AnchorState.
|
|
var (
|
|
PendingChannelsResponse_ForceClosedChannel_AnchorState_name = map[int32]string{
|
|
0: "LIMBO",
|
|
1: "RECOVERED",
|
|
2: "LOST",
|
|
}
|
|
PendingChannelsResponse_ForceClosedChannel_AnchorState_value = map[string]int32{
|
|
"LIMBO": 0,
|
|
"RECOVERED": 1,
|
|
"LOST": 2,
|
|
}
|
|
)
|
|
|
|
func (x PendingChannelsResponse_ForceClosedChannel_AnchorState) Enum() *PendingChannelsResponse_ForceClosedChannel_AnchorState {
|
|
p := new(PendingChannelsResponse_ForceClosedChannel_AnchorState)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x PendingChannelsResponse_ForceClosedChannel_AnchorState) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (PendingChannelsResponse_ForceClosedChannel_AnchorState) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_lightning_proto_enumTypes[15].Descriptor()
|
|
}
|
|
|
|
func (PendingChannelsResponse_ForceClosedChannel_AnchorState) Type() protoreflect.EnumType {
|
|
return &file_lightning_proto_enumTypes[15]
|
|
}
|
|
|
|
func (x PendingChannelsResponse_ForceClosedChannel_AnchorState) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use PendingChannelsResponse_ForceClosedChannel_AnchorState.Descriptor instead.
|
|
func (PendingChannelsResponse_ForceClosedChannel_AnchorState) EnumDescriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{89, 5, 0}
|
|
}
|
|
|
|
type ChannelEventUpdate_UpdateType int32
|
|
|
|
const (
|
|
ChannelEventUpdate_OPEN_CHANNEL ChannelEventUpdate_UpdateType = 0
|
|
ChannelEventUpdate_CLOSED_CHANNEL ChannelEventUpdate_UpdateType = 1
|
|
ChannelEventUpdate_ACTIVE_CHANNEL ChannelEventUpdate_UpdateType = 2
|
|
ChannelEventUpdate_INACTIVE_CHANNEL ChannelEventUpdate_UpdateType = 3
|
|
ChannelEventUpdate_PENDING_OPEN_CHANNEL ChannelEventUpdate_UpdateType = 4
|
|
ChannelEventUpdate_FULLY_RESOLVED_CHANNEL ChannelEventUpdate_UpdateType = 5
|
|
)
|
|
|
|
// Enum value maps for ChannelEventUpdate_UpdateType.
|
|
var (
|
|
ChannelEventUpdate_UpdateType_name = map[int32]string{
|
|
0: "OPEN_CHANNEL",
|
|
1: "CLOSED_CHANNEL",
|
|
2: "ACTIVE_CHANNEL",
|
|
3: "INACTIVE_CHANNEL",
|
|
4: "PENDING_OPEN_CHANNEL",
|
|
5: "FULLY_RESOLVED_CHANNEL",
|
|
}
|
|
ChannelEventUpdate_UpdateType_value = map[string]int32{
|
|
"OPEN_CHANNEL": 0,
|
|
"CLOSED_CHANNEL": 1,
|
|
"ACTIVE_CHANNEL": 2,
|
|
"INACTIVE_CHANNEL": 3,
|
|
"PENDING_OPEN_CHANNEL": 4,
|
|
"FULLY_RESOLVED_CHANNEL": 5,
|
|
}
|
|
)
|
|
|
|
func (x ChannelEventUpdate_UpdateType) Enum() *ChannelEventUpdate_UpdateType {
|
|
p := new(ChannelEventUpdate_UpdateType)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x ChannelEventUpdate_UpdateType) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (ChannelEventUpdate_UpdateType) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_lightning_proto_enumTypes[16].Descriptor()
|
|
}
|
|
|
|
func (ChannelEventUpdate_UpdateType) Type() protoreflect.EnumType {
|
|
return &file_lightning_proto_enumTypes[16]
|
|
}
|
|
|
|
func (x ChannelEventUpdate_UpdateType) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use ChannelEventUpdate_UpdateType.Descriptor instead.
|
|
func (ChannelEventUpdate_UpdateType) EnumDescriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{91, 0}
|
|
}
|
|
|
|
type Invoice_InvoiceState int32
|
|
|
|
const (
|
|
Invoice_OPEN Invoice_InvoiceState = 0
|
|
Invoice_SETTLED Invoice_InvoiceState = 1
|
|
Invoice_CANCELED Invoice_InvoiceState = 2
|
|
Invoice_ACCEPTED Invoice_InvoiceState = 3
|
|
)
|
|
|
|
// Enum value maps for Invoice_InvoiceState.
|
|
var (
|
|
Invoice_InvoiceState_name = map[int32]string{
|
|
0: "OPEN",
|
|
1: "SETTLED",
|
|
2: "CANCELED",
|
|
3: "ACCEPTED",
|
|
}
|
|
Invoice_InvoiceState_value = map[string]int32{
|
|
"OPEN": 0,
|
|
"SETTLED": 1,
|
|
"CANCELED": 2,
|
|
"ACCEPTED": 3,
|
|
}
|
|
)
|
|
|
|
func (x Invoice_InvoiceState) Enum() *Invoice_InvoiceState {
|
|
p := new(Invoice_InvoiceState)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x Invoice_InvoiceState) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (Invoice_InvoiceState) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_lightning_proto_enumTypes[17].Descriptor()
|
|
}
|
|
|
|
func (Invoice_InvoiceState) Type() protoreflect.EnumType {
|
|
return &file_lightning_proto_enumTypes[17]
|
|
}
|
|
|
|
func (x Invoice_InvoiceState) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use Invoice_InvoiceState.Descriptor instead.
|
|
func (Invoice_InvoiceState) EnumDescriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{134, 0}
|
|
}
|
|
|
|
type Payment_PaymentStatus int32
|
|
|
|
const (
|
|
// Deprecated. This status will never be returned.
|
|
//
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
Payment_UNKNOWN Payment_PaymentStatus = 0
|
|
// Payment has inflight HTLCs.
|
|
Payment_IN_FLIGHT Payment_PaymentStatus = 1
|
|
// Payment is settled.
|
|
Payment_SUCCEEDED Payment_PaymentStatus = 2
|
|
// Payment is failed.
|
|
Payment_FAILED Payment_PaymentStatus = 3
|
|
// Payment is created and has not attempted any HTLCs.
|
|
Payment_INITIATED Payment_PaymentStatus = 4
|
|
)
|
|
|
|
// Enum value maps for Payment_PaymentStatus.
|
|
var (
|
|
Payment_PaymentStatus_name = map[int32]string{
|
|
0: "UNKNOWN",
|
|
1: "IN_FLIGHT",
|
|
2: "SUCCEEDED",
|
|
3: "FAILED",
|
|
4: "INITIATED",
|
|
}
|
|
Payment_PaymentStatus_value = map[string]int32{
|
|
"UNKNOWN": 0,
|
|
"IN_FLIGHT": 1,
|
|
"SUCCEEDED": 2,
|
|
"FAILED": 3,
|
|
"INITIATED": 4,
|
|
}
|
|
)
|
|
|
|
func (x Payment_PaymentStatus) Enum() *Payment_PaymentStatus {
|
|
p := new(Payment_PaymentStatus)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x Payment_PaymentStatus) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (Payment_PaymentStatus) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_lightning_proto_enumTypes[18].Descriptor()
|
|
}
|
|
|
|
func (Payment_PaymentStatus) Type() protoreflect.EnumType {
|
|
return &file_lightning_proto_enumTypes[18]
|
|
}
|
|
|
|
func (x Payment_PaymentStatus) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use Payment_PaymentStatus.Descriptor instead.
|
|
func (Payment_PaymentStatus) EnumDescriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{143, 0}
|
|
}
|
|
|
|
type HTLCAttempt_HTLCStatus int32
|
|
|
|
const (
|
|
HTLCAttempt_IN_FLIGHT HTLCAttempt_HTLCStatus = 0
|
|
HTLCAttempt_SUCCEEDED HTLCAttempt_HTLCStatus = 1
|
|
HTLCAttempt_FAILED HTLCAttempt_HTLCStatus = 2
|
|
)
|
|
|
|
// Enum value maps for HTLCAttempt_HTLCStatus.
|
|
var (
|
|
HTLCAttempt_HTLCStatus_name = map[int32]string{
|
|
0: "IN_FLIGHT",
|
|
1: "SUCCEEDED",
|
|
2: "FAILED",
|
|
}
|
|
HTLCAttempt_HTLCStatus_value = map[string]int32{
|
|
"IN_FLIGHT": 0,
|
|
"SUCCEEDED": 1,
|
|
"FAILED": 2,
|
|
}
|
|
)
|
|
|
|
func (x HTLCAttempt_HTLCStatus) Enum() *HTLCAttempt_HTLCStatus {
|
|
p := new(HTLCAttempt_HTLCStatus)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x HTLCAttempt_HTLCStatus) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (HTLCAttempt_HTLCStatus) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_lightning_proto_enumTypes[19].Descriptor()
|
|
}
|
|
|
|
func (HTLCAttempt_HTLCStatus) Type() protoreflect.EnumType {
|
|
return &file_lightning_proto_enumTypes[19]
|
|
}
|
|
|
|
func (x HTLCAttempt_HTLCStatus) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use HTLCAttempt_HTLCStatus.Descriptor instead.
|
|
func (HTLCAttempt_HTLCStatus) EnumDescriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{144, 0}
|
|
}
|
|
|
|
type Failure_FailureCode int32
|
|
|
|
const (
|
|
// The numbers assigned in this enumeration match the failure codes as
|
|
// defined in BOLT #4. Because protobuf 3 requires enums to start with 0,
|
|
// a RESERVED value is added.
|
|
Failure_RESERVED Failure_FailureCode = 0
|
|
Failure_INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS Failure_FailureCode = 1
|
|
Failure_INCORRECT_PAYMENT_AMOUNT Failure_FailureCode = 2
|
|
Failure_FINAL_INCORRECT_CLTV_EXPIRY Failure_FailureCode = 3
|
|
Failure_FINAL_INCORRECT_HTLC_AMOUNT Failure_FailureCode = 4
|
|
Failure_FINAL_EXPIRY_TOO_SOON Failure_FailureCode = 5
|
|
Failure_INVALID_REALM Failure_FailureCode = 6
|
|
Failure_EXPIRY_TOO_SOON Failure_FailureCode = 7
|
|
Failure_INVALID_ONION_VERSION Failure_FailureCode = 8
|
|
Failure_INVALID_ONION_HMAC Failure_FailureCode = 9
|
|
Failure_INVALID_ONION_KEY Failure_FailureCode = 10
|
|
Failure_AMOUNT_BELOW_MINIMUM Failure_FailureCode = 11
|
|
Failure_FEE_INSUFFICIENT Failure_FailureCode = 12
|
|
Failure_INCORRECT_CLTV_EXPIRY Failure_FailureCode = 13
|
|
Failure_CHANNEL_DISABLED Failure_FailureCode = 14
|
|
Failure_TEMPORARY_CHANNEL_FAILURE Failure_FailureCode = 15
|
|
Failure_REQUIRED_NODE_FEATURE_MISSING Failure_FailureCode = 16
|
|
Failure_REQUIRED_CHANNEL_FEATURE_MISSING Failure_FailureCode = 17
|
|
Failure_UNKNOWN_NEXT_PEER Failure_FailureCode = 18
|
|
Failure_TEMPORARY_NODE_FAILURE Failure_FailureCode = 19
|
|
Failure_PERMANENT_NODE_FAILURE Failure_FailureCode = 20
|
|
Failure_PERMANENT_CHANNEL_FAILURE Failure_FailureCode = 21
|
|
Failure_EXPIRY_TOO_FAR Failure_FailureCode = 22
|
|
Failure_MPP_TIMEOUT Failure_FailureCode = 23
|
|
Failure_INVALID_ONION_PAYLOAD Failure_FailureCode = 24
|
|
Failure_INVALID_ONION_BLINDING Failure_FailureCode = 25
|
|
// An internal error occurred.
|
|
Failure_INTERNAL_FAILURE Failure_FailureCode = 997
|
|
// The error source is known, but the failure itself couldn't be decoded.
|
|
Failure_UNKNOWN_FAILURE Failure_FailureCode = 998
|
|
// An unreadable failure result is returned if the received failure message
|
|
// cannot be decrypted. In that case the error source is unknown.
|
|
Failure_UNREADABLE_FAILURE Failure_FailureCode = 999
|
|
)
|
|
|
|
// Enum value maps for Failure_FailureCode.
|
|
var (
|
|
Failure_FailureCode_name = map[int32]string{
|
|
0: "RESERVED",
|
|
1: "INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS",
|
|
2: "INCORRECT_PAYMENT_AMOUNT",
|
|
3: "FINAL_INCORRECT_CLTV_EXPIRY",
|
|
4: "FINAL_INCORRECT_HTLC_AMOUNT",
|
|
5: "FINAL_EXPIRY_TOO_SOON",
|
|
6: "INVALID_REALM",
|
|
7: "EXPIRY_TOO_SOON",
|
|
8: "INVALID_ONION_VERSION",
|
|
9: "INVALID_ONION_HMAC",
|
|
10: "INVALID_ONION_KEY",
|
|
11: "AMOUNT_BELOW_MINIMUM",
|
|
12: "FEE_INSUFFICIENT",
|
|
13: "INCORRECT_CLTV_EXPIRY",
|
|
14: "CHANNEL_DISABLED",
|
|
15: "TEMPORARY_CHANNEL_FAILURE",
|
|
16: "REQUIRED_NODE_FEATURE_MISSING",
|
|
17: "REQUIRED_CHANNEL_FEATURE_MISSING",
|
|
18: "UNKNOWN_NEXT_PEER",
|
|
19: "TEMPORARY_NODE_FAILURE",
|
|
20: "PERMANENT_NODE_FAILURE",
|
|
21: "PERMANENT_CHANNEL_FAILURE",
|
|
22: "EXPIRY_TOO_FAR",
|
|
23: "MPP_TIMEOUT",
|
|
24: "INVALID_ONION_PAYLOAD",
|
|
25: "INVALID_ONION_BLINDING",
|
|
997: "INTERNAL_FAILURE",
|
|
998: "UNKNOWN_FAILURE",
|
|
999: "UNREADABLE_FAILURE",
|
|
}
|
|
Failure_FailureCode_value = map[string]int32{
|
|
"RESERVED": 0,
|
|
"INCORRECT_OR_UNKNOWN_PAYMENT_DETAILS": 1,
|
|
"INCORRECT_PAYMENT_AMOUNT": 2,
|
|
"FINAL_INCORRECT_CLTV_EXPIRY": 3,
|
|
"FINAL_INCORRECT_HTLC_AMOUNT": 4,
|
|
"FINAL_EXPIRY_TOO_SOON": 5,
|
|
"INVALID_REALM": 6,
|
|
"EXPIRY_TOO_SOON": 7,
|
|
"INVALID_ONION_VERSION": 8,
|
|
"INVALID_ONION_HMAC": 9,
|
|
"INVALID_ONION_KEY": 10,
|
|
"AMOUNT_BELOW_MINIMUM": 11,
|
|
"FEE_INSUFFICIENT": 12,
|
|
"INCORRECT_CLTV_EXPIRY": 13,
|
|
"CHANNEL_DISABLED": 14,
|
|
"TEMPORARY_CHANNEL_FAILURE": 15,
|
|
"REQUIRED_NODE_FEATURE_MISSING": 16,
|
|
"REQUIRED_CHANNEL_FEATURE_MISSING": 17,
|
|
"UNKNOWN_NEXT_PEER": 18,
|
|
"TEMPORARY_NODE_FAILURE": 19,
|
|
"PERMANENT_NODE_FAILURE": 20,
|
|
"PERMANENT_CHANNEL_FAILURE": 21,
|
|
"EXPIRY_TOO_FAR": 22,
|
|
"MPP_TIMEOUT": 23,
|
|
"INVALID_ONION_PAYLOAD": 24,
|
|
"INVALID_ONION_BLINDING": 25,
|
|
"INTERNAL_FAILURE": 997,
|
|
"UNKNOWN_FAILURE": 998,
|
|
"UNREADABLE_FAILURE": 999,
|
|
}
|
|
)
|
|
|
|
func (x Failure_FailureCode) Enum() *Failure_FailureCode {
|
|
p := new(Failure_FailureCode)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x Failure_FailureCode) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (Failure_FailureCode) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_lightning_proto_enumTypes[20].Descriptor()
|
|
}
|
|
|
|
func (Failure_FailureCode) Type() protoreflect.EnumType {
|
|
return &file_lightning_proto_enumTypes[20]
|
|
}
|
|
|
|
func (x Failure_FailureCode) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use Failure_FailureCode.Descriptor instead.
|
|
func (Failure_FailureCode) EnumDescriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{188, 0}
|
|
}
|
|
|
|
type LookupHtlcResolutionRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ChanId uint64 `protobuf:"varint,1,opt,name=chan_id,json=chanId,proto3" json:"chan_id,omitempty"`
|
|
HtlcIndex uint64 `protobuf:"varint,2,opt,name=htlc_index,json=htlcIndex,proto3" json:"htlc_index,omitempty"`
|
|
}
|
|
|
|
func (x *LookupHtlcResolutionRequest) Reset() {
|
|
*x = LookupHtlcResolutionRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *LookupHtlcResolutionRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LookupHtlcResolutionRequest) ProtoMessage() {}
|
|
|
|
func (x *LookupHtlcResolutionRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_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)
|
|
}
|
|
|
|
// Deprecated: Use LookupHtlcResolutionRequest.ProtoReflect.Descriptor instead.
|
|
func (*LookupHtlcResolutionRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *LookupHtlcResolutionRequest) GetChanId() uint64 {
|
|
if x != nil {
|
|
return x.ChanId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LookupHtlcResolutionRequest) GetHtlcIndex() uint64 {
|
|
if x != nil {
|
|
return x.HtlcIndex
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type LookupHtlcResolutionResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Settled is true is the htlc was settled. If false, the htlc was failed.
|
|
Settled bool `protobuf:"varint,1,opt,name=settled,proto3" json:"settled,omitempty"`
|
|
// Offchain indicates whether the htlc was resolved off-chain or on-chain.
|
|
Offchain bool `protobuf:"varint,2,opt,name=offchain,proto3" json:"offchain,omitempty"`
|
|
}
|
|
|
|
func (x *LookupHtlcResolutionResponse) Reset() {
|
|
*x = LookupHtlcResolutionResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *LookupHtlcResolutionResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LookupHtlcResolutionResponse) ProtoMessage() {}
|
|
|
|
func (x *LookupHtlcResolutionResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_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)
|
|
}
|
|
|
|
// Deprecated: Use LookupHtlcResolutionResponse.ProtoReflect.Descriptor instead.
|
|
func (*LookupHtlcResolutionResponse) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *LookupHtlcResolutionResponse) GetSettled() bool {
|
|
if x != nil {
|
|
return x.Settled
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *LookupHtlcResolutionResponse) GetOffchain() bool {
|
|
if x != nil {
|
|
return x.Offchain
|
|
}
|
|
return false
|
|
}
|
|
|
|
type SubscribeCustomMessagesRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *SubscribeCustomMessagesRequest) Reset() {
|
|
*x = SubscribeCustomMessagesRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SubscribeCustomMessagesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SubscribeCustomMessagesRequest) ProtoMessage() {}
|
|
|
|
func (x *SubscribeCustomMessagesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_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)
|
|
}
|
|
|
|
// Deprecated: Use SubscribeCustomMessagesRequest.ProtoReflect.Descriptor instead.
|
|
func (*SubscribeCustomMessagesRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
type CustomMessage struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Peer from which the message originates
|
|
Peer []byte `protobuf:"bytes,1,opt,name=peer,proto3" json:"peer,omitempty"`
|
|
// Message type. This value will be in the custom range (>= 32768).
|
|
Type uint32 `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"`
|
|
// Raw message data
|
|
Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
|
|
}
|
|
|
|
func (x *CustomMessage) Reset() {
|
|
*x = CustomMessage{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CustomMessage) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CustomMessage) ProtoMessage() {}
|
|
|
|
func (x *CustomMessage) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_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)
|
|
}
|
|
|
|
// Deprecated: Use CustomMessage.ProtoReflect.Descriptor instead.
|
|
func (*CustomMessage) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *CustomMessage) GetPeer() []byte {
|
|
if x != nil {
|
|
return x.Peer
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CustomMessage) GetType() uint32 {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CustomMessage) GetData() []byte {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SendCustomMessageRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Peer to send the message to
|
|
Peer []byte `protobuf:"bytes,1,opt,name=peer,proto3" json:"peer,omitempty"`
|
|
// Message type. This value needs to be in the custom range (>= 32768).
|
|
// To send a type < custom range, lnd needs to be compiled with the `dev`
|
|
// build tag, and the message type to override should be specified in lnd's
|
|
// experimental protocol configuration.
|
|
Type uint32 `protobuf:"varint,2,opt,name=type,proto3" json:"type,omitempty"`
|
|
// Raw message data.
|
|
Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
|
|
}
|
|
|
|
func (x *SendCustomMessageRequest) Reset() {
|
|
*x = SendCustomMessageRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SendCustomMessageRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SendCustomMessageRequest) ProtoMessage() {}
|
|
|
|
func (x *SendCustomMessageRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_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)
|
|
}
|
|
|
|
// Deprecated: Use SendCustomMessageRequest.ProtoReflect.Descriptor instead.
|
|
func (*SendCustomMessageRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *SendCustomMessageRequest) GetPeer() []byte {
|
|
if x != nil {
|
|
return x.Peer
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SendCustomMessageRequest) GetType() uint32 {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SendCustomMessageRequest) GetData() []byte {
|
|
if x != nil {
|
|
return x.Data
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SendCustomMessageResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *SendCustomMessageResponse) Reset() {
|
|
*x = SendCustomMessageResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SendCustomMessageResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SendCustomMessageResponse) ProtoMessage() {}
|
|
|
|
func (x *SendCustomMessageResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_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)
|
|
}
|
|
|
|
// Deprecated: Use SendCustomMessageResponse.ProtoReflect.Descriptor instead.
|
|
func (*SendCustomMessageResponse) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
type Utxo struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The type of address
|
|
AddressType AddressType `protobuf:"varint,1,opt,name=address_type,json=addressType,proto3,enum=lnrpc.AddressType" json:"address_type,omitempty"`
|
|
// The address
|
|
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
|
|
// The value of the unspent coin in satoshis
|
|
AmountSat int64 `protobuf:"varint,3,opt,name=amount_sat,json=amountSat,proto3" json:"amount_sat,omitempty"`
|
|
// The pkscript in hex
|
|
PkScript string `protobuf:"bytes,4,opt,name=pk_script,json=pkScript,proto3" json:"pk_script,omitempty"`
|
|
// The outpoint in format txid:n
|
|
Outpoint *OutPoint `protobuf:"bytes,5,opt,name=outpoint,proto3" json:"outpoint,omitempty"`
|
|
// The number of confirmations for the Utxo
|
|
Confirmations int64 `protobuf:"varint,6,opt,name=confirmations,proto3" json:"confirmations,omitempty"`
|
|
}
|
|
|
|
func (x *Utxo) Reset() {
|
|
*x = Utxo{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Utxo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Utxo) ProtoMessage() {}
|
|
|
|
func (x *Utxo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_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)
|
|
}
|
|
|
|
// Deprecated: Use Utxo.ProtoReflect.Descriptor instead.
|
|
func (*Utxo) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *Utxo) GetAddressType() AddressType {
|
|
if x != nil {
|
|
return x.AddressType
|
|
}
|
|
return AddressType_WITNESS_PUBKEY_HASH
|
|
}
|
|
|
|
func (x *Utxo) GetAddress() string {
|
|
if x != nil {
|
|
return x.Address
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Utxo) GetAmountSat() int64 {
|
|
if x != nil {
|
|
return x.AmountSat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Utxo) GetPkScript() string {
|
|
if x != nil {
|
|
return x.PkScript
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Utxo) GetOutpoint() *OutPoint {
|
|
if x != nil {
|
|
return x.Outpoint
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Utxo) GetConfirmations() int64 {
|
|
if x != nil {
|
|
return x.Confirmations
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type OutputDetail struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The type of the output
|
|
OutputType OutputScriptType `protobuf:"varint,1,opt,name=output_type,json=outputType,proto3,enum=lnrpc.OutputScriptType" json:"output_type,omitempty"`
|
|
// The address
|
|
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
|
|
// The pkscript in hex
|
|
PkScript string `protobuf:"bytes,3,opt,name=pk_script,json=pkScript,proto3" json:"pk_script,omitempty"`
|
|
// The output index used in the raw transaction
|
|
OutputIndex int64 `protobuf:"varint,4,opt,name=output_index,json=outputIndex,proto3" json:"output_index,omitempty"`
|
|
// The value of the output coin in satoshis
|
|
Amount int64 `protobuf:"varint,5,opt,name=amount,proto3" json:"amount,omitempty"`
|
|
// Denotes if the output is controlled by the internal wallet
|
|
IsOurAddress bool `protobuf:"varint,6,opt,name=is_our_address,json=isOurAddress,proto3" json:"is_our_address,omitempty"`
|
|
}
|
|
|
|
func (x *OutputDetail) Reset() {
|
|
*x = OutputDetail{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *OutputDetail) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OutputDetail) ProtoMessage() {}
|
|
|
|
func (x *OutputDetail) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_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)
|
|
}
|
|
|
|
// Deprecated: Use OutputDetail.ProtoReflect.Descriptor instead.
|
|
func (*OutputDetail) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *OutputDetail) GetOutputType() OutputScriptType {
|
|
if x != nil {
|
|
return x.OutputType
|
|
}
|
|
return OutputScriptType_SCRIPT_TYPE_PUBKEY_HASH
|
|
}
|
|
|
|
func (x *OutputDetail) GetAddress() string {
|
|
if x != nil {
|
|
return x.Address
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *OutputDetail) GetPkScript() string {
|
|
if x != nil {
|
|
return x.PkScript
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *OutputDetail) GetOutputIndex() int64 {
|
|
if x != nil {
|
|
return x.OutputIndex
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OutputDetail) GetAmount() int64 {
|
|
if x != nil {
|
|
return x.Amount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OutputDetail) GetIsOurAddress() bool {
|
|
if x != nil {
|
|
return x.IsOurAddress
|
|
}
|
|
return false
|
|
}
|
|
|
|
type Transaction struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The transaction hash
|
|
TxHash string `protobuf:"bytes,1,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
|
|
// The transaction amount, denominated in satoshis
|
|
Amount int64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
|
|
// The number of confirmations
|
|
NumConfirmations int32 `protobuf:"varint,3,opt,name=num_confirmations,json=numConfirmations,proto3" json:"num_confirmations,omitempty"`
|
|
// The hash of the block this transaction was included in
|
|
BlockHash string `protobuf:"bytes,4,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
|
|
// The height of the block this transaction was included in
|
|
BlockHeight int32 `protobuf:"varint,5,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
|
|
// Timestamp of this transaction
|
|
TimeStamp int64 `protobuf:"varint,6,opt,name=time_stamp,json=timeStamp,proto3" json:"time_stamp,omitempty"`
|
|
// Fees paid for this transaction
|
|
TotalFees int64 `protobuf:"varint,7,opt,name=total_fees,json=totalFees,proto3" json:"total_fees,omitempty"`
|
|
// Addresses that received funds for this transaction. Deprecated as it is
|
|
// now incorporated in the output_details field.
|
|
//
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
DestAddresses []string `protobuf:"bytes,8,rep,name=dest_addresses,json=destAddresses,proto3" json:"dest_addresses,omitempty"`
|
|
// Outputs that received funds for this transaction
|
|
OutputDetails []*OutputDetail `protobuf:"bytes,11,rep,name=output_details,json=outputDetails,proto3" json:"output_details,omitempty"`
|
|
// The raw transaction hex.
|
|
RawTxHex string `protobuf:"bytes,9,opt,name=raw_tx_hex,json=rawTxHex,proto3" json:"raw_tx_hex,omitempty"`
|
|
// A label that was optionally set on transaction broadcast.
|
|
Label string `protobuf:"bytes,10,opt,name=label,proto3" json:"label,omitempty"`
|
|
// PreviousOutpoints/Inputs of this transaction.
|
|
PreviousOutpoints []*PreviousOutPoint `protobuf:"bytes,12,rep,name=previous_outpoints,json=previousOutpoints,proto3" json:"previous_outpoints,omitempty"`
|
|
}
|
|
|
|
func (x *Transaction) Reset() {
|
|
*x = Transaction{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Transaction) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Transaction) ProtoMessage() {}
|
|
|
|
func (x *Transaction) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_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)
|
|
}
|
|
|
|
// Deprecated: Use Transaction.ProtoReflect.Descriptor instead.
|
|
func (*Transaction) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *Transaction) GetTxHash() string {
|
|
if x != nil {
|
|
return x.TxHash
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Transaction) GetAmount() int64 {
|
|
if x != nil {
|
|
return x.Amount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Transaction) GetNumConfirmations() int32 {
|
|
if x != nil {
|
|
return x.NumConfirmations
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Transaction) GetBlockHash() string {
|
|
if x != nil {
|
|
return x.BlockHash
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Transaction) GetBlockHeight() int32 {
|
|
if x != nil {
|
|
return x.BlockHeight
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Transaction) GetTimeStamp() int64 {
|
|
if x != nil {
|
|
return x.TimeStamp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Transaction) GetTotalFees() int64 {
|
|
if x != nil {
|
|
return x.TotalFees
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
func (x *Transaction) GetDestAddresses() []string {
|
|
if x != nil {
|
|
return x.DestAddresses
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Transaction) GetOutputDetails() []*OutputDetail {
|
|
if x != nil {
|
|
return x.OutputDetails
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Transaction) GetRawTxHex() string {
|
|
if x != nil {
|
|
return x.RawTxHex
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Transaction) GetLabel() string {
|
|
if x != nil {
|
|
return x.Label
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Transaction) GetPreviousOutpoints() []*PreviousOutPoint {
|
|
if x != nil {
|
|
return x.PreviousOutpoints
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetTransactionsRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The height from which to list transactions, inclusive. If this value is
|
|
// greater than end_height, transactions will be read in reverse.
|
|
StartHeight int32 `protobuf:"varint,1,opt,name=start_height,json=startHeight,proto3" json:"start_height,omitempty"`
|
|
// The height until which to list transactions, inclusive. To include
|
|
// unconfirmed transactions, this value should be set to -1, which will
|
|
// return transactions from start_height until the current chain tip and
|
|
// unconfirmed transactions. If no end_height is provided, the call will
|
|
// default to this option.
|
|
EndHeight int32 `protobuf:"varint,2,opt,name=end_height,json=endHeight,proto3" json:"end_height,omitempty"`
|
|
// An optional filter to only include transactions relevant to an account.
|
|
Account string `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"`
|
|
}
|
|
|
|
func (x *GetTransactionsRequest) Reset() {
|
|
*x = GetTransactionsRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetTransactionsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetTransactionsRequest) ProtoMessage() {}
|
|
|
|
func (x *GetTransactionsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_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)
|
|
}
|
|
|
|
// Deprecated: Use GetTransactionsRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetTransactionsRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *GetTransactionsRequest) GetStartHeight() int32 {
|
|
if x != nil {
|
|
return x.StartHeight
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetTransactionsRequest) GetEndHeight() int32 {
|
|
if x != nil {
|
|
return x.EndHeight
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetTransactionsRequest) GetAccount() string {
|
|
if x != nil {
|
|
return x.Account
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type TransactionDetails struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The list of transactions relevant to the wallet.
|
|
Transactions []*Transaction `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"`
|
|
}
|
|
|
|
func (x *TransactionDetails) Reset() {
|
|
*x = TransactionDetails{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *TransactionDetails) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TransactionDetails) ProtoMessage() {}
|
|
|
|
func (x *TransactionDetails) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_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)
|
|
}
|
|
|
|
// Deprecated: Use TransactionDetails.ProtoReflect.Descriptor instead.
|
|
func (*TransactionDetails) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *TransactionDetails) GetTransactions() []*Transaction {
|
|
if x != nil {
|
|
return x.Transactions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type FeeLimit struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Types that are assignable to Limit:
|
|
//
|
|
// *FeeLimit_Fixed
|
|
// *FeeLimit_FixedMsat
|
|
// *FeeLimit_Percent
|
|
Limit isFeeLimit_Limit `protobuf_oneof:"limit"`
|
|
}
|
|
|
|
func (x *FeeLimit) Reset() {
|
|
*x = FeeLimit{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *FeeLimit) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FeeLimit) ProtoMessage() {}
|
|
|
|
func (x *FeeLimit) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_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)
|
|
}
|
|
|
|
// Deprecated: Use FeeLimit.ProtoReflect.Descriptor instead.
|
|
func (*FeeLimit) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (m *FeeLimit) GetLimit() isFeeLimit_Limit {
|
|
if m != nil {
|
|
return m.Limit
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FeeLimit) GetFixed() int64 {
|
|
if x, ok := x.GetLimit().(*FeeLimit_Fixed); ok {
|
|
return x.Fixed
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FeeLimit) GetFixedMsat() int64 {
|
|
if x, ok := x.GetLimit().(*FeeLimit_FixedMsat); ok {
|
|
return x.FixedMsat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FeeLimit) GetPercent() int64 {
|
|
if x, ok := x.GetLimit().(*FeeLimit_Percent); ok {
|
|
return x.Percent
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type isFeeLimit_Limit interface {
|
|
isFeeLimit_Limit()
|
|
}
|
|
|
|
type FeeLimit_Fixed struct {
|
|
// The fee limit expressed as a fixed amount of satoshis.
|
|
//
|
|
// The fields fixed and fixed_msat are mutually exclusive.
|
|
Fixed int64 `protobuf:"varint,1,opt,name=fixed,proto3,oneof"`
|
|
}
|
|
|
|
type FeeLimit_FixedMsat struct {
|
|
// The fee limit expressed as a fixed amount of millisatoshis.
|
|
//
|
|
// The fields fixed and fixed_msat are mutually exclusive.
|
|
FixedMsat int64 `protobuf:"varint,3,opt,name=fixed_msat,json=fixedMsat,proto3,oneof"`
|
|
}
|
|
|
|
type FeeLimit_Percent struct {
|
|
// The fee limit expressed as a percentage of the payment amount.
|
|
Percent int64 `protobuf:"varint,2,opt,name=percent,proto3,oneof"`
|
|
}
|
|
|
|
func (*FeeLimit_Fixed) isFeeLimit_Limit() {}
|
|
|
|
func (*FeeLimit_FixedMsat) isFeeLimit_Limit() {}
|
|
|
|
func (*FeeLimit_Percent) isFeeLimit_Limit() {}
|
|
|
|
type SendRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The identity pubkey of the payment recipient. When using REST, this field
|
|
// must be encoded as base64.
|
|
Dest []byte `protobuf:"bytes,1,opt,name=dest,proto3" json:"dest,omitempty"`
|
|
// The hex-encoded identity pubkey of the payment recipient. Deprecated now
|
|
// that the REST gateway supports base64 encoding of bytes fields.
|
|
//
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
DestString string `protobuf:"bytes,2,opt,name=dest_string,json=destString,proto3" json:"dest_string,omitempty"`
|
|
// The amount to send expressed in satoshis.
|
|
//
|
|
// The fields amt and amt_msat are mutually exclusive.
|
|
Amt int64 `protobuf:"varint,3,opt,name=amt,proto3" json:"amt,omitempty"`
|
|
// The amount to send expressed in millisatoshis.
|
|
//
|
|
// The fields amt and amt_msat are mutually exclusive.
|
|
AmtMsat int64 `protobuf:"varint,12,opt,name=amt_msat,json=amtMsat,proto3" json:"amt_msat,omitempty"`
|
|
// The hash to use within the payment's HTLC. When using REST, this field
|
|
// must be encoded as base64.
|
|
PaymentHash []byte `protobuf:"bytes,4,opt,name=payment_hash,json=paymentHash,proto3" json:"payment_hash,omitempty"`
|
|
// The hex-encoded hash to use within the payment's HTLC. Deprecated now
|
|
// that the REST gateway supports base64 encoding of bytes fields.
|
|
//
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
PaymentHashString string `protobuf:"bytes,5,opt,name=payment_hash_string,json=paymentHashString,proto3" json:"payment_hash_string,omitempty"`
|
|
// A bare-bones invoice for a payment within the Lightning Network. With the
|
|
// details of the invoice, the sender has all the data necessary to send a
|
|
// payment to the recipient.
|
|
PaymentRequest string `protobuf:"bytes,6,opt,name=payment_request,json=paymentRequest,proto3" json:"payment_request,omitempty"`
|
|
// The CLTV delta from the current height that should be used to set the
|
|
// timelock for the final hop.
|
|
FinalCltvDelta int32 `protobuf:"varint,7,opt,name=final_cltv_delta,json=finalCltvDelta,proto3" json:"final_cltv_delta,omitempty"`
|
|
// The maximum number of satoshis that will be paid as a fee of the payment.
|
|
// This value can be represented either as a percentage of the amount being
|
|
// sent, or as a fixed amount of the maximum fee the user is willing the pay to
|
|
// send the payment. If not specified, lnd will use a default value of 100%
|
|
// fees for small amounts (<=1k sat) or 5% fees for larger amounts.
|
|
FeeLimit *FeeLimit `protobuf:"bytes,8,opt,name=fee_limit,json=feeLimit,proto3" json:"fee_limit,omitempty"`
|
|
// The channel id of the channel that must be taken to the first hop. If zero,
|
|
// any channel may be used.
|
|
OutgoingChanId uint64 `protobuf:"varint,9,opt,name=outgoing_chan_id,json=outgoingChanId,proto3" json:"outgoing_chan_id,omitempty"`
|
|
// The pubkey of the last hop of the route. If empty, any hop may be used.
|
|
LastHopPubkey []byte `protobuf:"bytes,13,opt,name=last_hop_pubkey,json=lastHopPubkey,proto3" json:"last_hop_pubkey,omitempty"`
|
|
// An optional maximum total time lock for the route. This should not exceed
|
|
// lnd's `--max-cltv-expiry` setting. If zero, then the value of
|
|
// `--max-cltv-expiry` is enforced.
|
|
CltvLimit uint32 `protobuf:"varint,10,opt,name=cltv_limit,json=cltvLimit,proto3" json:"cltv_limit,omitempty"`
|
|
// An optional field that can be used to pass an arbitrary set of TLV records
|
|
// to a peer which understands the new records. This can be used to pass
|
|
// application specific data during the payment attempt. Record types are
|
|
// required to be in the custom range >= 65536. When using REST, the values
|
|
// must be encoded as base64.
|
|
DestCustomRecords map[uint64][]byte `protobuf:"bytes,11,rep,name=dest_custom_records,json=destCustomRecords,proto3" json:"dest_custom_records,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
// If set, circular payments to self are permitted.
|
|
AllowSelfPayment bool `protobuf:"varint,14,opt,name=allow_self_payment,json=allowSelfPayment,proto3" json:"allow_self_payment,omitempty"`
|
|
// Features assumed to be supported by the final node. All transitive feature
|
|
// dependencies must also be set properly. For a given feature bit pair, either
|
|
// optional or remote may be set, but not both. If this field is nil or empty,
|
|
// the router will try to load destination features from the graph as a
|
|
// fallback.
|
|
DestFeatures []FeatureBit `protobuf:"varint,15,rep,packed,name=dest_features,json=destFeatures,proto3,enum=lnrpc.FeatureBit" json:"dest_features,omitempty"`
|
|
// The payment address of the generated invoice. This is also called
|
|
// payment secret in specifications (e.g. BOLT 11).
|
|
PaymentAddr []byte `protobuf:"bytes,16,opt,name=payment_addr,json=paymentAddr,proto3" json:"payment_addr,omitempty"`
|
|
}
|
|
|
|
func (x *SendRequest) Reset() {
|
|
*x = SendRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SendRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SendRequest) ProtoMessage() {}
|
|
|
|
func (x *SendRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_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)
|
|
}
|
|
|
|
// Deprecated: Use SendRequest.ProtoReflect.Descriptor instead.
|
|
func (*SendRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *SendRequest) GetDest() []byte {
|
|
if x != nil {
|
|
return x.Dest
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
func (x *SendRequest) GetDestString() string {
|
|
if x != nil {
|
|
return x.DestString
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SendRequest) GetAmt() int64 {
|
|
if x != nil {
|
|
return x.Amt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SendRequest) GetAmtMsat() int64 {
|
|
if x != nil {
|
|
return x.AmtMsat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SendRequest) GetPaymentHash() []byte {
|
|
if x != nil {
|
|
return x.PaymentHash
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
func (x *SendRequest) GetPaymentHashString() string {
|
|
if x != nil {
|
|
return x.PaymentHashString
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SendRequest) GetPaymentRequest() string {
|
|
if x != nil {
|
|
return x.PaymentRequest
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SendRequest) GetFinalCltvDelta() int32 {
|
|
if x != nil {
|
|
return x.FinalCltvDelta
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SendRequest) GetFeeLimit() *FeeLimit {
|
|
if x != nil {
|
|
return x.FeeLimit
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SendRequest) GetOutgoingChanId() uint64 {
|
|
if x != nil {
|
|
return x.OutgoingChanId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SendRequest) GetLastHopPubkey() []byte {
|
|
if x != nil {
|
|
return x.LastHopPubkey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SendRequest) GetCltvLimit() uint32 {
|
|
if x != nil {
|
|
return x.CltvLimit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SendRequest) GetDestCustomRecords() map[uint64][]byte {
|
|
if x != nil {
|
|
return x.DestCustomRecords
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SendRequest) GetAllowSelfPayment() bool {
|
|
if x != nil {
|
|
return x.AllowSelfPayment
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *SendRequest) GetDestFeatures() []FeatureBit {
|
|
if x != nil {
|
|
return x.DestFeatures
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SendRequest) GetPaymentAddr() []byte {
|
|
if x != nil {
|
|
return x.PaymentAddr
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SendResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
PaymentError string `protobuf:"bytes,1,opt,name=payment_error,json=paymentError,proto3" json:"payment_error,omitempty"`
|
|
PaymentPreimage []byte `protobuf:"bytes,2,opt,name=payment_preimage,json=paymentPreimage,proto3" json:"payment_preimage,omitempty"`
|
|
PaymentRoute *Route `protobuf:"bytes,3,opt,name=payment_route,json=paymentRoute,proto3" json:"payment_route,omitempty"`
|
|
PaymentHash []byte `protobuf:"bytes,4,opt,name=payment_hash,json=paymentHash,proto3" json:"payment_hash,omitempty"`
|
|
}
|
|
|
|
func (x *SendResponse) Reset() {
|
|
*x = SendResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SendResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SendResponse) ProtoMessage() {}
|
|
|
|
func (x *SendResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_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)
|
|
}
|
|
|
|
// Deprecated: Use SendResponse.ProtoReflect.Descriptor instead.
|
|
func (*SendResponse) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *SendResponse) GetPaymentError() string {
|
|
if x != nil {
|
|
return x.PaymentError
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SendResponse) GetPaymentPreimage() []byte {
|
|
if x != nil {
|
|
return x.PaymentPreimage
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SendResponse) GetPaymentRoute() *Route {
|
|
if x != nil {
|
|
return x.PaymentRoute
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SendResponse) GetPaymentHash() []byte {
|
|
if x != nil {
|
|
return x.PaymentHash
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SendToRouteRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The payment hash to use for the HTLC. When using REST, this field must be
|
|
// encoded as base64.
|
|
PaymentHash []byte `protobuf:"bytes,1,opt,name=payment_hash,json=paymentHash,proto3" json:"payment_hash,omitempty"`
|
|
// An optional hex-encoded payment hash to be used for the HTLC. Deprecated now
|
|
// that the REST gateway supports base64 encoding of bytes fields.
|
|
//
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
PaymentHashString string `protobuf:"bytes,2,opt,name=payment_hash_string,json=paymentHashString,proto3" json:"payment_hash_string,omitempty"`
|
|
// Route that should be used to attempt to complete the payment.
|
|
Route *Route `protobuf:"bytes,4,opt,name=route,proto3" json:"route,omitempty"`
|
|
}
|
|
|
|
func (x *SendToRouteRequest) Reset() {
|
|
*x = SendToRouteRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SendToRouteRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SendToRouteRequest) ProtoMessage() {}
|
|
|
|
func (x *SendToRouteRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_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)
|
|
}
|
|
|
|
// Deprecated: Use SendToRouteRequest.ProtoReflect.Descriptor instead.
|
|
func (*SendToRouteRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *SendToRouteRequest) GetPaymentHash() []byte {
|
|
if x != nil {
|
|
return x.PaymentHash
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
func (x *SendToRouteRequest) GetPaymentHashString() string {
|
|
if x != nil {
|
|
return x.PaymentHashString
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SendToRouteRequest) GetRoute() *Route {
|
|
if x != nil {
|
|
return x.Route
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ChannelAcceptRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The pubkey of the node that wishes to open an inbound channel.
|
|
NodePubkey []byte `protobuf:"bytes,1,opt,name=node_pubkey,json=nodePubkey,proto3" json:"node_pubkey,omitempty"`
|
|
// The hash of the genesis block that the proposed channel resides in.
|
|
ChainHash []byte `protobuf:"bytes,2,opt,name=chain_hash,json=chainHash,proto3" json:"chain_hash,omitempty"`
|
|
// The pending channel id.
|
|
PendingChanId []byte `protobuf:"bytes,3,opt,name=pending_chan_id,json=pendingChanId,proto3" json:"pending_chan_id,omitempty"`
|
|
// The funding amount in satoshis that initiator wishes to use in the
|
|
// channel.
|
|
FundingAmt uint64 `protobuf:"varint,4,opt,name=funding_amt,json=fundingAmt,proto3" json:"funding_amt,omitempty"`
|
|
// The push amount of the proposed channel in millisatoshis.
|
|
PushAmt uint64 `protobuf:"varint,5,opt,name=push_amt,json=pushAmt,proto3" json:"push_amt,omitempty"`
|
|
// The dust limit of the initiator's commitment tx.
|
|
DustLimit uint64 `protobuf:"varint,6,opt,name=dust_limit,json=dustLimit,proto3" json:"dust_limit,omitempty"`
|
|
// The maximum amount of coins in millisatoshis that can be pending in this
|
|
// channel.
|
|
MaxValueInFlight uint64 `protobuf:"varint,7,opt,name=max_value_in_flight,json=maxValueInFlight,proto3" json:"max_value_in_flight,omitempty"`
|
|
// The minimum amount of satoshis the initiator requires us to have at all
|
|
// times.
|
|
ChannelReserve uint64 `protobuf:"varint,8,opt,name=channel_reserve,json=channelReserve,proto3" json:"channel_reserve,omitempty"`
|
|
// The smallest HTLC in millisatoshis that the initiator will accept.
|
|
MinHtlc uint64 `protobuf:"varint,9,opt,name=min_htlc,json=minHtlc,proto3" json:"min_htlc,omitempty"`
|
|
// The initial fee rate that the initiator suggests for both commitment
|
|
// transactions.
|
|
FeePerKw uint64 `protobuf:"varint,10,opt,name=fee_per_kw,json=feePerKw,proto3" json:"fee_per_kw,omitempty"`
|
|
// The number of blocks to use for the relative time lock in the pay-to-self
|
|
// output of both commitment transactions.
|
|
CsvDelay uint32 `protobuf:"varint,11,opt,name=csv_delay,json=csvDelay,proto3" json:"csv_delay,omitempty"`
|
|
// The total number of incoming HTLC's that the initiator will accept.
|
|
MaxAcceptedHtlcs uint32 `protobuf:"varint,12,opt,name=max_accepted_htlcs,json=maxAcceptedHtlcs,proto3" json:"max_accepted_htlcs,omitempty"`
|
|
// A bit-field which the initiator uses to specify proposed channel
|
|
// behavior.
|
|
ChannelFlags uint32 `protobuf:"varint,13,opt,name=channel_flags,json=channelFlags,proto3" json:"channel_flags,omitempty"`
|
|
// The commitment type the initiator wishes to use for the proposed channel.
|
|
CommitmentType CommitmentType `protobuf:"varint,14,opt,name=commitment_type,json=commitmentType,proto3,enum=lnrpc.CommitmentType" json:"commitment_type,omitempty"`
|
|
// Whether the initiator wants to open a zero-conf channel via the channel
|
|
// type.
|
|
WantsZeroConf bool `protobuf:"varint,15,opt,name=wants_zero_conf,json=wantsZeroConf,proto3" json:"wants_zero_conf,omitempty"`
|
|
// Whether the initiator wants to use the scid-alias channel type. This is
|
|
// separate from the feature bit.
|
|
WantsScidAlias bool `protobuf:"varint,16,opt,name=wants_scid_alias,json=wantsScidAlias,proto3" json:"wants_scid_alias,omitempty"`
|
|
}
|
|
|
|
func (x *ChannelAcceptRequest) Reset() {
|
|
*x = ChannelAcceptRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ChannelAcceptRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ChannelAcceptRequest) ProtoMessage() {}
|
|
|
|
func (x *ChannelAcceptRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_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)
|
|
}
|
|
|
|
// Deprecated: Use ChannelAcceptRequest.ProtoReflect.Descriptor instead.
|
|
func (*ChannelAcceptRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *ChannelAcceptRequest) GetNodePubkey() []byte {
|
|
if x != nil {
|
|
return x.NodePubkey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChannelAcceptRequest) GetChainHash() []byte {
|
|
if x != nil {
|
|
return x.ChainHash
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChannelAcceptRequest) GetPendingChanId() []byte {
|
|
if x != nil {
|
|
return x.PendingChanId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChannelAcceptRequest) GetFundingAmt() uint64 {
|
|
if x != nil {
|
|
return x.FundingAmt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChannelAcceptRequest) GetPushAmt() uint64 {
|
|
if x != nil {
|
|
return x.PushAmt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChannelAcceptRequest) GetDustLimit() uint64 {
|
|
if x != nil {
|
|
return x.DustLimit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChannelAcceptRequest) GetMaxValueInFlight() uint64 {
|
|
if x != nil {
|
|
return x.MaxValueInFlight
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChannelAcceptRequest) GetChannelReserve() uint64 {
|
|
if x != nil {
|
|
return x.ChannelReserve
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChannelAcceptRequest) GetMinHtlc() uint64 {
|
|
if x != nil {
|
|
return x.MinHtlc
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChannelAcceptRequest) GetFeePerKw() uint64 {
|
|
if x != nil {
|
|
return x.FeePerKw
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChannelAcceptRequest) GetCsvDelay() uint32 {
|
|
if x != nil {
|
|
return x.CsvDelay
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChannelAcceptRequest) GetMaxAcceptedHtlcs() uint32 {
|
|
if x != nil {
|
|
return x.MaxAcceptedHtlcs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChannelAcceptRequest) GetChannelFlags() uint32 {
|
|
if x != nil {
|
|
return x.ChannelFlags
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChannelAcceptRequest) GetCommitmentType() CommitmentType {
|
|
if x != nil {
|
|
return x.CommitmentType
|
|
}
|
|
return CommitmentType_UNKNOWN_COMMITMENT_TYPE
|
|
}
|
|
|
|
func (x *ChannelAcceptRequest) GetWantsZeroConf() bool {
|
|
if x != nil {
|
|
return x.WantsZeroConf
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ChannelAcceptRequest) GetWantsScidAlias() bool {
|
|
if x != nil {
|
|
return x.WantsScidAlias
|
|
}
|
|
return false
|
|
}
|
|
|
|
type ChannelAcceptResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Whether or not the client accepts the channel.
|
|
Accept bool `protobuf:"varint,1,opt,name=accept,proto3" json:"accept,omitempty"`
|
|
// The pending channel id to which this response applies.
|
|
PendingChanId []byte `protobuf:"bytes,2,opt,name=pending_chan_id,json=pendingChanId,proto3" json:"pending_chan_id,omitempty"`
|
|
// An optional error to send the initiating party to indicate why the channel
|
|
// was rejected. This field *should not* contain sensitive information, it will
|
|
// be sent to the initiating party. This field should only be set if accept is
|
|
// false, the channel will be rejected if an error is set with accept=true
|
|
// because the meaning of this response is ambiguous. Limited to 500
|
|
// characters.
|
|
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
|
|
// The upfront shutdown address to use if the initiating peer supports option
|
|
// upfront shutdown script (see ListPeers for the features supported). Note
|
|
// that the channel open will fail if this value is set for a peer that does
|
|
// not support this feature bit.
|
|
UpfrontShutdown string `protobuf:"bytes,4,opt,name=upfront_shutdown,json=upfrontShutdown,proto3" json:"upfront_shutdown,omitempty"`
|
|
// The csv delay (in blocks) that we require for the remote party.
|
|
CsvDelay uint32 `protobuf:"varint,5,opt,name=csv_delay,json=csvDelay,proto3" json:"csv_delay,omitempty"`
|
|
// The reserve amount in satoshis that we require the remote peer to adhere to.
|
|
// We require that the remote peer always have some reserve amount allocated to
|
|
// them so that there is always a disincentive to broadcast old state (if they
|
|
// hold 0 sats on their side of the channel, there is nothing to lose).
|
|
ReserveSat uint64 `protobuf:"varint,6,opt,name=reserve_sat,json=reserveSat,proto3" json:"reserve_sat,omitempty"`
|
|
// The maximum amount of funds in millisatoshis that we allow the remote peer
|
|
// to have in outstanding htlcs.
|
|
InFlightMaxMsat uint64 `protobuf:"varint,7,opt,name=in_flight_max_msat,json=inFlightMaxMsat,proto3" json:"in_flight_max_msat,omitempty"`
|
|
// The maximum number of htlcs that the remote peer can offer us.
|
|
MaxHtlcCount uint32 `protobuf:"varint,8,opt,name=max_htlc_count,json=maxHtlcCount,proto3" json:"max_htlc_count,omitempty"`
|
|
// The minimum value in millisatoshis for incoming htlcs on the channel.
|
|
MinHtlcIn uint64 `protobuf:"varint,9,opt,name=min_htlc_in,json=minHtlcIn,proto3" json:"min_htlc_in,omitempty"`
|
|
// The number of confirmations we require before we consider the channel open.
|
|
MinAcceptDepth uint32 `protobuf:"varint,10,opt,name=min_accept_depth,json=minAcceptDepth,proto3" json:"min_accept_depth,omitempty"`
|
|
// Whether the responder wants this to be a zero-conf channel. This will fail
|
|
// if either side does not have the scid-alias feature bit set. The minimum
|
|
// depth field must be zero if this is true.
|
|
ZeroConf bool `protobuf:"varint,11,opt,name=zero_conf,json=zeroConf,proto3" json:"zero_conf,omitempty"`
|
|
}
|
|
|
|
func (x *ChannelAcceptResponse) Reset() {
|
|
*x = ChannelAcceptResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ChannelAcceptResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ChannelAcceptResponse) ProtoMessage() {}
|
|
|
|
func (x *ChannelAcceptResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_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)
|
|
}
|
|
|
|
// Deprecated: Use ChannelAcceptResponse.ProtoReflect.Descriptor instead.
|
|
func (*ChannelAcceptResponse) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
func (x *ChannelAcceptResponse) GetAccept() bool {
|
|
if x != nil {
|
|
return x.Accept
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ChannelAcceptResponse) GetPendingChanId() []byte {
|
|
if x != nil {
|
|
return x.PendingChanId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChannelAcceptResponse) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ChannelAcceptResponse) GetUpfrontShutdown() string {
|
|
if x != nil {
|
|
return x.UpfrontShutdown
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ChannelAcceptResponse) GetCsvDelay() uint32 {
|
|
if x != nil {
|
|
return x.CsvDelay
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChannelAcceptResponse) GetReserveSat() uint64 {
|
|
if x != nil {
|
|
return x.ReserveSat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChannelAcceptResponse) GetInFlightMaxMsat() uint64 {
|
|
if x != nil {
|
|
return x.InFlightMaxMsat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChannelAcceptResponse) GetMaxHtlcCount() uint32 {
|
|
if x != nil {
|
|
return x.MaxHtlcCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChannelAcceptResponse) GetMinHtlcIn() uint64 {
|
|
if x != nil {
|
|
return x.MinHtlcIn
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChannelAcceptResponse) GetMinAcceptDepth() uint32 {
|
|
if x != nil {
|
|
return x.MinAcceptDepth
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChannelAcceptResponse) GetZeroConf() bool {
|
|
if x != nil {
|
|
return x.ZeroConf
|
|
}
|
|
return false
|
|
}
|
|
|
|
type ChannelPoint struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Types that are assignable to FundingTxid:
|
|
//
|
|
// *ChannelPoint_FundingTxidBytes
|
|
// *ChannelPoint_FundingTxidStr
|
|
FundingTxid isChannelPoint_FundingTxid `protobuf_oneof:"funding_txid"`
|
|
// The index of the output of the funding transaction
|
|
OutputIndex uint32 `protobuf:"varint,3,opt,name=output_index,json=outputIndex,proto3" json:"output_index,omitempty"`
|
|
}
|
|
|
|
func (x *ChannelPoint) Reset() {
|
|
*x = ChannelPoint{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ChannelPoint) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ChannelPoint) ProtoMessage() {}
|
|
|
|
func (x *ChannelPoint) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_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)
|
|
}
|
|
|
|
// Deprecated: Use ChannelPoint.ProtoReflect.Descriptor instead.
|
|
func (*ChannelPoint) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
func (m *ChannelPoint) GetFundingTxid() isChannelPoint_FundingTxid {
|
|
if m != nil {
|
|
return m.FundingTxid
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChannelPoint) GetFundingTxidBytes() []byte {
|
|
if x, ok := x.GetFundingTxid().(*ChannelPoint_FundingTxidBytes); ok {
|
|
return x.FundingTxidBytes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChannelPoint) GetFundingTxidStr() string {
|
|
if x, ok := x.GetFundingTxid().(*ChannelPoint_FundingTxidStr); ok {
|
|
return x.FundingTxidStr
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ChannelPoint) GetOutputIndex() uint32 {
|
|
if x != nil {
|
|
return x.OutputIndex
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type isChannelPoint_FundingTxid interface {
|
|
isChannelPoint_FundingTxid()
|
|
}
|
|
|
|
type ChannelPoint_FundingTxidBytes struct {
|
|
// Txid of the funding transaction. When using REST, this field must be
|
|
// encoded as base64.
|
|
FundingTxidBytes []byte `protobuf:"bytes,1,opt,name=funding_txid_bytes,json=fundingTxidBytes,proto3,oneof"`
|
|
}
|
|
|
|
type ChannelPoint_FundingTxidStr struct {
|
|
// Hex-encoded string representing the byte-reversed hash of the funding
|
|
// transaction.
|
|
FundingTxidStr string `protobuf:"bytes,2,opt,name=funding_txid_str,json=fundingTxidStr,proto3,oneof"`
|
|
}
|
|
|
|
func (*ChannelPoint_FundingTxidBytes) isChannelPoint_FundingTxid() {}
|
|
|
|
func (*ChannelPoint_FundingTxidStr) isChannelPoint_FundingTxid() {}
|
|
|
|
type OutPoint struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Raw bytes representing the transaction id.
|
|
TxidBytes []byte `protobuf:"bytes,1,opt,name=txid_bytes,json=txidBytes,proto3" json:"txid_bytes,omitempty"`
|
|
// Reversed, hex-encoded string representing the transaction id.
|
|
TxidStr string `protobuf:"bytes,2,opt,name=txid_str,json=txidStr,proto3" json:"txid_str,omitempty"`
|
|
// The index of the output on the transaction.
|
|
OutputIndex uint32 `protobuf:"varint,3,opt,name=output_index,json=outputIndex,proto3" json:"output_index,omitempty"`
|
|
}
|
|
|
|
func (x *OutPoint) Reset() {
|
|
*x = OutPoint{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[18]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *OutPoint) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OutPoint) ProtoMessage() {}
|
|
|
|
func (x *OutPoint) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_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)
|
|
}
|
|
|
|
// Deprecated: Use OutPoint.ProtoReflect.Descriptor instead.
|
|
func (*OutPoint) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
func (x *OutPoint) GetTxidBytes() []byte {
|
|
if x != nil {
|
|
return x.TxidBytes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *OutPoint) GetTxidStr() string {
|
|
if x != nil {
|
|
return x.TxidStr
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *OutPoint) GetOutputIndex() uint32 {
|
|
if x != nil {
|
|
return x.OutputIndex
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type PreviousOutPoint struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The outpoint in format txid:n.
|
|
Outpoint string `protobuf:"bytes,1,opt,name=outpoint,proto3" json:"outpoint,omitempty"`
|
|
// Denotes if the outpoint is controlled by the internal wallet.
|
|
// The flag will only detect p2wkh, np2wkh and p2tr inputs as its own.
|
|
IsOurOutput bool `protobuf:"varint,2,opt,name=is_our_output,json=isOurOutput,proto3" json:"is_our_output,omitempty"`
|
|
}
|
|
|
|
func (x *PreviousOutPoint) Reset() {
|
|
*x = PreviousOutPoint{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[19]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PreviousOutPoint) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PreviousOutPoint) ProtoMessage() {}
|
|
|
|
func (x *PreviousOutPoint) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_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)
|
|
}
|
|
|
|
// Deprecated: Use PreviousOutPoint.ProtoReflect.Descriptor instead.
|
|
func (*PreviousOutPoint) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{19}
|
|
}
|
|
|
|
func (x *PreviousOutPoint) GetOutpoint() string {
|
|
if x != nil {
|
|
return x.Outpoint
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PreviousOutPoint) GetIsOurOutput() bool {
|
|
if x != nil {
|
|
return x.IsOurOutput
|
|
}
|
|
return false
|
|
}
|
|
|
|
type LightningAddress struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The identity pubkey of the Lightning node.
|
|
Pubkey string `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
|
|
// The network location of the lightning node, e.g. `69.69.69.69:1337` or
|
|
// `localhost:10011`.
|
|
Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"`
|
|
}
|
|
|
|
func (x *LightningAddress) Reset() {
|
|
*x = LightningAddress{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[20]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *LightningAddress) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LightningAddress) ProtoMessage() {}
|
|
|
|
func (x *LightningAddress) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_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)
|
|
}
|
|
|
|
// Deprecated: Use LightningAddress.ProtoReflect.Descriptor instead.
|
|
func (*LightningAddress) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{20}
|
|
}
|
|
|
|
func (x *LightningAddress) GetPubkey() string {
|
|
if x != nil {
|
|
return x.Pubkey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LightningAddress) GetHost() string {
|
|
if x != nil {
|
|
return x.Host
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type EstimateFeeRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The map from addresses to amounts for the transaction.
|
|
AddrToAmount map[string]int64 `protobuf:"bytes,1,rep,name=AddrToAmount,proto3" json:"AddrToAmount,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
|
// The target number of blocks that this transaction should be confirmed
|
|
// by.
|
|
TargetConf int32 `protobuf:"varint,2,opt,name=target_conf,json=targetConf,proto3" json:"target_conf,omitempty"`
|
|
// The minimum number of confirmations each one of your outputs used for
|
|
// the transaction must satisfy.
|
|
MinConfs int32 `protobuf:"varint,3,opt,name=min_confs,json=minConfs,proto3" json:"min_confs,omitempty"`
|
|
// Whether unconfirmed outputs should be used as inputs for the transaction.
|
|
SpendUnconfirmed bool `protobuf:"varint,4,opt,name=spend_unconfirmed,json=spendUnconfirmed,proto3" json:"spend_unconfirmed,omitempty"`
|
|
// The strategy to use for selecting coins during fees estimation.
|
|
CoinSelectionStrategy CoinSelectionStrategy `protobuf:"varint,5,opt,name=coin_selection_strategy,json=coinSelectionStrategy,proto3,enum=lnrpc.CoinSelectionStrategy" json:"coin_selection_strategy,omitempty"`
|
|
}
|
|
|
|
func (x *EstimateFeeRequest) Reset() {
|
|
*x = EstimateFeeRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[21]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *EstimateFeeRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EstimateFeeRequest) ProtoMessage() {}
|
|
|
|
func (x *EstimateFeeRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_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)
|
|
}
|
|
|
|
// Deprecated: Use EstimateFeeRequest.ProtoReflect.Descriptor instead.
|
|
func (*EstimateFeeRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{21}
|
|
}
|
|
|
|
func (x *EstimateFeeRequest) GetAddrToAmount() map[string]int64 {
|
|
if x != nil {
|
|
return x.AddrToAmount
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *EstimateFeeRequest) GetTargetConf() int32 {
|
|
if x != nil {
|
|
return x.TargetConf
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *EstimateFeeRequest) GetMinConfs() int32 {
|
|
if x != nil {
|
|
return x.MinConfs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *EstimateFeeRequest) GetSpendUnconfirmed() bool {
|
|
if x != nil {
|
|
return x.SpendUnconfirmed
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *EstimateFeeRequest) GetCoinSelectionStrategy() CoinSelectionStrategy {
|
|
if x != nil {
|
|
return x.CoinSelectionStrategy
|
|
}
|
|
return CoinSelectionStrategy_STRATEGY_USE_GLOBAL_CONFIG
|
|
}
|
|
|
|
type EstimateFeeResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The total fee in satoshis.
|
|
FeeSat int64 `protobuf:"varint,1,opt,name=fee_sat,json=feeSat,proto3" json:"fee_sat,omitempty"`
|
|
// Deprecated, use sat_per_vbyte.
|
|
// The fee rate in satoshi/vbyte.
|
|
//
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
FeerateSatPerByte int64 `protobuf:"varint,2,opt,name=feerate_sat_per_byte,json=feerateSatPerByte,proto3" json:"feerate_sat_per_byte,omitempty"`
|
|
// The fee rate in satoshi/vbyte.
|
|
SatPerVbyte uint64 `protobuf:"varint,3,opt,name=sat_per_vbyte,json=satPerVbyte,proto3" json:"sat_per_vbyte,omitempty"`
|
|
}
|
|
|
|
func (x *EstimateFeeResponse) Reset() {
|
|
*x = EstimateFeeResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[22]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *EstimateFeeResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EstimateFeeResponse) ProtoMessage() {}
|
|
|
|
func (x *EstimateFeeResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[22]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use EstimateFeeResponse.ProtoReflect.Descriptor instead.
|
|
func (*EstimateFeeResponse) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{22}
|
|
}
|
|
|
|
func (x *EstimateFeeResponse) GetFeeSat() int64 {
|
|
if x != nil {
|
|
return x.FeeSat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
func (x *EstimateFeeResponse) GetFeerateSatPerByte() int64 {
|
|
if x != nil {
|
|
return x.FeerateSatPerByte
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *EstimateFeeResponse) GetSatPerVbyte() uint64 {
|
|
if x != nil {
|
|
return x.SatPerVbyte
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SendManyRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The map from addresses to amounts
|
|
AddrToAmount map[string]int64 `protobuf:"bytes,1,rep,name=AddrToAmount,proto3" json:"AddrToAmount,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
|
// The target number of blocks that this transaction should be confirmed
|
|
// by.
|
|
TargetConf int32 `protobuf:"varint,3,opt,name=target_conf,json=targetConf,proto3" json:"target_conf,omitempty"`
|
|
// A manual fee rate set in sat/vbyte that should be used when crafting the
|
|
// transaction.
|
|
SatPerVbyte uint64 `protobuf:"varint,4,opt,name=sat_per_vbyte,json=satPerVbyte,proto3" json:"sat_per_vbyte,omitempty"`
|
|
// Deprecated, use sat_per_vbyte.
|
|
// A manual fee rate set in sat/vbyte that should be used when crafting the
|
|
// transaction.
|
|
//
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
SatPerByte int64 `protobuf:"varint,5,opt,name=sat_per_byte,json=satPerByte,proto3" json:"sat_per_byte,omitempty"`
|
|
// An optional label for the transaction, limited to 500 characters.
|
|
Label string `protobuf:"bytes,6,opt,name=label,proto3" json:"label,omitempty"`
|
|
// The minimum number of confirmations each one of your outputs used for
|
|
// the transaction must satisfy.
|
|
MinConfs int32 `protobuf:"varint,7,opt,name=min_confs,json=minConfs,proto3" json:"min_confs,omitempty"`
|
|
// Whether unconfirmed outputs should be used as inputs for the transaction.
|
|
SpendUnconfirmed bool `protobuf:"varint,8,opt,name=spend_unconfirmed,json=spendUnconfirmed,proto3" json:"spend_unconfirmed,omitempty"`
|
|
// The strategy to use for selecting coins during sending many requests.
|
|
CoinSelectionStrategy CoinSelectionStrategy `protobuf:"varint,9,opt,name=coin_selection_strategy,json=coinSelectionStrategy,proto3,enum=lnrpc.CoinSelectionStrategy" json:"coin_selection_strategy,omitempty"`
|
|
}
|
|
|
|
func (x *SendManyRequest) Reset() {
|
|
*x = SendManyRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[23]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SendManyRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SendManyRequest) ProtoMessage() {}
|
|
|
|
func (x *SendManyRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[23]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use SendManyRequest.ProtoReflect.Descriptor instead.
|
|
func (*SendManyRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{23}
|
|
}
|
|
|
|
func (x *SendManyRequest) GetAddrToAmount() map[string]int64 {
|
|
if x != nil {
|
|
return x.AddrToAmount
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SendManyRequest) GetTargetConf() int32 {
|
|
if x != nil {
|
|
return x.TargetConf
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SendManyRequest) GetSatPerVbyte() uint64 {
|
|
if x != nil {
|
|
return x.SatPerVbyte
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
func (x *SendManyRequest) GetSatPerByte() int64 {
|
|
if x != nil {
|
|
return x.SatPerByte
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SendManyRequest) GetLabel() string {
|
|
if x != nil {
|
|
return x.Label
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SendManyRequest) GetMinConfs() int32 {
|
|
if x != nil {
|
|
return x.MinConfs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SendManyRequest) GetSpendUnconfirmed() bool {
|
|
if x != nil {
|
|
return x.SpendUnconfirmed
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *SendManyRequest) GetCoinSelectionStrategy() CoinSelectionStrategy {
|
|
if x != nil {
|
|
return x.CoinSelectionStrategy
|
|
}
|
|
return CoinSelectionStrategy_STRATEGY_USE_GLOBAL_CONFIG
|
|
}
|
|
|
|
type SendManyResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The id of the transaction
|
|
Txid string `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"`
|
|
}
|
|
|
|
func (x *SendManyResponse) Reset() {
|
|
*x = SendManyResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[24]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SendManyResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SendManyResponse) ProtoMessage() {}
|
|
|
|
func (x *SendManyResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[24]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use SendManyResponse.ProtoReflect.Descriptor instead.
|
|
func (*SendManyResponse) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{24}
|
|
}
|
|
|
|
func (x *SendManyResponse) GetTxid() string {
|
|
if x != nil {
|
|
return x.Txid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SendCoinsRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The address to send coins to
|
|
Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
|
|
// The amount in satoshis to send
|
|
Amount int64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
|
|
// The target number of blocks that this transaction should be confirmed
|
|
// by.
|
|
TargetConf int32 `protobuf:"varint,3,opt,name=target_conf,json=targetConf,proto3" json:"target_conf,omitempty"`
|
|
// A manual fee rate set in sat/vbyte that should be used when crafting the
|
|
// transaction.
|
|
SatPerVbyte uint64 `protobuf:"varint,4,opt,name=sat_per_vbyte,json=satPerVbyte,proto3" json:"sat_per_vbyte,omitempty"`
|
|
// Deprecated, use sat_per_vbyte.
|
|
// A manual fee rate set in sat/vbyte that should be used when crafting the
|
|
// transaction.
|
|
//
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
SatPerByte int64 `protobuf:"varint,5,opt,name=sat_per_byte,json=satPerByte,proto3" json:"sat_per_byte,omitempty"`
|
|
// If set, the amount field should be unset. It indicates lnd will send all
|
|
// wallet coins or all selected coins to the specified address.
|
|
SendAll bool `protobuf:"varint,6,opt,name=send_all,json=sendAll,proto3" json:"send_all,omitempty"`
|
|
// An optional label for the transaction, limited to 500 characters.
|
|
Label string `protobuf:"bytes,7,opt,name=label,proto3" json:"label,omitempty"`
|
|
// The minimum number of confirmations each one of your outputs used for
|
|
// the transaction must satisfy.
|
|
MinConfs int32 `protobuf:"varint,8,opt,name=min_confs,json=minConfs,proto3" json:"min_confs,omitempty"`
|
|
// Whether unconfirmed outputs should be used as inputs for the transaction.
|
|
SpendUnconfirmed bool `protobuf:"varint,9,opt,name=spend_unconfirmed,json=spendUnconfirmed,proto3" json:"spend_unconfirmed,omitempty"`
|
|
// The strategy to use for selecting coins.
|
|
CoinSelectionStrategy CoinSelectionStrategy `protobuf:"varint,10,opt,name=coin_selection_strategy,json=coinSelectionStrategy,proto3,enum=lnrpc.CoinSelectionStrategy" json:"coin_selection_strategy,omitempty"`
|
|
// A list of selected outpoints as inputs for the transaction.
|
|
Outpoints []*OutPoint `protobuf:"bytes,11,rep,name=outpoints,proto3" json:"outpoints,omitempty"`
|
|
}
|
|
|
|
func (x *SendCoinsRequest) Reset() {
|
|
*x = SendCoinsRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[25]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SendCoinsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SendCoinsRequest) ProtoMessage() {}
|
|
|
|
func (x *SendCoinsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[25]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use SendCoinsRequest.ProtoReflect.Descriptor instead.
|
|
func (*SendCoinsRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{25}
|
|
}
|
|
|
|
func (x *SendCoinsRequest) GetAddr() string {
|
|
if x != nil {
|
|
return x.Addr
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SendCoinsRequest) GetAmount() int64 {
|
|
if x != nil {
|
|
return x.Amount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SendCoinsRequest) GetTargetConf() int32 {
|
|
if x != nil {
|
|
return x.TargetConf
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SendCoinsRequest) GetSatPerVbyte() uint64 {
|
|
if x != nil {
|
|
return x.SatPerVbyte
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
func (x *SendCoinsRequest) GetSatPerByte() int64 {
|
|
if x != nil {
|
|
return x.SatPerByte
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SendCoinsRequest) GetSendAll() bool {
|
|
if x != nil {
|
|
return x.SendAll
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *SendCoinsRequest) GetLabel() string {
|
|
if x != nil {
|
|
return x.Label
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SendCoinsRequest) GetMinConfs() int32 {
|
|
if x != nil {
|
|
return x.MinConfs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SendCoinsRequest) GetSpendUnconfirmed() bool {
|
|
if x != nil {
|
|
return x.SpendUnconfirmed
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *SendCoinsRequest) GetCoinSelectionStrategy() CoinSelectionStrategy {
|
|
if x != nil {
|
|
return x.CoinSelectionStrategy
|
|
}
|
|
return CoinSelectionStrategy_STRATEGY_USE_GLOBAL_CONFIG
|
|
}
|
|
|
|
func (x *SendCoinsRequest) GetOutpoints() []*OutPoint {
|
|
if x != nil {
|
|
return x.Outpoints
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SendCoinsResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The transaction ID of the transaction
|
|
Txid string `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"`
|
|
}
|
|
|
|
func (x *SendCoinsResponse) Reset() {
|
|
*x = SendCoinsResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[26]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SendCoinsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SendCoinsResponse) ProtoMessage() {}
|
|
|
|
func (x *SendCoinsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[26]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use SendCoinsResponse.ProtoReflect.Descriptor instead.
|
|
func (*SendCoinsResponse) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{26}
|
|
}
|
|
|
|
func (x *SendCoinsResponse) GetTxid() string {
|
|
if x != nil {
|
|
return x.Txid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListUnspentRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The minimum number of confirmations to be included.
|
|
MinConfs int32 `protobuf:"varint,1,opt,name=min_confs,json=minConfs,proto3" json:"min_confs,omitempty"`
|
|
// The maximum number of confirmations to be included.
|
|
MaxConfs int32 `protobuf:"varint,2,opt,name=max_confs,json=maxConfs,proto3" json:"max_confs,omitempty"`
|
|
// An optional filter to only include outputs belonging to an account.
|
|
Account string `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"`
|
|
}
|
|
|
|
func (x *ListUnspentRequest) Reset() {
|
|
*x = ListUnspentRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[27]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListUnspentRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListUnspentRequest) ProtoMessage() {}
|
|
|
|
func (x *ListUnspentRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[27]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use ListUnspentRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListUnspentRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{27}
|
|
}
|
|
|
|
func (x *ListUnspentRequest) GetMinConfs() int32 {
|
|
if x != nil {
|
|
return x.MinConfs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListUnspentRequest) GetMaxConfs() int32 {
|
|
if x != nil {
|
|
return x.MaxConfs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListUnspentRequest) GetAccount() string {
|
|
if x != nil {
|
|
return x.Account
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListUnspentResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// A list of utxos
|
|
Utxos []*Utxo `protobuf:"bytes,1,rep,name=utxos,proto3" json:"utxos,omitempty"`
|
|
}
|
|
|
|
func (x *ListUnspentResponse) Reset() {
|
|
*x = ListUnspentResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[28]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListUnspentResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListUnspentResponse) ProtoMessage() {}
|
|
|
|
func (x *ListUnspentResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[28]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use ListUnspentResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListUnspentResponse) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{28}
|
|
}
|
|
|
|
func (x *ListUnspentResponse) GetUtxos() []*Utxo {
|
|
if x != nil {
|
|
return x.Utxos
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type NewAddressRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The type of address to generate.
|
|
Type AddressType `protobuf:"varint,1,opt,name=type,proto3,enum=lnrpc.AddressType" json:"type,omitempty"`
|
|
// The name of the account to generate a new address for. If empty, the
|
|
// default wallet account is used.
|
|
Account string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"`
|
|
}
|
|
|
|
func (x *NewAddressRequest) Reset() {
|
|
*x = NewAddressRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[29]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *NewAddressRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*NewAddressRequest) ProtoMessage() {}
|
|
|
|
func (x *NewAddressRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[29]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use NewAddressRequest.ProtoReflect.Descriptor instead.
|
|
func (*NewAddressRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{29}
|
|
}
|
|
|
|
func (x *NewAddressRequest) GetType() AddressType {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return AddressType_WITNESS_PUBKEY_HASH
|
|
}
|
|
|
|
func (x *NewAddressRequest) GetAccount() string {
|
|
if x != nil {
|
|
return x.Account
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type NewAddressResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The newly generated wallet address
|
|
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
|
|
}
|
|
|
|
func (x *NewAddressResponse) Reset() {
|
|
*x = NewAddressResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[30]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *NewAddressResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*NewAddressResponse) ProtoMessage() {}
|
|
|
|
func (x *NewAddressResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[30]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use NewAddressResponse.ProtoReflect.Descriptor instead.
|
|
func (*NewAddressResponse) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{30}
|
|
}
|
|
|
|
func (x *NewAddressResponse) GetAddress() string {
|
|
if x != nil {
|
|
return x.Address
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type SignMessageRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The message to be signed. When using REST, this field must be encoded as
|
|
// base64.
|
|
Msg []byte `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
|
|
// Instead of the default double-SHA256 hashing of the message before signing,
|
|
// only use one round of hashing instead.
|
|
SingleHash bool `protobuf:"varint,2,opt,name=single_hash,json=singleHash,proto3" json:"single_hash,omitempty"`
|
|
}
|
|
|
|
func (x *SignMessageRequest) Reset() {
|
|
*x = SignMessageRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[31]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SignMessageRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SignMessageRequest) ProtoMessage() {}
|
|
|
|
func (x *SignMessageRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[31]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use SignMessageRequest.ProtoReflect.Descriptor instead.
|
|
func (*SignMessageRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{31}
|
|
}
|
|
|
|
func (x *SignMessageRequest) GetMsg() []byte {
|
|
if x != nil {
|
|
return x.Msg
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SignMessageRequest) GetSingleHash() bool {
|
|
if x != nil {
|
|
return x.SingleHash
|
|
}
|
|
return false
|
|
}
|
|
|
|
type SignMessageResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The signature for the given message
|
|
Signature string `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
|
|
}
|
|
|
|
func (x *SignMessageResponse) Reset() {
|
|
*x = SignMessageResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[32]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SignMessageResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SignMessageResponse) ProtoMessage() {}
|
|
|
|
func (x *SignMessageResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[32]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use SignMessageResponse.ProtoReflect.Descriptor instead.
|
|
func (*SignMessageResponse) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{32}
|
|
}
|
|
|
|
func (x *SignMessageResponse) GetSignature() string {
|
|
if x != nil {
|
|
return x.Signature
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type VerifyMessageRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The message over which the signature is to be verified. When using REST,
|
|
// this field must be encoded as base64.
|
|
Msg []byte `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
|
|
// The signature to be verified over the given message
|
|
Signature string `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
|
|
}
|
|
|
|
func (x *VerifyMessageRequest) Reset() {
|
|
*x = VerifyMessageRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[33]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *VerifyMessageRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VerifyMessageRequest) ProtoMessage() {}
|
|
|
|
func (x *VerifyMessageRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[33]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use VerifyMessageRequest.ProtoReflect.Descriptor instead.
|
|
func (*VerifyMessageRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{33}
|
|
}
|
|
|
|
func (x *VerifyMessageRequest) GetMsg() []byte {
|
|
if x != nil {
|
|
return x.Msg
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *VerifyMessageRequest) GetSignature() string {
|
|
if x != nil {
|
|
return x.Signature
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type VerifyMessageResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Whether the signature was valid over the given message
|
|
Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"`
|
|
// The pubkey recovered from the signature
|
|
Pubkey string `protobuf:"bytes,2,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
|
|
}
|
|
|
|
func (x *VerifyMessageResponse) Reset() {
|
|
*x = VerifyMessageResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[34]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *VerifyMessageResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VerifyMessageResponse) ProtoMessage() {}
|
|
|
|
func (x *VerifyMessageResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[34]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use VerifyMessageResponse.ProtoReflect.Descriptor instead.
|
|
func (*VerifyMessageResponse) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{34}
|
|
}
|
|
|
|
func (x *VerifyMessageResponse) GetValid() bool {
|
|
if x != nil {
|
|
return x.Valid
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *VerifyMessageResponse) GetPubkey() string {
|
|
if x != nil {
|
|
return x.Pubkey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ConnectPeerRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Lightning address of the peer to connect to.
|
|
Addr *LightningAddress `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"`
|
|
// If set, the daemon will attempt to persistently connect to the target
|
|
// peer. Otherwise, the call will be synchronous.
|
|
Perm bool `protobuf:"varint,2,opt,name=perm,proto3" json:"perm,omitempty"`
|
|
// The connection timeout value (in seconds) for this request. It won't affect
|
|
// other requests.
|
|
Timeout uint64 `protobuf:"varint,3,opt,name=timeout,proto3" json:"timeout,omitempty"`
|
|
}
|
|
|
|
func (x *ConnectPeerRequest) Reset() {
|
|
*x = ConnectPeerRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[35]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ConnectPeerRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ConnectPeerRequest) ProtoMessage() {}
|
|
|
|
func (x *ConnectPeerRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[35]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use ConnectPeerRequest.ProtoReflect.Descriptor instead.
|
|
func (*ConnectPeerRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{35}
|
|
}
|
|
|
|
func (x *ConnectPeerRequest) GetAddr() *LightningAddress {
|
|
if x != nil {
|
|
return x.Addr
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ConnectPeerRequest) GetPerm() bool {
|
|
if x != nil {
|
|
return x.Perm
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ConnectPeerRequest) GetTimeout() uint64 {
|
|
if x != nil {
|
|
return x.Timeout
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ConnectPeerResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *ConnectPeerResponse) Reset() {
|
|
*x = ConnectPeerResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[36]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ConnectPeerResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ConnectPeerResponse) ProtoMessage() {}
|
|
|
|
func (x *ConnectPeerResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[36]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use ConnectPeerResponse.ProtoReflect.Descriptor instead.
|
|
func (*ConnectPeerResponse) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{36}
|
|
}
|
|
|
|
type DisconnectPeerRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The pubkey of the node to disconnect from
|
|
PubKey string `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
|
|
}
|
|
|
|
func (x *DisconnectPeerRequest) Reset() {
|
|
*x = DisconnectPeerRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[37]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DisconnectPeerRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DisconnectPeerRequest) ProtoMessage() {}
|
|
|
|
func (x *DisconnectPeerRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[37]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use DisconnectPeerRequest.ProtoReflect.Descriptor instead.
|
|
func (*DisconnectPeerRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{37}
|
|
}
|
|
|
|
func (x *DisconnectPeerRequest) GetPubKey() string {
|
|
if x != nil {
|
|
return x.PubKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DisconnectPeerResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *DisconnectPeerResponse) Reset() {
|
|
*x = DisconnectPeerResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[38]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DisconnectPeerResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DisconnectPeerResponse) ProtoMessage() {}
|
|
|
|
func (x *DisconnectPeerResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[38]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use DisconnectPeerResponse.ProtoReflect.Descriptor instead.
|
|
func (*DisconnectPeerResponse) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{38}
|
|
}
|
|
|
|
type HTLC struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Incoming bool `protobuf:"varint,1,opt,name=incoming,proto3" json:"incoming,omitempty"`
|
|
Amount int64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
|
|
HashLock []byte `protobuf:"bytes,3,opt,name=hash_lock,json=hashLock,proto3" json:"hash_lock,omitempty"`
|
|
ExpirationHeight uint32 `protobuf:"varint,4,opt,name=expiration_height,json=expirationHeight,proto3" json:"expiration_height,omitempty"`
|
|
// Index identifying the htlc on the channel.
|
|
HtlcIndex uint64 `protobuf:"varint,5,opt,name=htlc_index,json=htlcIndex,proto3" json:"htlc_index,omitempty"`
|
|
// If this HTLC is involved in a forwarding operation, this field indicates
|
|
// the forwarding channel. For an outgoing htlc, it is the incoming channel.
|
|
// For an incoming htlc, it is the outgoing channel. When the htlc
|
|
// originates from this node or this node is the final destination,
|
|
// forwarding_channel will be zero. The forwarding channel will also be zero
|
|
// for htlcs that need to be forwarded but don't have a forwarding decision
|
|
// persisted yet.
|
|
ForwardingChannel uint64 `protobuf:"varint,6,opt,name=forwarding_channel,json=forwardingChannel,proto3" json:"forwarding_channel,omitempty"`
|
|
// Index identifying the htlc on the forwarding channel.
|
|
ForwardingHtlcIndex uint64 `protobuf:"varint,7,opt,name=forwarding_htlc_index,json=forwardingHtlcIndex,proto3" json:"forwarding_htlc_index,omitempty"`
|
|
}
|
|
|
|
func (x *HTLC) Reset() {
|
|
*x = HTLC{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[39]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *HTLC) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HTLC) ProtoMessage() {}
|
|
|
|
func (x *HTLC) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[39]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use HTLC.ProtoReflect.Descriptor instead.
|
|
func (*HTLC) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{39}
|
|
}
|
|
|
|
func (x *HTLC) GetIncoming() bool {
|
|
if x != nil {
|
|
return x.Incoming
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *HTLC) GetAmount() int64 {
|
|
if x != nil {
|
|
return x.Amount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *HTLC) GetHashLock() []byte {
|
|
if x != nil {
|
|
return x.HashLock
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *HTLC) GetExpirationHeight() uint32 {
|
|
if x != nil {
|
|
return x.ExpirationHeight
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *HTLC) GetHtlcIndex() uint64 {
|
|
if x != nil {
|
|
return x.HtlcIndex
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *HTLC) GetForwardingChannel() uint64 {
|
|
if x != nil {
|
|
return x.ForwardingChannel
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *HTLC) GetForwardingHtlcIndex() uint64 {
|
|
if x != nil {
|
|
return x.ForwardingHtlcIndex
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ChannelConstraints struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The CSV delay expressed in relative blocks. If the channel is force closed,
|
|
// we will need to wait for this many blocks before we can regain our funds.
|
|
CsvDelay uint32 `protobuf:"varint,1,opt,name=csv_delay,json=csvDelay,proto3" json:"csv_delay,omitempty"`
|
|
// The minimum satoshis this node is required to reserve in its balance.
|
|
ChanReserveSat uint64 `protobuf:"varint,2,opt,name=chan_reserve_sat,json=chanReserveSat,proto3" json:"chan_reserve_sat,omitempty"`
|
|
// The dust limit (in satoshis) of the initiator's commitment tx.
|
|
DustLimitSat uint64 `protobuf:"varint,3,opt,name=dust_limit_sat,json=dustLimitSat,proto3" json:"dust_limit_sat,omitempty"`
|
|
// The maximum amount of coins in millisatoshis that can be pending in this
|
|
// channel.
|
|
MaxPendingAmtMsat uint64 `protobuf:"varint,4,opt,name=max_pending_amt_msat,json=maxPendingAmtMsat,proto3" json:"max_pending_amt_msat,omitempty"`
|
|
// The smallest HTLC in millisatoshis that the initiator will accept.
|
|
MinHtlcMsat uint64 `protobuf:"varint,5,opt,name=min_htlc_msat,json=minHtlcMsat,proto3" json:"min_htlc_msat,omitempty"`
|
|
// The total number of incoming HTLC's that the initiator will accept.
|
|
MaxAcceptedHtlcs uint32 `protobuf:"varint,6,opt,name=max_accepted_htlcs,json=maxAcceptedHtlcs,proto3" json:"max_accepted_htlcs,omitempty"`
|
|
}
|
|
|
|
func (x *ChannelConstraints) Reset() {
|
|
*x = ChannelConstraints{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[40]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ChannelConstraints) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ChannelConstraints) ProtoMessage() {}
|
|
|
|
func (x *ChannelConstraints) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[40]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use ChannelConstraints.ProtoReflect.Descriptor instead.
|
|
func (*ChannelConstraints) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{40}
|
|
}
|
|
|
|
func (x *ChannelConstraints) GetCsvDelay() uint32 {
|
|
if x != nil {
|
|
return x.CsvDelay
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChannelConstraints) GetChanReserveSat() uint64 {
|
|
if x != nil {
|
|
return x.ChanReserveSat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChannelConstraints) GetDustLimitSat() uint64 {
|
|
if x != nil {
|
|
return x.DustLimitSat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChannelConstraints) GetMaxPendingAmtMsat() uint64 {
|
|
if x != nil {
|
|
return x.MaxPendingAmtMsat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChannelConstraints) GetMinHtlcMsat() uint64 {
|
|
if x != nil {
|
|
return x.MinHtlcMsat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChannelConstraints) GetMaxAcceptedHtlcs() uint32 {
|
|
if x != nil {
|
|
return x.MaxAcceptedHtlcs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type Channel struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Whether this channel is active or not
|
|
Active bool `protobuf:"varint,1,opt,name=active,proto3" json:"active,omitempty"`
|
|
// The identity pubkey of the remote node
|
|
RemotePubkey string `protobuf:"bytes,2,opt,name=remote_pubkey,json=remotePubkey,proto3" json:"remote_pubkey,omitempty"`
|
|
// The outpoint (txid:index) of the funding transaction. With this value, Bob
|
|
// will be able to generate a signature for Alice's version of the commitment
|
|
// transaction.
|
|
ChannelPoint string `protobuf:"bytes,3,opt,name=channel_point,json=channelPoint,proto3" json:"channel_point,omitempty"`
|
|
// The unique channel ID for the channel. The first 3 bytes are the block
|
|
// height, the next 3 the index within the block, and the last 2 bytes are the
|
|
// output index for the channel.
|
|
ChanId uint64 `protobuf:"varint,4,opt,name=chan_id,json=chanId,proto3" json:"chan_id,omitempty"`
|
|
// The total amount of funds held in this channel
|
|
Capacity int64 `protobuf:"varint,5,opt,name=capacity,proto3" json:"capacity,omitempty"`
|
|
// This node's current balance in this channel
|
|
LocalBalance int64 `protobuf:"varint,6,opt,name=local_balance,json=localBalance,proto3" json:"local_balance,omitempty"`
|
|
// The counterparty's current balance in this channel
|
|
RemoteBalance int64 `protobuf:"varint,7,opt,name=remote_balance,json=remoteBalance,proto3" json:"remote_balance,omitempty"`
|
|
// The amount calculated to be paid in fees for the current set of commitment
|
|
// transactions. The fee amount is persisted with the channel in order to
|
|
// allow the fee amount to be removed and recalculated with each channel state
|
|
// update, including updates that happen after a system restart.
|
|
CommitFee int64 `protobuf:"varint,8,opt,name=commit_fee,json=commitFee,proto3" json:"commit_fee,omitempty"`
|
|
// The weight of the commitment transaction
|
|
CommitWeight int64 `protobuf:"varint,9,opt,name=commit_weight,json=commitWeight,proto3" json:"commit_weight,omitempty"`
|
|
// The required number of satoshis per kilo-weight that the requester will pay
|
|
// at all times, for both the funding transaction and commitment transaction.
|
|
// This value can later be updated once the channel is open.
|
|
FeePerKw int64 `protobuf:"varint,10,opt,name=fee_per_kw,json=feePerKw,proto3" json:"fee_per_kw,omitempty"`
|
|
// The unsettled balance in this channel
|
|
UnsettledBalance int64 `protobuf:"varint,11,opt,name=unsettled_balance,json=unsettledBalance,proto3" json:"unsettled_balance,omitempty"`
|
|
// The total number of satoshis we've sent within this channel.
|
|
TotalSatoshisSent int64 `protobuf:"varint,12,opt,name=total_satoshis_sent,json=totalSatoshisSent,proto3" json:"total_satoshis_sent,omitempty"`
|
|
// The total number of satoshis we've received within this channel.
|
|
TotalSatoshisReceived int64 `protobuf:"varint,13,opt,name=total_satoshis_received,json=totalSatoshisReceived,proto3" json:"total_satoshis_received,omitempty"`
|
|
// The total number of updates conducted within this channel.
|
|
NumUpdates uint64 `protobuf:"varint,14,opt,name=num_updates,json=numUpdates,proto3" json:"num_updates,omitempty"`
|
|
// The list of active, uncleared HTLCs currently pending within the channel.
|
|
PendingHtlcs []*HTLC `protobuf:"bytes,15,rep,name=pending_htlcs,json=pendingHtlcs,proto3" json:"pending_htlcs,omitempty"`
|
|
// Deprecated. The CSV delay expressed in relative blocks. If the channel is
|
|
// force closed, we will need to wait for this many blocks before we can regain
|
|
// our funds.
|
|
//
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
CsvDelay uint32 `protobuf:"varint,16,opt,name=csv_delay,json=csvDelay,proto3" json:"csv_delay,omitempty"`
|
|
// Whether this channel is advertised to the network or not.
|
|
Private bool `protobuf:"varint,17,opt,name=private,proto3" json:"private,omitempty"`
|
|
// True if we were the ones that created the channel.
|
|
Initiator bool `protobuf:"varint,18,opt,name=initiator,proto3" json:"initiator,omitempty"`
|
|
// A set of flags showing the current state of the channel.
|
|
ChanStatusFlags string `protobuf:"bytes,19,opt,name=chan_status_flags,json=chanStatusFlags,proto3" json:"chan_status_flags,omitempty"`
|
|
// Deprecated. The minimum satoshis this node is required to reserve in its
|
|
// balance.
|
|
//
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
LocalChanReserveSat int64 `protobuf:"varint,20,opt,name=local_chan_reserve_sat,json=localChanReserveSat,proto3" json:"local_chan_reserve_sat,omitempty"`
|
|
// Deprecated. The minimum satoshis the other node is required to reserve in
|
|
// its balance.
|
|
//
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
RemoteChanReserveSat int64 `protobuf:"varint,21,opt,name=remote_chan_reserve_sat,json=remoteChanReserveSat,proto3" json:"remote_chan_reserve_sat,omitempty"`
|
|
// Deprecated. Use commitment_type.
|
|
//
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
StaticRemoteKey bool `protobuf:"varint,22,opt,name=static_remote_key,json=staticRemoteKey,proto3" json:"static_remote_key,omitempty"`
|
|
// The commitment type used by this channel.
|
|
CommitmentType CommitmentType `protobuf:"varint,26,opt,name=commitment_type,json=commitmentType,proto3,enum=lnrpc.CommitmentType" json:"commitment_type,omitempty"`
|
|
// The number of seconds that the channel has been monitored by the channel
|
|
// scoring system. Scores are currently not persisted, so this value may be
|
|
// less than the lifetime of the channel [EXPERIMENTAL].
|
|
Lifetime int64 `protobuf:"varint,23,opt,name=lifetime,proto3" json:"lifetime,omitempty"`
|
|
// The number of seconds that the remote peer has been observed as being online
|
|
// by the channel scoring system over the lifetime of the channel
|
|
// [EXPERIMENTAL].
|
|
Uptime int64 `protobuf:"varint,24,opt,name=uptime,proto3" json:"uptime,omitempty"`
|
|
// Close address is the address that we will enforce payout to on cooperative
|
|
// close if the channel was opened utilizing option upfront shutdown. This
|
|
// value can be set on channel open by setting close_address in an open channel
|
|
// request. If this value is not set, you can still choose a payout address by
|
|
// cooperatively closing with the delivery_address field set.
|
|
CloseAddress string `protobuf:"bytes,25,opt,name=close_address,json=closeAddress,proto3" json:"close_address,omitempty"`
|
|
// The amount that the initiator of the channel optionally pushed to the remote
|
|
// party on channel open. This amount will be zero if the channel initiator did
|
|
// not push any funds to the remote peer. If the initiator field is true, we
|
|
// pushed this amount to our peer, if it is false, the remote peer pushed this
|
|
// amount to us.
|
|
PushAmountSat uint64 `protobuf:"varint,27,opt,name=push_amount_sat,json=pushAmountSat,proto3" json:"push_amount_sat,omitempty"`
|
|
// This uint32 indicates if this channel is to be considered 'frozen'. A
|
|
// frozen channel doest not allow a cooperative channel close by the
|
|
// initiator. The thaw_height is the height that this restriction stops
|
|
// applying to the channel. This field is optional, not setting it or using a
|
|
// value of zero will mean the channel has no additional restrictions. The
|
|
// height can be interpreted in two ways: as a relative height if the value is
|
|
// less than 500,000, or as an absolute height otherwise.
|
|
ThawHeight uint32 `protobuf:"varint,28,opt,name=thaw_height,json=thawHeight,proto3" json:"thaw_height,omitempty"`
|
|
// List constraints for the local node.
|
|
LocalConstraints *ChannelConstraints `protobuf:"bytes,29,opt,name=local_constraints,json=localConstraints,proto3" json:"local_constraints,omitempty"`
|
|
// List constraints for the remote node.
|
|
RemoteConstraints *ChannelConstraints `protobuf:"bytes,30,opt,name=remote_constraints,json=remoteConstraints,proto3" json:"remote_constraints,omitempty"`
|
|
// This lists out the set of alias short channel ids that exist for a channel.
|
|
// This may be empty.
|
|
AliasScids []uint64 `protobuf:"varint,31,rep,packed,name=alias_scids,json=aliasScids,proto3" json:"alias_scids,omitempty"`
|
|
// Whether or not this is a zero-conf channel.
|
|
ZeroConf bool `protobuf:"varint,32,opt,name=zero_conf,json=zeroConf,proto3" json:"zero_conf,omitempty"`
|
|
// This is the confirmed / on-chain zero-conf SCID.
|
|
ZeroConfConfirmedScid uint64 `protobuf:"varint,33,opt,name=zero_conf_confirmed_scid,json=zeroConfConfirmedScid,proto3" json:"zero_conf_confirmed_scid,omitempty"`
|
|
// The configured alias name of our peer.
|
|
PeerAlias string `protobuf:"bytes,34,opt,name=peer_alias,json=peerAlias,proto3" json:"peer_alias,omitempty"`
|
|
// This is the peer SCID alias.
|
|
PeerScidAlias uint64 `protobuf:"varint,35,opt,name=peer_scid_alias,json=peerScidAlias,proto3" json:"peer_scid_alias,omitempty"`
|
|
// An optional note-to-self to go along with the channel containing some
|
|
// useful information. This is only ever stored locally and in no way impacts
|
|
// the channel's operation.
|
|
Memo string `protobuf:"bytes,36,opt,name=memo,proto3" json:"memo,omitempty"`
|
|
}
|
|
|
|
func (x *Channel) Reset() {
|
|
*x = Channel{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[41]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Channel) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Channel) ProtoMessage() {}
|
|
|
|
func (x *Channel) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[41]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use Channel.ProtoReflect.Descriptor instead.
|
|
func (*Channel) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{41}
|
|
}
|
|
|
|
func (x *Channel) GetActive() bool {
|
|
if x != nil {
|
|
return x.Active
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *Channel) GetRemotePubkey() string {
|
|
if x != nil {
|
|
return x.RemotePubkey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Channel) GetChannelPoint() string {
|
|
if x != nil {
|
|
return x.ChannelPoint
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Channel) GetChanId() uint64 {
|
|
if x != nil {
|
|
return x.ChanId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Channel) GetCapacity() int64 {
|
|
if x != nil {
|
|
return x.Capacity
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Channel) GetLocalBalance() int64 {
|
|
if x != nil {
|
|
return x.LocalBalance
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Channel) GetRemoteBalance() int64 {
|
|
if x != nil {
|
|
return x.RemoteBalance
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Channel) GetCommitFee() int64 {
|
|
if x != nil {
|
|
return x.CommitFee
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Channel) GetCommitWeight() int64 {
|
|
if x != nil {
|
|
return x.CommitWeight
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Channel) GetFeePerKw() int64 {
|
|
if x != nil {
|
|
return x.FeePerKw
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Channel) GetUnsettledBalance() int64 {
|
|
if x != nil {
|
|
return x.UnsettledBalance
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Channel) GetTotalSatoshisSent() int64 {
|
|
if x != nil {
|
|
return x.TotalSatoshisSent
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Channel) GetTotalSatoshisReceived() int64 {
|
|
if x != nil {
|
|
return x.TotalSatoshisReceived
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Channel) GetNumUpdates() uint64 {
|
|
if x != nil {
|
|
return x.NumUpdates
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Channel) GetPendingHtlcs() []*HTLC {
|
|
if x != nil {
|
|
return x.PendingHtlcs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
func (x *Channel) GetCsvDelay() uint32 {
|
|
if x != nil {
|
|
return x.CsvDelay
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Channel) GetPrivate() bool {
|
|
if x != nil {
|
|
return x.Private
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *Channel) GetInitiator() bool {
|
|
if x != nil {
|
|
return x.Initiator
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *Channel) GetChanStatusFlags() string {
|
|
if x != nil {
|
|
return x.ChanStatusFlags
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
func (x *Channel) GetLocalChanReserveSat() int64 {
|
|
if x != nil {
|
|
return x.LocalChanReserveSat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
func (x *Channel) GetRemoteChanReserveSat() int64 {
|
|
if x != nil {
|
|
return x.RemoteChanReserveSat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
func (x *Channel) GetStaticRemoteKey() bool {
|
|
if x != nil {
|
|
return x.StaticRemoteKey
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *Channel) GetCommitmentType() CommitmentType {
|
|
if x != nil {
|
|
return x.CommitmentType
|
|
}
|
|
return CommitmentType_UNKNOWN_COMMITMENT_TYPE
|
|
}
|
|
|
|
func (x *Channel) GetLifetime() int64 {
|
|
if x != nil {
|
|
return x.Lifetime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Channel) GetUptime() int64 {
|
|
if x != nil {
|
|
return x.Uptime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Channel) GetCloseAddress() string {
|
|
if x != nil {
|
|
return x.CloseAddress
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Channel) GetPushAmountSat() uint64 {
|
|
if x != nil {
|
|
return x.PushAmountSat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Channel) GetThawHeight() uint32 {
|
|
if x != nil {
|
|
return x.ThawHeight
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Channel) GetLocalConstraints() *ChannelConstraints {
|
|
if x != nil {
|
|
return x.LocalConstraints
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Channel) GetRemoteConstraints() *ChannelConstraints {
|
|
if x != nil {
|
|
return x.RemoteConstraints
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Channel) GetAliasScids() []uint64 {
|
|
if x != nil {
|
|
return x.AliasScids
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Channel) GetZeroConf() bool {
|
|
if x != nil {
|
|
return x.ZeroConf
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *Channel) GetZeroConfConfirmedScid() uint64 {
|
|
if x != nil {
|
|
return x.ZeroConfConfirmedScid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Channel) GetPeerAlias() string {
|
|
if x != nil {
|
|
return x.PeerAlias
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Channel) GetPeerScidAlias() uint64 {
|
|
if x != nil {
|
|
return x.PeerScidAlias
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Channel) GetMemo() string {
|
|
if x != nil {
|
|
return x.Memo
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListChannelsRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ActiveOnly bool `protobuf:"varint,1,opt,name=active_only,json=activeOnly,proto3" json:"active_only,omitempty"`
|
|
InactiveOnly bool `protobuf:"varint,2,opt,name=inactive_only,json=inactiveOnly,proto3" json:"inactive_only,omitempty"`
|
|
PublicOnly bool `protobuf:"varint,3,opt,name=public_only,json=publicOnly,proto3" json:"public_only,omitempty"`
|
|
PrivateOnly bool `protobuf:"varint,4,opt,name=private_only,json=privateOnly,proto3" json:"private_only,omitempty"`
|
|
// Filters the response for channels with a target peer's pubkey. If peer is
|
|
// empty, all channels will be returned.
|
|
Peer []byte `protobuf:"bytes,5,opt,name=peer,proto3" json:"peer,omitempty"`
|
|
// Informs the server if the peer alias lookup per channel should be
|
|
// enabled. It is turned off by default in order to avoid degradation of
|
|
// performance for existing clients.
|
|
PeerAliasLookup bool `protobuf:"varint,6,opt,name=peer_alias_lookup,json=peerAliasLookup,proto3" json:"peer_alias_lookup,omitempty"`
|
|
}
|
|
|
|
func (x *ListChannelsRequest) Reset() {
|
|
*x = ListChannelsRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[42]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListChannelsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListChannelsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListChannelsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[42]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use ListChannelsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListChannelsRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{42}
|
|
}
|
|
|
|
func (x *ListChannelsRequest) GetActiveOnly() bool {
|
|
if x != nil {
|
|
return x.ActiveOnly
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ListChannelsRequest) GetInactiveOnly() bool {
|
|
if x != nil {
|
|
return x.InactiveOnly
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ListChannelsRequest) GetPublicOnly() bool {
|
|
if x != nil {
|
|
return x.PublicOnly
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ListChannelsRequest) GetPrivateOnly() bool {
|
|
if x != nil {
|
|
return x.PrivateOnly
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ListChannelsRequest) GetPeer() []byte {
|
|
if x != nil {
|
|
return x.Peer
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ListChannelsRequest) GetPeerAliasLookup() bool {
|
|
if x != nil {
|
|
return x.PeerAliasLookup
|
|
}
|
|
return false
|
|
}
|
|
|
|
type ListChannelsResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The list of active channels
|
|
Channels []*Channel `protobuf:"bytes,11,rep,name=channels,proto3" json:"channels,omitempty"`
|
|
}
|
|
|
|
func (x *ListChannelsResponse) Reset() {
|
|
*x = ListChannelsResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[43]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListChannelsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListChannelsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListChannelsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[43]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use ListChannelsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListChannelsResponse) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{43}
|
|
}
|
|
|
|
func (x *ListChannelsResponse) GetChannels() []*Channel {
|
|
if x != nil {
|
|
return x.Channels
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AliasMap struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// For non-zero-conf channels, this is the confirmed SCID. Otherwise, this is
|
|
// the first assigned "base" alias.
|
|
BaseScid uint64 `protobuf:"varint,1,opt,name=base_scid,json=baseScid,proto3" json:"base_scid,omitempty"`
|
|
// The set of all aliases stored for the base SCID.
|
|
Aliases []uint64 `protobuf:"varint,2,rep,packed,name=aliases,proto3" json:"aliases,omitempty"`
|
|
}
|
|
|
|
func (x *AliasMap) Reset() {
|
|
*x = AliasMap{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[44]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AliasMap) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AliasMap) ProtoMessage() {}
|
|
|
|
func (x *AliasMap) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[44]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use AliasMap.ProtoReflect.Descriptor instead.
|
|
func (*AliasMap) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{44}
|
|
}
|
|
|
|
func (x *AliasMap) GetBaseScid() uint64 {
|
|
if x != nil {
|
|
return x.BaseScid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AliasMap) GetAliases() []uint64 {
|
|
if x != nil {
|
|
return x.Aliases
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListAliasesRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *ListAliasesRequest) Reset() {
|
|
*x = ListAliasesRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[45]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListAliasesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListAliasesRequest) ProtoMessage() {}
|
|
|
|
func (x *ListAliasesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[45]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use ListAliasesRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListAliasesRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{45}
|
|
}
|
|
|
|
type ListAliasesResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
AliasMaps []*AliasMap `protobuf:"bytes,1,rep,name=alias_maps,json=aliasMaps,proto3" json:"alias_maps,omitempty"`
|
|
}
|
|
|
|
func (x *ListAliasesResponse) Reset() {
|
|
*x = ListAliasesResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[46]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListAliasesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListAliasesResponse) ProtoMessage() {}
|
|
|
|
func (x *ListAliasesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[46]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use ListAliasesResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListAliasesResponse) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{46}
|
|
}
|
|
|
|
func (x *ListAliasesResponse) GetAliasMaps() []*AliasMap {
|
|
if x != nil {
|
|
return x.AliasMaps
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ChannelCloseSummary struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The outpoint (txid:index) of the funding transaction.
|
|
ChannelPoint string `protobuf:"bytes,1,opt,name=channel_point,json=channelPoint,proto3" json:"channel_point,omitempty"`
|
|
// The unique channel ID for the channel.
|
|
ChanId uint64 `protobuf:"varint,2,opt,name=chan_id,json=chanId,proto3" json:"chan_id,omitempty"`
|
|
// The hash of the genesis block that this channel resides within.
|
|
ChainHash string `protobuf:"bytes,3,opt,name=chain_hash,json=chainHash,proto3" json:"chain_hash,omitempty"`
|
|
// The txid of the transaction which ultimately closed this channel.
|
|
ClosingTxHash string `protobuf:"bytes,4,opt,name=closing_tx_hash,json=closingTxHash,proto3" json:"closing_tx_hash,omitempty"`
|
|
// Public key of the remote peer that we formerly had a channel with.
|
|
RemotePubkey string `protobuf:"bytes,5,opt,name=remote_pubkey,json=remotePubkey,proto3" json:"remote_pubkey,omitempty"`
|
|
// Total capacity of the channel.
|
|
Capacity int64 `protobuf:"varint,6,opt,name=capacity,proto3" json:"capacity,omitempty"`
|
|
// Height at which the funding transaction was spent.
|
|
CloseHeight uint32 `protobuf:"varint,7,opt,name=close_height,json=closeHeight,proto3" json:"close_height,omitempty"`
|
|
// Settled balance at the time of channel closure
|
|
SettledBalance int64 `protobuf:"varint,8,opt,name=settled_balance,json=settledBalance,proto3" json:"settled_balance,omitempty"`
|
|
// The sum of all the time-locked outputs at the time of channel closure
|
|
TimeLockedBalance int64 `protobuf:"varint,9,opt,name=time_locked_balance,json=timeLockedBalance,proto3" json:"time_locked_balance,omitempty"`
|
|
// Details on how the channel was closed.
|
|
CloseType ChannelCloseSummary_ClosureType `protobuf:"varint,10,opt,name=close_type,json=closeType,proto3,enum=lnrpc.ChannelCloseSummary_ClosureType" json:"close_type,omitempty"`
|
|
// Open initiator is the party that initiated opening the channel. Note that
|
|
// this value may be unknown if the channel was closed before we migrated to
|
|
// store open channel information after close.
|
|
OpenInitiator Initiator `protobuf:"varint,11,opt,name=open_initiator,json=openInitiator,proto3,enum=lnrpc.Initiator" json:"open_initiator,omitempty"`
|
|
// Close initiator indicates which party initiated the close. This value will
|
|
// be unknown for channels that were cooperatively closed before we started
|
|
// tracking cooperative close initiators. Note that this indicates which party
|
|
// initiated a close, and it is possible for both to initiate cooperative or
|
|
// force closes, although only one party's close will be confirmed on chain.
|
|
CloseInitiator Initiator `protobuf:"varint,12,opt,name=close_initiator,json=closeInitiator,proto3,enum=lnrpc.Initiator" json:"close_initiator,omitempty"`
|
|
Resolutions []*Resolution `protobuf:"bytes,13,rep,name=resolutions,proto3" json:"resolutions,omitempty"`
|
|
// This lists out the set of alias short channel ids that existed for the
|
|
// closed channel. This may be empty.
|
|
AliasScids []uint64 `protobuf:"varint,14,rep,packed,name=alias_scids,json=aliasScids,proto3" json:"alias_scids,omitempty"`
|
|
// The confirmed SCID for a zero-conf channel.
|
|
ZeroConfConfirmedScid uint64 `protobuf:"varint,15,opt,name=zero_conf_confirmed_scid,json=zeroConfConfirmedScid,proto3" json:"zero_conf_confirmed_scid,omitempty"`
|
|
}
|
|
|
|
func (x *ChannelCloseSummary) Reset() {
|
|
*x = ChannelCloseSummary{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[47]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ChannelCloseSummary) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ChannelCloseSummary) ProtoMessage() {}
|
|
|
|
func (x *ChannelCloseSummary) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[47]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use ChannelCloseSummary.ProtoReflect.Descriptor instead.
|
|
func (*ChannelCloseSummary) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{47}
|
|
}
|
|
|
|
func (x *ChannelCloseSummary) GetChannelPoint() string {
|
|
if x != nil {
|
|
return x.ChannelPoint
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ChannelCloseSummary) GetChanId() uint64 {
|
|
if x != nil {
|
|
return x.ChanId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChannelCloseSummary) GetChainHash() string {
|
|
if x != nil {
|
|
return x.ChainHash
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ChannelCloseSummary) GetClosingTxHash() string {
|
|
if x != nil {
|
|
return x.ClosingTxHash
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ChannelCloseSummary) GetRemotePubkey() string {
|
|
if x != nil {
|
|
return x.RemotePubkey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ChannelCloseSummary) GetCapacity() int64 {
|
|
if x != nil {
|
|
return x.Capacity
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChannelCloseSummary) GetCloseHeight() uint32 {
|
|
if x != nil {
|
|
return x.CloseHeight
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChannelCloseSummary) GetSettledBalance() int64 {
|
|
if x != nil {
|
|
return x.SettledBalance
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChannelCloseSummary) GetTimeLockedBalance() int64 {
|
|
if x != nil {
|
|
return x.TimeLockedBalance
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChannelCloseSummary) GetCloseType() ChannelCloseSummary_ClosureType {
|
|
if x != nil {
|
|
return x.CloseType
|
|
}
|
|
return ChannelCloseSummary_COOPERATIVE_CLOSE
|
|
}
|
|
|
|
func (x *ChannelCloseSummary) GetOpenInitiator() Initiator {
|
|
if x != nil {
|
|
return x.OpenInitiator
|
|
}
|
|
return Initiator_INITIATOR_UNKNOWN
|
|
}
|
|
|
|
func (x *ChannelCloseSummary) GetCloseInitiator() Initiator {
|
|
if x != nil {
|
|
return x.CloseInitiator
|
|
}
|
|
return Initiator_INITIATOR_UNKNOWN
|
|
}
|
|
|
|
func (x *ChannelCloseSummary) GetResolutions() []*Resolution {
|
|
if x != nil {
|
|
return x.Resolutions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChannelCloseSummary) GetAliasScids() []uint64 {
|
|
if x != nil {
|
|
return x.AliasScids
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChannelCloseSummary) GetZeroConfConfirmedScid() uint64 {
|
|
if x != nil {
|
|
return x.ZeroConfConfirmedScid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type Resolution struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The type of output we are resolving.
|
|
ResolutionType ResolutionType `protobuf:"varint,1,opt,name=resolution_type,json=resolutionType,proto3,enum=lnrpc.ResolutionType" json:"resolution_type,omitempty"`
|
|
// The outcome of our on chain action that resolved the outpoint.
|
|
Outcome ResolutionOutcome `protobuf:"varint,2,opt,name=outcome,proto3,enum=lnrpc.ResolutionOutcome" json:"outcome,omitempty"`
|
|
// The outpoint that was spent by the resolution.
|
|
Outpoint *OutPoint `protobuf:"bytes,3,opt,name=outpoint,proto3" json:"outpoint,omitempty"`
|
|
// The amount that was claimed by the resolution.
|
|
AmountSat uint64 `protobuf:"varint,4,opt,name=amount_sat,json=amountSat,proto3" json:"amount_sat,omitempty"`
|
|
// The hex-encoded transaction ID of the sweep transaction that spent the
|
|
// output.
|
|
SweepTxid string `protobuf:"bytes,5,opt,name=sweep_txid,json=sweepTxid,proto3" json:"sweep_txid,omitempty"`
|
|
}
|
|
|
|
func (x *Resolution) Reset() {
|
|
*x = Resolution{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[48]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Resolution) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Resolution) ProtoMessage() {}
|
|
|
|
func (x *Resolution) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[48]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use Resolution.ProtoReflect.Descriptor instead.
|
|
func (*Resolution) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{48}
|
|
}
|
|
|
|
func (x *Resolution) GetResolutionType() ResolutionType {
|
|
if x != nil {
|
|
return x.ResolutionType
|
|
}
|
|
return ResolutionType_TYPE_UNKNOWN
|
|
}
|
|
|
|
func (x *Resolution) GetOutcome() ResolutionOutcome {
|
|
if x != nil {
|
|
return x.Outcome
|
|
}
|
|
return ResolutionOutcome_OUTCOME_UNKNOWN
|
|
}
|
|
|
|
func (x *Resolution) GetOutpoint() *OutPoint {
|
|
if x != nil {
|
|
return x.Outpoint
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Resolution) GetAmountSat() uint64 {
|
|
if x != nil {
|
|
return x.AmountSat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Resolution) GetSweepTxid() string {
|
|
if x != nil {
|
|
return x.SweepTxid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ClosedChannelsRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Cooperative bool `protobuf:"varint,1,opt,name=cooperative,proto3" json:"cooperative,omitempty"`
|
|
LocalForce bool `protobuf:"varint,2,opt,name=local_force,json=localForce,proto3" json:"local_force,omitempty"`
|
|
RemoteForce bool `protobuf:"varint,3,opt,name=remote_force,json=remoteForce,proto3" json:"remote_force,omitempty"`
|
|
Breach bool `protobuf:"varint,4,opt,name=breach,proto3" json:"breach,omitempty"`
|
|
FundingCanceled bool `protobuf:"varint,5,opt,name=funding_canceled,json=fundingCanceled,proto3" json:"funding_canceled,omitempty"`
|
|
Abandoned bool `protobuf:"varint,6,opt,name=abandoned,proto3" json:"abandoned,omitempty"`
|
|
}
|
|
|
|
func (x *ClosedChannelsRequest) Reset() {
|
|
*x = ClosedChannelsRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[49]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ClosedChannelsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ClosedChannelsRequest) ProtoMessage() {}
|
|
|
|
func (x *ClosedChannelsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[49]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use ClosedChannelsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ClosedChannelsRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{49}
|
|
}
|
|
|
|
func (x *ClosedChannelsRequest) GetCooperative() bool {
|
|
if x != nil {
|
|
return x.Cooperative
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ClosedChannelsRequest) GetLocalForce() bool {
|
|
if x != nil {
|
|
return x.LocalForce
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ClosedChannelsRequest) GetRemoteForce() bool {
|
|
if x != nil {
|
|
return x.RemoteForce
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ClosedChannelsRequest) GetBreach() bool {
|
|
if x != nil {
|
|
return x.Breach
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ClosedChannelsRequest) GetFundingCanceled() bool {
|
|
if x != nil {
|
|
return x.FundingCanceled
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ClosedChannelsRequest) GetAbandoned() bool {
|
|
if x != nil {
|
|
return x.Abandoned
|
|
}
|
|
return false
|
|
}
|
|
|
|
type ClosedChannelsResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Channels []*ChannelCloseSummary `protobuf:"bytes,1,rep,name=channels,proto3" json:"channels,omitempty"`
|
|
}
|
|
|
|
func (x *ClosedChannelsResponse) Reset() {
|
|
*x = ClosedChannelsResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[50]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ClosedChannelsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ClosedChannelsResponse) ProtoMessage() {}
|
|
|
|
func (x *ClosedChannelsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[50]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use ClosedChannelsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ClosedChannelsResponse) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{50}
|
|
}
|
|
|
|
func (x *ClosedChannelsResponse) GetChannels() []*ChannelCloseSummary {
|
|
if x != nil {
|
|
return x.Channels
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Peer struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The identity pubkey of the peer
|
|
PubKey string `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
|
|
// Network address of the peer; eg `127.0.0.1:10011`
|
|
Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
|
|
// Bytes of data transmitted to this peer
|
|
BytesSent uint64 `protobuf:"varint,4,opt,name=bytes_sent,json=bytesSent,proto3" json:"bytes_sent,omitempty"`
|
|
// Bytes of data transmitted from this peer
|
|
BytesRecv uint64 `protobuf:"varint,5,opt,name=bytes_recv,json=bytesRecv,proto3" json:"bytes_recv,omitempty"`
|
|
// Satoshis sent to this peer
|
|
SatSent int64 `protobuf:"varint,6,opt,name=sat_sent,json=satSent,proto3" json:"sat_sent,omitempty"`
|
|
// Satoshis received from this peer
|
|
SatRecv int64 `protobuf:"varint,7,opt,name=sat_recv,json=satRecv,proto3" json:"sat_recv,omitempty"`
|
|
// A channel is inbound if the counterparty initiated the channel
|
|
Inbound bool `protobuf:"varint,8,opt,name=inbound,proto3" json:"inbound,omitempty"`
|
|
// Ping time to this peer
|
|
PingTime int64 `protobuf:"varint,9,opt,name=ping_time,json=pingTime,proto3" json:"ping_time,omitempty"`
|
|
// The type of sync we are currently performing with this peer.
|
|
SyncType Peer_SyncType `protobuf:"varint,10,opt,name=sync_type,json=syncType,proto3,enum=lnrpc.Peer_SyncType" json:"sync_type,omitempty"`
|
|
// Features advertised by the remote peer in their init message.
|
|
Features map[uint32]*Feature `protobuf:"bytes,11,rep,name=features,proto3" json:"features,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
// The latest errors received from our peer with timestamps, limited to the 10
|
|
// most recent errors. These errors are tracked across peer connections, but
|
|
// are not persisted across lnd restarts. Note that these errors are only
|
|
// stored for peers that we have channels open with, to prevent peers from
|
|
// spamming us with errors at no cost.
|
|
Errors []*TimestampedError `protobuf:"bytes,12,rep,name=errors,proto3" json:"errors,omitempty"`
|
|
// The number of times we have recorded this peer going offline or coming
|
|
// online, recorded across restarts. Note that this value is decreased over
|
|
// time if the peer has not recently flapped, so that we can forgive peers
|
|
// with historically high flap counts.
|
|
FlapCount int32 `protobuf:"varint,13,opt,name=flap_count,json=flapCount,proto3" json:"flap_count,omitempty"`
|
|
// The timestamp of the last flap we observed for this peer. If this value is
|
|
// zero, we have not observed any flaps for this peer.
|
|
LastFlapNs int64 `protobuf:"varint,14,opt,name=last_flap_ns,json=lastFlapNs,proto3" json:"last_flap_ns,omitempty"`
|
|
// The last ping payload the peer has sent to us.
|
|
LastPingPayload []byte `protobuf:"bytes,15,opt,name=last_ping_payload,json=lastPingPayload,proto3" json:"last_ping_payload,omitempty"`
|
|
}
|
|
|
|
func (x *Peer) Reset() {
|
|
*x = Peer{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[51]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Peer) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Peer) ProtoMessage() {}
|
|
|
|
func (x *Peer) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[51]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use Peer.ProtoReflect.Descriptor instead.
|
|
func (*Peer) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{51}
|
|
}
|
|
|
|
func (x *Peer) GetPubKey() string {
|
|
if x != nil {
|
|
return x.PubKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Peer) GetAddress() string {
|
|
if x != nil {
|
|
return x.Address
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Peer) GetBytesSent() uint64 {
|
|
if x != nil {
|
|
return x.BytesSent
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Peer) GetBytesRecv() uint64 {
|
|
if x != nil {
|
|
return x.BytesRecv
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Peer) GetSatSent() int64 {
|
|
if x != nil {
|
|
return x.SatSent
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Peer) GetSatRecv() int64 {
|
|
if x != nil {
|
|
return x.SatRecv
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Peer) GetInbound() bool {
|
|
if x != nil {
|
|
return x.Inbound
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *Peer) GetPingTime() int64 {
|
|
if x != nil {
|
|
return x.PingTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Peer) GetSyncType() Peer_SyncType {
|
|
if x != nil {
|
|
return x.SyncType
|
|
}
|
|
return Peer_UNKNOWN_SYNC
|
|
}
|
|
|
|
func (x *Peer) GetFeatures() map[uint32]*Feature {
|
|
if x != nil {
|
|
return x.Features
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Peer) GetErrors() []*TimestampedError {
|
|
if x != nil {
|
|
return x.Errors
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Peer) GetFlapCount() int32 {
|
|
if x != nil {
|
|
return x.FlapCount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Peer) GetLastFlapNs() int64 {
|
|
if x != nil {
|
|
return x.LastFlapNs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Peer) GetLastPingPayload() []byte {
|
|
if x != nil {
|
|
return x.LastPingPayload
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type TimestampedError struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The unix timestamp in seconds when the error occurred.
|
|
Timestamp uint64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
|
// The string representation of the error sent by our peer.
|
|
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
|
|
}
|
|
|
|
func (x *TimestampedError) Reset() {
|
|
*x = TimestampedError{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[52]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *TimestampedError) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*TimestampedError) ProtoMessage() {}
|
|
|
|
func (x *TimestampedError) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[52]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use TimestampedError.ProtoReflect.Descriptor instead.
|
|
func (*TimestampedError) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{52}
|
|
}
|
|
|
|
func (x *TimestampedError) GetTimestamp() uint64 {
|
|
if x != nil {
|
|
return x.Timestamp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *TimestampedError) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListPeersRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// If true, only the last error that our peer sent us will be returned with
|
|
// the peer's information, rather than the full set of historic errors we have
|
|
// stored.
|
|
LatestError bool `protobuf:"varint,1,opt,name=latest_error,json=latestError,proto3" json:"latest_error,omitempty"`
|
|
}
|
|
|
|
func (x *ListPeersRequest) Reset() {
|
|
*x = ListPeersRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[53]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListPeersRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListPeersRequest) ProtoMessage() {}
|
|
|
|
func (x *ListPeersRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[53]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use ListPeersRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListPeersRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{53}
|
|
}
|
|
|
|
func (x *ListPeersRequest) GetLatestError() bool {
|
|
if x != nil {
|
|
return x.LatestError
|
|
}
|
|
return false
|
|
}
|
|
|
|
type ListPeersResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The list of currently connected peers
|
|
Peers []*Peer `protobuf:"bytes,1,rep,name=peers,proto3" json:"peers,omitempty"`
|
|
}
|
|
|
|
func (x *ListPeersResponse) Reset() {
|
|
*x = ListPeersResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[54]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListPeersResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListPeersResponse) ProtoMessage() {}
|
|
|
|
func (x *ListPeersResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[54]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use ListPeersResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListPeersResponse) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{54}
|
|
}
|
|
|
|
func (x *ListPeersResponse) GetPeers() []*Peer {
|
|
if x != nil {
|
|
return x.Peers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PeerEventSubscription struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *PeerEventSubscription) Reset() {
|
|
*x = PeerEventSubscription{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[55]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PeerEventSubscription) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PeerEventSubscription) ProtoMessage() {}
|
|
|
|
func (x *PeerEventSubscription) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[55]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use PeerEventSubscription.ProtoReflect.Descriptor instead.
|
|
func (*PeerEventSubscription) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{55}
|
|
}
|
|
|
|
type PeerEvent struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The identity pubkey of the peer.
|
|
PubKey string `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
|
|
Type PeerEvent_EventType `protobuf:"varint,2,opt,name=type,proto3,enum=lnrpc.PeerEvent_EventType" json:"type,omitempty"`
|
|
}
|
|
|
|
func (x *PeerEvent) Reset() {
|
|
*x = PeerEvent{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[56]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PeerEvent) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PeerEvent) ProtoMessage() {}
|
|
|
|
func (x *PeerEvent) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[56]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use PeerEvent.ProtoReflect.Descriptor instead.
|
|
func (*PeerEvent) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{56}
|
|
}
|
|
|
|
func (x *PeerEvent) GetPubKey() string {
|
|
if x != nil {
|
|
return x.PubKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PeerEvent) GetType() PeerEvent_EventType {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return PeerEvent_PEER_ONLINE
|
|
}
|
|
|
|
type GetInfoRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *GetInfoRequest) Reset() {
|
|
*x = GetInfoRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[57]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetInfoRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetInfoRequest) ProtoMessage() {}
|
|
|
|
func (x *GetInfoRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[57]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use GetInfoRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetInfoRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{57}
|
|
}
|
|
|
|
type GetInfoResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The version of the LND software that the node is running.
|
|
Version string `protobuf:"bytes,14,opt,name=version,proto3" json:"version,omitempty"`
|
|
// The SHA1 commit hash that the daemon is compiled with.
|
|
CommitHash string `protobuf:"bytes,20,opt,name=commit_hash,json=commitHash,proto3" json:"commit_hash,omitempty"`
|
|
// The identity pubkey of the current node.
|
|
IdentityPubkey string `protobuf:"bytes,1,opt,name=identity_pubkey,json=identityPubkey,proto3" json:"identity_pubkey,omitempty"`
|
|
// If applicable, the alias of the current node, e.g. "bob"
|
|
Alias string `protobuf:"bytes,2,opt,name=alias,proto3" json:"alias,omitempty"`
|
|
// The color of the current node in hex code format
|
|
Color string `protobuf:"bytes,17,opt,name=color,proto3" json:"color,omitempty"`
|
|
// Number of pending channels
|
|
NumPendingChannels uint32 `protobuf:"varint,3,opt,name=num_pending_channels,json=numPendingChannels,proto3" json:"num_pending_channels,omitempty"`
|
|
// Number of active channels
|
|
NumActiveChannels uint32 `protobuf:"varint,4,opt,name=num_active_channels,json=numActiveChannels,proto3" json:"num_active_channels,omitempty"`
|
|
// Number of inactive channels
|
|
NumInactiveChannels uint32 `protobuf:"varint,15,opt,name=num_inactive_channels,json=numInactiveChannels,proto3" json:"num_inactive_channels,omitempty"`
|
|
// Number of peers
|
|
NumPeers uint32 `protobuf:"varint,5,opt,name=num_peers,json=numPeers,proto3" json:"num_peers,omitempty"`
|
|
// The node's current view of the height of the best block
|
|
BlockHeight uint32 `protobuf:"varint,6,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
|
|
// The node's current view of the hash of the best block
|
|
BlockHash string `protobuf:"bytes,8,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
|
|
// Timestamp of the block best known to the wallet
|
|
BestHeaderTimestamp int64 `protobuf:"varint,13,opt,name=best_header_timestamp,json=bestHeaderTimestamp,proto3" json:"best_header_timestamp,omitempty"`
|
|
// Whether the wallet's view is synced to the main chain
|
|
SyncedToChain bool `protobuf:"varint,9,opt,name=synced_to_chain,json=syncedToChain,proto3" json:"synced_to_chain,omitempty"`
|
|
// Whether we consider ourselves synced with the public channel graph.
|
|
SyncedToGraph bool `protobuf:"varint,18,opt,name=synced_to_graph,json=syncedToGraph,proto3" json:"synced_to_graph,omitempty"`
|
|
// Whether the current node is connected to testnet. This field is
|
|
// deprecated and the network field should be used instead
|
|
//
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
Testnet bool `protobuf:"varint,10,opt,name=testnet,proto3" json:"testnet,omitempty"`
|
|
// A list of active chains the node is connected to. This will only
|
|
// ever contain a single entry since LND will only ever have a single
|
|
// chain backend during its lifetime.
|
|
Chains []*Chain `protobuf:"bytes,16,rep,name=chains,proto3" json:"chains,omitempty"`
|
|
// The URIs of the current node.
|
|
Uris []string `protobuf:"bytes,12,rep,name=uris,proto3" json:"uris,omitempty"`
|
|
// Features that our node has advertised in our init message, node
|
|
// announcements and invoices.
|
|
Features map[uint32]*Feature `protobuf:"bytes,19,rep,name=features,proto3" json:"features,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
// Indicates whether the HTLC interceptor API is in always-on mode.
|
|
RequireHtlcInterceptor bool `protobuf:"varint,21,opt,name=require_htlc_interceptor,json=requireHtlcInterceptor,proto3" json:"require_htlc_interceptor,omitempty"`
|
|
// Indicates whether final htlc resolutions are stored on disk.
|
|
StoreFinalHtlcResolutions bool `protobuf:"varint,22,opt,name=store_final_htlc_resolutions,json=storeFinalHtlcResolutions,proto3" json:"store_final_htlc_resolutions,omitempty"`
|
|
}
|
|
|
|
func (x *GetInfoResponse) Reset() {
|
|
*x = GetInfoResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[58]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetInfoResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetInfoResponse) ProtoMessage() {}
|
|
|
|
func (x *GetInfoResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[58]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use GetInfoResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetInfoResponse) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{58}
|
|
}
|
|
|
|
func (x *GetInfoResponse) GetVersion() string {
|
|
if x != nil {
|
|
return x.Version
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetInfoResponse) GetCommitHash() string {
|
|
if x != nil {
|
|
return x.CommitHash
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetInfoResponse) GetIdentityPubkey() string {
|
|
if x != nil {
|
|
return x.IdentityPubkey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetInfoResponse) GetAlias() string {
|
|
if x != nil {
|
|
return x.Alias
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetInfoResponse) GetColor() string {
|
|
if x != nil {
|
|
return x.Color
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetInfoResponse) GetNumPendingChannels() uint32 {
|
|
if x != nil {
|
|
return x.NumPendingChannels
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetInfoResponse) GetNumActiveChannels() uint32 {
|
|
if x != nil {
|
|
return x.NumActiveChannels
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetInfoResponse) GetNumInactiveChannels() uint32 {
|
|
if x != nil {
|
|
return x.NumInactiveChannels
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetInfoResponse) GetNumPeers() uint32 {
|
|
if x != nil {
|
|
return x.NumPeers
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetInfoResponse) GetBlockHeight() uint32 {
|
|
if x != nil {
|
|
return x.BlockHeight
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetInfoResponse) GetBlockHash() string {
|
|
if x != nil {
|
|
return x.BlockHash
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetInfoResponse) GetBestHeaderTimestamp() int64 {
|
|
if x != nil {
|
|
return x.BestHeaderTimestamp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *GetInfoResponse) GetSyncedToChain() bool {
|
|
if x != nil {
|
|
return x.SyncedToChain
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetInfoResponse) GetSyncedToGraph() bool {
|
|
if x != nil {
|
|
return x.SyncedToGraph
|
|
}
|
|
return false
|
|
}
|
|
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
func (x *GetInfoResponse) GetTestnet() bool {
|
|
if x != nil {
|
|
return x.Testnet
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetInfoResponse) GetChains() []*Chain {
|
|
if x != nil {
|
|
return x.Chains
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetInfoResponse) GetUris() []string {
|
|
if x != nil {
|
|
return x.Uris
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetInfoResponse) GetFeatures() map[uint32]*Feature {
|
|
if x != nil {
|
|
return x.Features
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetInfoResponse) GetRequireHtlcInterceptor() bool {
|
|
if x != nil {
|
|
return x.RequireHtlcInterceptor
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetInfoResponse) GetStoreFinalHtlcResolutions() bool {
|
|
if x != nil {
|
|
return x.StoreFinalHtlcResolutions
|
|
}
|
|
return false
|
|
}
|
|
|
|
type GetDebugInfoRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *GetDebugInfoRequest) Reset() {
|
|
*x = GetDebugInfoRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[59]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetDebugInfoRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetDebugInfoRequest) ProtoMessage() {}
|
|
|
|
func (x *GetDebugInfoRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[59]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use GetDebugInfoRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetDebugInfoRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{59}
|
|
}
|
|
|
|
type GetDebugInfoResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Config map[string]string `protobuf:"bytes,1,rep,name=config,proto3" json:"config,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
Log []string `protobuf:"bytes,2,rep,name=log,proto3" json:"log,omitempty"`
|
|
}
|
|
|
|
func (x *GetDebugInfoResponse) Reset() {
|
|
*x = GetDebugInfoResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[60]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetDebugInfoResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetDebugInfoResponse) ProtoMessage() {}
|
|
|
|
func (x *GetDebugInfoResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[60]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use GetDebugInfoResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetDebugInfoResponse) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{60}
|
|
}
|
|
|
|
func (x *GetDebugInfoResponse) GetConfig() map[string]string {
|
|
if x != nil {
|
|
return x.Config
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetDebugInfoResponse) GetLog() []string {
|
|
if x != nil {
|
|
return x.Log
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetRecoveryInfoRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *GetRecoveryInfoRequest) Reset() {
|
|
*x = GetRecoveryInfoRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[61]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetRecoveryInfoRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetRecoveryInfoRequest) ProtoMessage() {}
|
|
|
|
func (x *GetRecoveryInfoRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[61]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use GetRecoveryInfoRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetRecoveryInfoRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{61}
|
|
}
|
|
|
|
type GetRecoveryInfoResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Whether the wallet is in recovery mode
|
|
RecoveryMode bool `protobuf:"varint,1,opt,name=recovery_mode,json=recoveryMode,proto3" json:"recovery_mode,omitempty"`
|
|
// Whether the wallet recovery progress is finished
|
|
RecoveryFinished bool `protobuf:"varint,2,opt,name=recovery_finished,json=recoveryFinished,proto3" json:"recovery_finished,omitempty"`
|
|
// The recovery progress, ranging from 0 to 1.
|
|
Progress float64 `protobuf:"fixed64,3,opt,name=progress,proto3" json:"progress,omitempty"`
|
|
}
|
|
|
|
func (x *GetRecoveryInfoResponse) Reset() {
|
|
*x = GetRecoveryInfoResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[62]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetRecoveryInfoResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetRecoveryInfoResponse) ProtoMessage() {}
|
|
|
|
func (x *GetRecoveryInfoResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[62]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use GetRecoveryInfoResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetRecoveryInfoResponse) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{62}
|
|
}
|
|
|
|
func (x *GetRecoveryInfoResponse) GetRecoveryMode() bool {
|
|
if x != nil {
|
|
return x.RecoveryMode
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetRecoveryInfoResponse) GetRecoveryFinished() bool {
|
|
if x != nil {
|
|
return x.RecoveryFinished
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *GetRecoveryInfoResponse) GetProgress() float64 {
|
|
if x != nil {
|
|
return x.Progress
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type Chain struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Deprecated. The chain is now always assumed to be bitcoin.
|
|
// The blockchain the node is on (must be bitcoin)
|
|
//
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
Chain string `protobuf:"bytes,1,opt,name=chain,proto3" json:"chain,omitempty"`
|
|
// The network the node is on (eg regtest, testnet, mainnet)
|
|
Network string `protobuf:"bytes,2,opt,name=network,proto3" json:"network,omitempty"`
|
|
}
|
|
|
|
func (x *Chain) Reset() {
|
|
*x = Chain{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[63]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Chain) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Chain) ProtoMessage() {}
|
|
|
|
func (x *Chain) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[63]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use Chain.ProtoReflect.Descriptor instead.
|
|
func (*Chain) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{63}
|
|
}
|
|
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
func (x *Chain) GetChain() string {
|
|
if x != nil {
|
|
return x.Chain
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Chain) GetNetwork() string {
|
|
if x != nil {
|
|
return x.Network
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ConfirmationUpdate struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
BlockSha []byte `protobuf:"bytes,1,opt,name=block_sha,json=blockSha,proto3" json:"block_sha,omitempty"`
|
|
BlockHeight int32 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
|
|
NumConfsLeft uint32 `protobuf:"varint,3,opt,name=num_confs_left,json=numConfsLeft,proto3" json:"num_confs_left,omitempty"`
|
|
}
|
|
|
|
func (x *ConfirmationUpdate) Reset() {
|
|
*x = ConfirmationUpdate{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[64]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ConfirmationUpdate) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ConfirmationUpdate) ProtoMessage() {}
|
|
|
|
func (x *ConfirmationUpdate) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[64]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use ConfirmationUpdate.ProtoReflect.Descriptor instead.
|
|
func (*ConfirmationUpdate) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{64}
|
|
}
|
|
|
|
func (x *ConfirmationUpdate) GetBlockSha() []byte {
|
|
if x != nil {
|
|
return x.BlockSha
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ConfirmationUpdate) GetBlockHeight() int32 {
|
|
if x != nil {
|
|
return x.BlockHeight
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ConfirmationUpdate) GetNumConfsLeft() uint32 {
|
|
if x != nil {
|
|
return x.NumConfsLeft
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ChannelOpenUpdate struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ChannelPoint *ChannelPoint `protobuf:"bytes,1,opt,name=channel_point,json=channelPoint,proto3" json:"channel_point,omitempty"`
|
|
}
|
|
|
|
func (x *ChannelOpenUpdate) Reset() {
|
|
*x = ChannelOpenUpdate{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[65]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ChannelOpenUpdate) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ChannelOpenUpdate) ProtoMessage() {}
|
|
|
|
func (x *ChannelOpenUpdate) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[65]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use ChannelOpenUpdate.ProtoReflect.Descriptor instead.
|
|
func (*ChannelOpenUpdate) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{65}
|
|
}
|
|
|
|
func (x *ChannelOpenUpdate) GetChannelPoint() *ChannelPoint {
|
|
if x != nil {
|
|
return x.ChannelPoint
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ChannelCloseUpdate struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ClosingTxid []byte `protobuf:"bytes,1,opt,name=closing_txid,json=closingTxid,proto3" json:"closing_txid,omitempty"`
|
|
Success bool `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"`
|
|
}
|
|
|
|
func (x *ChannelCloseUpdate) Reset() {
|
|
*x = ChannelCloseUpdate{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[66]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ChannelCloseUpdate) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ChannelCloseUpdate) ProtoMessage() {}
|
|
|
|
func (x *ChannelCloseUpdate) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[66]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use ChannelCloseUpdate.ProtoReflect.Descriptor instead.
|
|
func (*ChannelCloseUpdate) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{66}
|
|
}
|
|
|
|
func (x *ChannelCloseUpdate) GetClosingTxid() []byte {
|
|
if x != nil {
|
|
return x.ClosingTxid
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChannelCloseUpdate) GetSuccess() bool {
|
|
if x != nil {
|
|
return x.Success
|
|
}
|
|
return false
|
|
}
|
|
|
|
type CloseChannelRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The outpoint (txid:index) of the funding transaction. With this value, Bob
|
|
// will be able to generate a signature for Alice's version of the commitment
|
|
// transaction.
|
|
ChannelPoint *ChannelPoint `protobuf:"bytes,1,opt,name=channel_point,json=channelPoint,proto3" json:"channel_point,omitempty"`
|
|
// If true, then the channel will be closed forcibly. This means the
|
|
// current commitment transaction will be signed and broadcast.
|
|
Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
|
|
// The target number of blocks that the closure transaction should be
|
|
// confirmed by.
|
|
TargetConf int32 `protobuf:"varint,3,opt,name=target_conf,json=targetConf,proto3" json:"target_conf,omitempty"`
|
|
// Deprecated, use sat_per_vbyte.
|
|
// A manual fee rate set in sat/vbyte that should be used when crafting the
|
|
// closure transaction.
|
|
//
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
SatPerByte int64 `protobuf:"varint,4,opt,name=sat_per_byte,json=satPerByte,proto3" json:"sat_per_byte,omitempty"`
|
|
// An optional address to send funds to in the case of a cooperative close.
|
|
// If the channel was opened with an upfront shutdown script and this field
|
|
// is set, the request to close will fail because the channel must pay out
|
|
// to the upfront shutdown addresss.
|
|
DeliveryAddress string `protobuf:"bytes,5,opt,name=delivery_address,json=deliveryAddress,proto3" json:"delivery_address,omitempty"`
|
|
// A manual fee rate set in sat/vbyte that should be used when crafting the
|
|
// closure transaction.
|
|
SatPerVbyte uint64 `protobuf:"varint,6,opt,name=sat_per_vbyte,json=satPerVbyte,proto3" json:"sat_per_vbyte,omitempty"`
|
|
// The maximum fee rate the closer is willing to pay.
|
|
//
|
|
// NOTE: This field is only respected if we're the initiator of the channel.
|
|
MaxFeePerVbyte uint64 `protobuf:"varint,7,opt,name=max_fee_per_vbyte,json=maxFeePerVbyte,proto3" json:"max_fee_per_vbyte,omitempty"`
|
|
// If true, then the rpc call will not block while it awaits a closing txid.
|
|
// Consequently this RPC call will not return a closing txid if this value
|
|
// is set.
|
|
NoWait bool `protobuf:"varint,8,opt,name=no_wait,json=noWait,proto3" json:"no_wait,omitempty"`
|
|
}
|
|
|
|
func (x *CloseChannelRequest) Reset() {
|
|
*x = CloseChannelRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[67]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CloseChannelRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CloseChannelRequest) ProtoMessage() {}
|
|
|
|
func (x *CloseChannelRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[67]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use CloseChannelRequest.ProtoReflect.Descriptor instead.
|
|
func (*CloseChannelRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{67}
|
|
}
|
|
|
|
func (x *CloseChannelRequest) GetChannelPoint() *ChannelPoint {
|
|
if x != nil {
|
|
return x.ChannelPoint
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CloseChannelRequest) GetForce() bool {
|
|
if x != nil {
|
|
return x.Force
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *CloseChannelRequest) GetTargetConf() int32 {
|
|
if x != nil {
|
|
return x.TargetConf
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
func (x *CloseChannelRequest) GetSatPerByte() int64 {
|
|
if x != nil {
|
|
return x.SatPerByte
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CloseChannelRequest) GetDeliveryAddress() string {
|
|
if x != nil {
|
|
return x.DeliveryAddress
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CloseChannelRequest) GetSatPerVbyte() uint64 {
|
|
if x != nil {
|
|
return x.SatPerVbyte
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CloseChannelRequest) GetMaxFeePerVbyte() uint64 {
|
|
if x != nil {
|
|
return x.MaxFeePerVbyte
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *CloseChannelRequest) GetNoWait() bool {
|
|
if x != nil {
|
|
return x.NoWait
|
|
}
|
|
return false
|
|
}
|
|
|
|
type CloseStatusUpdate struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Types that are assignable to Update:
|
|
//
|
|
// *CloseStatusUpdate_ClosePending
|
|
// *CloseStatusUpdate_ChanClose
|
|
// *CloseStatusUpdate_CloseInstant
|
|
Update isCloseStatusUpdate_Update `protobuf_oneof:"update"`
|
|
}
|
|
|
|
func (x *CloseStatusUpdate) Reset() {
|
|
*x = CloseStatusUpdate{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[68]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CloseStatusUpdate) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CloseStatusUpdate) ProtoMessage() {}
|
|
|
|
func (x *CloseStatusUpdate) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[68]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use CloseStatusUpdate.ProtoReflect.Descriptor instead.
|
|
func (*CloseStatusUpdate) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{68}
|
|
}
|
|
|
|
func (m *CloseStatusUpdate) GetUpdate() isCloseStatusUpdate_Update {
|
|
if m != nil {
|
|
return m.Update
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CloseStatusUpdate) GetClosePending() *PendingUpdate {
|
|
if x, ok := x.GetUpdate().(*CloseStatusUpdate_ClosePending); ok {
|
|
return x.ClosePending
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CloseStatusUpdate) GetChanClose() *ChannelCloseUpdate {
|
|
if x, ok := x.GetUpdate().(*CloseStatusUpdate_ChanClose); ok {
|
|
return x.ChanClose
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CloseStatusUpdate) GetCloseInstant() *InstantUpdate {
|
|
if x, ok := x.GetUpdate().(*CloseStatusUpdate_CloseInstant); ok {
|
|
return x.CloseInstant
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isCloseStatusUpdate_Update interface {
|
|
isCloseStatusUpdate_Update()
|
|
}
|
|
|
|
type CloseStatusUpdate_ClosePending struct {
|
|
ClosePending *PendingUpdate `protobuf:"bytes,1,opt,name=close_pending,json=closePending,proto3,oneof"`
|
|
}
|
|
|
|
type CloseStatusUpdate_ChanClose struct {
|
|
ChanClose *ChannelCloseUpdate `protobuf:"bytes,3,opt,name=chan_close,json=chanClose,proto3,oneof"`
|
|
}
|
|
|
|
type CloseStatusUpdate_CloseInstant struct {
|
|
CloseInstant *InstantUpdate `protobuf:"bytes,4,opt,name=close_instant,json=closeInstant,proto3,oneof"`
|
|
}
|
|
|
|
func (*CloseStatusUpdate_ClosePending) isCloseStatusUpdate_Update() {}
|
|
|
|
func (*CloseStatusUpdate_ChanClose) isCloseStatusUpdate_Update() {}
|
|
|
|
func (*CloseStatusUpdate_CloseInstant) isCloseStatusUpdate_Update() {}
|
|
|
|
type PendingUpdate struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Txid []byte `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"`
|
|
OutputIndex uint32 `protobuf:"varint,2,opt,name=output_index,json=outputIndex,proto3" json:"output_index,omitempty"`
|
|
}
|
|
|
|
func (x *PendingUpdate) Reset() {
|
|
*x = PendingUpdate{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[69]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PendingUpdate) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PendingUpdate) ProtoMessage() {}
|
|
|
|
func (x *PendingUpdate) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[69]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use PendingUpdate.ProtoReflect.Descriptor instead.
|
|
func (*PendingUpdate) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{69}
|
|
}
|
|
|
|
func (x *PendingUpdate) GetTxid() []byte {
|
|
if x != nil {
|
|
return x.Txid
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PendingUpdate) GetOutputIndex() uint32 {
|
|
if x != nil {
|
|
return x.OutputIndex
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type InstantUpdate struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *InstantUpdate) Reset() {
|
|
*x = InstantUpdate{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[70]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *InstantUpdate) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InstantUpdate) ProtoMessage() {}
|
|
|
|
func (x *InstantUpdate) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[70]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use InstantUpdate.ProtoReflect.Descriptor instead.
|
|
func (*InstantUpdate) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{70}
|
|
}
|
|
|
|
type ReadyForPsbtFunding struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The P2WSH address of the channel funding multisig address that the below
|
|
// specified amount in satoshis needs to be sent to.
|
|
FundingAddress string `protobuf:"bytes,1,opt,name=funding_address,json=fundingAddress,proto3" json:"funding_address,omitempty"`
|
|
// The exact amount in satoshis that needs to be sent to the above address to
|
|
// fund the pending channel.
|
|
FundingAmount int64 `protobuf:"varint,2,opt,name=funding_amount,json=fundingAmount,proto3" json:"funding_amount,omitempty"`
|
|
// A raw PSBT that contains the pending channel output. If a base PSBT was
|
|
// provided in the PsbtShim, this is the base PSBT with one additional output.
|
|
// If no base PSBT was specified, this is an otherwise empty PSBT with exactly
|
|
// one output.
|
|
Psbt []byte `protobuf:"bytes,3,opt,name=psbt,proto3" json:"psbt,omitempty"`
|
|
}
|
|
|
|
func (x *ReadyForPsbtFunding) Reset() {
|
|
*x = ReadyForPsbtFunding{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[71]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ReadyForPsbtFunding) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ReadyForPsbtFunding) ProtoMessage() {}
|
|
|
|
func (x *ReadyForPsbtFunding) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[71]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use ReadyForPsbtFunding.ProtoReflect.Descriptor instead.
|
|
func (*ReadyForPsbtFunding) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{71}
|
|
}
|
|
|
|
func (x *ReadyForPsbtFunding) GetFundingAddress() string {
|
|
if x != nil {
|
|
return x.FundingAddress
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ReadyForPsbtFunding) GetFundingAmount() int64 {
|
|
if x != nil {
|
|
return x.FundingAmount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ReadyForPsbtFunding) GetPsbt() []byte {
|
|
if x != nil {
|
|
return x.Psbt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type BatchOpenChannelRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The list of channels to open.
|
|
Channels []*BatchOpenChannel `protobuf:"bytes,1,rep,name=channels,proto3" json:"channels,omitempty"`
|
|
// The target number of blocks that the funding transaction should be
|
|
// confirmed by.
|
|
TargetConf int32 `protobuf:"varint,2,opt,name=target_conf,json=targetConf,proto3" json:"target_conf,omitempty"`
|
|
// A manual fee rate set in sat/vByte that should be used when crafting the
|
|
// funding transaction.
|
|
SatPerVbyte int64 `protobuf:"varint,3,opt,name=sat_per_vbyte,json=satPerVbyte,proto3" json:"sat_per_vbyte,omitempty"`
|
|
// The minimum number of confirmations each one of your outputs used for
|
|
// the funding transaction must satisfy.
|
|
MinConfs int32 `protobuf:"varint,4,opt,name=min_confs,json=minConfs,proto3" json:"min_confs,omitempty"`
|
|
// Whether unconfirmed outputs should be used as inputs for the funding
|
|
// transaction.
|
|
SpendUnconfirmed bool `protobuf:"varint,5,opt,name=spend_unconfirmed,json=spendUnconfirmed,proto3" json:"spend_unconfirmed,omitempty"`
|
|
// An optional label for the batch transaction, limited to 500 characters.
|
|
Label string `protobuf:"bytes,6,opt,name=label,proto3" json:"label,omitempty"`
|
|
// The strategy to use for selecting coins during batch opening channels.
|
|
CoinSelectionStrategy CoinSelectionStrategy `protobuf:"varint,7,opt,name=coin_selection_strategy,json=coinSelectionStrategy,proto3,enum=lnrpc.CoinSelectionStrategy" json:"coin_selection_strategy,omitempty"`
|
|
}
|
|
|
|
func (x *BatchOpenChannelRequest) Reset() {
|
|
*x = BatchOpenChannelRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[72]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *BatchOpenChannelRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BatchOpenChannelRequest) ProtoMessage() {}
|
|
|
|
func (x *BatchOpenChannelRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[72]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use BatchOpenChannelRequest.ProtoReflect.Descriptor instead.
|
|
func (*BatchOpenChannelRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{72}
|
|
}
|
|
|
|
func (x *BatchOpenChannelRequest) GetChannels() []*BatchOpenChannel {
|
|
if x != nil {
|
|
return x.Channels
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BatchOpenChannelRequest) GetTargetConf() int32 {
|
|
if x != nil {
|
|
return x.TargetConf
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BatchOpenChannelRequest) GetSatPerVbyte() int64 {
|
|
if x != nil {
|
|
return x.SatPerVbyte
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BatchOpenChannelRequest) GetMinConfs() int32 {
|
|
if x != nil {
|
|
return x.MinConfs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BatchOpenChannelRequest) GetSpendUnconfirmed() bool {
|
|
if x != nil {
|
|
return x.SpendUnconfirmed
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *BatchOpenChannelRequest) GetLabel() string {
|
|
if x != nil {
|
|
return x.Label
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BatchOpenChannelRequest) GetCoinSelectionStrategy() CoinSelectionStrategy {
|
|
if x != nil {
|
|
return x.CoinSelectionStrategy
|
|
}
|
|
return CoinSelectionStrategy_STRATEGY_USE_GLOBAL_CONFIG
|
|
}
|
|
|
|
type BatchOpenChannel struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The pubkey of the node to open a channel with. When using REST, this
|
|
// field must be encoded as base64.
|
|
NodePubkey []byte `protobuf:"bytes,1,opt,name=node_pubkey,json=nodePubkey,proto3" json:"node_pubkey,omitempty"`
|
|
// The number of satoshis the wallet should commit to the channel.
|
|
LocalFundingAmount int64 `protobuf:"varint,2,opt,name=local_funding_amount,json=localFundingAmount,proto3" json:"local_funding_amount,omitempty"`
|
|
// The number of satoshis to push to the remote side as part of the initial
|
|
// commitment state.
|
|
PushSat int64 `protobuf:"varint,3,opt,name=push_sat,json=pushSat,proto3" json:"push_sat,omitempty"`
|
|
// Whether this channel should be private, not announced to the greater
|
|
// network.
|
|
Private bool `protobuf:"varint,4,opt,name=private,proto3" json:"private,omitempty"`
|
|
// The minimum value in millisatoshi we will require for incoming HTLCs on
|
|
// the channel.
|
|
MinHtlcMsat int64 `protobuf:"varint,5,opt,name=min_htlc_msat,json=minHtlcMsat,proto3" json:"min_htlc_msat,omitempty"`
|
|
// The delay we require on the remote's commitment transaction. If this is
|
|
// not set, it will be scaled automatically with the channel size.
|
|
RemoteCsvDelay uint32 `protobuf:"varint,6,opt,name=remote_csv_delay,json=remoteCsvDelay,proto3" json:"remote_csv_delay,omitempty"`
|
|
// Close address is an optional address which specifies the address to which
|
|
// funds should be paid out to upon cooperative close. This field may only be
|
|
// set if the peer supports the option upfront feature bit (call listpeers
|
|
// to check). The remote peer will only accept cooperative closes to this
|
|
// address if it is set.
|
|
//
|
|
// Note: If this value is set on channel creation, you will *not* be able to
|
|
// cooperatively close out to a different address.
|
|
CloseAddress string `protobuf:"bytes,7,opt,name=close_address,json=closeAddress,proto3" json:"close_address,omitempty"`
|
|
// An optional, unique identifier of 32 random bytes that will be used as the
|
|
// pending channel ID to identify the channel while it is in the pre-pending
|
|
// state.
|
|
PendingChanId []byte `protobuf:"bytes,8,opt,name=pending_chan_id,json=pendingChanId,proto3" json:"pending_chan_id,omitempty"`
|
|
// The explicit commitment type to use. Note this field will only be used if
|
|
// the remote peer supports explicit channel negotiation.
|
|
CommitmentType CommitmentType `protobuf:"varint,9,opt,name=commitment_type,json=commitmentType,proto3,enum=lnrpc.CommitmentType" json:"commitment_type,omitempty"`
|
|
// The maximum amount of coins in millisatoshi that can be pending within
|
|
// the channel. It only applies to the remote party.
|
|
RemoteMaxValueInFlightMsat uint64 `protobuf:"varint,10,opt,name=remote_max_value_in_flight_msat,json=remoteMaxValueInFlightMsat,proto3" json:"remote_max_value_in_flight_msat,omitempty"`
|
|
// The maximum number of concurrent HTLCs we will allow the remote party to add
|
|
// to the commitment transaction.
|
|
RemoteMaxHtlcs uint32 `protobuf:"varint,11,opt,name=remote_max_htlcs,json=remoteMaxHtlcs,proto3" json:"remote_max_htlcs,omitempty"`
|
|
// Max local csv is the maximum csv delay we will allow for our own commitment
|
|
// transaction.
|
|
MaxLocalCsv uint32 `protobuf:"varint,12,opt,name=max_local_csv,json=maxLocalCsv,proto3" json:"max_local_csv,omitempty"`
|
|
// If this is true, then a zero-conf channel open will be attempted.
|
|
ZeroConf bool `protobuf:"varint,13,opt,name=zero_conf,json=zeroConf,proto3" json:"zero_conf,omitempty"`
|
|
// If this is true, then an option-scid-alias channel-type open will be
|
|
// attempted.
|
|
ScidAlias bool `protobuf:"varint,14,opt,name=scid_alias,json=scidAlias,proto3" json:"scid_alias,omitempty"`
|
|
// The base fee charged regardless of the number of milli-satoshis sent.
|
|
BaseFee uint64 `protobuf:"varint,15,opt,name=base_fee,json=baseFee,proto3" json:"base_fee,omitempty"`
|
|
// The fee rate in ppm (parts per million) that will be charged in
|
|
// proportion of the value of each forwarded HTLC.
|
|
FeeRate uint64 `protobuf:"varint,16,opt,name=fee_rate,json=feeRate,proto3" json:"fee_rate,omitempty"`
|
|
// If use_base_fee is true the open channel announcement will update the
|
|
// channel base fee with the value specified in base_fee. In the case of
|
|
// a base_fee of 0 use_base_fee is needed downstream to distinguish whether
|
|
// to use the default base fee value specified in the config or 0.
|
|
UseBaseFee bool `protobuf:"varint,17,opt,name=use_base_fee,json=useBaseFee,proto3" json:"use_base_fee,omitempty"`
|
|
// If use_fee_rate is true the open channel announcement will update the
|
|
// channel fee rate with the value specified in fee_rate. In the case of
|
|
// a fee_rate of 0 use_fee_rate is needed downstream to distinguish whether
|
|
// to use the default fee rate value specified in the config or 0.
|
|
UseFeeRate bool `protobuf:"varint,18,opt,name=use_fee_rate,json=useFeeRate,proto3" json:"use_fee_rate,omitempty"`
|
|
// The number of satoshis we require the remote peer to reserve. This value,
|
|
// if specified, must be above the dust limit and below 20% of the channel
|
|
// capacity.
|
|
RemoteChanReserveSat uint64 `protobuf:"varint,19,opt,name=remote_chan_reserve_sat,json=remoteChanReserveSat,proto3" json:"remote_chan_reserve_sat,omitempty"`
|
|
// An optional note-to-self to go along with the channel containing some
|
|
// useful information. This is only ever stored locally and in no way impacts
|
|
// the channel's operation.
|
|
Memo string `protobuf:"bytes,20,opt,name=memo,proto3" json:"memo,omitempty"`
|
|
}
|
|
|
|
func (x *BatchOpenChannel) Reset() {
|
|
*x = BatchOpenChannel{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[73]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *BatchOpenChannel) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BatchOpenChannel) ProtoMessage() {}
|
|
|
|
func (x *BatchOpenChannel) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[73]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use BatchOpenChannel.ProtoReflect.Descriptor instead.
|
|
func (*BatchOpenChannel) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{73}
|
|
}
|
|
|
|
func (x *BatchOpenChannel) GetNodePubkey() []byte {
|
|
if x != nil {
|
|
return x.NodePubkey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BatchOpenChannel) GetLocalFundingAmount() int64 {
|
|
if x != nil {
|
|
return x.LocalFundingAmount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BatchOpenChannel) GetPushSat() int64 {
|
|
if x != nil {
|
|
return x.PushSat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BatchOpenChannel) GetPrivate() bool {
|
|
if x != nil {
|
|
return x.Private
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *BatchOpenChannel) GetMinHtlcMsat() int64 {
|
|
if x != nil {
|
|
return x.MinHtlcMsat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BatchOpenChannel) GetRemoteCsvDelay() uint32 {
|
|
if x != nil {
|
|
return x.RemoteCsvDelay
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BatchOpenChannel) GetCloseAddress() string {
|
|
if x != nil {
|
|
return x.CloseAddress
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *BatchOpenChannel) GetPendingChanId() []byte {
|
|
if x != nil {
|
|
return x.PendingChanId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BatchOpenChannel) GetCommitmentType() CommitmentType {
|
|
if x != nil {
|
|
return x.CommitmentType
|
|
}
|
|
return CommitmentType_UNKNOWN_COMMITMENT_TYPE
|
|
}
|
|
|
|
func (x *BatchOpenChannel) GetRemoteMaxValueInFlightMsat() uint64 {
|
|
if x != nil {
|
|
return x.RemoteMaxValueInFlightMsat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BatchOpenChannel) GetRemoteMaxHtlcs() uint32 {
|
|
if x != nil {
|
|
return x.RemoteMaxHtlcs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BatchOpenChannel) GetMaxLocalCsv() uint32 {
|
|
if x != nil {
|
|
return x.MaxLocalCsv
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BatchOpenChannel) GetZeroConf() bool {
|
|
if x != nil {
|
|
return x.ZeroConf
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *BatchOpenChannel) GetScidAlias() bool {
|
|
if x != nil {
|
|
return x.ScidAlias
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *BatchOpenChannel) GetBaseFee() uint64 {
|
|
if x != nil {
|
|
return x.BaseFee
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BatchOpenChannel) GetFeeRate() uint64 {
|
|
if x != nil {
|
|
return x.FeeRate
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BatchOpenChannel) GetUseBaseFee() bool {
|
|
if x != nil {
|
|
return x.UseBaseFee
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *BatchOpenChannel) GetUseFeeRate() bool {
|
|
if x != nil {
|
|
return x.UseFeeRate
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *BatchOpenChannel) GetRemoteChanReserveSat() uint64 {
|
|
if x != nil {
|
|
return x.RemoteChanReserveSat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BatchOpenChannel) GetMemo() string {
|
|
if x != nil {
|
|
return x.Memo
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type BatchOpenChannelResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
PendingChannels []*PendingUpdate `protobuf:"bytes,1,rep,name=pending_channels,json=pendingChannels,proto3" json:"pending_channels,omitempty"`
|
|
}
|
|
|
|
func (x *BatchOpenChannelResponse) Reset() {
|
|
*x = BatchOpenChannelResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[74]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *BatchOpenChannelResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BatchOpenChannelResponse) ProtoMessage() {}
|
|
|
|
func (x *BatchOpenChannelResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[74]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use BatchOpenChannelResponse.ProtoReflect.Descriptor instead.
|
|
func (*BatchOpenChannelResponse) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{74}
|
|
}
|
|
|
|
func (x *BatchOpenChannelResponse) GetPendingChannels() []*PendingUpdate {
|
|
if x != nil {
|
|
return x.PendingChannels
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type OpenChannelRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// A manual fee rate set in sat/vbyte that should be used when crafting the
|
|
// funding transaction.
|
|
SatPerVbyte uint64 `protobuf:"varint,1,opt,name=sat_per_vbyte,json=satPerVbyte,proto3" json:"sat_per_vbyte,omitempty"`
|
|
// The pubkey of the node to open a channel with. When using REST, this field
|
|
// must be encoded as base64.
|
|
NodePubkey []byte `protobuf:"bytes,2,opt,name=node_pubkey,json=nodePubkey,proto3" json:"node_pubkey,omitempty"`
|
|
// The hex encoded pubkey of the node to open a channel with. Deprecated now
|
|
// that the REST gateway supports base64 encoding of bytes fields.
|
|
//
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
NodePubkeyString string `protobuf:"bytes,3,opt,name=node_pubkey_string,json=nodePubkeyString,proto3" json:"node_pubkey_string,omitempty"`
|
|
// The number of satoshis the wallet should commit to the channel
|
|
LocalFundingAmount int64 `protobuf:"varint,4,opt,name=local_funding_amount,json=localFundingAmount,proto3" json:"local_funding_amount,omitempty"`
|
|
// The number of satoshis to push to the remote side as part of the initial
|
|
// commitment state
|
|
PushSat int64 `protobuf:"varint,5,opt,name=push_sat,json=pushSat,proto3" json:"push_sat,omitempty"`
|
|
// The target number of blocks that the funding transaction should be
|
|
// confirmed by.
|
|
TargetConf int32 `protobuf:"varint,6,opt,name=target_conf,json=targetConf,proto3" json:"target_conf,omitempty"`
|
|
// Deprecated, use sat_per_vbyte.
|
|
// A manual fee rate set in sat/vbyte that should be used when crafting the
|
|
// funding transaction.
|
|
//
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
SatPerByte int64 `protobuf:"varint,7,opt,name=sat_per_byte,json=satPerByte,proto3" json:"sat_per_byte,omitempty"`
|
|
// Whether this channel should be private, not announced to the greater
|
|
// network.
|
|
Private bool `protobuf:"varint,8,opt,name=private,proto3" json:"private,omitempty"`
|
|
// The minimum value in millisatoshi we will require for incoming HTLCs on
|
|
// the channel.
|
|
MinHtlcMsat int64 `protobuf:"varint,9,opt,name=min_htlc_msat,json=minHtlcMsat,proto3" json:"min_htlc_msat,omitempty"`
|
|
// The delay we require on the remote's commitment transaction. If this is
|
|
// not set, it will be scaled automatically with the channel size.
|
|
RemoteCsvDelay uint32 `protobuf:"varint,10,opt,name=remote_csv_delay,json=remoteCsvDelay,proto3" json:"remote_csv_delay,omitempty"`
|
|
// The minimum number of confirmations each one of your outputs used for
|
|
// the funding transaction must satisfy.
|
|
MinConfs int32 `protobuf:"varint,11,opt,name=min_confs,json=minConfs,proto3" json:"min_confs,omitempty"`
|
|
// Whether unconfirmed outputs should be used as inputs for the funding
|
|
// transaction.
|
|
SpendUnconfirmed bool `protobuf:"varint,12,opt,name=spend_unconfirmed,json=spendUnconfirmed,proto3" json:"spend_unconfirmed,omitempty"`
|
|
// Close address is an optional address which specifies the address to which
|
|
// funds should be paid out to upon cooperative close. This field may only be
|
|
// set if the peer supports the option upfront feature bit (call listpeers
|
|
// to check). The remote peer will only accept cooperative closes to this
|
|
// address if it is set.
|
|
//
|
|
// Note: If this value is set on channel creation, you will *not* be able to
|
|
// cooperatively close out to a different address.
|
|
CloseAddress string `protobuf:"bytes,13,opt,name=close_address,json=closeAddress,proto3" json:"close_address,omitempty"`
|
|
// Funding shims are an optional argument that allow the caller to intercept
|
|
// certain funding functionality. For example, a shim can be provided to use a
|
|
// particular key for the commitment key (ideally cold) rather than use one
|
|
// that is generated by the wallet as normal, or signal that signing will be
|
|
// carried out in an interactive manner (PSBT based).
|
|
FundingShim *FundingShim `protobuf:"bytes,14,opt,name=funding_shim,json=fundingShim,proto3" json:"funding_shim,omitempty"`
|
|
// The maximum amount of coins in millisatoshi that can be pending within
|
|
// the channel. It only applies to the remote party.
|
|
RemoteMaxValueInFlightMsat uint64 `protobuf:"varint,15,opt,name=remote_max_value_in_flight_msat,json=remoteMaxValueInFlightMsat,proto3" json:"remote_max_value_in_flight_msat,omitempty"`
|
|
// The maximum number of concurrent HTLCs we will allow the remote party to add
|
|
// to the commitment transaction.
|
|
RemoteMaxHtlcs uint32 `protobuf:"varint,16,opt,name=remote_max_htlcs,json=remoteMaxHtlcs,proto3" json:"remote_max_htlcs,omitempty"`
|
|
// Max local csv is the maximum csv delay we will allow for our own commitment
|
|
// transaction.
|
|
MaxLocalCsv uint32 `protobuf:"varint,17,opt,name=max_local_csv,json=maxLocalCsv,proto3" json:"max_local_csv,omitempty"`
|
|
// The explicit commitment type to use. Note this field will only be used if
|
|
// the remote peer supports explicit channel negotiation.
|
|
CommitmentType CommitmentType `protobuf:"varint,18,opt,name=commitment_type,json=commitmentType,proto3,enum=lnrpc.CommitmentType" json:"commitment_type,omitempty"`
|
|
// If this is true, then a zero-conf channel open will be attempted.
|
|
ZeroConf bool `protobuf:"varint,19,opt,name=zero_conf,json=zeroConf,proto3" json:"zero_conf,omitempty"`
|
|
// If this is true, then an option-scid-alias channel-type open will be
|
|
// attempted.
|
|
ScidAlias bool `protobuf:"varint,20,opt,name=scid_alias,json=scidAlias,proto3" json:"scid_alias,omitempty"`
|
|
// The base fee charged regardless of the number of milli-satoshis sent.
|
|
BaseFee uint64 `protobuf:"varint,21,opt,name=base_fee,json=baseFee,proto3" json:"base_fee,omitempty"`
|
|
// The fee rate in ppm (parts per million) that will be charged in
|
|
// proportion of the value of each forwarded HTLC.
|
|
FeeRate uint64 `protobuf:"varint,22,opt,name=fee_rate,json=feeRate,proto3" json:"fee_rate,omitempty"`
|
|
// If use_base_fee is true the open channel announcement will update the
|
|
// channel base fee with the value specified in base_fee. In the case of
|
|
// a base_fee of 0 use_base_fee is needed downstream to distinguish whether
|
|
// to use the default base fee value specified in the config or 0.
|
|
UseBaseFee bool `protobuf:"varint,23,opt,name=use_base_fee,json=useBaseFee,proto3" json:"use_base_fee,omitempty"`
|
|
// If use_fee_rate is true the open channel announcement will update the
|
|
// channel fee rate with the value specified in fee_rate. In the case of
|
|
// a fee_rate of 0 use_fee_rate is needed downstream to distinguish whether
|
|
// to use the default fee rate value specified in the config or 0.
|
|
UseFeeRate bool `protobuf:"varint,24,opt,name=use_fee_rate,json=useFeeRate,proto3" json:"use_fee_rate,omitempty"`
|
|
// The number of satoshis we require the remote peer to reserve. This value,
|
|
// if specified, must be above the dust limit and below 20% of the channel
|
|
// capacity.
|
|
RemoteChanReserveSat uint64 `protobuf:"varint,25,opt,name=remote_chan_reserve_sat,json=remoteChanReserveSat,proto3" json:"remote_chan_reserve_sat,omitempty"`
|
|
// If set, then lnd will attempt to commit all the coins under control of the
|
|
// internal wallet to open the channel, and the LocalFundingAmount field must
|
|
// be zero and is ignored.
|
|
FundMax bool `protobuf:"varint,26,opt,name=fund_max,json=fundMax,proto3" json:"fund_max,omitempty"`
|
|
// An optional note-to-self to go along with the channel containing some
|
|
// useful information. This is only ever stored locally and in no way impacts
|
|
// the channel's operation.
|
|
Memo string `protobuf:"bytes,27,opt,name=memo,proto3" json:"memo,omitempty"`
|
|
// A list of selected outpoints that are allocated for channel funding.
|
|
Outpoints []*OutPoint `protobuf:"bytes,28,rep,name=outpoints,proto3" json:"outpoints,omitempty"`
|
|
}
|
|
|
|
func (x *OpenChannelRequest) Reset() {
|
|
*x = OpenChannelRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[75]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *OpenChannelRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OpenChannelRequest) ProtoMessage() {}
|
|
|
|
func (x *OpenChannelRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[75]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use OpenChannelRequest.ProtoReflect.Descriptor instead.
|
|
func (*OpenChannelRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{75}
|
|
}
|
|
|
|
func (x *OpenChannelRequest) GetSatPerVbyte() uint64 {
|
|
if x != nil {
|
|
return x.SatPerVbyte
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OpenChannelRequest) GetNodePubkey() []byte {
|
|
if x != nil {
|
|
return x.NodePubkey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
func (x *OpenChannelRequest) GetNodePubkeyString() string {
|
|
if x != nil {
|
|
return x.NodePubkeyString
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *OpenChannelRequest) GetLocalFundingAmount() int64 {
|
|
if x != nil {
|
|
return x.LocalFundingAmount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OpenChannelRequest) GetPushSat() int64 {
|
|
if x != nil {
|
|
return x.PushSat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OpenChannelRequest) GetTargetConf() int32 {
|
|
if x != nil {
|
|
return x.TargetConf
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
func (x *OpenChannelRequest) GetSatPerByte() int64 {
|
|
if x != nil {
|
|
return x.SatPerByte
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OpenChannelRequest) GetPrivate() bool {
|
|
if x != nil {
|
|
return x.Private
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *OpenChannelRequest) GetMinHtlcMsat() int64 {
|
|
if x != nil {
|
|
return x.MinHtlcMsat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OpenChannelRequest) GetRemoteCsvDelay() uint32 {
|
|
if x != nil {
|
|
return x.RemoteCsvDelay
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OpenChannelRequest) GetMinConfs() int32 {
|
|
if x != nil {
|
|
return x.MinConfs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OpenChannelRequest) GetSpendUnconfirmed() bool {
|
|
if x != nil {
|
|
return x.SpendUnconfirmed
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *OpenChannelRequest) GetCloseAddress() string {
|
|
if x != nil {
|
|
return x.CloseAddress
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *OpenChannelRequest) GetFundingShim() *FundingShim {
|
|
if x != nil {
|
|
return x.FundingShim
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *OpenChannelRequest) GetRemoteMaxValueInFlightMsat() uint64 {
|
|
if x != nil {
|
|
return x.RemoteMaxValueInFlightMsat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OpenChannelRequest) GetRemoteMaxHtlcs() uint32 {
|
|
if x != nil {
|
|
return x.RemoteMaxHtlcs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OpenChannelRequest) GetMaxLocalCsv() uint32 {
|
|
if x != nil {
|
|
return x.MaxLocalCsv
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OpenChannelRequest) GetCommitmentType() CommitmentType {
|
|
if x != nil {
|
|
return x.CommitmentType
|
|
}
|
|
return CommitmentType_UNKNOWN_COMMITMENT_TYPE
|
|
}
|
|
|
|
func (x *OpenChannelRequest) GetZeroConf() bool {
|
|
if x != nil {
|
|
return x.ZeroConf
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *OpenChannelRequest) GetScidAlias() bool {
|
|
if x != nil {
|
|
return x.ScidAlias
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *OpenChannelRequest) GetBaseFee() uint64 {
|
|
if x != nil {
|
|
return x.BaseFee
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OpenChannelRequest) GetFeeRate() uint64 {
|
|
if x != nil {
|
|
return x.FeeRate
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OpenChannelRequest) GetUseBaseFee() bool {
|
|
if x != nil {
|
|
return x.UseBaseFee
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *OpenChannelRequest) GetUseFeeRate() bool {
|
|
if x != nil {
|
|
return x.UseFeeRate
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *OpenChannelRequest) GetRemoteChanReserveSat() uint64 {
|
|
if x != nil {
|
|
return x.RemoteChanReserveSat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *OpenChannelRequest) GetFundMax() bool {
|
|
if x != nil {
|
|
return x.FundMax
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *OpenChannelRequest) GetMemo() string {
|
|
if x != nil {
|
|
return x.Memo
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *OpenChannelRequest) GetOutpoints() []*OutPoint {
|
|
if x != nil {
|
|
return x.Outpoints
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type OpenStatusUpdate struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Types that are assignable to Update:
|
|
//
|
|
// *OpenStatusUpdate_ChanPending
|
|
// *OpenStatusUpdate_ChanOpen
|
|
// *OpenStatusUpdate_PsbtFund
|
|
Update isOpenStatusUpdate_Update `protobuf_oneof:"update"`
|
|
// The pending channel ID of the created channel. This value may be used to
|
|
// further the funding flow manually via the FundingStateStep method.
|
|
PendingChanId []byte `protobuf:"bytes,4,opt,name=pending_chan_id,json=pendingChanId,proto3" json:"pending_chan_id,omitempty"`
|
|
}
|
|
|
|
func (x *OpenStatusUpdate) Reset() {
|
|
*x = OpenStatusUpdate{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[76]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *OpenStatusUpdate) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*OpenStatusUpdate) ProtoMessage() {}
|
|
|
|
func (x *OpenStatusUpdate) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[76]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use OpenStatusUpdate.ProtoReflect.Descriptor instead.
|
|
func (*OpenStatusUpdate) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{76}
|
|
}
|
|
|
|
func (m *OpenStatusUpdate) GetUpdate() isOpenStatusUpdate_Update {
|
|
if m != nil {
|
|
return m.Update
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *OpenStatusUpdate) GetChanPending() *PendingUpdate {
|
|
if x, ok := x.GetUpdate().(*OpenStatusUpdate_ChanPending); ok {
|
|
return x.ChanPending
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *OpenStatusUpdate) GetChanOpen() *ChannelOpenUpdate {
|
|
if x, ok := x.GetUpdate().(*OpenStatusUpdate_ChanOpen); ok {
|
|
return x.ChanOpen
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *OpenStatusUpdate) GetPsbtFund() *ReadyForPsbtFunding {
|
|
if x, ok := x.GetUpdate().(*OpenStatusUpdate_PsbtFund); ok {
|
|
return x.PsbtFund
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *OpenStatusUpdate) GetPendingChanId() []byte {
|
|
if x != nil {
|
|
return x.PendingChanId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isOpenStatusUpdate_Update interface {
|
|
isOpenStatusUpdate_Update()
|
|
}
|
|
|
|
type OpenStatusUpdate_ChanPending struct {
|
|
// Signals that the channel is now fully negotiated and the funding
|
|
// transaction published.
|
|
ChanPending *PendingUpdate `protobuf:"bytes,1,opt,name=chan_pending,json=chanPending,proto3,oneof"`
|
|
}
|
|
|
|
type OpenStatusUpdate_ChanOpen struct {
|
|
// Signals that the channel's funding transaction has now reached the
|
|
// required number of confirmations on chain and can be used.
|
|
ChanOpen *ChannelOpenUpdate `protobuf:"bytes,3,opt,name=chan_open,json=chanOpen,proto3,oneof"`
|
|
}
|
|
|
|
type OpenStatusUpdate_PsbtFund struct {
|
|
// Signals that the funding process has been suspended and the construction
|
|
// of a PSBT that funds the channel PK script is now required.
|
|
PsbtFund *ReadyForPsbtFunding `protobuf:"bytes,5,opt,name=psbt_fund,json=psbtFund,proto3,oneof"`
|
|
}
|
|
|
|
func (*OpenStatusUpdate_ChanPending) isOpenStatusUpdate_Update() {}
|
|
|
|
func (*OpenStatusUpdate_ChanOpen) isOpenStatusUpdate_Update() {}
|
|
|
|
func (*OpenStatusUpdate_PsbtFund) isOpenStatusUpdate_Update() {}
|
|
|
|
type KeyLocator struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The family of key being identified.
|
|
KeyFamily int32 `protobuf:"varint,1,opt,name=key_family,json=keyFamily,proto3" json:"key_family,omitempty"`
|
|
// The precise index of the key being identified.
|
|
KeyIndex int32 `protobuf:"varint,2,opt,name=key_index,json=keyIndex,proto3" json:"key_index,omitempty"`
|
|
}
|
|
|
|
func (x *KeyLocator) Reset() {
|
|
*x = KeyLocator{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[77]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *KeyLocator) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*KeyLocator) ProtoMessage() {}
|
|
|
|
func (x *KeyLocator) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[77]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use KeyLocator.ProtoReflect.Descriptor instead.
|
|
func (*KeyLocator) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{77}
|
|
}
|
|
|
|
func (x *KeyLocator) GetKeyFamily() int32 {
|
|
if x != nil {
|
|
return x.KeyFamily
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *KeyLocator) GetKeyIndex() int32 {
|
|
if x != nil {
|
|
return x.KeyIndex
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type KeyDescriptor struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The raw bytes of the key being identified.
|
|
RawKeyBytes []byte `protobuf:"bytes,1,opt,name=raw_key_bytes,json=rawKeyBytes,proto3" json:"raw_key_bytes,omitempty"`
|
|
// The key locator that identifies which key to use for signing.
|
|
KeyLoc *KeyLocator `protobuf:"bytes,2,opt,name=key_loc,json=keyLoc,proto3" json:"key_loc,omitempty"`
|
|
}
|
|
|
|
func (x *KeyDescriptor) Reset() {
|
|
*x = KeyDescriptor{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[78]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *KeyDescriptor) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*KeyDescriptor) ProtoMessage() {}
|
|
|
|
func (x *KeyDescriptor) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[78]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use KeyDescriptor.ProtoReflect.Descriptor instead.
|
|
func (*KeyDescriptor) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{78}
|
|
}
|
|
|
|
func (x *KeyDescriptor) GetRawKeyBytes() []byte {
|
|
if x != nil {
|
|
return x.RawKeyBytes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *KeyDescriptor) GetKeyLoc() *KeyLocator {
|
|
if x != nil {
|
|
return x.KeyLoc
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ChanPointShim struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The size of the pre-crafted output to be used as the channel point for this
|
|
// channel funding.
|
|
Amt int64 `protobuf:"varint,1,opt,name=amt,proto3" json:"amt,omitempty"`
|
|
// The target channel point to refrence in created commitment transactions.
|
|
ChanPoint *ChannelPoint `protobuf:"bytes,2,opt,name=chan_point,json=chanPoint,proto3" json:"chan_point,omitempty"`
|
|
// Our local key to use when creating the multi-sig output.
|
|
LocalKey *KeyDescriptor `protobuf:"bytes,3,opt,name=local_key,json=localKey,proto3" json:"local_key,omitempty"`
|
|
// The key of the remote party to use when creating the multi-sig output.
|
|
RemoteKey []byte `protobuf:"bytes,4,opt,name=remote_key,json=remoteKey,proto3" json:"remote_key,omitempty"`
|
|
// If non-zero, then this will be used as the pending channel ID on the wire
|
|
// protocol to initate the funding request. This is an optional field, and
|
|
// should only be set if the responder is already expecting a specific pending
|
|
// channel ID.
|
|
PendingChanId []byte `protobuf:"bytes,5,opt,name=pending_chan_id,json=pendingChanId,proto3" json:"pending_chan_id,omitempty"`
|
|
// This uint32 indicates if this channel is to be considered 'frozen'. A frozen
|
|
// channel does not allow a cooperative channel close by the initiator. The
|
|
// thaw_height is the height that this restriction stops applying to the
|
|
// channel. The height can be interpreted in two ways: as a relative height if
|
|
// the value is less than 500,000, or as an absolute height otherwise.
|
|
ThawHeight uint32 `protobuf:"varint,6,opt,name=thaw_height,json=thawHeight,proto3" json:"thaw_height,omitempty"`
|
|
// Indicates that the funding output is using a MuSig2 multi-sig output.
|
|
Musig2 bool `protobuf:"varint,7,opt,name=musig2,proto3" json:"musig2,omitempty"`
|
|
}
|
|
|
|
func (x *ChanPointShim) Reset() {
|
|
*x = ChanPointShim{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[79]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ChanPointShim) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ChanPointShim) ProtoMessage() {}
|
|
|
|
func (x *ChanPointShim) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[79]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use ChanPointShim.ProtoReflect.Descriptor instead.
|
|
func (*ChanPointShim) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{79}
|
|
}
|
|
|
|
func (x *ChanPointShim) GetAmt() int64 {
|
|
if x != nil {
|
|
return x.Amt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChanPointShim) GetChanPoint() *ChannelPoint {
|
|
if x != nil {
|
|
return x.ChanPoint
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChanPointShim) GetLocalKey() *KeyDescriptor {
|
|
if x != nil {
|
|
return x.LocalKey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChanPointShim) GetRemoteKey() []byte {
|
|
if x != nil {
|
|
return x.RemoteKey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChanPointShim) GetPendingChanId() []byte {
|
|
if x != nil {
|
|
return x.PendingChanId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChanPointShim) GetThawHeight() uint32 {
|
|
if x != nil {
|
|
return x.ThawHeight
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChanPointShim) GetMusig2() bool {
|
|
if x != nil {
|
|
return x.Musig2
|
|
}
|
|
return false
|
|
}
|
|
|
|
type PsbtShim struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// A unique identifier of 32 random bytes that will be used as the pending
|
|
// channel ID to identify the PSBT state machine when interacting with it and
|
|
// on the wire protocol to initiate the funding request.
|
|
PendingChanId []byte `protobuf:"bytes,1,opt,name=pending_chan_id,json=pendingChanId,proto3" json:"pending_chan_id,omitempty"`
|
|
// An optional base PSBT the new channel output will be added to. If this is
|
|
// non-empty, it must be a binary serialized PSBT.
|
|
BasePsbt []byte `protobuf:"bytes,2,opt,name=base_psbt,json=basePsbt,proto3" json:"base_psbt,omitempty"`
|
|
// If a channel should be part of a batch (multiple channel openings in one
|
|
// transaction), it can be dangerous if the whole batch transaction is
|
|
// published too early before all channel opening negotiations are completed.
|
|
// This flag prevents this particular channel from broadcasting the transaction
|
|
// after the negotiation with the remote peer. In a batch of channel openings
|
|
// this flag should be set to true for every channel but the very last.
|
|
NoPublish bool `protobuf:"varint,3,opt,name=no_publish,json=noPublish,proto3" json:"no_publish,omitempty"`
|
|
}
|
|
|
|
func (x *PsbtShim) Reset() {
|
|
*x = PsbtShim{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[80]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PsbtShim) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PsbtShim) ProtoMessage() {}
|
|
|
|
func (x *PsbtShim) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[80]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use PsbtShim.ProtoReflect.Descriptor instead.
|
|
func (*PsbtShim) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{80}
|
|
}
|
|
|
|
func (x *PsbtShim) GetPendingChanId() []byte {
|
|
if x != nil {
|
|
return x.PendingChanId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PsbtShim) GetBasePsbt() []byte {
|
|
if x != nil {
|
|
return x.BasePsbt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PsbtShim) GetNoPublish() bool {
|
|
if x != nil {
|
|
return x.NoPublish
|
|
}
|
|
return false
|
|
}
|
|
|
|
type FundingShim struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Types that are assignable to Shim:
|
|
//
|
|
// *FundingShim_ChanPointShim
|
|
// *FundingShim_PsbtShim
|
|
Shim isFundingShim_Shim `protobuf_oneof:"shim"`
|
|
}
|
|
|
|
func (x *FundingShim) Reset() {
|
|
*x = FundingShim{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[81]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *FundingShim) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FundingShim) ProtoMessage() {}
|
|
|
|
func (x *FundingShim) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[81]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use FundingShim.ProtoReflect.Descriptor instead.
|
|
func (*FundingShim) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{81}
|
|
}
|
|
|
|
func (m *FundingShim) GetShim() isFundingShim_Shim {
|
|
if m != nil {
|
|
return m.Shim
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FundingShim) GetChanPointShim() *ChanPointShim {
|
|
if x, ok := x.GetShim().(*FundingShim_ChanPointShim); ok {
|
|
return x.ChanPointShim
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FundingShim) GetPsbtShim() *PsbtShim {
|
|
if x, ok := x.GetShim().(*FundingShim_PsbtShim); ok {
|
|
return x.PsbtShim
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isFundingShim_Shim interface {
|
|
isFundingShim_Shim()
|
|
}
|
|
|
|
type FundingShim_ChanPointShim struct {
|
|
// A channel shim where the channel point was fully constructed outside
|
|
// of lnd's wallet and the transaction might already be published.
|
|
ChanPointShim *ChanPointShim `protobuf:"bytes,1,opt,name=chan_point_shim,json=chanPointShim,proto3,oneof"`
|
|
}
|
|
|
|
type FundingShim_PsbtShim struct {
|
|
// A channel shim that uses a PSBT to fund and sign the channel funding
|
|
// transaction.
|
|
PsbtShim *PsbtShim `protobuf:"bytes,2,opt,name=psbt_shim,json=psbtShim,proto3,oneof"`
|
|
}
|
|
|
|
func (*FundingShim_ChanPointShim) isFundingShim_Shim() {}
|
|
|
|
func (*FundingShim_PsbtShim) isFundingShim_Shim() {}
|
|
|
|
type FundingShimCancel struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The pending channel ID of the channel to cancel the funding shim for.
|
|
PendingChanId []byte `protobuf:"bytes,1,opt,name=pending_chan_id,json=pendingChanId,proto3" json:"pending_chan_id,omitempty"`
|
|
}
|
|
|
|
func (x *FundingShimCancel) Reset() {
|
|
*x = FundingShimCancel{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[82]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *FundingShimCancel) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FundingShimCancel) ProtoMessage() {}
|
|
|
|
func (x *FundingShimCancel) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[82]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use FundingShimCancel.ProtoReflect.Descriptor instead.
|
|
func (*FundingShimCancel) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{82}
|
|
}
|
|
|
|
func (x *FundingShimCancel) GetPendingChanId() []byte {
|
|
if x != nil {
|
|
return x.PendingChanId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type FundingPsbtVerify struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The funded but not yet signed PSBT that sends the exact channel capacity
|
|
// amount to the PK script returned in the open channel message in a previous
|
|
// step.
|
|
FundedPsbt []byte `protobuf:"bytes,1,opt,name=funded_psbt,json=fundedPsbt,proto3" json:"funded_psbt,omitempty"`
|
|
// The pending channel ID of the channel to get the PSBT for.
|
|
PendingChanId []byte `protobuf:"bytes,2,opt,name=pending_chan_id,json=pendingChanId,proto3" json:"pending_chan_id,omitempty"`
|
|
// Can only be used if the no_publish flag was set to true in the OpenChannel
|
|
// call meaning that the caller is solely responsible for publishing the final
|
|
// funding transaction. If skip_finalize is set to true then lnd will not wait
|
|
// for a FundingPsbtFinalize state step and instead assumes that a transaction
|
|
// with the same TXID as the passed in PSBT will eventually confirm.
|
|
// IT IS ABSOLUTELY IMPERATIVE that the TXID of the transaction that is
|
|
// eventually published does have the _same TXID_ as the verified PSBT. That
|
|
// means no inputs or outputs can change, only signatures can be added. If the
|
|
// TXID changes between this call and the publish step then the channel will
|
|
// never be created and the funds will be in limbo.
|
|
SkipFinalize bool `protobuf:"varint,3,opt,name=skip_finalize,json=skipFinalize,proto3" json:"skip_finalize,omitempty"`
|
|
}
|
|
|
|
func (x *FundingPsbtVerify) Reset() {
|
|
*x = FundingPsbtVerify{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[83]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *FundingPsbtVerify) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FundingPsbtVerify) ProtoMessage() {}
|
|
|
|
func (x *FundingPsbtVerify) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[83]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use FundingPsbtVerify.ProtoReflect.Descriptor instead.
|
|
func (*FundingPsbtVerify) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{83}
|
|
}
|
|
|
|
func (x *FundingPsbtVerify) GetFundedPsbt() []byte {
|
|
if x != nil {
|
|
return x.FundedPsbt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FundingPsbtVerify) GetPendingChanId() []byte {
|
|
if x != nil {
|
|
return x.PendingChanId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FundingPsbtVerify) GetSkipFinalize() bool {
|
|
if x != nil {
|
|
return x.SkipFinalize
|
|
}
|
|
return false
|
|
}
|
|
|
|
type FundingPsbtFinalize struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The funded PSBT that contains all witness data to send the exact channel
|
|
// capacity amount to the PK script returned in the open channel message in a
|
|
// previous step. Cannot be set at the same time as final_raw_tx.
|
|
SignedPsbt []byte `protobuf:"bytes,1,opt,name=signed_psbt,json=signedPsbt,proto3" json:"signed_psbt,omitempty"`
|
|
// The pending channel ID of the channel to get the PSBT for.
|
|
PendingChanId []byte `protobuf:"bytes,2,opt,name=pending_chan_id,json=pendingChanId,proto3" json:"pending_chan_id,omitempty"`
|
|
// As an alternative to the signed PSBT with all witness data, the final raw
|
|
// wire format transaction can also be specified directly. Cannot be set at the
|
|
// same time as signed_psbt.
|
|
FinalRawTx []byte `protobuf:"bytes,3,opt,name=final_raw_tx,json=finalRawTx,proto3" json:"final_raw_tx,omitempty"`
|
|
}
|
|
|
|
func (x *FundingPsbtFinalize) Reset() {
|
|
*x = FundingPsbtFinalize{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[84]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *FundingPsbtFinalize) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FundingPsbtFinalize) ProtoMessage() {}
|
|
|
|
func (x *FundingPsbtFinalize) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[84]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use FundingPsbtFinalize.ProtoReflect.Descriptor instead.
|
|
func (*FundingPsbtFinalize) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{84}
|
|
}
|
|
|
|
func (x *FundingPsbtFinalize) GetSignedPsbt() []byte {
|
|
if x != nil {
|
|
return x.SignedPsbt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FundingPsbtFinalize) GetPendingChanId() []byte {
|
|
if x != nil {
|
|
return x.PendingChanId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FundingPsbtFinalize) GetFinalRawTx() []byte {
|
|
if x != nil {
|
|
return x.FinalRawTx
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type FundingTransitionMsg struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Types that are assignable to Trigger:
|
|
//
|
|
// *FundingTransitionMsg_ShimRegister
|
|
// *FundingTransitionMsg_ShimCancel
|
|
// *FundingTransitionMsg_PsbtVerify
|
|
// *FundingTransitionMsg_PsbtFinalize
|
|
Trigger isFundingTransitionMsg_Trigger `protobuf_oneof:"trigger"`
|
|
}
|
|
|
|
func (x *FundingTransitionMsg) Reset() {
|
|
*x = FundingTransitionMsg{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[85]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *FundingTransitionMsg) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FundingTransitionMsg) ProtoMessage() {}
|
|
|
|
func (x *FundingTransitionMsg) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[85]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use FundingTransitionMsg.ProtoReflect.Descriptor instead.
|
|
func (*FundingTransitionMsg) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{85}
|
|
}
|
|
|
|
func (m *FundingTransitionMsg) GetTrigger() isFundingTransitionMsg_Trigger {
|
|
if m != nil {
|
|
return m.Trigger
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FundingTransitionMsg) GetShimRegister() *FundingShim {
|
|
if x, ok := x.GetTrigger().(*FundingTransitionMsg_ShimRegister); ok {
|
|
return x.ShimRegister
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FundingTransitionMsg) GetShimCancel() *FundingShimCancel {
|
|
if x, ok := x.GetTrigger().(*FundingTransitionMsg_ShimCancel); ok {
|
|
return x.ShimCancel
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FundingTransitionMsg) GetPsbtVerify() *FundingPsbtVerify {
|
|
if x, ok := x.GetTrigger().(*FundingTransitionMsg_PsbtVerify); ok {
|
|
return x.PsbtVerify
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FundingTransitionMsg) GetPsbtFinalize() *FundingPsbtFinalize {
|
|
if x, ok := x.GetTrigger().(*FundingTransitionMsg_PsbtFinalize); ok {
|
|
return x.PsbtFinalize
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isFundingTransitionMsg_Trigger interface {
|
|
isFundingTransitionMsg_Trigger()
|
|
}
|
|
|
|
type FundingTransitionMsg_ShimRegister struct {
|
|
// The funding shim to register. This should be used before any
|
|
// channel funding has began by the remote party, as it is intended as a
|
|
// preparatory step for the full channel funding.
|
|
ShimRegister *FundingShim `protobuf:"bytes,1,opt,name=shim_register,json=shimRegister,proto3,oneof"`
|
|
}
|
|
|
|
type FundingTransitionMsg_ShimCancel struct {
|
|
// Used to cancel an existing registered funding shim.
|
|
ShimCancel *FundingShimCancel `protobuf:"bytes,2,opt,name=shim_cancel,json=shimCancel,proto3,oneof"`
|
|
}
|
|
|
|
type FundingTransitionMsg_PsbtVerify struct {
|
|
// Used to continue a funding flow that was initiated to be executed
|
|
// through a PSBT. This step verifies that the PSBT contains the correct
|
|
// outputs to fund the channel.
|
|
PsbtVerify *FundingPsbtVerify `protobuf:"bytes,3,opt,name=psbt_verify,json=psbtVerify,proto3,oneof"`
|
|
}
|
|
|
|
type FundingTransitionMsg_PsbtFinalize struct {
|
|
// Used to continue a funding flow that was initiated to be executed
|
|
// through a PSBT. This step finalizes the funded and signed PSBT, finishes
|
|
// negotiation with the peer and finally publishes the resulting funding
|
|
// transaction.
|
|
PsbtFinalize *FundingPsbtFinalize `protobuf:"bytes,4,opt,name=psbt_finalize,json=psbtFinalize,proto3,oneof"`
|
|
}
|
|
|
|
func (*FundingTransitionMsg_ShimRegister) isFundingTransitionMsg_Trigger() {}
|
|
|
|
func (*FundingTransitionMsg_ShimCancel) isFundingTransitionMsg_Trigger() {}
|
|
|
|
func (*FundingTransitionMsg_PsbtVerify) isFundingTransitionMsg_Trigger() {}
|
|
|
|
func (*FundingTransitionMsg_PsbtFinalize) isFundingTransitionMsg_Trigger() {}
|
|
|
|
type FundingStateStepResp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *FundingStateStepResp) Reset() {
|
|
*x = FundingStateStepResp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[86]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *FundingStateStepResp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FundingStateStepResp) ProtoMessage() {}
|
|
|
|
func (x *FundingStateStepResp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[86]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use FundingStateStepResp.ProtoReflect.Descriptor instead.
|
|
func (*FundingStateStepResp) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{86}
|
|
}
|
|
|
|
type PendingHTLC struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The direction within the channel that the htlc was sent
|
|
Incoming bool `protobuf:"varint,1,opt,name=incoming,proto3" json:"incoming,omitempty"`
|
|
// The total value of the htlc
|
|
Amount int64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
|
|
// The final output to be swept back to the user's wallet
|
|
Outpoint string `protobuf:"bytes,3,opt,name=outpoint,proto3" json:"outpoint,omitempty"`
|
|
// The next block height at which we can spend the current stage
|
|
MaturityHeight uint32 `protobuf:"varint,4,opt,name=maturity_height,json=maturityHeight,proto3" json:"maturity_height,omitempty"`
|
|
// The number of blocks remaining until the current stage can be swept.
|
|
// Negative values indicate how many blocks have passed since becoming
|
|
// mature.
|
|
BlocksTilMaturity int32 `protobuf:"varint,5,opt,name=blocks_til_maturity,json=blocksTilMaturity,proto3" json:"blocks_til_maturity,omitempty"`
|
|
// Indicates whether the htlc is in its first or second stage of recovery
|
|
Stage uint32 `protobuf:"varint,6,opt,name=stage,proto3" json:"stage,omitempty"`
|
|
}
|
|
|
|
func (x *PendingHTLC) Reset() {
|
|
*x = PendingHTLC{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[87]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PendingHTLC) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PendingHTLC) ProtoMessage() {}
|
|
|
|
func (x *PendingHTLC) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[87]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use PendingHTLC.ProtoReflect.Descriptor instead.
|
|
func (*PendingHTLC) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{87}
|
|
}
|
|
|
|
func (x *PendingHTLC) GetIncoming() bool {
|
|
if x != nil {
|
|
return x.Incoming
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *PendingHTLC) GetAmount() int64 {
|
|
if x != nil {
|
|
return x.Amount
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PendingHTLC) GetOutpoint() string {
|
|
if x != nil {
|
|
return x.Outpoint
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PendingHTLC) GetMaturityHeight() uint32 {
|
|
if x != nil {
|
|
return x.MaturityHeight
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PendingHTLC) GetBlocksTilMaturity() int32 {
|
|
if x != nil {
|
|
return x.BlocksTilMaturity
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PendingHTLC) GetStage() uint32 {
|
|
if x != nil {
|
|
return x.Stage
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type PendingChannelsRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Indicates whether to include the raw transaction hex for
|
|
// waiting_close_channels.
|
|
IncludeRawTx bool `protobuf:"varint,1,opt,name=include_raw_tx,json=includeRawTx,proto3" json:"include_raw_tx,omitempty"`
|
|
}
|
|
|
|
func (x *PendingChannelsRequest) Reset() {
|
|
*x = PendingChannelsRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[88]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PendingChannelsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PendingChannelsRequest) ProtoMessage() {}
|
|
|
|
func (x *PendingChannelsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[88]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use PendingChannelsRequest.ProtoReflect.Descriptor instead.
|
|
func (*PendingChannelsRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{88}
|
|
}
|
|
|
|
func (x *PendingChannelsRequest) GetIncludeRawTx() bool {
|
|
if x != nil {
|
|
return x.IncludeRawTx
|
|
}
|
|
return false
|
|
}
|
|
|
|
type PendingChannelsResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The balance in satoshis encumbered in pending channels
|
|
TotalLimboBalance int64 `protobuf:"varint,1,opt,name=total_limbo_balance,json=totalLimboBalance,proto3" json:"total_limbo_balance,omitempty"`
|
|
// Channels pending opening
|
|
PendingOpenChannels []*PendingChannelsResponse_PendingOpenChannel `protobuf:"bytes,2,rep,name=pending_open_channels,json=pendingOpenChannels,proto3" json:"pending_open_channels,omitempty"`
|
|
// Deprecated: Channels pending closing previously contained cooperatively
|
|
// closed channels with a single confirmation. These channels are now
|
|
// considered closed from the time we see them on chain.
|
|
//
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
PendingClosingChannels []*PendingChannelsResponse_ClosedChannel `protobuf:"bytes,3,rep,name=pending_closing_channels,json=pendingClosingChannels,proto3" json:"pending_closing_channels,omitempty"`
|
|
// Channels pending force closing
|
|
PendingForceClosingChannels []*PendingChannelsResponse_ForceClosedChannel `protobuf:"bytes,4,rep,name=pending_force_closing_channels,json=pendingForceClosingChannels,proto3" json:"pending_force_closing_channels,omitempty"`
|
|
// Channels waiting for closing tx to confirm
|
|
WaitingCloseChannels []*PendingChannelsResponse_WaitingCloseChannel `protobuf:"bytes,5,rep,name=waiting_close_channels,json=waitingCloseChannels,proto3" json:"waiting_close_channels,omitempty"`
|
|
}
|
|
|
|
func (x *PendingChannelsResponse) Reset() {
|
|
*x = PendingChannelsResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[89]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PendingChannelsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PendingChannelsResponse) ProtoMessage() {}
|
|
|
|
func (x *PendingChannelsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[89]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use PendingChannelsResponse.ProtoReflect.Descriptor instead.
|
|
func (*PendingChannelsResponse) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{89}
|
|
}
|
|
|
|
func (x *PendingChannelsResponse) GetTotalLimboBalance() int64 {
|
|
if x != nil {
|
|
return x.TotalLimboBalance
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PendingChannelsResponse) GetPendingOpenChannels() []*PendingChannelsResponse_PendingOpenChannel {
|
|
if x != nil {
|
|
return x.PendingOpenChannels
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
func (x *PendingChannelsResponse) GetPendingClosingChannels() []*PendingChannelsResponse_ClosedChannel {
|
|
if x != nil {
|
|
return x.PendingClosingChannels
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PendingChannelsResponse) GetPendingForceClosingChannels() []*PendingChannelsResponse_ForceClosedChannel {
|
|
if x != nil {
|
|
return x.PendingForceClosingChannels
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PendingChannelsResponse) GetWaitingCloseChannels() []*PendingChannelsResponse_WaitingCloseChannel {
|
|
if x != nil {
|
|
return x.WaitingCloseChannels
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ChannelEventSubscription struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *ChannelEventSubscription) Reset() {
|
|
*x = ChannelEventSubscription{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[90]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ChannelEventSubscription) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ChannelEventSubscription) ProtoMessage() {}
|
|
|
|
func (x *ChannelEventSubscription) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[90]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use ChannelEventSubscription.ProtoReflect.Descriptor instead.
|
|
func (*ChannelEventSubscription) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{90}
|
|
}
|
|
|
|
type ChannelEventUpdate struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Types that are assignable to Channel:
|
|
//
|
|
// *ChannelEventUpdate_OpenChannel
|
|
// *ChannelEventUpdate_ClosedChannel
|
|
// *ChannelEventUpdate_ActiveChannel
|
|
// *ChannelEventUpdate_InactiveChannel
|
|
// *ChannelEventUpdate_PendingOpenChannel
|
|
// *ChannelEventUpdate_FullyResolvedChannel
|
|
Channel isChannelEventUpdate_Channel `protobuf_oneof:"channel"`
|
|
Type ChannelEventUpdate_UpdateType `protobuf:"varint,5,opt,name=type,proto3,enum=lnrpc.ChannelEventUpdate_UpdateType" json:"type,omitempty"`
|
|
}
|
|
|
|
func (x *ChannelEventUpdate) Reset() {
|
|
*x = ChannelEventUpdate{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[91]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ChannelEventUpdate) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ChannelEventUpdate) ProtoMessage() {}
|
|
|
|
func (x *ChannelEventUpdate) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[91]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use ChannelEventUpdate.ProtoReflect.Descriptor instead.
|
|
func (*ChannelEventUpdate) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{91}
|
|
}
|
|
|
|
func (m *ChannelEventUpdate) GetChannel() isChannelEventUpdate_Channel {
|
|
if m != nil {
|
|
return m.Channel
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChannelEventUpdate) GetOpenChannel() *Channel {
|
|
if x, ok := x.GetChannel().(*ChannelEventUpdate_OpenChannel); ok {
|
|
return x.OpenChannel
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChannelEventUpdate) GetClosedChannel() *ChannelCloseSummary {
|
|
if x, ok := x.GetChannel().(*ChannelEventUpdate_ClosedChannel); ok {
|
|
return x.ClosedChannel
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChannelEventUpdate) GetActiveChannel() *ChannelPoint {
|
|
if x, ok := x.GetChannel().(*ChannelEventUpdate_ActiveChannel); ok {
|
|
return x.ActiveChannel
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChannelEventUpdate) GetInactiveChannel() *ChannelPoint {
|
|
if x, ok := x.GetChannel().(*ChannelEventUpdate_InactiveChannel); ok {
|
|
return x.InactiveChannel
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChannelEventUpdate) GetPendingOpenChannel() *PendingUpdate {
|
|
if x, ok := x.GetChannel().(*ChannelEventUpdate_PendingOpenChannel); ok {
|
|
return x.PendingOpenChannel
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChannelEventUpdate) GetFullyResolvedChannel() *ChannelPoint {
|
|
if x, ok := x.GetChannel().(*ChannelEventUpdate_FullyResolvedChannel); ok {
|
|
return x.FullyResolvedChannel
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChannelEventUpdate) GetType() ChannelEventUpdate_UpdateType {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return ChannelEventUpdate_OPEN_CHANNEL
|
|
}
|
|
|
|
type isChannelEventUpdate_Channel interface {
|
|
isChannelEventUpdate_Channel()
|
|
}
|
|
|
|
type ChannelEventUpdate_OpenChannel struct {
|
|
OpenChannel *Channel `protobuf:"bytes,1,opt,name=open_channel,json=openChannel,proto3,oneof"`
|
|
}
|
|
|
|
type ChannelEventUpdate_ClosedChannel struct {
|
|
ClosedChannel *ChannelCloseSummary `protobuf:"bytes,2,opt,name=closed_channel,json=closedChannel,proto3,oneof"`
|
|
}
|
|
|
|
type ChannelEventUpdate_ActiveChannel struct {
|
|
ActiveChannel *ChannelPoint `protobuf:"bytes,3,opt,name=active_channel,json=activeChannel,proto3,oneof"`
|
|
}
|
|
|
|
type ChannelEventUpdate_InactiveChannel struct {
|
|
InactiveChannel *ChannelPoint `protobuf:"bytes,4,opt,name=inactive_channel,json=inactiveChannel,proto3,oneof"`
|
|
}
|
|
|
|
type ChannelEventUpdate_PendingOpenChannel struct {
|
|
PendingOpenChannel *PendingUpdate `protobuf:"bytes,6,opt,name=pending_open_channel,json=pendingOpenChannel,proto3,oneof"`
|
|
}
|
|
|
|
type ChannelEventUpdate_FullyResolvedChannel struct {
|
|
FullyResolvedChannel *ChannelPoint `protobuf:"bytes,7,opt,name=fully_resolved_channel,json=fullyResolvedChannel,proto3,oneof"`
|
|
}
|
|
|
|
func (*ChannelEventUpdate_OpenChannel) isChannelEventUpdate_Channel() {}
|
|
|
|
func (*ChannelEventUpdate_ClosedChannel) isChannelEventUpdate_Channel() {}
|
|
|
|
func (*ChannelEventUpdate_ActiveChannel) isChannelEventUpdate_Channel() {}
|
|
|
|
func (*ChannelEventUpdate_InactiveChannel) isChannelEventUpdate_Channel() {}
|
|
|
|
func (*ChannelEventUpdate_PendingOpenChannel) isChannelEventUpdate_Channel() {}
|
|
|
|
func (*ChannelEventUpdate_FullyResolvedChannel) isChannelEventUpdate_Channel() {}
|
|
|
|
type WalletAccountBalance struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The confirmed balance of the account (with >= 1 confirmations).
|
|
ConfirmedBalance int64 `protobuf:"varint,1,opt,name=confirmed_balance,json=confirmedBalance,proto3" json:"confirmed_balance,omitempty"`
|
|
// The unconfirmed balance of the account (with 0 confirmations).
|
|
UnconfirmedBalance int64 `protobuf:"varint,2,opt,name=unconfirmed_balance,json=unconfirmedBalance,proto3" json:"unconfirmed_balance,omitempty"`
|
|
}
|
|
|
|
func (x *WalletAccountBalance) Reset() {
|
|
*x = WalletAccountBalance{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[92]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *WalletAccountBalance) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WalletAccountBalance) ProtoMessage() {}
|
|
|
|
func (x *WalletAccountBalance) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[92]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use WalletAccountBalance.ProtoReflect.Descriptor instead.
|
|
func (*WalletAccountBalance) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{92}
|
|
}
|
|
|
|
func (x *WalletAccountBalance) GetConfirmedBalance() int64 {
|
|
if x != nil {
|
|
return x.ConfirmedBalance
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *WalletAccountBalance) GetUnconfirmedBalance() int64 {
|
|
if x != nil {
|
|
return x.UnconfirmedBalance
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type WalletBalanceRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The wallet account the balance is shown for.
|
|
// If this is not specified, the balance of the "default" account is shown.
|
|
Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
|
|
// The minimum number of confirmations each one of your outputs used for the
|
|
// funding transaction must satisfy. If this is not specified, the default
|
|
// value of 1 is used.
|
|
MinConfs int32 `protobuf:"varint,2,opt,name=min_confs,json=minConfs,proto3" json:"min_confs,omitempty"`
|
|
}
|
|
|
|
func (x *WalletBalanceRequest) Reset() {
|
|
*x = WalletBalanceRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[93]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *WalletBalanceRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WalletBalanceRequest) ProtoMessage() {}
|
|
|
|
func (x *WalletBalanceRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[93]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use WalletBalanceRequest.ProtoReflect.Descriptor instead.
|
|
func (*WalletBalanceRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{93}
|
|
}
|
|
|
|
func (x *WalletBalanceRequest) GetAccount() string {
|
|
if x != nil {
|
|
return x.Account
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WalletBalanceRequest) GetMinConfs() int32 {
|
|
if x != nil {
|
|
return x.MinConfs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type WalletBalanceResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The balance of the wallet
|
|
TotalBalance int64 `protobuf:"varint,1,opt,name=total_balance,json=totalBalance,proto3" json:"total_balance,omitempty"`
|
|
// The confirmed balance of a wallet(with >= 1 confirmations)
|
|
ConfirmedBalance int64 `protobuf:"varint,2,opt,name=confirmed_balance,json=confirmedBalance,proto3" json:"confirmed_balance,omitempty"`
|
|
// The unconfirmed balance of a wallet(with 0 confirmations)
|
|
UnconfirmedBalance int64 `protobuf:"varint,3,opt,name=unconfirmed_balance,json=unconfirmedBalance,proto3" json:"unconfirmed_balance,omitempty"`
|
|
// The total amount of wallet UTXOs held in outputs that are locked for
|
|
// other usage.
|
|
LockedBalance int64 `protobuf:"varint,5,opt,name=locked_balance,json=lockedBalance,proto3" json:"locked_balance,omitempty"`
|
|
// The amount of reserve required.
|
|
ReservedBalanceAnchorChan int64 `protobuf:"varint,6,opt,name=reserved_balance_anchor_chan,json=reservedBalanceAnchorChan,proto3" json:"reserved_balance_anchor_chan,omitempty"`
|
|
// A mapping of each wallet account's name to its balance.
|
|
AccountBalance map[string]*WalletAccountBalance `protobuf:"bytes,4,rep,name=account_balance,json=accountBalance,proto3" json:"account_balance,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
}
|
|
|
|
func (x *WalletBalanceResponse) Reset() {
|
|
*x = WalletBalanceResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[94]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *WalletBalanceResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WalletBalanceResponse) ProtoMessage() {}
|
|
|
|
func (x *WalletBalanceResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[94]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use WalletBalanceResponse.ProtoReflect.Descriptor instead.
|
|
func (*WalletBalanceResponse) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{94}
|
|
}
|
|
|
|
func (x *WalletBalanceResponse) GetTotalBalance() int64 {
|
|
if x != nil {
|
|
return x.TotalBalance
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *WalletBalanceResponse) GetConfirmedBalance() int64 {
|
|
if x != nil {
|
|
return x.ConfirmedBalance
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *WalletBalanceResponse) GetUnconfirmedBalance() int64 {
|
|
if x != nil {
|
|
return x.UnconfirmedBalance
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *WalletBalanceResponse) GetLockedBalance() int64 {
|
|
if x != nil {
|
|
return x.LockedBalance
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *WalletBalanceResponse) GetReservedBalanceAnchorChan() int64 {
|
|
if x != nil {
|
|
return x.ReservedBalanceAnchorChan
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *WalletBalanceResponse) GetAccountBalance() map[string]*WalletAccountBalance {
|
|
if x != nil {
|
|
return x.AccountBalance
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Amount struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Value denominated in satoshis.
|
|
Sat uint64 `protobuf:"varint,1,opt,name=sat,proto3" json:"sat,omitempty"`
|
|
// Value denominated in milli-satoshis.
|
|
Msat uint64 `protobuf:"varint,2,opt,name=msat,proto3" json:"msat,omitempty"`
|
|
}
|
|
|
|
func (x *Amount) Reset() {
|
|
*x = Amount{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[95]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Amount) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Amount) ProtoMessage() {}
|
|
|
|
func (x *Amount) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[95]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use Amount.ProtoReflect.Descriptor instead.
|
|
func (*Amount) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{95}
|
|
}
|
|
|
|
func (x *Amount) GetSat() uint64 {
|
|
if x != nil {
|
|
return x.Sat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Amount) GetMsat() uint64 {
|
|
if x != nil {
|
|
return x.Msat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ChannelBalanceRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *ChannelBalanceRequest) Reset() {
|
|
*x = ChannelBalanceRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[96]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ChannelBalanceRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ChannelBalanceRequest) ProtoMessage() {}
|
|
|
|
func (x *ChannelBalanceRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[96]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use ChannelBalanceRequest.ProtoReflect.Descriptor instead.
|
|
func (*ChannelBalanceRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{96}
|
|
}
|
|
|
|
type ChannelBalanceResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Deprecated. Sum of channels balances denominated in satoshis
|
|
//
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
Balance int64 `protobuf:"varint,1,opt,name=balance,proto3" json:"balance,omitempty"`
|
|
// Deprecated. Sum of channels pending balances denominated in satoshis
|
|
//
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
PendingOpenBalance int64 `protobuf:"varint,2,opt,name=pending_open_balance,json=pendingOpenBalance,proto3" json:"pending_open_balance,omitempty"`
|
|
// Sum of channels local balances.
|
|
LocalBalance *Amount `protobuf:"bytes,3,opt,name=local_balance,json=localBalance,proto3" json:"local_balance,omitempty"`
|
|
// Sum of channels remote balances.
|
|
RemoteBalance *Amount `protobuf:"bytes,4,opt,name=remote_balance,json=remoteBalance,proto3" json:"remote_balance,omitempty"`
|
|
// Sum of channels local unsettled balances.
|
|
UnsettledLocalBalance *Amount `protobuf:"bytes,5,opt,name=unsettled_local_balance,json=unsettledLocalBalance,proto3" json:"unsettled_local_balance,omitempty"`
|
|
// Sum of channels remote unsettled balances.
|
|
UnsettledRemoteBalance *Amount `protobuf:"bytes,6,opt,name=unsettled_remote_balance,json=unsettledRemoteBalance,proto3" json:"unsettled_remote_balance,omitempty"`
|
|
// Sum of channels pending local balances.
|
|
PendingOpenLocalBalance *Amount `protobuf:"bytes,7,opt,name=pending_open_local_balance,json=pendingOpenLocalBalance,proto3" json:"pending_open_local_balance,omitempty"`
|
|
// Sum of channels pending remote balances.
|
|
PendingOpenRemoteBalance *Amount `protobuf:"bytes,8,opt,name=pending_open_remote_balance,json=pendingOpenRemoteBalance,proto3" json:"pending_open_remote_balance,omitempty"`
|
|
}
|
|
|
|
func (x *ChannelBalanceResponse) Reset() {
|
|
*x = ChannelBalanceResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[97]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ChannelBalanceResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ChannelBalanceResponse) ProtoMessage() {}
|
|
|
|
func (x *ChannelBalanceResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[97]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use ChannelBalanceResponse.ProtoReflect.Descriptor instead.
|
|
func (*ChannelBalanceResponse) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{97}
|
|
}
|
|
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
func (x *ChannelBalanceResponse) GetBalance() int64 {
|
|
if x != nil {
|
|
return x.Balance
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
func (x *ChannelBalanceResponse) GetPendingOpenBalance() int64 {
|
|
if x != nil {
|
|
return x.PendingOpenBalance
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChannelBalanceResponse) GetLocalBalance() *Amount {
|
|
if x != nil {
|
|
return x.LocalBalance
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChannelBalanceResponse) GetRemoteBalance() *Amount {
|
|
if x != nil {
|
|
return x.RemoteBalance
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChannelBalanceResponse) GetUnsettledLocalBalance() *Amount {
|
|
if x != nil {
|
|
return x.UnsettledLocalBalance
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChannelBalanceResponse) GetUnsettledRemoteBalance() *Amount {
|
|
if x != nil {
|
|
return x.UnsettledRemoteBalance
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChannelBalanceResponse) GetPendingOpenLocalBalance() *Amount {
|
|
if x != nil {
|
|
return x.PendingOpenLocalBalance
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChannelBalanceResponse) GetPendingOpenRemoteBalance() *Amount {
|
|
if x != nil {
|
|
return x.PendingOpenRemoteBalance
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type QueryRoutesRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The 33-byte hex-encoded public key for the payment destination
|
|
PubKey string `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
|
|
// The amount to send expressed in satoshis.
|
|
//
|
|
// The fields amt and amt_msat are mutually exclusive.
|
|
Amt int64 `protobuf:"varint,2,opt,name=amt,proto3" json:"amt,omitempty"`
|
|
// The amount to send expressed in millisatoshis.
|
|
//
|
|
// The fields amt and amt_msat are mutually exclusive.
|
|
AmtMsat int64 `protobuf:"varint,12,opt,name=amt_msat,json=amtMsat,proto3" json:"amt_msat,omitempty"`
|
|
// An optional CLTV delta from the current height that should be used for the
|
|
// timelock of the final hop. Note that unlike SendPayment, QueryRoutes does
|
|
// not add any additional block padding on top of final_ctlv_delta. This
|
|
// padding of a few blocks needs to be added manually or otherwise failures may
|
|
// happen when a block comes in while the payment is in flight.
|
|
//
|
|
// Note: must not be set if making a payment to a blinded path (delta is
|
|
// set by the aggregate parameters provided by blinded_payment_paths)
|
|
FinalCltvDelta int32 `protobuf:"varint,4,opt,name=final_cltv_delta,json=finalCltvDelta,proto3" json:"final_cltv_delta,omitempty"`
|
|
// The maximum number of satoshis that will be paid as a fee of the payment.
|
|
// This value can be represented either as a percentage of the amount being
|
|
// sent, or as a fixed amount of the maximum fee the user is willing the pay to
|
|
// send the payment. If not specified, lnd will use a default value of 100%
|
|
// fees for small amounts (<=1k sat) or 5% fees for larger amounts.
|
|
FeeLimit *FeeLimit `protobuf:"bytes,5,opt,name=fee_limit,json=feeLimit,proto3" json:"fee_limit,omitempty"`
|
|
// A list of nodes to ignore during path finding. When using REST, these fields
|
|
// must be encoded as base64.
|
|
IgnoredNodes [][]byte `protobuf:"bytes,6,rep,name=ignored_nodes,json=ignoredNodes,proto3" json:"ignored_nodes,omitempty"`
|
|
// Deprecated. A list of edges to ignore during path finding.
|
|
//
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
IgnoredEdges []*EdgeLocator `protobuf:"bytes,7,rep,name=ignored_edges,json=ignoredEdges,proto3" json:"ignored_edges,omitempty"`
|
|
// The source node where the request route should originated from. If empty,
|
|
// self is assumed.
|
|
SourcePubKey string `protobuf:"bytes,8,opt,name=source_pub_key,json=sourcePubKey,proto3" json:"source_pub_key,omitempty"`
|
|
// If set to true, edge probabilities from mission control will be used to get
|
|
// the optimal route.
|
|
UseMissionControl bool `protobuf:"varint,9,opt,name=use_mission_control,json=useMissionControl,proto3" json:"use_mission_control,omitempty"`
|
|
// A list of directed node pairs that will be ignored during path finding.
|
|
IgnoredPairs []*NodePair `protobuf:"bytes,10,rep,name=ignored_pairs,json=ignoredPairs,proto3" json:"ignored_pairs,omitempty"`
|
|
// An optional maximum total time lock for the route. If the source is empty or
|
|
// ourselves, this should not exceed lnd's `--max-cltv-expiry` setting. If
|
|
// zero, then the value of `--max-cltv-expiry` is used as the limit.
|
|
CltvLimit uint32 `protobuf:"varint,11,opt,name=cltv_limit,json=cltvLimit,proto3" json:"cltv_limit,omitempty"`
|
|
// An optional field that can be used to pass an arbitrary set of TLV records
|
|
// to a peer which understands the new records. This can be used to pass
|
|
// application specific data during the payment attempt. If the destination
|
|
// does not support the specified records, an error will be returned.
|
|
// Record types are required to be in the custom range >= 65536. When using
|
|
// REST, the values must be encoded as base64.
|
|
DestCustomRecords map[uint64][]byte `protobuf:"bytes,13,rep,name=dest_custom_records,json=destCustomRecords,proto3" json:"dest_custom_records,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
// The channel id of the channel that must be taken to the first hop. If zero,
|
|
// any channel may be used.
|
|
OutgoingChanId uint64 `protobuf:"varint,14,opt,name=outgoing_chan_id,json=outgoingChanId,proto3" json:"outgoing_chan_id,omitempty"`
|
|
// The pubkey of the last hop of the route. If empty, any hop may be used.
|
|
LastHopPubkey []byte `protobuf:"bytes,15,opt,name=last_hop_pubkey,json=lastHopPubkey,proto3" json:"last_hop_pubkey,omitempty"`
|
|
// Optional route hints to reach the destination through private channels.
|
|
RouteHints []*RouteHint `protobuf:"bytes,16,rep,name=route_hints,json=routeHints,proto3" json:"route_hints,omitempty"`
|
|
// An optional blinded path(s) to reach the destination. Note that the
|
|
// introduction node must be provided as the first hop in the route.
|
|
BlindedPaymentPaths []*BlindedPaymentPath `protobuf:"bytes,19,rep,name=blinded_payment_paths,json=blindedPaymentPaths,proto3" json:"blinded_payment_paths,omitempty"`
|
|
// Features assumed to be supported by the final node. All transitive feature
|
|
// dependencies must also be set properly. For a given feature bit pair, either
|
|
// optional or remote may be set, but not both. If this field is nil or empty,
|
|
// the router will try to load destination features from the graph as a
|
|
// fallback.
|
|
//
|
|
// Note: must not be set if making a payment to a blinded route (features
|
|
// are provided in blinded_payment_paths).
|
|
DestFeatures []FeatureBit `protobuf:"varint,17,rep,packed,name=dest_features,json=destFeatures,proto3,enum=lnrpc.FeatureBit" json:"dest_features,omitempty"`
|
|
// The time preference for this payment. Set to -1 to optimize for fees
|
|
// only, to 1 to optimize for reliability only or a value inbetween for a mix.
|
|
TimePref float64 `protobuf:"fixed64,18,opt,name=time_pref,json=timePref,proto3" json:"time_pref,omitempty"`
|
|
}
|
|
|
|
func (x *QueryRoutesRequest) Reset() {
|
|
*x = QueryRoutesRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[98]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *QueryRoutesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*QueryRoutesRequest) ProtoMessage() {}
|
|
|
|
func (x *QueryRoutesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[98]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use QueryRoutesRequest.ProtoReflect.Descriptor instead.
|
|
func (*QueryRoutesRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{98}
|
|
}
|
|
|
|
func (x *QueryRoutesRequest) GetPubKey() string {
|
|
if x != nil {
|
|
return x.PubKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *QueryRoutesRequest) GetAmt() int64 {
|
|
if x != nil {
|
|
return x.Amt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *QueryRoutesRequest) GetAmtMsat() int64 {
|
|
if x != nil {
|
|
return x.AmtMsat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *QueryRoutesRequest) GetFinalCltvDelta() int32 {
|
|
if x != nil {
|
|
return x.FinalCltvDelta
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *QueryRoutesRequest) GetFeeLimit() *FeeLimit {
|
|
if x != nil {
|
|
return x.FeeLimit
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *QueryRoutesRequest) GetIgnoredNodes() [][]byte {
|
|
if x != nil {
|
|
return x.IgnoredNodes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
func (x *QueryRoutesRequest) GetIgnoredEdges() []*EdgeLocator {
|
|
if x != nil {
|
|
return x.IgnoredEdges
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *QueryRoutesRequest) GetSourcePubKey() string {
|
|
if x != nil {
|
|
return x.SourcePubKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *QueryRoutesRequest) GetUseMissionControl() bool {
|
|
if x != nil {
|
|
return x.UseMissionControl
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *QueryRoutesRequest) GetIgnoredPairs() []*NodePair {
|
|
if x != nil {
|
|
return x.IgnoredPairs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *QueryRoutesRequest) GetCltvLimit() uint32 {
|
|
if x != nil {
|
|
return x.CltvLimit
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *QueryRoutesRequest) GetDestCustomRecords() map[uint64][]byte {
|
|
if x != nil {
|
|
return x.DestCustomRecords
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *QueryRoutesRequest) GetOutgoingChanId() uint64 {
|
|
if x != nil {
|
|
return x.OutgoingChanId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *QueryRoutesRequest) GetLastHopPubkey() []byte {
|
|
if x != nil {
|
|
return x.LastHopPubkey
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *QueryRoutesRequest) GetRouteHints() []*RouteHint {
|
|
if x != nil {
|
|
return x.RouteHints
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *QueryRoutesRequest) GetBlindedPaymentPaths() []*BlindedPaymentPath {
|
|
if x != nil {
|
|
return x.BlindedPaymentPaths
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *QueryRoutesRequest) GetDestFeatures() []FeatureBit {
|
|
if x != nil {
|
|
return x.DestFeatures
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *QueryRoutesRequest) GetTimePref() float64 {
|
|
if x != nil {
|
|
return x.TimePref
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type NodePair struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The sending node of the pair. When using REST, this field must be encoded as
|
|
// base64.
|
|
From []byte `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
|
|
// The receiving node of the pair. When using REST, this field must be encoded
|
|
// as base64.
|
|
To []byte `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
|
|
}
|
|
|
|
func (x *NodePair) Reset() {
|
|
*x = NodePair{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[99]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *NodePair) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*NodePair) ProtoMessage() {}
|
|
|
|
func (x *NodePair) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[99]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use NodePair.ProtoReflect.Descriptor instead.
|
|
func (*NodePair) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{99}
|
|
}
|
|
|
|
func (x *NodePair) GetFrom() []byte {
|
|
if x != nil {
|
|
return x.From
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *NodePair) GetTo() []byte {
|
|
if x != nil {
|
|
return x.To
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type EdgeLocator struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The short channel id of this edge.
|
|
ChannelId uint64 `protobuf:"varint,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
|
|
// The direction of this edge. If direction_reverse is false, the direction
|
|
// of this edge is from the channel endpoint with the lexicographically smaller
|
|
// pub key to the endpoint with the larger pub key. If direction_reverse is
|
|
// is true, the edge goes the other way.
|
|
DirectionReverse bool `protobuf:"varint,2,opt,name=direction_reverse,json=directionReverse,proto3" json:"direction_reverse,omitempty"`
|
|
}
|
|
|
|
func (x *EdgeLocator) Reset() {
|
|
*x = EdgeLocator{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[100]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *EdgeLocator) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EdgeLocator) ProtoMessage() {}
|
|
|
|
func (x *EdgeLocator) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[100]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use EdgeLocator.ProtoReflect.Descriptor instead.
|
|
func (*EdgeLocator) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{100}
|
|
}
|
|
|
|
func (x *EdgeLocator) GetChannelId() uint64 {
|
|
if x != nil {
|
|
return x.ChannelId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *EdgeLocator) GetDirectionReverse() bool {
|
|
if x != nil {
|
|
return x.DirectionReverse
|
|
}
|
|
return false
|
|
}
|
|
|
|
type QueryRoutesResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The route that results from the path finding operation. This is still a
|
|
// repeated field to retain backwards compatibility.
|
|
Routes []*Route `protobuf:"bytes,1,rep,name=routes,proto3" json:"routes,omitempty"`
|
|
// The success probability of the returned route based on the current mission
|
|
// control state. [EXPERIMENTAL]
|
|
SuccessProb float64 `protobuf:"fixed64,2,opt,name=success_prob,json=successProb,proto3" json:"success_prob,omitempty"`
|
|
}
|
|
|
|
func (x *QueryRoutesResponse) Reset() {
|
|
*x = QueryRoutesResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[101]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *QueryRoutesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*QueryRoutesResponse) ProtoMessage() {}
|
|
|
|
func (x *QueryRoutesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[101]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use QueryRoutesResponse.ProtoReflect.Descriptor instead.
|
|
func (*QueryRoutesResponse) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{101}
|
|
}
|
|
|
|
func (x *QueryRoutesResponse) GetRoutes() []*Route {
|
|
if x != nil {
|
|
return x.Routes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *QueryRoutesResponse) GetSuccessProb() float64 {
|
|
if x != nil {
|
|
return x.SuccessProb
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type Hop struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The unique channel ID for the channel. The first 3 bytes are the block
|
|
// height, the next 3 the index within the block, and the last 2 bytes are the
|
|
// output index for the channel.
|
|
ChanId uint64 `protobuf:"varint,1,opt,name=chan_id,json=chanId,proto3" json:"chan_id,omitempty"`
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
ChanCapacity int64 `protobuf:"varint,2,opt,name=chan_capacity,json=chanCapacity,proto3" json:"chan_capacity,omitempty"`
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
AmtToForward int64 `protobuf:"varint,3,opt,name=amt_to_forward,json=amtToForward,proto3" json:"amt_to_forward,omitempty"`
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
Fee int64 `protobuf:"varint,4,opt,name=fee,proto3" json:"fee,omitempty"`
|
|
Expiry uint32 `protobuf:"varint,5,opt,name=expiry,proto3" json:"expiry,omitempty"`
|
|
AmtToForwardMsat int64 `protobuf:"varint,6,opt,name=amt_to_forward_msat,json=amtToForwardMsat,proto3" json:"amt_to_forward_msat,omitempty"`
|
|
FeeMsat int64 `protobuf:"varint,7,opt,name=fee_msat,json=feeMsat,proto3" json:"fee_msat,omitempty"`
|
|
// An optional public key of the hop. If the public key is given, the payment
|
|
// can be executed without relying on a copy of the channel graph.
|
|
PubKey string `protobuf:"bytes,8,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
|
|
// If set to true, then this hop will be encoded using the new variable length
|
|
// TLV format. Note that if any custom tlv_records below are specified, then
|
|
// this field MUST be set to true for them to be encoded properly.
|
|
//
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
TlvPayload bool `protobuf:"varint,9,opt,name=tlv_payload,json=tlvPayload,proto3" json:"tlv_payload,omitempty"`
|
|
// An optional TLV record that signals the use of an MPP payment. If present,
|
|
// the receiver will enforce that the same mpp_record is included in the final
|
|
// hop payload of all non-zero payments in the HTLC set. If empty, a regular
|
|
// single-shot payment is or was attempted.
|
|
MppRecord *MPPRecord `protobuf:"bytes,10,opt,name=mpp_record,json=mppRecord,proto3" json:"mpp_record,omitempty"`
|
|
// An optional TLV record that signals the use of an AMP payment. If present,
|
|
// the receiver will treat all received payments including the same
|
|
// (payment_addr, set_id) pair as being part of one logical payment. The
|
|
// payment will be settled by XORing the root_share's together and deriving the
|
|
// child hashes and preimages according to BOLT XX. Must be used in conjunction
|
|
// with mpp_record.
|
|
AmpRecord *AMPRecord `protobuf:"bytes,12,opt,name=amp_record,json=ampRecord,proto3" json:"amp_record,omitempty"`
|
|
// An optional set of key-value TLV records. This is useful within the context
|
|
// of the SendToRoute call as it allows callers to specify arbitrary K-V pairs
|
|
// to drop off at each hop within the onion.
|
|
CustomRecords map[uint64][]byte `protobuf:"bytes,11,rep,name=custom_records,json=customRecords,proto3" json:"custom_records,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
// The payment metadata to send along with the payment to the payee.
|
|
Metadata []byte `protobuf:"bytes,13,opt,name=metadata,proto3" json:"metadata,omitempty"`
|
|
// Blinding point is an optional blinding point included for introduction
|
|
// nodes in blinded paths. This field is mandatory for hops that represents
|
|
// the introduction point in a blinded path.
|
|
BlindingPoint []byte `protobuf:"bytes,14,opt,name=blinding_point,json=blindingPoint,proto3" json:"blinding_point,omitempty"`
|
|
// Encrypted data is a receiver-produced blob of data that provides hops
|
|
// in a blinded route with forwarding data. As this data is encrypted by
|
|
// the recipient, we will not be able to parse it - it is essentially an
|
|
// arbitrary blob of data from our node's perspective. This field is
|
|
// mandatory for all hops in a blinded path, including the introduction
|
|
// node.
|
|
EncryptedData []byte `protobuf:"bytes,15,opt,name=encrypted_data,json=encryptedData,proto3" json:"encrypted_data,omitempty"`
|
|
// The total amount that is sent to the recipient (possibly across multiple
|
|
// HTLCs), as specified by the sender when making a payment to a blinded path.
|
|
// This value is only set in the final hop payload of a blinded payment. This
|
|
// value is analogous to the MPPRecord that is used for regular (non-blinded)
|
|
// MPP payments.
|
|
TotalAmtMsat uint64 `protobuf:"varint,16,opt,name=total_amt_msat,json=totalAmtMsat,proto3" json:"total_amt_msat,omitempty"`
|
|
}
|
|
|
|
func (x *Hop) Reset() {
|
|
*x = Hop{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[102]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Hop) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Hop) ProtoMessage() {}
|
|
|
|
func (x *Hop) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[102]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use Hop.ProtoReflect.Descriptor instead.
|
|
func (*Hop) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{102}
|
|
}
|
|
|
|
func (x *Hop) GetChanId() uint64 {
|
|
if x != nil {
|
|
return x.ChanId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
func (x *Hop) GetChanCapacity() int64 {
|
|
if x != nil {
|
|
return x.ChanCapacity
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
func (x *Hop) GetAmtToForward() int64 {
|
|
if x != nil {
|
|
return x.AmtToForward
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
func (x *Hop) GetFee() int64 {
|
|
if x != nil {
|
|
return x.Fee
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Hop) GetExpiry() uint32 {
|
|
if x != nil {
|
|
return x.Expiry
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Hop) GetAmtToForwardMsat() int64 {
|
|
if x != nil {
|
|
return x.AmtToForwardMsat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Hop) GetFeeMsat() int64 {
|
|
if x != nil {
|
|
return x.FeeMsat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Hop) GetPubKey() string {
|
|
if x != nil {
|
|
return x.PubKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
func (x *Hop) GetTlvPayload() bool {
|
|
if x != nil {
|
|
return x.TlvPayload
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *Hop) GetMppRecord() *MPPRecord {
|
|
if x != nil {
|
|
return x.MppRecord
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Hop) GetAmpRecord() *AMPRecord {
|
|
if x != nil {
|
|
return x.AmpRecord
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Hop) GetCustomRecords() map[uint64][]byte {
|
|
if x != nil {
|
|
return x.CustomRecords
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Hop) GetMetadata() []byte {
|
|
if x != nil {
|
|
return x.Metadata
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Hop) GetBlindingPoint() []byte {
|
|
if x != nil {
|
|
return x.BlindingPoint
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Hop) GetEncryptedData() []byte {
|
|
if x != nil {
|
|
return x.EncryptedData
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Hop) GetTotalAmtMsat() uint64 {
|
|
if x != nil {
|
|
return x.TotalAmtMsat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type MPPRecord struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// A unique, random identifier used to authenticate the sender as the intended
|
|
// payer of a multi-path payment. The payment_addr must be the same for all
|
|
// subpayments, and match the payment_addr provided in the receiver's invoice.
|
|
// The same payment_addr must be used on all subpayments. This is also called
|
|
// payment secret in specifications (e.g. BOLT 11).
|
|
PaymentAddr []byte `protobuf:"bytes,11,opt,name=payment_addr,json=paymentAddr,proto3" json:"payment_addr,omitempty"`
|
|
// The total amount in milli-satoshis being sent as part of a larger multi-path
|
|
// payment. The caller is responsible for ensuring subpayments to the same node
|
|
// and payment_hash sum exactly to total_amt_msat. The same
|
|
// total_amt_msat must be used on all subpayments.
|
|
TotalAmtMsat int64 `protobuf:"varint,10,opt,name=total_amt_msat,json=totalAmtMsat,proto3" json:"total_amt_msat,omitempty"`
|
|
}
|
|
|
|
func (x *MPPRecord) Reset() {
|
|
*x = MPPRecord{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[103]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *MPPRecord) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MPPRecord) ProtoMessage() {}
|
|
|
|
func (x *MPPRecord) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[103]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use MPPRecord.ProtoReflect.Descriptor instead.
|
|
func (*MPPRecord) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{103}
|
|
}
|
|
|
|
func (x *MPPRecord) GetPaymentAddr() []byte {
|
|
if x != nil {
|
|
return x.PaymentAddr
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *MPPRecord) GetTotalAmtMsat() int64 {
|
|
if x != nil {
|
|
return x.TotalAmtMsat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type AMPRecord struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
RootShare []byte `protobuf:"bytes,1,opt,name=root_share,json=rootShare,proto3" json:"root_share,omitempty"`
|
|
SetId []byte `protobuf:"bytes,2,opt,name=set_id,json=setId,proto3" json:"set_id,omitempty"`
|
|
ChildIndex uint32 `protobuf:"varint,3,opt,name=child_index,json=childIndex,proto3" json:"child_index,omitempty"`
|
|
}
|
|
|
|
func (x *AMPRecord) Reset() {
|
|
*x = AMPRecord{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[104]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AMPRecord) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AMPRecord) ProtoMessage() {}
|
|
|
|
func (x *AMPRecord) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[104]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use AMPRecord.ProtoReflect.Descriptor instead.
|
|
func (*AMPRecord) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{104}
|
|
}
|
|
|
|
func (x *AMPRecord) GetRootShare() []byte {
|
|
if x != nil {
|
|
return x.RootShare
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AMPRecord) GetSetId() []byte {
|
|
if x != nil {
|
|
return x.SetId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AMPRecord) GetChildIndex() uint32 {
|
|
if x != nil {
|
|
return x.ChildIndex
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// A path through the channel graph which runs over one or more channels in
|
|
// succession. This struct carries all the information required to craft the
|
|
// Sphinx onion packet, and send the payment along the first hop in the path. A
|
|
// route is only selected as valid if all the channels have sufficient capacity to
|
|
// carry the initial payment amount after fees are accounted for.
|
|
type Route struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The cumulative (final) time lock across the entire route. This is the CLTV
|
|
// value that should be extended to the first hop in the route. All other hops
|
|
// will decrement the time-lock as advertised, leaving enough time for all
|
|
// hops to wait for or present the payment preimage to complete the payment.
|
|
TotalTimeLock uint32 `protobuf:"varint,1,opt,name=total_time_lock,json=totalTimeLock,proto3" json:"total_time_lock,omitempty"`
|
|
// The sum of the fees paid at each hop within the final route. In the case
|
|
// of a one-hop payment, this value will be zero as we don't need to pay a fee
|
|
// to ourselves.
|
|
//
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
TotalFees int64 `protobuf:"varint,2,opt,name=total_fees,json=totalFees,proto3" json:"total_fees,omitempty"`
|
|
// The total amount of funds required to complete a payment over this route.
|
|
// This value includes the cumulative fees at each hop. As a result, the HTLC
|
|
// extended to the first-hop in the route will need to have at least this many
|
|
// satoshis, otherwise the route will fail at an intermediate node due to an
|
|
// insufficient amount of fees.
|
|
//
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
TotalAmt int64 `protobuf:"varint,3,opt,name=total_amt,json=totalAmt,proto3" json:"total_amt,omitempty"`
|
|
// Contains details concerning the specific forwarding details at each hop.
|
|
Hops []*Hop `protobuf:"bytes,4,rep,name=hops,proto3" json:"hops,omitempty"`
|
|
// The total fees in millisatoshis.
|
|
TotalFeesMsat int64 `protobuf:"varint,5,opt,name=total_fees_msat,json=totalFeesMsat,proto3" json:"total_fees_msat,omitempty"`
|
|
// The total amount in millisatoshis.
|
|
TotalAmtMsat int64 `protobuf:"varint,6,opt,name=total_amt_msat,json=totalAmtMsat,proto3" json:"total_amt_msat,omitempty"`
|
|
}
|
|
|
|
func (x *Route) Reset() {
|
|
*x = Route{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[105]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Route) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Route) ProtoMessage() {}
|
|
|
|
func (x *Route) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[105]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use Route.ProtoReflect.Descriptor instead.
|
|
func (*Route) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{105}
|
|
}
|
|
|
|
func (x *Route) GetTotalTimeLock() uint32 {
|
|
if x != nil {
|
|
return x.TotalTimeLock
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
func (x *Route) GetTotalFees() int64 {
|
|
if x != nil {
|
|
return x.TotalFees
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
func (x *Route) GetTotalAmt() int64 {
|
|
if x != nil {
|
|
return x.TotalAmt
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Route) GetHops() []*Hop {
|
|
if x != nil {
|
|
return x.Hops
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Route) GetTotalFeesMsat() int64 {
|
|
if x != nil {
|
|
return x.TotalFeesMsat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Route) GetTotalAmtMsat() int64 {
|
|
if x != nil {
|
|
return x.TotalAmtMsat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type NodeInfoRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The 33-byte hex-encoded compressed public of the target node
|
|
PubKey string `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
|
|
// If true, will include all known channels associated with the node.
|
|
IncludeChannels bool `protobuf:"varint,2,opt,name=include_channels,json=includeChannels,proto3" json:"include_channels,omitempty"`
|
|
}
|
|
|
|
func (x *NodeInfoRequest) Reset() {
|
|
*x = NodeInfoRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[106]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *NodeInfoRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*NodeInfoRequest) ProtoMessage() {}
|
|
|
|
func (x *NodeInfoRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[106]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use NodeInfoRequest.ProtoReflect.Descriptor instead.
|
|
func (*NodeInfoRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{106}
|
|
}
|
|
|
|
func (x *NodeInfoRequest) GetPubKey() string {
|
|
if x != nil {
|
|
return x.PubKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *NodeInfoRequest) GetIncludeChannels() bool {
|
|
if x != nil {
|
|
return x.IncludeChannels
|
|
}
|
|
return false
|
|
}
|
|
|
|
type NodeInfo struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// An individual vertex/node within the channel graph. A node is
|
|
// connected to other nodes by one or more channel edges emanating from it. As
|
|
// the graph is directed, a node will also have an incoming edge attached to
|
|
// it for each outgoing edge.
|
|
Node *LightningNode `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"`
|
|
// The total number of channels for the node.
|
|
NumChannels uint32 `protobuf:"varint,2,opt,name=num_channels,json=numChannels,proto3" json:"num_channels,omitempty"`
|
|
// The sum of all channels capacity for the node, denominated in satoshis.
|
|
TotalCapacity int64 `protobuf:"varint,3,opt,name=total_capacity,json=totalCapacity,proto3" json:"total_capacity,omitempty"`
|
|
// A list of all public channels for the node.
|
|
Channels []*ChannelEdge `protobuf:"bytes,4,rep,name=channels,proto3" json:"channels,omitempty"`
|
|
}
|
|
|
|
func (x *NodeInfo) Reset() {
|
|
*x = NodeInfo{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[107]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *NodeInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*NodeInfo) ProtoMessage() {}
|
|
|
|
func (x *NodeInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[107]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use NodeInfo.ProtoReflect.Descriptor instead.
|
|
func (*NodeInfo) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{107}
|
|
}
|
|
|
|
func (x *NodeInfo) GetNode() *LightningNode {
|
|
if x != nil {
|
|
return x.Node
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *NodeInfo) GetNumChannels() uint32 {
|
|
if x != nil {
|
|
return x.NumChannels
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *NodeInfo) GetTotalCapacity() int64 {
|
|
if x != nil {
|
|
return x.TotalCapacity
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *NodeInfo) GetChannels() []*ChannelEdge {
|
|
if x != nil {
|
|
return x.Channels
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// An individual vertex/node within the channel graph. A node is
|
|
// connected to other nodes by one or more channel edges emanating from it. As the
|
|
// graph is directed, a node will also have an incoming edge attached to it for
|
|
// each outgoing edge.
|
|
type LightningNode struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
LastUpdate uint32 `protobuf:"varint,1,opt,name=last_update,json=lastUpdate,proto3" json:"last_update,omitempty"`
|
|
PubKey string `protobuf:"bytes,2,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
|
|
Alias string `protobuf:"bytes,3,opt,name=alias,proto3" json:"alias,omitempty"`
|
|
Addresses []*NodeAddress `protobuf:"bytes,4,rep,name=addresses,proto3" json:"addresses,omitempty"`
|
|
Color string `protobuf:"bytes,5,opt,name=color,proto3" json:"color,omitempty"`
|
|
Features map[uint32]*Feature `protobuf:"bytes,6,rep,name=features,proto3" json:"features,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
// Custom node announcement tlv records.
|
|
CustomRecords map[uint64][]byte `protobuf:"bytes,7,rep,name=custom_records,json=customRecords,proto3" json:"custom_records,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
}
|
|
|
|
func (x *LightningNode) Reset() {
|
|
*x = LightningNode{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[108]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *LightningNode) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*LightningNode) ProtoMessage() {}
|
|
|
|
func (x *LightningNode) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[108]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use LightningNode.ProtoReflect.Descriptor instead.
|
|
func (*LightningNode) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{108}
|
|
}
|
|
|
|
func (x *LightningNode) GetLastUpdate() uint32 {
|
|
if x != nil {
|
|
return x.LastUpdate
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *LightningNode) GetPubKey() string {
|
|
if x != nil {
|
|
return x.PubKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LightningNode) GetAlias() string {
|
|
if x != nil {
|
|
return x.Alias
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LightningNode) GetAddresses() []*NodeAddress {
|
|
if x != nil {
|
|
return x.Addresses
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *LightningNode) GetColor() string {
|
|
if x != nil {
|
|
return x.Color
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *LightningNode) GetFeatures() map[uint32]*Feature {
|
|
if x != nil {
|
|
return x.Features
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *LightningNode) GetCustomRecords() map[uint64][]byte {
|
|
if x != nil {
|
|
return x.CustomRecords
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type NodeAddress struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"`
|
|
Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"`
|
|
}
|
|
|
|
func (x *NodeAddress) Reset() {
|
|
*x = NodeAddress{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[109]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *NodeAddress) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*NodeAddress) ProtoMessage() {}
|
|
|
|
func (x *NodeAddress) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[109]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use NodeAddress.ProtoReflect.Descriptor instead.
|
|
func (*NodeAddress) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{109}
|
|
}
|
|
|
|
func (x *NodeAddress) GetNetwork() string {
|
|
if x != nil {
|
|
return x.Network
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *NodeAddress) GetAddr() string {
|
|
if x != nil {
|
|
return x.Addr
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RoutingPolicy struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
TimeLockDelta uint32 `protobuf:"varint,1,opt,name=time_lock_delta,json=timeLockDelta,proto3" json:"time_lock_delta,omitempty"`
|
|
MinHtlc int64 `protobuf:"varint,2,opt,name=min_htlc,json=minHtlc,proto3" json:"min_htlc,omitempty"`
|
|
FeeBaseMsat int64 `protobuf:"varint,3,opt,name=fee_base_msat,json=feeBaseMsat,proto3" json:"fee_base_msat,omitempty"`
|
|
FeeRateMilliMsat int64 `protobuf:"varint,4,opt,name=fee_rate_milli_msat,json=feeRateMilliMsat,proto3" json:"fee_rate_milli_msat,omitempty"`
|
|
Disabled bool `protobuf:"varint,5,opt,name=disabled,proto3" json:"disabled,omitempty"`
|
|
MaxHtlcMsat uint64 `protobuf:"varint,6,opt,name=max_htlc_msat,json=maxHtlcMsat,proto3" json:"max_htlc_msat,omitempty"`
|
|
LastUpdate uint32 `protobuf:"varint,7,opt,name=last_update,json=lastUpdate,proto3" json:"last_update,omitempty"`
|
|
// Custom channel update tlv records.
|
|
CustomRecords map[uint64][]byte `protobuf:"bytes,8,rep,name=custom_records,json=customRecords,proto3" json:"custom_records,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
InboundFeeBaseMsat int32 `protobuf:"varint,9,opt,name=inbound_fee_base_msat,json=inboundFeeBaseMsat,proto3" json:"inbound_fee_base_msat,omitempty"`
|
|
InboundFeeRateMilliMsat int32 `protobuf:"varint,10,opt,name=inbound_fee_rate_milli_msat,json=inboundFeeRateMilliMsat,proto3" json:"inbound_fee_rate_milli_msat,omitempty"`
|
|
}
|
|
|
|
func (x *RoutingPolicy) Reset() {
|
|
*x = RoutingPolicy{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[110]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RoutingPolicy) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RoutingPolicy) ProtoMessage() {}
|
|
|
|
func (x *RoutingPolicy) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[110]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use RoutingPolicy.ProtoReflect.Descriptor instead.
|
|
func (*RoutingPolicy) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{110}
|
|
}
|
|
|
|
func (x *RoutingPolicy) GetTimeLockDelta() uint32 {
|
|
if x != nil {
|
|
return x.TimeLockDelta
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RoutingPolicy) GetMinHtlc() int64 {
|
|
if x != nil {
|
|
return x.MinHtlc
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RoutingPolicy) GetFeeBaseMsat() int64 {
|
|
if x != nil {
|
|
return x.FeeBaseMsat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RoutingPolicy) GetFeeRateMilliMsat() int64 {
|
|
if x != nil {
|
|
return x.FeeRateMilliMsat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RoutingPolicy) GetDisabled() bool {
|
|
if x != nil {
|
|
return x.Disabled
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *RoutingPolicy) GetMaxHtlcMsat() uint64 {
|
|
if x != nil {
|
|
return x.MaxHtlcMsat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RoutingPolicy) GetLastUpdate() uint32 {
|
|
if x != nil {
|
|
return x.LastUpdate
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RoutingPolicy) GetCustomRecords() map[uint64][]byte {
|
|
if x != nil {
|
|
return x.CustomRecords
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *RoutingPolicy) GetInboundFeeBaseMsat() int32 {
|
|
if x != nil {
|
|
return x.InboundFeeBaseMsat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RoutingPolicy) GetInboundFeeRateMilliMsat() int32 {
|
|
if x != nil {
|
|
return x.InboundFeeRateMilliMsat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// A fully authenticated channel along with all its unique attributes.
|
|
// Once an authenticated channel announcement has been processed on the network,
|
|
// then an instance of ChannelEdgeInfo encapsulating the channels attributes is
|
|
// stored. The other portions relevant to routing policy of a channel are stored
|
|
// within a ChannelEdgePolicy for each direction of the channel.
|
|
type ChannelEdge struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The unique channel ID for the channel. The first 3 bytes are the block
|
|
// height, the next 3 the index within the block, and the last 2 bytes are the
|
|
// output index for the channel.
|
|
ChannelId uint64 `protobuf:"varint,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
|
|
ChanPoint string `protobuf:"bytes,2,opt,name=chan_point,json=chanPoint,proto3" json:"chan_point,omitempty"`
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
LastUpdate uint32 `protobuf:"varint,3,opt,name=last_update,json=lastUpdate,proto3" json:"last_update,omitempty"`
|
|
Node1Pub string `protobuf:"bytes,4,opt,name=node1_pub,json=node1Pub,proto3" json:"node1_pub,omitempty"`
|
|
Node2Pub string `protobuf:"bytes,5,opt,name=node2_pub,json=node2Pub,proto3" json:"node2_pub,omitempty"`
|
|
Capacity int64 `protobuf:"varint,6,opt,name=capacity,proto3" json:"capacity,omitempty"`
|
|
Node1Policy *RoutingPolicy `protobuf:"bytes,7,opt,name=node1_policy,json=node1Policy,proto3" json:"node1_policy,omitempty"`
|
|
Node2Policy *RoutingPolicy `protobuf:"bytes,8,opt,name=node2_policy,json=node2Policy,proto3" json:"node2_policy,omitempty"`
|
|
// Custom channel announcement tlv records.
|
|
CustomRecords map[uint64][]byte `protobuf:"bytes,9,rep,name=custom_records,json=customRecords,proto3" json:"custom_records,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
}
|
|
|
|
func (x *ChannelEdge) Reset() {
|
|
*x = ChannelEdge{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[111]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ChannelEdge) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ChannelEdge) ProtoMessage() {}
|
|
|
|
func (x *ChannelEdge) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[111]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use ChannelEdge.ProtoReflect.Descriptor instead.
|
|
func (*ChannelEdge) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{111}
|
|
}
|
|
|
|
func (x *ChannelEdge) GetChannelId() uint64 {
|
|
if x != nil {
|
|
return x.ChannelId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChannelEdge) GetChanPoint() string {
|
|
if x != nil {
|
|
return x.ChanPoint
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
func (x *ChannelEdge) GetLastUpdate() uint32 {
|
|
if x != nil {
|
|
return x.LastUpdate
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChannelEdge) GetNode1Pub() string {
|
|
if x != nil {
|
|
return x.Node1Pub
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ChannelEdge) GetNode2Pub() string {
|
|
if x != nil {
|
|
return x.Node2Pub
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ChannelEdge) GetCapacity() int64 {
|
|
if x != nil {
|
|
return x.Capacity
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChannelEdge) GetNode1Policy() *RoutingPolicy {
|
|
if x != nil {
|
|
return x.Node1Policy
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChannelEdge) GetNode2Policy() *RoutingPolicy {
|
|
if x != nil {
|
|
return x.Node2Policy
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChannelEdge) GetCustomRecords() map[uint64][]byte {
|
|
if x != nil {
|
|
return x.CustomRecords
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ChannelGraphRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Whether unannounced channels are included in the response or not. If set,
|
|
// unannounced channels are included. Unannounced channels are both private
|
|
// channels, and public channels that are not yet announced to the network.
|
|
IncludeUnannounced bool `protobuf:"varint,1,opt,name=include_unannounced,json=includeUnannounced,proto3" json:"include_unannounced,omitempty"`
|
|
}
|
|
|
|
func (x *ChannelGraphRequest) Reset() {
|
|
*x = ChannelGraphRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[112]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ChannelGraphRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ChannelGraphRequest) ProtoMessage() {}
|
|
|
|
func (x *ChannelGraphRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[112]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use ChannelGraphRequest.ProtoReflect.Descriptor instead.
|
|
func (*ChannelGraphRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{112}
|
|
}
|
|
|
|
func (x *ChannelGraphRequest) GetIncludeUnannounced() bool {
|
|
if x != nil {
|
|
return x.IncludeUnannounced
|
|
}
|
|
return false
|
|
}
|
|
|
|
// Returns a new instance of the directed channel graph.
|
|
type ChannelGraph struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The list of `LightningNode`s in this channel graph
|
|
Nodes []*LightningNode `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"`
|
|
// The list of `ChannelEdge`s in this channel graph
|
|
Edges []*ChannelEdge `protobuf:"bytes,2,rep,name=edges,proto3" json:"edges,omitempty"`
|
|
}
|
|
|
|
func (x *ChannelGraph) Reset() {
|
|
*x = ChannelGraph{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[113]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ChannelGraph) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ChannelGraph) ProtoMessage() {}
|
|
|
|
func (x *ChannelGraph) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[113]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use ChannelGraph.ProtoReflect.Descriptor instead.
|
|
func (*ChannelGraph) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{113}
|
|
}
|
|
|
|
func (x *ChannelGraph) GetNodes() []*LightningNode {
|
|
if x != nil {
|
|
return x.Nodes
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChannelGraph) GetEdges() []*ChannelEdge {
|
|
if x != nil {
|
|
return x.Edges
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type NodeMetricsRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The requested node metrics.
|
|
Types []NodeMetricType `protobuf:"varint,1,rep,packed,name=types,proto3,enum=lnrpc.NodeMetricType" json:"types,omitempty"`
|
|
}
|
|
|
|
func (x *NodeMetricsRequest) Reset() {
|
|
*x = NodeMetricsRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[114]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *NodeMetricsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*NodeMetricsRequest) ProtoMessage() {}
|
|
|
|
func (x *NodeMetricsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[114]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use NodeMetricsRequest.ProtoReflect.Descriptor instead.
|
|
func (*NodeMetricsRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{114}
|
|
}
|
|
|
|
func (x *NodeMetricsRequest) GetTypes() []NodeMetricType {
|
|
if x != nil {
|
|
return x.Types
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type NodeMetricsResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Betweenness centrality is the sum of the ratio of shortest paths that pass
|
|
// through the node for each pair of nodes in the graph (not counting paths
|
|
// starting or ending at this node).
|
|
// Map of node pubkey to betweenness centrality of the node. Normalized
|
|
// values are in the [0,1] closed interval.
|
|
BetweennessCentrality map[string]*FloatMetric `protobuf:"bytes,1,rep,name=betweenness_centrality,json=betweennessCentrality,proto3" json:"betweenness_centrality,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
}
|
|
|
|
func (x *NodeMetricsResponse) Reset() {
|
|
*x = NodeMetricsResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[115]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *NodeMetricsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*NodeMetricsResponse) ProtoMessage() {}
|
|
|
|
func (x *NodeMetricsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[115]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use NodeMetricsResponse.ProtoReflect.Descriptor instead.
|
|
func (*NodeMetricsResponse) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{115}
|
|
}
|
|
|
|
func (x *NodeMetricsResponse) GetBetweennessCentrality() map[string]*FloatMetric {
|
|
if x != nil {
|
|
return x.BetweennessCentrality
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type FloatMetric struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Arbitrary float value.
|
|
Value float64 `protobuf:"fixed64,1,opt,name=value,proto3" json:"value,omitempty"`
|
|
// The value normalized to [0,1] or [-1,1].
|
|
NormalizedValue float64 `protobuf:"fixed64,2,opt,name=normalized_value,json=normalizedValue,proto3" json:"normalized_value,omitempty"`
|
|
}
|
|
|
|
func (x *FloatMetric) Reset() {
|
|
*x = FloatMetric{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[116]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *FloatMetric) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FloatMetric) ProtoMessage() {}
|
|
|
|
func (x *FloatMetric) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[116]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use FloatMetric.ProtoReflect.Descriptor instead.
|
|
func (*FloatMetric) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{116}
|
|
}
|
|
|
|
func (x *FloatMetric) GetValue() float64 {
|
|
if x != nil {
|
|
return x.Value
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FloatMetric) GetNormalizedValue() float64 {
|
|
if x != nil {
|
|
return x.NormalizedValue
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ChanInfoRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The unique channel ID for the channel. The first 3 bytes are the block
|
|
// height, the next 3 the index within the block, and the last 2 bytes are the
|
|
// output index for the channel.
|
|
ChanId uint64 `protobuf:"varint,1,opt,name=chan_id,json=chanId,proto3" json:"chan_id,omitempty"`
|
|
// The channel point of the channel in format funding_txid:output_index. If
|
|
// chan_id is specified, this field is ignored.
|
|
ChanPoint string `protobuf:"bytes,2,opt,name=chan_point,json=chanPoint,proto3" json:"chan_point,omitempty"`
|
|
}
|
|
|
|
func (x *ChanInfoRequest) Reset() {
|
|
*x = ChanInfoRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[117]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ChanInfoRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ChanInfoRequest) ProtoMessage() {}
|
|
|
|
func (x *ChanInfoRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[117]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use ChanInfoRequest.ProtoReflect.Descriptor instead.
|
|
func (*ChanInfoRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{117}
|
|
}
|
|
|
|
func (x *ChanInfoRequest) GetChanId() uint64 {
|
|
if x != nil {
|
|
return x.ChanId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChanInfoRequest) GetChanPoint() string {
|
|
if x != nil {
|
|
return x.ChanPoint
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type NetworkInfoRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *NetworkInfoRequest) Reset() {
|
|
*x = NetworkInfoRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[118]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *NetworkInfoRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*NetworkInfoRequest) ProtoMessage() {}
|
|
|
|
func (x *NetworkInfoRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[118]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use NetworkInfoRequest.ProtoReflect.Descriptor instead.
|
|
func (*NetworkInfoRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{118}
|
|
}
|
|
|
|
type NetworkInfo struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
GraphDiameter uint32 `protobuf:"varint,1,opt,name=graph_diameter,json=graphDiameter,proto3" json:"graph_diameter,omitempty"`
|
|
AvgOutDegree float64 `protobuf:"fixed64,2,opt,name=avg_out_degree,json=avgOutDegree,proto3" json:"avg_out_degree,omitempty"`
|
|
MaxOutDegree uint32 `protobuf:"varint,3,opt,name=max_out_degree,json=maxOutDegree,proto3" json:"max_out_degree,omitempty"`
|
|
NumNodes uint32 `protobuf:"varint,4,opt,name=num_nodes,json=numNodes,proto3" json:"num_nodes,omitempty"`
|
|
NumChannels uint32 `protobuf:"varint,5,opt,name=num_channels,json=numChannels,proto3" json:"num_channels,omitempty"`
|
|
TotalNetworkCapacity int64 `protobuf:"varint,6,opt,name=total_network_capacity,json=totalNetworkCapacity,proto3" json:"total_network_capacity,omitempty"`
|
|
AvgChannelSize float64 `protobuf:"fixed64,7,opt,name=avg_channel_size,json=avgChannelSize,proto3" json:"avg_channel_size,omitempty"`
|
|
MinChannelSize int64 `protobuf:"varint,8,opt,name=min_channel_size,json=minChannelSize,proto3" json:"min_channel_size,omitempty"`
|
|
MaxChannelSize int64 `protobuf:"varint,9,opt,name=max_channel_size,json=maxChannelSize,proto3" json:"max_channel_size,omitempty"`
|
|
MedianChannelSizeSat int64 `protobuf:"varint,10,opt,name=median_channel_size_sat,json=medianChannelSizeSat,proto3" json:"median_channel_size_sat,omitempty"`
|
|
// The number of edges marked as zombies.
|
|
NumZombieChans uint64 `protobuf:"varint,11,opt,name=num_zombie_chans,json=numZombieChans,proto3" json:"num_zombie_chans,omitempty"`
|
|
}
|
|
|
|
func (x *NetworkInfo) Reset() {
|
|
*x = NetworkInfo{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[119]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *NetworkInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*NetworkInfo) ProtoMessage() {}
|
|
|
|
func (x *NetworkInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[119]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use NetworkInfo.ProtoReflect.Descriptor instead.
|
|
func (*NetworkInfo) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{119}
|
|
}
|
|
|
|
func (x *NetworkInfo) GetGraphDiameter() uint32 {
|
|
if x != nil {
|
|
return x.GraphDiameter
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *NetworkInfo) GetAvgOutDegree() float64 {
|
|
if x != nil {
|
|
return x.AvgOutDegree
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *NetworkInfo) GetMaxOutDegree() uint32 {
|
|
if x != nil {
|
|
return x.MaxOutDegree
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *NetworkInfo) GetNumNodes() uint32 {
|
|
if x != nil {
|
|
return x.NumNodes
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *NetworkInfo) GetNumChannels() uint32 {
|
|
if x != nil {
|
|
return x.NumChannels
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *NetworkInfo) GetTotalNetworkCapacity() int64 {
|
|
if x != nil {
|
|
return x.TotalNetworkCapacity
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *NetworkInfo) GetAvgChannelSize() float64 {
|
|
if x != nil {
|
|
return x.AvgChannelSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *NetworkInfo) GetMinChannelSize() int64 {
|
|
if x != nil {
|
|
return x.MinChannelSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *NetworkInfo) GetMaxChannelSize() int64 {
|
|
if x != nil {
|
|
return x.MaxChannelSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *NetworkInfo) GetMedianChannelSizeSat() int64 {
|
|
if x != nil {
|
|
return x.MedianChannelSizeSat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *NetworkInfo) GetNumZombieChans() uint64 {
|
|
if x != nil {
|
|
return x.NumZombieChans
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type StopRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *StopRequest) Reset() {
|
|
*x = StopRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[120]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *StopRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StopRequest) ProtoMessage() {}
|
|
|
|
func (x *StopRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[120]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use StopRequest.ProtoReflect.Descriptor instead.
|
|
func (*StopRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{120}
|
|
}
|
|
|
|
type StopResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *StopResponse) Reset() {
|
|
*x = StopResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[121]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *StopResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StopResponse) ProtoMessage() {}
|
|
|
|
func (x *StopResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[121]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use StopResponse.ProtoReflect.Descriptor instead.
|
|
func (*StopResponse) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{121}
|
|
}
|
|
|
|
type GraphTopologySubscription struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *GraphTopologySubscription) Reset() {
|
|
*x = GraphTopologySubscription{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[122]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GraphTopologySubscription) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GraphTopologySubscription) ProtoMessage() {}
|
|
|
|
func (x *GraphTopologySubscription) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[122]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use GraphTopologySubscription.ProtoReflect.Descriptor instead.
|
|
func (*GraphTopologySubscription) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{122}
|
|
}
|
|
|
|
type GraphTopologyUpdate struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
NodeUpdates []*NodeUpdate `protobuf:"bytes,1,rep,name=node_updates,json=nodeUpdates,proto3" json:"node_updates,omitempty"`
|
|
ChannelUpdates []*ChannelEdgeUpdate `protobuf:"bytes,2,rep,name=channel_updates,json=channelUpdates,proto3" json:"channel_updates,omitempty"`
|
|
ClosedChans []*ClosedChannelUpdate `protobuf:"bytes,3,rep,name=closed_chans,json=closedChans,proto3" json:"closed_chans,omitempty"`
|
|
}
|
|
|
|
func (x *GraphTopologyUpdate) Reset() {
|
|
*x = GraphTopologyUpdate{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[123]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GraphTopologyUpdate) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GraphTopologyUpdate) ProtoMessage() {}
|
|
|
|
func (x *GraphTopologyUpdate) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[123]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use GraphTopologyUpdate.ProtoReflect.Descriptor instead.
|
|
func (*GraphTopologyUpdate) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{123}
|
|
}
|
|
|
|
func (x *GraphTopologyUpdate) GetNodeUpdates() []*NodeUpdate {
|
|
if x != nil {
|
|
return x.NodeUpdates
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GraphTopologyUpdate) GetChannelUpdates() []*ChannelEdgeUpdate {
|
|
if x != nil {
|
|
return x.ChannelUpdates
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GraphTopologyUpdate) GetClosedChans() []*ClosedChannelUpdate {
|
|
if x != nil {
|
|
return x.ClosedChans
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type NodeUpdate struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Deprecated, use node_addresses.
|
|
//
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
Addresses []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"`
|
|
IdentityKey string `protobuf:"bytes,2,opt,name=identity_key,json=identityKey,proto3" json:"identity_key,omitempty"`
|
|
// Deprecated, use features.
|
|
//
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
GlobalFeatures []byte `protobuf:"bytes,3,opt,name=global_features,json=globalFeatures,proto3" json:"global_features,omitempty"`
|
|
Alias string `protobuf:"bytes,4,opt,name=alias,proto3" json:"alias,omitempty"`
|
|
Color string `protobuf:"bytes,5,opt,name=color,proto3" json:"color,omitempty"`
|
|
NodeAddresses []*NodeAddress `protobuf:"bytes,7,rep,name=node_addresses,json=nodeAddresses,proto3" json:"node_addresses,omitempty"`
|
|
// Features that the node has advertised in the init message, node
|
|
// announcements and invoices.
|
|
Features map[uint32]*Feature `protobuf:"bytes,6,rep,name=features,proto3" json:"features,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
}
|
|
|
|
func (x *NodeUpdate) Reset() {
|
|
*x = NodeUpdate{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[124]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *NodeUpdate) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*NodeUpdate) ProtoMessage() {}
|
|
|
|
func (x *NodeUpdate) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[124]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use NodeUpdate.ProtoReflect.Descriptor instead.
|
|
func (*NodeUpdate) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{124}
|
|
}
|
|
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
func (x *NodeUpdate) GetAddresses() []string {
|
|
if x != nil {
|
|
return x.Addresses
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *NodeUpdate) GetIdentityKey() string {
|
|
if x != nil {
|
|
return x.IdentityKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
func (x *NodeUpdate) GetGlobalFeatures() []byte {
|
|
if x != nil {
|
|
return x.GlobalFeatures
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *NodeUpdate) GetAlias() string {
|
|
if x != nil {
|
|
return x.Alias
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *NodeUpdate) GetColor() string {
|
|
if x != nil {
|
|
return x.Color
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *NodeUpdate) GetNodeAddresses() []*NodeAddress {
|
|
if x != nil {
|
|
return x.NodeAddresses
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *NodeUpdate) GetFeatures() map[uint32]*Feature {
|
|
if x != nil {
|
|
return x.Features
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ChannelEdgeUpdate struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The unique channel ID for the channel. The first 3 bytes are the block
|
|
// height, the next 3 the index within the block, and the last 2 bytes are the
|
|
// output index for the channel.
|
|
ChanId uint64 `protobuf:"varint,1,opt,name=chan_id,json=chanId,proto3" json:"chan_id,omitempty"`
|
|
ChanPoint *ChannelPoint `protobuf:"bytes,2,opt,name=chan_point,json=chanPoint,proto3" json:"chan_point,omitempty"`
|
|
Capacity int64 `protobuf:"varint,3,opt,name=capacity,proto3" json:"capacity,omitempty"`
|
|
RoutingPolicy *RoutingPolicy `protobuf:"bytes,4,opt,name=routing_policy,json=routingPolicy,proto3" json:"routing_policy,omitempty"`
|
|
AdvertisingNode string `protobuf:"bytes,5,opt,name=advertising_node,json=advertisingNode,proto3" json:"advertising_node,omitempty"`
|
|
ConnectingNode string `protobuf:"bytes,6,opt,name=connecting_node,json=connectingNode,proto3" json:"connecting_node,omitempty"`
|
|
}
|
|
|
|
func (x *ChannelEdgeUpdate) Reset() {
|
|
*x = ChannelEdgeUpdate{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[125]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ChannelEdgeUpdate) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ChannelEdgeUpdate) ProtoMessage() {}
|
|
|
|
func (x *ChannelEdgeUpdate) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[125]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use ChannelEdgeUpdate.ProtoReflect.Descriptor instead.
|
|
func (*ChannelEdgeUpdate) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{125}
|
|
}
|
|
|
|
func (x *ChannelEdgeUpdate) GetChanId() uint64 {
|
|
if x != nil {
|
|
return x.ChanId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChannelEdgeUpdate) GetChanPoint() *ChannelPoint {
|
|
if x != nil {
|
|
return x.ChanPoint
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChannelEdgeUpdate) GetCapacity() int64 {
|
|
if x != nil {
|
|
return x.Capacity
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChannelEdgeUpdate) GetRoutingPolicy() *RoutingPolicy {
|
|
if x != nil {
|
|
return x.RoutingPolicy
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChannelEdgeUpdate) GetAdvertisingNode() string {
|
|
if x != nil {
|
|
return x.AdvertisingNode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ChannelEdgeUpdate) GetConnectingNode() string {
|
|
if x != nil {
|
|
return x.ConnectingNode
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ClosedChannelUpdate struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The unique channel ID for the channel. The first 3 bytes are the block
|
|
// height, the next 3 the index within the block, and the last 2 bytes are the
|
|
// output index for the channel.
|
|
ChanId uint64 `protobuf:"varint,1,opt,name=chan_id,json=chanId,proto3" json:"chan_id,omitempty"`
|
|
Capacity int64 `protobuf:"varint,2,opt,name=capacity,proto3" json:"capacity,omitempty"`
|
|
ClosedHeight uint32 `protobuf:"varint,3,opt,name=closed_height,json=closedHeight,proto3" json:"closed_height,omitempty"`
|
|
ChanPoint *ChannelPoint `protobuf:"bytes,4,opt,name=chan_point,json=chanPoint,proto3" json:"chan_point,omitempty"`
|
|
}
|
|
|
|
func (x *ClosedChannelUpdate) Reset() {
|
|
*x = ClosedChannelUpdate{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[126]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ClosedChannelUpdate) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ClosedChannelUpdate) ProtoMessage() {}
|
|
|
|
func (x *ClosedChannelUpdate) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[126]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use ClosedChannelUpdate.ProtoReflect.Descriptor instead.
|
|
func (*ClosedChannelUpdate) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{126}
|
|
}
|
|
|
|
func (x *ClosedChannelUpdate) GetChanId() uint64 {
|
|
if x != nil {
|
|
return x.ChanId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ClosedChannelUpdate) GetCapacity() int64 {
|
|
if x != nil {
|
|
return x.Capacity
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ClosedChannelUpdate) GetClosedHeight() uint32 {
|
|
if x != nil {
|
|
return x.ClosedHeight
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ClosedChannelUpdate) GetChanPoint() *ChannelPoint {
|
|
if x != nil {
|
|
return x.ChanPoint
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type HopHint struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The public key of the node at the start of the channel.
|
|
NodeId string `protobuf:"bytes,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty"`
|
|
// The unique identifier of the channel.
|
|
ChanId uint64 `protobuf:"varint,2,opt,name=chan_id,json=chanId,proto3" json:"chan_id,omitempty"`
|
|
// The base fee of the channel denominated in millisatoshis.
|
|
FeeBaseMsat uint32 `protobuf:"varint,3,opt,name=fee_base_msat,json=feeBaseMsat,proto3" json:"fee_base_msat,omitempty"`
|
|
// The fee rate of the channel for sending one satoshi across it denominated in
|
|
// millionths of a satoshi.
|
|
FeeProportionalMillionths uint32 `protobuf:"varint,4,opt,name=fee_proportional_millionths,json=feeProportionalMillionths,proto3" json:"fee_proportional_millionths,omitempty"`
|
|
// The time-lock delta of the channel.
|
|
CltvExpiryDelta uint32 `protobuf:"varint,5,opt,name=cltv_expiry_delta,json=cltvExpiryDelta,proto3" json:"cltv_expiry_delta,omitempty"`
|
|
}
|
|
|
|
func (x *HopHint) Reset() {
|
|
*x = HopHint{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[127]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *HopHint) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HopHint) ProtoMessage() {}
|
|
|
|
func (x *HopHint) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[127]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use HopHint.ProtoReflect.Descriptor instead.
|
|
func (*HopHint) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{127}
|
|
}
|
|
|
|
func (x *HopHint) GetNodeId() string {
|
|
if x != nil {
|
|
return x.NodeId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HopHint) GetChanId() uint64 {
|
|
if x != nil {
|
|
return x.ChanId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *HopHint) GetFeeBaseMsat() uint32 {
|
|
if x != nil {
|
|
return x.FeeBaseMsat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *HopHint) GetFeeProportionalMillionths() uint32 {
|
|
if x != nil {
|
|
return x.FeeProportionalMillionths
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *HopHint) GetCltvExpiryDelta() uint32 {
|
|
if x != nil {
|
|
return x.CltvExpiryDelta
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type SetID struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
SetId []byte `protobuf:"bytes,1,opt,name=set_id,json=setId,proto3" json:"set_id,omitempty"`
|
|
}
|
|
|
|
func (x *SetID) Reset() {
|
|
*x = SetID{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[128]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SetID) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetID) ProtoMessage() {}
|
|
|
|
func (x *SetID) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[128]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use SetID.ProtoReflect.Descriptor instead.
|
|
func (*SetID) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{128}
|
|
}
|
|
|
|
func (x *SetID) GetSetId() []byte {
|
|
if x != nil {
|
|
return x.SetId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RouteHint struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// A list of hop hints that when chained together can assist in reaching a
|
|
// specific destination.
|
|
HopHints []*HopHint `protobuf:"bytes,1,rep,name=hop_hints,json=hopHints,proto3" json:"hop_hints,omitempty"`
|
|
}
|
|
|
|
func (x *RouteHint) Reset() {
|
|
*x = RouteHint{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[129]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RouteHint) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RouteHint) ProtoMessage() {}
|
|
|
|
func (x *RouteHint) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[129]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use RouteHint.ProtoReflect.Descriptor instead.
|
|
func (*RouteHint) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{129}
|
|
}
|
|
|
|
func (x *RouteHint) GetHopHints() []*HopHint {
|
|
if x != nil {
|
|
return x.HopHints
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type BlindedPaymentPath struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The blinded path to send the payment to.
|
|
BlindedPath *BlindedPath `protobuf:"bytes,1,opt,name=blinded_path,json=blindedPath,proto3" json:"blinded_path,omitempty"`
|
|
// The base fee for the blinded path provided, expressed in msat.
|
|
BaseFeeMsat uint64 `protobuf:"varint,2,opt,name=base_fee_msat,json=baseFeeMsat,proto3" json:"base_fee_msat,omitempty"`
|
|
// The proportional fee for the blinded path provided, expressed in parts
|
|
// per million.
|
|
ProportionalFeeRate uint32 `protobuf:"varint,3,opt,name=proportional_fee_rate,json=proportionalFeeRate,proto3" json:"proportional_fee_rate,omitempty"`
|
|
// The total CLTV delta for the blinded path provided, including the
|
|
// final CLTV delta for the receiving node.
|
|
TotalCltvDelta uint32 `protobuf:"varint,4,opt,name=total_cltv_delta,json=totalCltvDelta,proto3" json:"total_cltv_delta,omitempty"`
|
|
// The minimum hltc size that may be sent over the blinded path, expressed
|
|
// in msat.
|
|
HtlcMinMsat uint64 `protobuf:"varint,5,opt,name=htlc_min_msat,json=htlcMinMsat,proto3" json:"htlc_min_msat,omitempty"`
|
|
// The maximum htlc size that may be sent over the blinded path, expressed
|
|
// in msat.
|
|
HtlcMaxMsat uint64 `protobuf:"varint,6,opt,name=htlc_max_msat,json=htlcMaxMsat,proto3" json:"htlc_max_msat,omitempty"`
|
|
// The feature bits for the route.
|
|
Features []FeatureBit `protobuf:"varint,7,rep,packed,name=features,proto3,enum=lnrpc.FeatureBit" json:"features,omitempty"`
|
|
}
|
|
|
|
func (x *BlindedPaymentPath) Reset() {
|
|
*x = BlindedPaymentPath{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[130]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *BlindedPaymentPath) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BlindedPaymentPath) ProtoMessage() {}
|
|
|
|
func (x *BlindedPaymentPath) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[130]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use BlindedPaymentPath.ProtoReflect.Descriptor instead.
|
|
func (*BlindedPaymentPath) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{130}
|
|
}
|
|
|
|
func (x *BlindedPaymentPath) GetBlindedPath() *BlindedPath {
|
|
if x != nil {
|
|
return x.BlindedPath
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BlindedPaymentPath) GetBaseFeeMsat() uint64 {
|
|
if x != nil {
|
|
return x.BaseFeeMsat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BlindedPaymentPath) GetProportionalFeeRate() uint32 {
|
|
if x != nil {
|
|
return x.ProportionalFeeRate
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BlindedPaymentPath) GetTotalCltvDelta() uint32 {
|
|
if x != nil {
|
|
return x.TotalCltvDelta
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BlindedPaymentPath) GetHtlcMinMsat() uint64 {
|
|
if x != nil {
|
|
return x.HtlcMinMsat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BlindedPaymentPath) GetHtlcMaxMsat() uint64 {
|
|
if x != nil {
|
|
return x.HtlcMaxMsat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BlindedPaymentPath) GetFeatures() []FeatureBit {
|
|
if x != nil {
|
|
return x.Features
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type BlindedPath struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The unblinded pubkey of the introduction node for the route.
|
|
IntroductionNode []byte `protobuf:"bytes,1,opt,name=introduction_node,json=introductionNode,proto3" json:"introduction_node,omitempty"`
|
|
// The ephemeral pubkey used by nodes in the blinded route.
|
|
BlindingPoint []byte `protobuf:"bytes,2,opt,name=blinding_point,json=blindingPoint,proto3" json:"blinding_point,omitempty"`
|
|
// A set of blinded node keys and data blobs for the blinded portion of the
|
|
// route. Note that the first hop is expected to be the introduction node,
|
|
// so the route is always expected to have at least one hop.
|
|
BlindedHops []*BlindedHop `protobuf:"bytes,3,rep,name=blinded_hops,json=blindedHops,proto3" json:"blinded_hops,omitempty"`
|
|
}
|
|
|
|
func (x *BlindedPath) Reset() {
|
|
*x = BlindedPath{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[131]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *BlindedPath) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BlindedPath) ProtoMessage() {}
|
|
|
|
func (x *BlindedPath) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[131]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use BlindedPath.ProtoReflect.Descriptor instead.
|
|
func (*BlindedPath) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{131}
|
|
}
|
|
|
|
func (x *BlindedPath) GetIntroductionNode() []byte {
|
|
if x != nil {
|
|
return x.IntroductionNode
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BlindedPath) GetBlindingPoint() []byte {
|
|
if x != nil {
|
|
return x.BlindingPoint
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BlindedPath) GetBlindedHops() []*BlindedHop {
|
|
if x != nil {
|
|
return x.BlindedHops
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type BlindedHop struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The blinded public key of the node.
|
|
BlindedNode []byte `protobuf:"bytes,1,opt,name=blinded_node,json=blindedNode,proto3" json:"blinded_node,omitempty"`
|
|
// An encrypted blob of data provided to the blinded node.
|
|
EncryptedData []byte `protobuf:"bytes,2,opt,name=encrypted_data,json=encryptedData,proto3" json:"encrypted_data,omitempty"`
|
|
}
|
|
|
|
func (x *BlindedHop) Reset() {
|
|
*x = BlindedHop{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[132]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *BlindedHop) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BlindedHop) ProtoMessage() {}
|
|
|
|
func (x *BlindedHop) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[132]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use BlindedHop.ProtoReflect.Descriptor instead.
|
|
func (*BlindedHop) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{132}
|
|
}
|
|
|
|
func (x *BlindedHop) GetBlindedNode() []byte {
|
|
if x != nil {
|
|
return x.BlindedNode
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BlindedHop) GetEncryptedData() []byte {
|
|
if x != nil {
|
|
return x.EncryptedData
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AMPInvoiceState struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The state the HTLCs associated with this setID are in.
|
|
State InvoiceHTLCState `protobuf:"varint,1,opt,name=state,proto3,enum=lnrpc.InvoiceHTLCState" json:"state,omitempty"`
|
|
// The settle index of this HTLC set, if the invoice state is settled.
|
|
SettleIndex uint64 `protobuf:"varint,2,opt,name=settle_index,json=settleIndex,proto3" json:"settle_index,omitempty"`
|
|
// The time this HTLC set was settled expressed in unix epoch.
|
|
SettleTime int64 `protobuf:"varint,3,opt,name=settle_time,json=settleTime,proto3" json:"settle_time,omitempty"`
|
|
// The total amount paid for the sub-invoice expressed in milli satoshis.
|
|
AmtPaidMsat int64 `protobuf:"varint,5,opt,name=amt_paid_msat,json=amtPaidMsat,proto3" json:"amt_paid_msat,omitempty"`
|
|
}
|
|
|
|
func (x *AMPInvoiceState) Reset() {
|
|
*x = AMPInvoiceState{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[133]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AMPInvoiceState) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AMPInvoiceState) ProtoMessage() {}
|
|
|
|
func (x *AMPInvoiceState) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[133]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use AMPInvoiceState.ProtoReflect.Descriptor instead.
|
|
func (*AMPInvoiceState) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{133}
|
|
}
|
|
|
|
func (x *AMPInvoiceState) GetState() InvoiceHTLCState {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return InvoiceHTLCState_ACCEPTED
|
|
}
|
|
|
|
func (x *AMPInvoiceState) GetSettleIndex() uint64 {
|
|
if x != nil {
|
|
return x.SettleIndex
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AMPInvoiceState) GetSettleTime() int64 {
|
|
if x != nil {
|
|
return x.SettleTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AMPInvoiceState) GetAmtPaidMsat() int64 {
|
|
if x != nil {
|
|
return x.AmtPaidMsat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type Invoice struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// An optional memo to attach along with the invoice. Used for record keeping
|
|
// purposes for the invoice's creator, and will also be set in the description
|
|
// field of the encoded payment request if the description_hash field is not
|
|
// being used.
|
|
Memo string `protobuf:"bytes,1,opt,name=memo,proto3" json:"memo,omitempty"`
|
|
// The hex-encoded preimage (32 byte) which will allow settling an incoming
|
|
// HTLC payable to this preimage. When using REST, this field must be encoded
|
|
// as base64.
|
|
RPreimage []byte `protobuf:"bytes,3,opt,name=r_preimage,json=rPreimage,proto3" json:"r_preimage,omitempty"`
|
|
// The hash of the preimage. When using REST, this field must be encoded as
|
|
// base64.
|
|
// Note: Output only, don't specify for creating an invoice.
|
|
RHash []byte `protobuf:"bytes,4,opt,name=r_hash,json=rHash,proto3" json:"r_hash,omitempty"`
|
|
// The value of this invoice in satoshis
|
|
//
|
|
// The fields value and value_msat are mutually exclusive.
|
|
Value int64 `protobuf:"varint,5,opt,name=value,proto3" json:"value,omitempty"`
|
|
// The value of this invoice in millisatoshis
|
|
//
|
|
// The fields value and value_msat are mutually exclusive.
|
|
ValueMsat int64 `protobuf:"varint,23,opt,name=value_msat,json=valueMsat,proto3" json:"value_msat,omitempty"`
|
|
// Whether this invoice has been fulfilled.
|
|
//
|
|
// The field is deprecated. Use the state field instead (compare to SETTLED).
|
|
//
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
Settled bool `protobuf:"varint,6,opt,name=settled,proto3" json:"settled,omitempty"`
|
|
// When this invoice was created.
|
|
// Measured in seconds since the unix epoch.
|
|
// Note: Output only, don't specify for creating an invoice.
|
|
CreationDate int64 `protobuf:"varint,7,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"`
|
|
// When this invoice was settled.
|
|
// Measured in seconds since the unix epoch.
|
|
// Note: Output only, don't specify for creating an invoice.
|
|
SettleDate int64 `protobuf:"varint,8,opt,name=settle_date,json=settleDate,proto3" json:"settle_date,omitempty"`
|
|
// A bare-bones invoice for a payment within the Lightning Network. With the
|
|
// details of the invoice, the sender has all the data necessary to send a
|
|
// payment to the recipient.
|
|
// Note: Output only, don't specify for creating an invoice.
|
|
PaymentRequest string `protobuf:"bytes,9,opt,name=payment_request,json=paymentRequest,proto3" json:"payment_request,omitempty"`
|
|
// Hash (SHA-256) of a description of the payment. Used if the description of
|
|
// payment (memo) is too long to naturally fit within the description field
|
|
// of an encoded payment request. When using REST, this field must be encoded
|
|
// as base64.
|
|
DescriptionHash []byte `protobuf:"bytes,10,opt,name=description_hash,json=descriptionHash,proto3" json:"description_hash,omitempty"`
|
|
// Payment request expiry time in seconds. Default is 86400 (24 hours).
|
|
Expiry int64 `protobuf:"varint,11,opt,name=expiry,proto3" json:"expiry,omitempty"`
|
|
// Fallback on-chain address.
|
|
FallbackAddr string `protobuf:"bytes,12,opt,name=fallback_addr,json=fallbackAddr,proto3" json:"fallback_addr,omitempty"`
|
|
// Delta to use for the time-lock of the CLTV extended to the final hop.
|
|
CltvExpiry uint64 `protobuf:"varint,13,opt,name=cltv_expiry,json=cltvExpiry,proto3" json:"cltv_expiry,omitempty"`
|
|
// Route hints that can each be individually used to assist in reaching the
|
|
// invoice's destination.
|
|
RouteHints []*RouteHint `protobuf:"bytes,14,rep,name=route_hints,json=routeHints,proto3" json:"route_hints,omitempty"`
|
|
// Whether this invoice should include routing hints for private channels.
|
|
// Note: When enabled, if value and value_msat are zero, a large number of
|
|
// hints with these channels can be included, which might not be desirable.
|
|
Private bool `protobuf:"varint,15,opt,name=private,proto3" json:"private,omitempty"`
|
|
// The "add" index of this invoice. Each newly created invoice will increment
|
|
// this index making it monotonically increasing. Callers to the
|
|
// SubscribeInvoices call can use this to instantly get notified of all added
|
|
// invoices with an add_index greater than this one.
|
|
// Note: Output only, don't specify for creating an invoice.
|
|
AddIndex uint64 `protobuf:"varint,16,opt,name=add_index,json=addIndex,proto3" json:"add_index,omitempty"`
|
|
// The "settle" index of this invoice. Each newly settled invoice will
|
|
// increment this index making it monotonically increasing. Callers to the
|
|
// SubscribeInvoices call can use this to instantly get notified of all
|
|
// settled invoices with an settle_index greater than this one.
|
|
// Note: Output only, don't specify for creating an invoice.
|
|
SettleIndex uint64 `protobuf:"varint,17,opt,name=settle_index,json=settleIndex,proto3" json:"settle_index,omitempty"`
|
|
// Deprecated, use amt_paid_sat or amt_paid_msat.
|
|
//
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
AmtPaid int64 `protobuf:"varint,18,opt,name=amt_paid,json=amtPaid,proto3" json:"amt_paid,omitempty"`
|
|
// The amount that was accepted for this invoice, in satoshis. This will ONLY
|
|
// be set if this invoice has been settled or accepted. We provide this field
|
|
// as if the invoice was created with a zero value, then we need to record what
|
|
// amount was ultimately accepted. Additionally, it's possible that the sender
|
|
// paid MORE that was specified in the original invoice. So we'll record that
|
|
// here as well.
|
|
// Note: Output only, don't specify for creating an invoice.
|
|
AmtPaidSat int64 `protobuf:"varint,19,opt,name=amt_paid_sat,json=amtPaidSat,proto3" json:"amt_paid_sat,omitempty"`
|
|
// The amount that was accepted for this invoice, in millisatoshis. This will
|
|
// ONLY be set if this invoice has been settled or accepted. We provide this
|
|
// field as if the invoice was created with a zero value, then we need to
|
|
// record what amount was ultimately accepted. Additionally, it's possible that
|
|
// the sender paid MORE that was specified in the original invoice. So we'll
|
|
// record that here as well.
|
|
// Note: Output only, don't specify for creating an invoice.
|
|
AmtPaidMsat int64 `protobuf:"varint,20,opt,name=amt_paid_msat,json=amtPaidMsat,proto3" json:"amt_paid_msat,omitempty"`
|
|
// The state the invoice is in.
|
|
// Note: Output only, don't specify for creating an invoice.
|
|
State Invoice_InvoiceState `protobuf:"varint,21,opt,name=state,proto3,enum=lnrpc.Invoice_InvoiceState" json:"state,omitempty"`
|
|
// List of HTLCs paying to this invoice [EXPERIMENTAL].
|
|
// Note: Output only, don't specify for creating an invoice.
|
|
Htlcs []*InvoiceHTLC `protobuf:"bytes,22,rep,name=htlcs,proto3" json:"htlcs,omitempty"`
|
|
// List of features advertised on the invoice.
|
|
// Note: Output only, don't specify for creating an invoice.
|
|
Features map[uint32]*Feature `protobuf:"bytes,24,rep,name=features,proto3" json:"features,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
// Indicates if this invoice was a spontaneous payment that arrived via keysend
|
|
// [EXPERIMENTAL].
|
|
// Note: Output only, don't specify for creating an invoice.
|
|
IsKeysend bool `protobuf:"varint,25,opt,name=is_keysend,json=isKeysend,proto3" json:"is_keysend,omitempty"`
|
|
// The payment address of this invoice. This is also called payment secret in
|
|
// specifications (e.g. BOLT 11). This value will be used in MPP payments, and
|
|
// also for newer invoices that always require the MPP payload for added
|
|
// end-to-end security.
|
|
// Note: Output only, don't specify for creating an invoice.
|
|
PaymentAddr []byte `protobuf:"bytes,26,opt,name=payment_addr,json=paymentAddr,proto3" json:"payment_addr,omitempty"`
|
|
// Signals whether or not this is an AMP invoice.
|
|
IsAmp bool `protobuf:"varint,27,opt,name=is_amp,json=isAmp,proto3" json:"is_amp,omitempty"`
|
|
// [EXPERIMENTAL]:
|
|
//
|
|
// Maps a 32-byte hex-encoded set ID to the sub-invoice AMP state for the
|
|
// given set ID. This field is always populated for AMP invoices, and can be
|
|
// used along side LookupInvoice to obtain the HTLC information related to a
|
|
// given sub-invoice.
|
|
// Note: Output only, don't specify for creating an invoice.
|
|
AmpInvoiceState map[string]*AMPInvoiceState `protobuf:"bytes,28,rep,name=amp_invoice_state,json=ampInvoiceState,proto3" json:"amp_invoice_state,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
// Signals that the invoice should include blinded paths to hide the true
|
|
// identity of the recipient.
|
|
IsBlinded bool `protobuf:"varint,29,opt,name=is_blinded,json=isBlinded,proto3" json:"is_blinded,omitempty"`
|
|
// Config values to use when creating blinded paths for this invoice. These
|
|
// can be used to override the defaults config values provided in by the
|
|
// global config. This field is only used if is_blinded is true.
|
|
BlindedPathConfig *BlindedPathConfig `protobuf:"bytes,30,opt,name=blinded_path_config,json=blindedPathConfig,proto3" json:"blinded_path_config,omitempty"`
|
|
}
|
|
|
|
func (x *Invoice) Reset() {
|
|
*x = Invoice{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[134]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Invoice) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Invoice) ProtoMessage() {}
|
|
|
|
func (x *Invoice) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[134]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use Invoice.ProtoReflect.Descriptor instead.
|
|
func (*Invoice) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{134}
|
|
}
|
|
|
|
func (x *Invoice) GetMemo() string {
|
|
if x != nil {
|
|
return x.Memo
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Invoice) GetRPreimage() []byte {
|
|
if x != nil {
|
|
return x.RPreimage
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Invoice) GetRHash() []byte {
|
|
if x != nil {
|
|
return x.RHash
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Invoice) GetValue() int64 {
|
|
if x != nil {
|
|
return x.Value
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Invoice) GetValueMsat() int64 {
|
|
if x != nil {
|
|
return x.ValueMsat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
func (x *Invoice) GetSettled() bool {
|
|
if x != nil {
|
|
return x.Settled
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *Invoice) GetCreationDate() int64 {
|
|
if x != nil {
|
|
return x.CreationDate
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Invoice) GetSettleDate() int64 {
|
|
if x != nil {
|
|
return x.SettleDate
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Invoice) GetPaymentRequest() string {
|
|
if x != nil {
|
|
return x.PaymentRequest
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Invoice) GetDescriptionHash() []byte {
|
|
if x != nil {
|
|
return x.DescriptionHash
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Invoice) GetExpiry() int64 {
|
|
if x != nil {
|
|
return x.Expiry
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Invoice) GetFallbackAddr() string {
|
|
if x != nil {
|
|
return x.FallbackAddr
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Invoice) GetCltvExpiry() uint64 {
|
|
if x != nil {
|
|
return x.CltvExpiry
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Invoice) GetRouteHints() []*RouteHint {
|
|
if x != nil {
|
|
return x.RouteHints
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Invoice) GetPrivate() bool {
|
|
if x != nil {
|
|
return x.Private
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *Invoice) GetAddIndex() uint64 {
|
|
if x != nil {
|
|
return x.AddIndex
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Invoice) GetSettleIndex() uint64 {
|
|
if x != nil {
|
|
return x.SettleIndex
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
func (x *Invoice) GetAmtPaid() int64 {
|
|
if x != nil {
|
|
return x.AmtPaid
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Invoice) GetAmtPaidSat() int64 {
|
|
if x != nil {
|
|
return x.AmtPaidSat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Invoice) GetAmtPaidMsat() int64 {
|
|
if x != nil {
|
|
return x.AmtPaidMsat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Invoice) GetState() Invoice_InvoiceState {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return Invoice_OPEN
|
|
}
|
|
|
|
func (x *Invoice) GetHtlcs() []*InvoiceHTLC {
|
|
if x != nil {
|
|
return x.Htlcs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Invoice) GetFeatures() map[uint32]*Feature {
|
|
if x != nil {
|
|
return x.Features
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Invoice) GetIsKeysend() bool {
|
|
if x != nil {
|
|
return x.IsKeysend
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *Invoice) GetPaymentAddr() []byte {
|
|
if x != nil {
|
|
return x.PaymentAddr
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Invoice) GetIsAmp() bool {
|
|
if x != nil {
|
|
return x.IsAmp
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *Invoice) GetAmpInvoiceState() map[string]*AMPInvoiceState {
|
|
if x != nil {
|
|
return x.AmpInvoiceState
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Invoice) GetIsBlinded() bool {
|
|
if x != nil {
|
|
return x.IsBlinded
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *Invoice) GetBlindedPathConfig() *BlindedPathConfig {
|
|
if x != nil {
|
|
return x.BlindedPathConfig
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type BlindedPathConfig struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The minimum number of real hops to include in a blinded path. This doesn't
|
|
// include our node, so if the minimum is 1, then the path will contain at
|
|
// minimum our node along with an introduction node hop. If it is zero then
|
|
// the shortest path will use our node as an introduction node.
|
|
MinNumRealHops *uint32 `protobuf:"varint,1,opt,name=min_num_real_hops,json=minNumRealHops,proto3,oneof" json:"min_num_real_hops,omitempty"`
|
|
// The number of hops to include in a blinded path. This doesn't include our
|
|
// node, so if it is 1, then the path will contain our node along with an
|
|
// introduction node or dummy node hop. If paths shorter than NumHops is
|
|
// found, then they will be padded using dummy hops.
|
|
NumHops *uint32 `protobuf:"varint,2,opt,name=num_hops,json=numHops,proto3,oneof" json:"num_hops,omitempty"`
|
|
// The maximum number of blinded paths to select and add to an invoice.
|
|
MaxNumPaths *uint32 `protobuf:"varint,3,opt,name=max_num_paths,json=maxNumPaths,proto3,oneof" json:"max_num_paths,omitempty"`
|
|
// A list of node IDs of nodes that should not be used in any of our generated
|
|
// blinded paths.
|
|
NodeOmissionList [][]byte `protobuf:"bytes,4,rep,name=node_omission_list,json=nodeOmissionList,proto3" json:"node_omission_list,omitempty"`
|
|
}
|
|
|
|
func (x *BlindedPathConfig) Reset() {
|
|
*x = BlindedPathConfig{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[135]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *BlindedPathConfig) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BlindedPathConfig) ProtoMessage() {}
|
|
|
|
func (x *BlindedPathConfig) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[135]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use BlindedPathConfig.ProtoReflect.Descriptor instead.
|
|
func (*BlindedPathConfig) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{135}
|
|
}
|
|
|
|
func (x *BlindedPathConfig) GetMinNumRealHops() uint32 {
|
|
if x != nil && x.MinNumRealHops != nil {
|
|
return *x.MinNumRealHops
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BlindedPathConfig) GetNumHops() uint32 {
|
|
if x != nil && x.NumHops != nil {
|
|
return *x.NumHops
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BlindedPathConfig) GetMaxNumPaths() uint32 {
|
|
if x != nil && x.MaxNumPaths != nil {
|
|
return *x.MaxNumPaths
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BlindedPathConfig) GetNodeOmissionList() [][]byte {
|
|
if x != nil {
|
|
return x.NodeOmissionList
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Details of an HTLC that paid to an invoice
|
|
type InvoiceHTLC struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Short channel id over which the htlc was received.
|
|
ChanId uint64 `protobuf:"varint,1,opt,name=chan_id,json=chanId,proto3" json:"chan_id,omitempty"`
|
|
// Index identifying the htlc on the channel.
|
|
HtlcIndex uint64 `protobuf:"varint,2,opt,name=htlc_index,json=htlcIndex,proto3" json:"htlc_index,omitempty"`
|
|
// The amount of the htlc in msat.
|
|
AmtMsat uint64 `protobuf:"varint,3,opt,name=amt_msat,json=amtMsat,proto3" json:"amt_msat,omitempty"`
|
|
// Block height at which this htlc was accepted.
|
|
AcceptHeight int32 `protobuf:"varint,4,opt,name=accept_height,json=acceptHeight,proto3" json:"accept_height,omitempty"`
|
|
// Time at which this htlc was accepted.
|
|
AcceptTime int64 `protobuf:"varint,5,opt,name=accept_time,json=acceptTime,proto3" json:"accept_time,omitempty"`
|
|
// Time at which this htlc was settled or canceled.
|
|
ResolveTime int64 `protobuf:"varint,6,opt,name=resolve_time,json=resolveTime,proto3" json:"resolve_time,omitempty"`
|
|
// Block height at which this htlc expires.
|
|
ExpiryHeight int32 `protobuf:"varint,7,opt,name=expiry_height,json=expiryHeight,proto3" json:"expiry_height,omitempty"`
|
|
// Current state the htlc is in.
|
|
State InvoiceHTLCState `protobuf:"varint,8,opt,name=state,proto3,enum=lnrpc.InvoiceHTLCState" json:"state,omitempty"`
|
|
// Custom tlv records.
|
|
CustomRecords map[uint64][]byte `protobuf:"bytes,9,rep,name=custom_records,json=customRecords,proto3" json:"custom_records,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
// The total amount of the mpp payment in msat.
|
|
MppTotalAmtMsat uint64 `protobuf:"varint,10,opt,name=mpp_total_amt_msat,json=mppTotalAmtMsat,proto3" json:"mpp_total_amt_msat,omitempty"`
|
|
// Details relevant to AMP HTLCs, only populated if this is an AMP HTLC.
|
|
Amp *AMP `protobuf:"bytes,11,opt,name=amp,proto3" json:"amp,omitempty"`
|
|
}
|
|
|
|
func (x *InvoiceHTLC) Reset() {
|
|
*x = InvoiceHTLC{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[136]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *InvoiceHTLC) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InvoiceHTLC) ProtoMessage() {}
|
|
|
|
func (x *InvoiceHTLC) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[136]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use InvoiceHTLC.ProtoReflect.Descriptor instead.
|
|
func (*InvoiceHTLC) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{136}
|
|
}
|
|
|
|
func (x *InvoiceHTLC) GetChanId() uint64 {
|
|
if x != nil {
|
|
return x.ChanId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *InvoiceHTLC) GetHtlcIndex() uint64 {
|
|
if x != nil {
|
|
return x.HtlcIndex
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *InvoiceHTLC) GetAmtMsat() uint64 {
|
|
if x != nil {
|
|
return x.AmtMsat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *InvoiceHTLC) GetAcceptHeight() int32 {
|
|
if x != nil {
|
|
return x.AcceptHeight
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *InvoiceHTLC) GetAcceptTime() int64 {
|
|
if x != nil {
|
|
return x.AcceptTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *InvoiceHTLC) GetResolveTime() int64 {
|
|
if x != nil {
|
|
return x.ResolveTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *InvoiceHTLC) GetExpiryHeight() int32 {
|
|
if x != nil {
|
|
return x.ExpiryHeight
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *InvoiceHTLC) GetState() InvoiceHTLCState {
|
|
if x != nil {
|
|
return x.State
|
|
}
|
|
return InvoiceHTLCState_ACCEPTED
|
|
}
|
|
|
|
func (x *InvoiceHTLC) GetCustomRecords() map[uint64][]byte {
|
|
if x != nil {
|
|
return x.CustomRecords
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *InvoiceHTLC) GetMppTotalAmtMsat() uint64 {
|
|
if x != nil {
|
|
return x.MppTotalAmtMsat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *InvoiceHTLC) GetAmp() *AMP {
|
|
if x != nil {
|
|
return x.Amp
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Details specific to AMP HTLCs.
|
|
type AMP struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// An n-of-n secret share of the root seed from which child payment hashes
|
|
// and preimages are derived.
|
|
RootShare []byte `protobuf:"bytes,1,opt,name=root_share,json=rootShare,proto3" json:"root_share,omitempty"`
|
|
// An identifier for the HTLC set that this HTLC belongs to.
|
|
SetId []byte `protobuf:"bytes,2,opt,name=set_id,json=setId,proto3" json:"set_id,omitempty"`
|
|
// A nonce used to randomize the child preimage and child hash from a given
|
|
// root_share.
|
|
ChildIndex uint32 `protobuf:"varint,3,opt,name=child_index,json=childIndex,proto3" json:"child_index,omitempty"`
|
|
// The payment hash of the AMP HTLC.
|
|
Hash []byte `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"`
|
|
// The preimage used to settle this AMP htlc. This field will only be
|
|
// populated if the invoice is in InvoiceState_ACCEPTED or
|
|
// InvoiceState_SETTLED.
|
|
Preimage []byte `protobuf:"bytes,5,opt,name=preimage,proto3" json:"preimage,omitempty"`
|
|
}
|
|
|
|
func (x *AMP) Reset() {
|
|
*x = AMP{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[137]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AMP) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AMP) ProtoMessage() {}
|
|
|
|
func (x *AMP) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[137]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use AMP.ProtoReflect.Descriptor instead.
|
|
func (*AMP) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{137}
|
|
}
|
|
|
|
func (x *AMP) GetRootShare() []byte {
|
|
if x != nil {
|
|
return x.RootShare
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AMP) GetSetId() []byte {
|
|
if x != nil {
|
|
return x.SetId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AMP) GetChildIndex() uint32 {
|
|
if x != nil {
|
|
return x.ChildIndex
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AMP) GetHash() []byte {
|
|
if x != nil {
|
|
return x.Hash
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AMP) GetPreimage() []byte {
|
|
if x != nil {
|
|
return x.Preimage
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type AddInvoiceResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
RHash []byte `protobuf:"bytes,1,opt,name=r_hash,json=rHash,proto3" json:"r_hash,omitempty"`
|
|
// A bare-bones invoice for a payment within the Lightning Network. With the
|
|
// details of the invoice, the sender has all the data necessary to send a
|
|
// payment to the recipient.
|
|
PaymentRequest string `protobuf:"bytes,2,opt,name=payment_request,json=paymentRequest,proto3" json:"payment_request,omitempty"`
|
|
// The "add" index of this invoice. Each newly created invoice will increment
|
|
// this index making it monotonically increasing. Callers to the
|
|
// SubscribeInvoices call can use this to instantly get notified of all added
|
|
// invoices with an add_index greater than this one.
|
|
AddIndex uint64 `protobuf:"varint,16,opt,name=add_index,json=addIndex,proto3" json:"add_index,omitempty"`
|
|
// The payment address of the generated invoice. This is also called
|
|
// payment secret in specifications (e.g. BOLT 11). This value should be used
|
|
// in all payments for this invoice as we require it for end to end security.
|
|
PaymentAddr []byte `protobuf:"bytes,17,opt,name=payment_addr,json=paymentAddr,proto3" json:"payment_addr,omitempty"`
|
|
}
|
|
|
|
func (x *AddInvoiceResponse) Reset() {
|
|
*x = AddInvoiceResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[138]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AddInvoiceResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AddInvoiceResponse) ProtoMessage() {}
|
|
|
|
func (x *AddInvoiceResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[138]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use AddInvoiceResponse.ProtoReflect.Descriptor instead.
|
|
func (*AddInvoiceResponse) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{138}
|
|
}
|
|
|
|
func (x *AddInvoiceResponse) GetRHash() []byte {
|
|
if x != nil {
|
|
return x.RHash
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AddInvoiceResponse) GetPaymentRequest() string {
|
|
if x != nil {
|
|
return x.PaymentRequest
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *AddInvoiceResponse) GetAddIndex() uint64 {
|
|
if x != nil {
|
|
return x.AddIndex
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *AddInvoiceResponse) GetPaymentAddr() []byte {
|
|
if x != nil {
|
|
return x.PaymentAddr
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PaymentHash struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The hex-encoded payment hash of the invoice to be looked up. The passed
|
|
// payment hash must be exactly 32 bytes, otherwise an error is returned.
|
|
// Deprecated now that the REST gateway supports base64 encoding of bytes
|
|
// fields.
|
|
//
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
RHashStr string `protobuf:"bytes,1,opt,name=r_hash_str,json=rHashStr,proto3" json:"r_hash_str,omitempty"`
|
|
// The payment hash of the invoice to be looked up. When using REST, this field
|
|
// must be encoded as base64.
|
|
RHash []byte `protobuf:"bytes,2,opt,name=r_hash,json=rHash,proto3" json:"r_hash,omitempty"`
|
|
}
|
|
|
|
func (x *PaymentHash) Reset() {
|
|
*x = PaymentHash{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[139]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PaymentHash) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PaymentHash) ProtoMessage() {}
|
|
|
|
func (x *PaymentHash) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[139]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use PaymentHash.ProtoReflect.Descriptor instead.
|
|
func (*PaymentHash) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{139}
|
|
}
|
|
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
func (x *PaymentHash) GetRHashStr() string {
|
|
if x != nil {
|
|
return x.RHashStr
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PaymentHash) GetRHash() []byte {
|
|
if x != nil {
|
|
return x.RHash
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListInvoiceRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// If set, only invoices that are not settled and not canceled will be returned
|
|
// in the response.
|
|
PendingOnly bool `protobuf:"varint,1,opt,name=pending_only,json=pendingOnly,proto3" json:"pending_only,omitempty"`
|
|
// The index of an invoice that will be used as either the start or end of a
|
|
// query to determine which invoices should be returned in the response.
|
|
IndexOffset uint64 `protobuf:"varint,4,opt,name=index_offset,json=indexOffset,proto3" json:"index_offset,omitempty"`
|
|
// The max number of invoices to return in the response to this query.
|
|
NumMaxInvoices uint64 `protobuf:"varint,5,opt,name=num_max_invoices,json=numMaxInvoices,proto3" json:"num_max_invoices,omitempty"`
|
|
// If set, the invoices returned will result from seeking backwards from the
|
|
// specified index offset. This can be used to paginate backwards.
|
|
Reversed bool `protobuf:"varint,6,opt,name=reversed,proto3" json:"reversed,omitempty"`
|
|
// If set, returns all invoices with a creation date greater than or equal
|
|
// to it. Measured in seconds since the unix epoch.
|
|
CreationDateStart uint64 `protobuf:"varint,7,opt,name=creation_date_start,json=creationDateStart,proto3" json:"creation_date_start,omitempty"`
|
|
// If set, returns all invoices with a creation date less than or equal to
|
|
// it. Measured in seconds since the unix epoch.
|
|
CreationDateEnd uint64 `protobuf:"varint,8,opt,name=creation_date_end,json=creationDateEnd,proto3" json:"creation_date_end,omitempty"`
|
|
}
|
|
|
|
func (x *ListInvoiceRequest) Reset() {
|
|
*x = ListInvoiceRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[140]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListInvoiceRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListInvoiceRequest) ProtoMessage() {}
|
|
|
|
func (x *ListInvoiceRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[140]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use ListInvoiceRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListInvoiceRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{140}
|
|
}
|
|
|
|
func (x *ListInvoiceRequest) GetPendingOnly() bool {
|
|
if x != nil {
|
|
return x.PendingOnly
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ListInvoiceRequest) GetIndexOffset() uint64 {
|
|
if x != nil {
|
|
return x.IndexOffset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListInvoiceRequest) GetNumMaxInvoices() uint64 {
|
|
if x != nil {
|
|
return x.NumMaxInvoices
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListInvoiceRequest) GetReversed() bool {
|
|
if x != nil {
|
|
return x.Reversed
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ListInvoiceRequest) GetCreationDateStart() uint64 {
|
|
if x != nil {
|
|
return x.CreationDateStart
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListInvoiceRequest) GetCreationDateEnd() uint64 {
|
|
if x != nil {
|
|
return x.CreationDateEnd
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ListInvoiceResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// A list of invoices from the time slice of the time series specified in the
|
|
// request.
|
|
Invoices []*Invoice `protobuf:"bytes,1,rep,name=invoices,proto3" json:"invoices,omitempty"`
|
|
// The index of the last item in the set of returned invoices. This can be used
|
|
// to seek further, pagination style.
|
|
LastIndexOffset uint64 `protobuf:"varint,2,opt,name=last_index_offset,json=lastIndexOffset,proto3" json:"last_index_offset,omitempty"`
|
|
// The index of the last item in the set of returned invoices. This can be used
|
|
// to seek backwards, pagination style.
|
|
FirstIndexOffset uint64 `protobuf:"varint,3,opt,name=first_index_offset,json=firstIndexOffset,proto3" json:"first_index_offset,omitempty"`
|
|
}
|
|
|
|
func (x *ListInvoiceResponse) Reset() {
|
|
*x = ListInvoiceResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[141]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListInvoiceResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListInvoiceResponse) ProtoMessage() {}
|
|
|
|
func (x *ListInvoiceResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[141]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use ListInvoiceResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListInvoiceResponse) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{141}
|
|
}
|
|
|
|
func (x *ListInvoiceResponse) GetInvoices() []*Invoice {
|
|
if x != nil {
|
|
return x.Invoices
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ListInvoiceResponse) GetLastIndexOffset() uint64 {
|
|
if x != nil {
|
|
return x.LastIndexOffset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListInvoiceResponse) GetFirstIndexOffset() uint64 {
|
|
if x != nil {
|
|
return x.FirstIndexOffset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type InvoiceSubscription struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// If specified (non-zero), then we'll first start by sending out
|
|
// notifications for all added indexes with an add_index greater than this
|
|
// value. This allows callers to catch up on any events they missed while they
|
|
// weren't connected to the streaming RPC.
|
|
AddIndex uint64 `protobuf:"varint,1,opt,name=add_index,json=addIndex,proto3" json:"add_index,omitempty"`
|
|
// If specified (non-zero), then we'll first start by sending out
|
|
// notifications for all settled indexes with an settle_index greater than
|
|
// this value. This allows callers to catch up on any events they missed while
|
|
// they weren't connected to the streaming RPC.
|
|
SettleIndex uint64 `protobuf:"varint,2,opt,name=settle_index,json=settleIndex,proto3" json:"settle_index,omitempty"`
|
|
}
|
|
|
|
func (x *InvoiceSubscription) Reset() {
|
|
*x = InvoiceSubscription{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[142]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *InvoiceSubscription) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InvoiceSubscription) ProtoMessage() {}
|
|
|
|
func (x *InvoiceSubscription) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[142]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use InvoiceSubscription.ProtoReflect.Descriptor instead.
|
|
func (*InvoiceSubscription) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{142}
|
|
}
|
|
|
|
func (x *InvoiceSubscription) GetAddIndex() uint64 {
|
|
if x != nil {
|
|
return x.AddIndex
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *InvoiceSubscription) GetSettleIndex() uint64 {
|
|
if x != nil {
|
|
return x.SettleIndex
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type Payment struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The payment hash
|
|
PaymentHash string `protobuf:"bytes,1,opt,name=payment_hash,json=paymentHash,proto3" json:"payment_hash,omitempty"`
|
|
// Deprecated, use value_sat or value_msat.
|
|
//
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
|
|
// Deprecated, use creation_time_ns
|
|
//
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
CreationDate int64 `protobuf:"varint,3,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"`
|
|
// Deprecated, use fee_sat or fee_msat.
|
|
//
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
Fee int64 `protobuf:"varint,5,opt,name=fee,proto3" json:"fee,omitempty"`
|
|
// The payment preimage
|
|
PaymentPreimage string `protobuf:"bytes,6,opt,name=payment_preimage,json=paymentPreimage,proto3" json:"payment_preimage,omitempty"`
|
|
// The value of the payment in satoshis
|
|
ValueSat int64 `protobuf:"varint,7,opt,name=value_sat,json=valueSat,proto3" json:"value_sat,omitempty"`
|
|
// The value of the payment in milli-satoshis
|
|
ValueMsat int64 `protobuf:"varint,8,opt,name=value_msat,json=valueMsat,proto3" json:"value_msat,omitempty"`
|
|
// The optional payment request being fulfilled.
|
|
PaymentRequest string `protobuf:"bytes,9,opt,name=payment_request,json=paymentRequest,proto3" json:"payment_request,omitempty"`
|
|
// The status of the payment.
|
|
Status Payment_PaymentStatus `protobuf:"varint,10,opt,name=status,proto3,enum=lnrpc.Payment_PaymentStatus" json:"status,omitempty"`
|
|
// The fee paid for this payment in satoshis
|
|
FeeSat int64 `protobuf:"varint,11,opt,name=fee_sat,json=feeSat,proto3" json:"fee_sat,omitempty"`
|
|
// The fee paid for this payment in milli-satoshis
|
|
FeeMsat int64 `protobuf:"varint,12,opt,name=fee_msat,json=feeMsat,proto3" json:"fee_msat,omitempty"`
|
|
// The time in UNIX nanoseconds at which the payment was created.
|
|
CreationTimeNs int64 `protobuf:"varint,13,opt,name=creation_time_ns,json=creationTimeNs,proto3" json:"creation_time_ns,omitempty"`
|
|
// The HTLCs made in attempt to settle the payment.
|
|
Htlcs []*HTLCAttempt `protobuf:"bytes,14,rep,name=htlcs,proto3" json:"htlcs,omitempty"`
|
|
// The creation index of this payment. Each payment can be uniquely identified
|
|
// by this index, which may not strictly increment by 1 for payments made in
|
|
// older versions of lnd.
|
|
PaymentIndex uint64 `protobuf:"varint,15,opt,name=payment_index,json=paymentIndex,proto3" json:"payment_index,omitempty"`
|
|
FailureReason PaymentFailureReason `protobuf:"varint,16,opt,name=failure_reason,json=failureReason,proto3,enum=lnrpc.PaymentFailureReason" json:"failure_reason,omitempty"`
|
|
}
|
|
|
|
func (x *Payment) Reset() {
|
|
*x = Payment{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[143]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Payment) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Payment) ProtoMessage() {}
|
|
|
|
func (x *Payment) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[143]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use Payment.ProtoReflect.Descriptor instead.
|
|
func (*Payment) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{143}
|
|
}
|
|
|
|
func (x *Payment) GetPaymentHash() string {
|
|
if x != nil {
|
|
return x.PaymentHash
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
func (x *Payment) GetValue() int64 {
|
|
if x != nil {
|
|
return x.Value
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
func (x *Payment) GetCreationDate() int64 {
|
|
if x != nil {
|
|
return x.CreationDate
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
func (x *Payment) GetFee() int64 {
|
|
if x != nil {
|
|
return x.Fee
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Payment) GetPaymentPreimage() string {
|
|
if x != nil {
|
|
return x.PaymentPreimage
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Payment) GetValueSat() int64 {
|
|
if x != nil {
|
|
return x.ValueSat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Payment) GetValueMsat() int64 {
|
|
if x != nil {
|
|
return x.ValueMsat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Payment) GetPaymentRequest() string {
|
|
if x != nil {
|
|
return x.PaymentRequest
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Payment) GetStatus() Payment_PaymentStatus {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return Payment_UNKNOWN
|
|
}
|
|
|
|
func (x *Payment) GetFeeSat() int64 {
|
|
if x != nil {
|
|
return x.FeeSat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Payment) GetFeeMsat() int64 {
|
|
if x != nil {
|
|
return x.FeeMsat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Payment) GetCreationTimeNs() int64 {
|
|
if x != nil {
|
|
return x.CreationTimeNs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Payment) GetHtlcs() []*HTLCAttempt {
|
|
if x != nil {
|
|
return x.Htlcs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Payment) GetPaymentIndex() uint64 {
|
|
if x != nil {
|
|
return x.PaymentIndex
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Payment) GetFailureReason() PaymentFailureReason {
|
|
if x != nil {
|
|
return x.FailureReason
|
|
}
|
|
return PaymentFailureReason_FAILURE_REASON_NONE
|
|
}
|
|
|
|
type HTLCAttempt struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The unique ID that is used for this attempt.
|
|
AttemptId uint64 `protobuf:"varint,7,opt,name=attempt_id,json=attemptId,proto3" json:"attempt_id,omitempty"`
|
|
// The status of the HTLC.
|
|
Status HTLCAttempt_HTLCStatus `protobuf:"varint,1,opt,name=status,proto3,enum=lnrpc.HTLCAttempt_HTLCStatus" json:"status,omitempty"`
|
|
// The route taken by this HTLC.
|
|
Route *Route `protobuf:"bytes,2,opt,name=route,proto3" json:"route,omitempty"`
|
|
// The time in UNIX nanoseconds at which this HTLC was sent.
|
|
AttemptTimeNs int64 `protobuf:"varint,3,opt,name=attempt_time_ns,json=attemptTimeNs,proto3" json:"attempt_time_ns,omitempty"`
|
|
// The time in UNIX nanoseconds at which this HTLC was settled or failed.
|
|
// This value will not be set if the HTLC is still IN_FLIGHT.
|
|
ResolveTimeNs int64 `protobuf:"varint,4,opt,name=resolve_time_ns,json=resolveTimeNs,proto3" json:"resolve_time_ns,omitempty"`
|
|
// Detailed htlc failure info.
|
|
Failure *Failure `protobuf:"bytes,5,opt,name=failure,proto3" json:"failure,omitempty"`
|
|
// The preimage that was used to settle the HTLC.
|
|
Preimage []byte `protobuf:"bytes,6,opt,name=preimage,proto3" json:"preimage,omitempty"`
|
|
}
|
|
|
|
func (x *HTLCAttempt) Reset() {
|
|
*x = HTLCAttempt{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[144]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *HTLCAttempt) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HTLCAttempt) ProtoMessage() {}
|
|
|
|
func (x *HTLCAttempt) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[144]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use HTLCAttempt.ProtoReflect.Descriptor instead.
|
|
func (*HTLCAttempt) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{144}
|
|
}
|
|
|
|
func (x *HTLCAttempt) GetAttemptId() uint64 {
|
|
if x != nil {
|
|
return x.AttemptId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *HTLCAttempt) GetStatus() HTLCAttempt_HTLCStatus {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return HTLCAttempt_IN_FLIGHT
|
|
}
|
|
|
|
func (x *HTLCAttempt) GetRoute() *Route {
|
|
if x != nil {
|
|
return x.Route
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *HTLCAttempt) GetAttemptTimeNs() int64 {
|
|
if x != nil {
|
|
return x.AttemptTimeNs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *HTLCAttempt) GetResolveTimeNs() int64 {
|
|
if x != nil {
|
|
return x.ResolveTimeNs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *HTLCAttempt) GetFailure() *Failure {
|
|
if x != nil {
|
|
return x.Failure
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *HTLCAttempt) GetPreimage() []byte {
|
|
if x != nil {
|
|
return x.Preimage
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListPaymentsRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// If true, then return payments that have not yet fully completed. This means
|
|
// that pending payments, as well as failed payments will show up if this
|
|
// field is set to true. This flag doesn't change the meaning of the indices,
|
|
// which are tied to individual payments.
|
|
IncludeIncomplete bool `protobuf:"varint,1,opt,name=include_incomplete,json=includeIncomplete,proto3" json:"include_incomplete,omitempty"`
|
|
// The index of a payment that will be used as either the start or end of a
|
|
// query to determine which payments should be returned in the response. The
|
|
// index_offset is exclusive. In the case of a zero index_offset, the query
|
|
// will start with the oldest payment when paginating forwards, or will end
|
|
// with the most recent payment when paginating backwards.
|
|
IndexOffset uint64 `protobuf:"varint,2,opt,name=index_offset,json=indexOffset,proto3" json:"index_offset,omitempty"`
|
|
// The maximal number of payments returned in the response to this query.
|
|
MaxPayments uint64 `protobuf:"varint,3,opt,name=max_payments,json=maxPayments,proto3" json:"max_payments,omitempty"`
|
|
// If set, the payments returned will result from seeking backwards from the
|
|
// specified index offset. This can be used to paginate backwards. The order
|
|
// of the returned payments is always oldest first (ascending index order).
|
|
Reversed bool `protobuf:"varint,4,opt,name=reversed,proto3" json:"reversed,omitempty"`
|
|
// If set, all payments (complete and incomplete, independent of the
|
|
// max_payments parameter) will be counted. Note that setting this to true will
|
|
// increase the run time of the call significantly on systems that have a lot
|
|
// of payments, as all of them have to be iterated through to be counted.
|
|
CountTotalPayments bool `protobuf:"varint,5,opt,name=count_total_payments,json=countTotalPayments,proto3" json:"count_total_payments,omitempty"`
|
|
// If set, returns all payments with a creation date greater than or equal
|
|
// to it. Measured in seconds since the unix epoch.
|
|
CreationDateStart uint64 `protobuf:"varint,6,opt,name=creation_date_start,json=creationDateStart,proto3" json:"creation_date_start,omitempty"`
|
|
// If set, returns all payments with a creation date less than or equal to
|
|
// it. Measured in seconds since the unix epoch.
|
|
CreationDateEnd uint64 `protobuf:"varint,7,opt,name=creation_date_end,json=creationDateEnd,proto3" json:"creation_date_end,omitempty"`
|
|
}
|
|
|
|
func (x *ListPaymentsRequest) Reset() {
|
|
*x = ListPaymentsRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[145]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListPaymentsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListPaymentsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListPaymentsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[145]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use ListPaymentsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListPaymentsRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{145}
|
|
}
|
|
|
|
func (x *ListPaymentsRequest) GetIncludeIncomplete() bool {
|
|
if x != nil {
|
|
return x.IncludeIncomplete
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ListPaymentsRequest) GetIndexOffset() uint64 {
|
|
if x != nil {
|
|
return x.IndexOffset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListPaymentsRequest) GetMaxPayments() uint64 {
|
|
if x != nil {
|
|
return x.MaxPayments
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListPaymentsRequest) GetReversed() bool {
|
|
if x != nil {
|
|
return x.Reversed
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ListPaymentsRequest) GetCountTotalPayments() bool {
|
|
if x != nil {
|
|
return x.CountTotalPayments
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *ListPaymentsRequest) GetCreationDateStart() uint64 {
|
|
if x != nil {
|
|
return x.CreationDateStart
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListPaymentsRequest) GetCreationDateEnd() uint64 {
|
|
if x != nil {
|
|
return x.CreationDateEnd
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ListPaymentsResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The list of payments
|
|
Payments []*Payment `protobuf:"bytes,1,rep,name=payments,proto3" json:"payments,omitempty"`
|
|
// The index of the first item in the set of returned payments. This can be
|
|
// used as the index_offset to continue seeking backwards in the next request.
|
|
FirstIndexOffset uint64 `protobuf:"varint,2,opt,name=first_index_offset,json=firstIndexOffset,proto3" json:"first_index_offset,omitempty"`
|
|
// The index of the last item in the set of returned payments. This can be used
|
|
// as the index_offset to continue seeking forwards in the next request.
|
|
LastIndexOffset uint64 `protobuf:"varint,3,opt,name=last_index_offset,json=lastIndexOffset,proto3" json:"last_index_offset,omitempty"`
|
|
// Will only be set if count_total_payments in the request was set. Represents
|
|
// the total number of payments (complete and incomplete, independent of the
|
|
// number of payments requested in the query) currently present in the payments
|
|
// database.
|
|
TotalNumPayments uint64 `protobuf:"varint,4,opt,name=total_num_payments,json=totalNumPayments,proto3" json:"total_num_payments,omitempty"`
|
|
}
|
|
|
|
func (x *ListPaymentsResponse) Reset() {
|
|
*x = ListPaymentsResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[146]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListPaymentsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListPaymentsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListPaymentsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[146]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use ListPaymentsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListPaymentsResponse) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{146}
|
|
}
|
|
|
|
func (x *ListPaymentsResponse) GetPayments() []*Payment {
|
|
if x != nil {
|
|
return x.Payments
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ListPaymentsResponse) GetFirstIndexOffset() uint64 {
|
|
if x != nil {
|
|
return x.FirstIndexOffset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListPaymentsResponse) GetLastIndexOffset() uint64 {
|
|
if x != nil {
|
|
return x.LastIndexOffset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListPaymentsResponse) GetTotalNumPayments() uint64 {
|
|
if x != nil {
|
|
return x.TotalNumPayments
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type DeletePaymentRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Payment hash to delete.
|
|
PaymentHash []byte `protobuf:"bytes,1,opt,name=payment_hash,json=paymentHash,proto3" json:"payment_hash,omitempty"`
|
|
// Only delete failed HTLCs from the payment, not the payment itself.
|
|
FailedHtlcsOnly bool `protobuf:"varint,2,opt,name=failed_htlcs_only,json=failedHtlcsOnly,proto3" json:"failed_htlcs_only,omitempty"`
|
|
}
|
|
|
|
func (x *DeletePaymentRequest) Reset() {
|
|
*x = DeletePaymentRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[147]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DeletePaymentRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeletePaymentRequest) ProtoMessage() {}
|
|
|
|
func (x *DeletePaymentRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[147]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use DeletePaymentRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeletePaymentRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{147}
|
|
}
|
|
|
|
func (x *DeletePaymentRequest) GetPaymentHash() []byte {
|
|
if x != nil {
|
|
return x.PaymentHash
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *DeletePaymentRequest) GetFailedHtlcsOnly() bool {
|
|
if x != nil {
|
|
return x.FailedHtlcsOnly
|
|
}
|
|
return false
|
|
}
|
|
|
|
type DeleteAllPaymentsRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Only delete failed payments.
|
|
FailedPaymentsOnly bool `protobuf:"varint,1,opt,name=failed_payments_only,json=failedPaymentsOnly,proto3" json:"failed_payments_only,omitempty"`
|
|
// Only delete failed HTLCs from payments, not the payment itself.
|
|
FailedHtlcsOnly bool `protobuf:"varint,2,opt,name=failed_htlcs_only,json=failedHtlcsOnly,proto3" json:"failed_htlcs_only,omitempty"`
|
|
// Delete all payments. NOTE: Using this option requires careful
|
|
// consideration as it is a destructive operation.
|
|
AllPayments bool `protobuf:"varint,3,opt,name=all_payments,json=allPayments,proto3" json:"all_payments,omitempty"`
|
|
}
|
|
|
|
func (x *DeleteAllPaymentsRequest) Reset() {
|
|
*x = DeleteAllPaymentsRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[148]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DeleteAllPaymentsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteAllPaymentsRequest) ProtoMessage() {}
|
|
|
|
func (x *DeleteAllPaymentsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[148]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use DeleteAllPaymentsRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeleteAllPaymentsRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{148}
|
|
}
|
|
|
|
func (x *DeleteAllPaymentsRequest) GetFailedPaymentsOnly() bool {
|
|
if x != nil {
|
|
return x.FailedPaymentsOnly
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *DeleteAllPaymentsRequest) GetFailedHtlcsOnly() bool {
|
|
if x != nil {
|
|
return x.FailedHtlcsOnly
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *DeleteAllPaymentsRequest) GetAllPayments() bool {
|
|
if x != nil {
|
|
return x.AllPayments
|
|
}
|
|
return false
|
|
}
|
|
|
|
type DeletePaymentResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *DeletePaymentResponse) Reset() {
|
|
*x = DeletePaymentResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[149]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DeletePaymentResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeletePaymentResponse) ProtoMessage() {}
|
|
|
|
func (x *DeletePaymentResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[149]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use DeletePaymentResponse.ProtoReflect.Descriptor instead.
|
|
func (*DeletePaymentResponse) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{149}
|
|
}
|
|
|
|
type DeleteAllPaymentsResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *DeleteAllPaymentsResponse) Reset() {
|
|
*x = DeleteAllPaymentsResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[150]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DeleteAllPaymentsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteAllPaymentsResponse) ProtoMessage() {}
|
|
|
|
func (x *DeleteAllPaymentsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[150]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use DeleteAllPaymentsResponse.ProtoReflect.Descriptor instead.
|
|
func (*DeleteAllPaymentsResponse) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{150}
|
|
}
|
|
|
|
type AbandonChannelRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ChannelPoint *ChannelPoint `protobuf:"bytes,1,opt,name=channel_point,json=channelPoint,proto3" json:"channel_point,omitempty"`
|
|
PendingFundingShimOnly bool `protobuf:"varint,2,opt,name=pending_funding_shim_only,json=pendingFundingShimOnly,proto3" json:"pending_funding_shim_only,omitempty"`
|
|
// Override the requirement for being in dev mode by setting this to true and
|
|
// confirming the user knows what they are doing and this is a potential foot
|
|
// gun to lose funds if used on active channels.
|
|
IKnowWhatIAmDoing bool `protobuf:"varint,3,opt,name=i_know_what_i_am_doing,json=iKnowWhatIAmDoing,proto3" json:"i_know_what_i_am_doing,omitempty"`
|
|
}
|
|
|
|
func (x *AbandonChannelRequest) Reset() {
|
|
*x = AbandonChannelRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[151]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AbandonChannelRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AbandonChannelRequest) ProtoMessage() {}
|
|
|
|
func (x *AbandonChannelRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[151]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use AbandonChannelRequest.ProtoReflect.Descriptor instead.
|
|
func (*AbandonChannelRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{151}
|
|
}
|
|
|
|
func (x *AbandonChannelRequest) GetChannelPoint() *ChannelPoint {
|
|
if x != nil {
|
|
return x.ChannelPoint
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *AbandonChannelRequest) GetPendingFundingShimOnly() bool {
|
|
if x != nil {
|
|
return x.PendingFundingShimOnly
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *AbandonChannelRequest) GetIKnowWhatIAmDoing() bool {
|
|
if x != nil {
|
|
return x.IKnowWhatIAmDoing
|
|
}
|
|
return false
|
|
}
|
|
|
|
type AbandonChannelResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *AbandonChannelResponse) Reset() {
|
|
*x = AbandonChannelResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[152]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *AbandonChannelResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*AbandonChannelResponse) ProtoMessage() {}
|
|
|
|
func (x *AbandonChannelResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[152]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use AbandonChannelResponse.ProtoReflect.Descriptor instead.
|
|
func (*AbandonChannelResponse) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{152}
|
|
}
|
|
|
|
type DebugLevelRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Show bool `protobuf:"varint,1,opt,name=show,proto3" json:"show,omitempty"`
|
|
LevelSpec string `protobuf:"bytes,2,opt,name=level_spec,json=levelSpec,proto3" json:"level_spec,omitempty"`
|
|
}
|
|
|
|
func (x *DebugLevelRequest) Reset() {
|
|
*x = DebugLevelRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[153]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DebugLevelRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DebugLevelRequest) ProtoMessage() {}
|
|
|
|
func (x *DebugLevelRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[153]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use DebugLevelRequest.ProtoReflect.Descriptor instead.
|
|
func (*DebugLevelRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{153}
|
|
}
|
|
|
|
func (x *DebugLevelRequest) GetShow() bool {
|
|
if x != nil {
|
|
return x.Show
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *DebugLevelRequest) GetLevelSpec() string {
|
|
if x != nil {
|
|
return x.LevelSpec
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DebugLevelResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
SubSystems string `protobuf:"bytes,1,opt,name=sub_systems,json=subSystems,proto3" json:"sub_systems,omitempty"`
|
|
}
|
|
|
|
func (x *DebugLevelResponse) Reset() {
|
|
*x = DebugLevelResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[154]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DebugLevelResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DebugLevelResponse) ProtoMessage() {}
|
|
|
|
func (x *DebugLevelResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[154]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use DebugLevelResponse.ProtoReflect.Descriptor instead.
|
|
func (*DebugLevelResponse) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{154}
|
|
}
|
|
|
|
func (x *DebugLevelResponse) GetSubSystems() string {
|
|
if x != nil {
|
|
return x.SubSystems
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type PayReqString struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The payment request string to be decoded
|
|
PayReq string `protobuf:"bytes,1,opt,name=pay_req,json=payReq,proto3" json:"pay_req,omitempty"`
|
|
}
|
|
|
|
func (x *PayReqString) Reset() {
|
|
*x = PayReqString{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[155]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PayReqString) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PayReqString) ProtoMessage() {}
|
|
|
|
func (x *PayReqString) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[155]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use PayReqString.ProtoReflect.Descriptor instead.
|
|
func (*PayReqString) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{155}
|
|
}
|
|
|
|
func (x *PayReqString) GetPayReq() string {
|
|
if x != nil {
|
|
return x.PayReq
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type PayReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Destination string `protobuf:"bytes,1,opt,name=destination,proto3" json:"destination,omitempty"`
|
|
PaymentHash string `protobuf:"bytes,2,opt,name=payment_hash,json=paymentHash,proto3" json:"payment_hash,omitempty"`
|
|
NumSatoshis int64 `protobuf:"varint,3,opt,name=num_satoshis,json=numSatoshis,proto3" json:"num_satoshis,omitempty"`
|
|
Timestamp int64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
|
Expiry int64 `protobuf:"varint,5,opt,name=expiry,proto3" json:"expiry,omitempty"`
|
|
Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
|
|
DescriptionHash string `protobuf:"bytes,7,opt,name=description_hash,json=descriptionHash,proto3" json:"description_hash,omitempty"`
|
|
FallbackAddr string `protobuf:"bytes,8,opt,name=fallback_addr,json=fallbackAddr,proto3" json:"fallback_addr,omitempty"`
|
|
CltvExpiry int64 `protobuf:"varint,9,opt,name=cltv_expiry,json=cltvExpiry,proto3" json:"cltv_expiry,omitempty"`
|
|
RouteHints []*RouteHint `protobuf:"bytes,10,rep,name=route_hints,json=routeHints,proto3" json:"route_hints,omitempty"`
|
|
PaymentAddr []byte `protobuf:"bytes,11,opt,name=payment_addr,json=paymentAddr,proto3" json:"payment_addr,omitempty"`
|
|
NumMsat int64 `protobuf:"varint,12,opt,name=num_msat,json=numMsat,proto3" json:"num_msat,omitempty"`
|
|
Features map[uint32]*Feature `protobuf:"bytes,13,rep,name=features,proto3" json:"features,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
BlindedPaths []*BlindedPaymentPath `protobuf:"bytes,14,rep,name=blinded_paths,json=blindedPaths,proto3" json:"blinded_paths,omitempty"`
|
|
}
|
|
|
|
func (x *PayReq) Reset() {
|
|
*x = PayReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[156]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PayReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PayReq) ProtoMessage() {}
|
|
|
|
func (x *PayReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[156]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use PayReq.ProtoReflect.Descriptor instead.
|
|
func (*PayReq) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{156}
|
|
}
|
|
|
|
func (x *PayReq) GetDestination() string {
|
|
if x != nil {
|
|
return x.Destination
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PayReq) GetPaymentHash() string {
|
|
if x != nil {
|
|
return x.PaymentHash
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PayReq) GetNumSatoshis() int64 {
|
|
if x != nil {
|
|
return x.NumSatoshis
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PayReq) GetTimestamp() int64 {
|
|
if x != nil {
|
|
return x.Timestamp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PayReq) GetExpiry() int64 {
|
|
if x != nil {
|
|
return x.Expiry
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PayReq) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PayReq) GetDescriptionHash() string {
|
|
if x != nil {
|
|
return x.DescriptionHash
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PayReq) GetFallbackAddr() string {
|
|
if x != nil {
|
|
return x.FallbackAddr
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PayReq) GetCltvExpiry() int64 {
|
|
if x != nil {
|
|
return x.CltvExpiry
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PayReq) GetRouteHints() []*RouteHint {
|
|
if x != nil {
|
|
return x.RouteHints
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PayReq) GetPaymentAddr() []byte {
|
|
if x != nil {
|
|
return x.PaymentAddr
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PayReq) GetNumMsat() int64 {
|
|
if x != nil {
|
|
return x.NumMsat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PayReq) GetFeatures() map[uint32]*Feature {
|
|
if x != nil {
|
|
return x.Features
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PayReq) GetBlindedPaths() []*BlindedPaymentPath {
|
|
if x != nil {
|
|
return x.BlindedPaths
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Feature struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
IsRequired bool `protobuf:"varint,3,opt,name=is_required,json=isRequired,proto3" json:"is_required,omitempty"`
|
|
IsKnown bool `protobuf:"varint,4,opt,name=is_known,json=isKnown,proto3" json:"is_known,omitempty"`
|
|
}
|
|
|
|
func (x *Feature) Reset() {
|
|
*x = Feature{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[157]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Feature) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Feature) ProtoMessage() {}
|
|
|
|
func (x *Feature) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[157]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use Feature.ProtoReflect.Descriptor instead.
|
|
func (*Feature) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{157}
|
|
}
|
|
|
|
func (x *Feature) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Feature) GetIsRequired() bool {
|
|
if x != nil {
|
|
return x.IsRequired
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *Feature) GetIsKnown() bool {
|
|
if x != nil {
|
|
return x.IsKnown
|
|
}
|
|
return false
|
|
}
|
|
|
|
type FeeReportRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *FeeReportRequest) Reset() {
|
|
*x = FeeReportRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[158]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *FeeReportRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FeeReportRequest) ProtoMessage() {}
|
|
|
|
func (x *FeeReportRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[158]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use FeeReportRequest.ProtoReflect.Descriptor instead.
|
|
func (*FeeReportRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{158}
|
|
}
|
|
|
|
type ChannelFeeReport struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The short channel id that this fee report belongs to.
|
|
ChanId uint64 `protobuf:"varint,5,opt,name=chan_id,json=chanId,proto3" json:"chan_id,omitempty"`
|
|
// The channel that this fee report belongs to.
|
|
ChannelPoint string `protobuf:"bytes,1,opt,name=channel_point,json=channelPoint,proto3" json:"channel_point,omitempty"`
|
|
// The base fee charged regardless of the number of milli-satoshis sent.
|
|
BaseFeeMsat int64 `protobuf:"varint,2,opt,name=base_fee_msat,json=baseFeeMsat,proto3" json:"base_fee_msat,omitempty"`
|
|
// The amount charged per milli-satoshis transferred expressed in
|
|
// millionths of a satoshi.
|
|
FeePerMil int64 `protobuf:"varint,3,opt,name=fee_per_mil,json=feePerMil,proto3" json:"fee_per_mil,omitempty"`
|
|
// The effective fee rate in milli-satoshis. Computed by dividing the
|
|
// fee_per_mil value by 1 million.
|
|
FeeRate float64 `protobuf:"fixed64,4,opt,name=fee_rate,json=feeRate,proto3" json:"fee_rate,omitempty"`
|
|
// The base fee charged regardless of the number of milli-satoshis sent.
|
|
InboundBaseFeeMsat int32 `protobuf:"varint,6,opt,name=inbound_base_fee_msat,json=inboundBaseFeeMsat,proto3" json:"inbound_base_fee_msat,omitempty"`
|
|
// The amount charged per milli-satoshis transferred expressed in
|
|
// millionths of a satoshi.
|
|
InboundFeePerMil int32 `protobuf:"varint,7,opt,name=inbound_fee_per_mil,json=inboundFeePerMil,proto3" json:"inbound_fee_per_mil,omitempty"`
|
|
}
|
|
|
|
func (x *ChannelFeeReport) Reset() {
|
|
*x = ChannelFeeReport{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[159]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ChannelFeeReport) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ChannelFeeReport) ProtoMessage() {}
|
|
|
|
func (x *ChannelFeeReport) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[159]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use ChannelFeeReport.ProtoReflect.Descriptor instead.
|
|
func (*ChannelFeeReport) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{159}
|
|
}
|
|
|
|
func (x *ChannelFeeReport) GetChanId() uint64 {
|
|
if x != nil {
|
|
return x.ChanId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChannelFeeReport) GetChannelPoint() string {
|
|
if x != nil {
|
|
return x.ChannelPoint
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ChannelFeeReport) GetBaseFeeMsat() int64 {
|
|
if x != nil {
|
|
return x.BaseFeeMsat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChannelFeeReport) GetFeePerMil() int64 {
|
|
if x != nil {
|
|
return x.FeePerMil
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChannelFeeReport) GetFeeRate() float64 {
|
|
if x != nil {
|
|
return x.FeeRate
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChannelFeeReport) GetInboundBaseFeeMsat() int32 {
|
|
if x != nil {
|
|
return x.InboundBaseFeeMsat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChannelFeeReport) GetInboundFeePerMil() int32 {
|
|
if x != nil {
|
|
return x.InboundFeePerMil
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type FeeReportResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// An array of channel fee reports which describes the current fee schedule
|
|
// for each channel.
|
|
ChannelFees []*ChannelFeeReport `protobuf:"bytes,1,rep,name=channel_fees,json=channelFees,proto3" json:"channel_fees,omitempty"`
|
|
// The total amount of fee revenue (in satoshis) the switch has collected
|
|
// over the past 24 hrs.
|
|
DayFeeSum uint64 `protobuf:"varint,2,opt,name=day_fee_sum,json=dayFeeSum,proto3" json:"day_fee_sum,omitempty"`
|
|
// The total amount of fee revenue (in satoshis) the switch has collected
|
|
// over the past 1 week.
|
|
WeekFeeSum uint64 `protobuf:"varint,3,opt,name=week_fee_sum,json=weekFeeSum,proto3" json:"week_fee_sum,omitempty"`
|
|
// The total amount of fee revenue (in satoshis) the switch has collected
|
|
// over the past 1 month.
|
|
MonthFeeSum uint64 `protobuf:"varint,4,opt,name=month_fee_sum,json=monthFeeSum,proto3" json:"month_fee_sum,omitempty"`
|
|
}
|
|
|
|
func (x *FeeReportResponse) Reset() {
|
|
*x = FeeReportResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[160]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *FeeReportResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FeeReportResponse) ProtoMessage() {}
|
|
|
|
func (x *FeeReportResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[160]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use FeeReportResponse.ProtoReflect.Descriptor instead.
|
|
func (*FeeReportResponse) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{160}
|
|
}
|
|
|
|
func (x *FeeReportResponse) GetChannelFees() []*ChannelFeeReport {
|
|
if x != nil {
|
|
return x.ChannelFees
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FeeReportResponse) GetDayFeeSum() uint64 {
|
|
if x != nil {
|
|
return x.DayFeeSum
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FeeReportResponse) GetWeekFeeSum() uint64 {
|
|
if x != nil {
|
|
return x.WeekFeeSum
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *FeeReportResponse) GetMonthFeeSum() uint64 {
|
|
if x != nil {
|
|
return x.MonthFeeSum
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type InboundFee struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The inbound base fee charged regardless of the number of milli-satoshis
|
|
// received in the channel. By default, only negative values are accepted.
|
|
BaseFeeMsat int32 `protobuf:"varint,1,opt,name=base_fee_msat,json=baseFeeMsat,proto3" json:"base_fee_msat,omitempty"`
|
|
// The effective inbound fee rate in micro-satoshis (parts per million).
|
|
// By default, only negative values are accepted.
|
|
FeeRatePpm int32 `protobuf:"varint,2,opt,name=fee_rate_ppm,json=feeRatePpm,proto3" json:"fee_rate_ppm,omitempty"`
|
|
}
|
|
|
|
func (x *InboundFee) Reset() {
|
|
*x = InboundFee{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[161]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *InboundFee) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InboundFee) ProtoMessage() {}
|
|
|
|
func (x *InboundFee) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[161]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use InboundFee.ProtoReflect.Descriptor instead.
|
|
func (*InboundFee) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{161}
|
|
}
|
|
|
|
func (x *InboundFee) GetBaseFeeMsat() int32 {
|
|
if x != nil {
|
|
return x.BaseFeeMsat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *InboundFee) GetFeeRatePpm() int32 {
|
|
if x != nil {
|
|
return x.FeeRatePpm
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type PolicyUpdateRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Types that are assignable to Scope:
|
|
//
|
|
// *PolicyUpdateRequest_Global
|
|
// *PolicyUpdateRequest_ChanPoint
|
|
Scope isPolicyUpdateRequest_Scope `protobuf_oneof:"scope"`
|
|
// The base fee charged regardless of the number of milli-satoshis sent.
|
|
BaseFeeMsat int64 `protobuf:"varint,3,opt,name=base_fee_msat,json=baseFeeMsat,proto3" json:"base_fee_msat,omitempty"`
|
|
// The effective fee rate in milli-satoshis. The precision of this value
|
|
// goes up to 6 decimal places, so 1e-6.
|
|
FeeRate float64 `protobuf:"fixed64,4,opt,name=fee_rate,json=feeRate,proto3" json:"fee_rate,omitempty"`
|
|
// The effective fee rate in micro-satoshis (parts per million).
|
|
FeeRatePpm uint32 `protobuf:"varint,9,opt,name=fee_rate_ppm,json=feeRatePpm,proto3" json:"fee_rate_ppm,omitempty"`
|
|
// The required timelock delta for HTLCs forwarded over the channel.
|
|
TimeLockDelta uint32 `protobuf:"varint,5,opt,name=time_lock_delta,json=timeLockDelta,proto3" json:"time_lock_delta,omitempty"`
|
|
// If set, the maximum HTLC size in milli-satoshis. If unset, the maximum
|
|
// HTLC will be unchanged.
|
|
MaxHtlcMsat uint64 `protobuf:"varint,6,opt,name=max_htlc_msat,json=maxHtlcMsat,proto3" json:"max_htlc_msat,omitempty"`
|
|
// The minimum HTLC size in milli-satoshis. Only applied if
|
|
// min_htlc_msat_specified is true.
|
|
MinHtlcMsat uint64 `protobuf:"varint,7,opt,name=min_htlc_msat,json=minHtlcMsat,proto3" json:"min_htlc_msat,omitempty"`
|
|
// If true, min_htlc_msat is applied.
|
|
MinHtlcMsatSpecified bool `protobuf:"varint,8,opt,name=min_htlc_msat_specified,json=minHtlcMsatSpecified,proto3" json:"min_htlc_msat_specified,omitempty"`
|
|
// Optional inbound fee. If unset, the previously set value will be
|
|
// retained [EXPERIMENTAL].
|
|
InboundFee *InboundFee `protobuf:"bytes,10,opt,name=inbound_fee,json=inboundFee,proto3" json:"inbound_fee,omitempty"`
|
|
}
|
|
|
|
func (x *PolicyUpdateRequest) Reset() {
|
|
*x = PolicyUpdateRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[162]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PolicyUpdateRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PolicyUpdateRequest) ProtoMessage() {}
|
|
|
|
func (x *PolicyUpdateRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[162]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use PolicyUpdateRequest.ProtoReflect.Descriptor instead.
|
|
func (*PolicyUpdateRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{162}
|
|
}
|
|
|
|
func (m *PolicyUpdateRequest) GetScope() isPolicyUpdateRequest_Scope {
|
|
if m != nil {
|
|
return m.Scope
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PolicyUpdateRequest) GetGlobal() bool {
|
|
if x, ok := x.GetScope().(*PolicyUpdateRequest_Global); ok {
|
|
return x.Global
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *PolicyUpdateRequest) GetChanPoint() *ChannelPoint {
|
|
if x, ok := x.GetScope().(*PolicyUpdateRequest_ChanPoint); ok {
|
|
return x.ChanPoint
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PolicyUpdateRequest) GetBaseFeeMsat() int64 {
|
|
if x != nil {
|
|
return x.BaseFeeMsat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PolicyUpdateRequest) GetFeeRate() float64 {
|
|
if x != nil {
|
|
return x.FeeRate
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PolicyUpdateRequest) GetFeeRatePpm() uint32 {
|
|
if x != nil {
|
|
return x.FeeRatePpm
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PolicyUpdateRequest) GetTimeLockDelta() uint32 {
|
|
if x != nil {
|
|
return x.TimeLockDelta
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PolicyUpdateRequest) GetMaxHtlcMsat() uint64 {
|
|
if x != nil {
|
|
return x.MaxHtlcMsat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PolicyUpdateRequest) GetMinHtlcMsat() uint64 {
|
|
if x != nil {
|
|
return x.MinHtlcMsat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PolicyUpdateRequest) GetMinHtlcMsatSpecified() bool {
|
|
if x != nil {
|
|
return x.MinHtlcMsatSpecified
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *PolicyUpdateRequest) GetInboundFee() *InboundFee {
|
|
if x != nil {
|
|
return x.InboundFee
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isPolicyUpdateRequest_Scope interface {
|
|
isPolicyUpdateRequest_Scope()
|
|
}
|
|
|
|
type PolicyUpdateRequest_Global struct {
|
|
// If set, then this update applies to all currently active channels.
|
|
Global bool `protobuf:"varint,1,opt,name=global,proto3,oneof"`
|
|
}
|
|
|
|
type PolicyUpdateRequest_ChanPoint struct {
|
|
// If set, this update will target a specific channel.
|
|
ChanPoint *ChannelPoint `protobuf:"bytes,2,opt,name=chan_point,json=chanPoint,proto3,oneof"`
|
|
}
|
|
|
|
func (*PolicyUpdateRequest_Global) isPolicyUpdateRequest_Scope() {}
|
|
|
|
func (*PolicyUpdateRequest_ChanPoint) isPolicyUpdateRequest_Scope() {}
|
|
|
|
type FailedUpdate struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The outpoint in format txid:n
|
|
Outpoint *OutPoint `protobuf:"bytes,1,opt,name=outpoint,proto3" json:"outpoint,omitempty"`
|
|
// Reason for the policy update failure.
|
|
Reason UpdateFailure `protobuf:"varint,2,opt,name=reason,proto3,enum=lnrpc.UpdateFailure" json:"reason,omitempty"`
|
|
// A string representation of the policy update error.
|
|
UpdateError string `protobuf:"bytes,3,opt,name=update_error,json=updateError,proto3" json:"update_error,omitempty"`
|
|
}
|
|
|
|
func (x *FailedUpdate) Reset() {
|
|
*x = FailedUpdate{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[163]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *FailedUpdate) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FailedUpdate) ProtoMessage() {}
|
|
|
|
func (x *FailedUpdate) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[163]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use FailedUpdate.ProtoReflect.Descriptor instead.
|
|
func (*FailedUpdate) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{163}
|
|
}
|
|
|
|
func (x *FailedUpdate) GetOutpoint() *OutPoint {
|
|
if x != nil {
|
|
return x.Outpoint
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *FailedUpdate) GetReason() UpdateFailure {
|
|
if x != nil {
|
|
return x.Reason
|
|
}
|
|
return UpdateFailure_UPDATE_FAILURE_UNKNOWN
|
|
}
|
|
|
|
func (x *FailedUpdate) GetUpdateError() string {
|
|
if x != nil {
|
|
return x.UpdateError
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type PolicyUpdateResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// List of failed policy updates.
|
|
FailedUpdates []*FailedUpdate `protobuf:"bytes,1,rep,name=failed_updates,json=failedUpdates,proto3" json:"failed_updates,omitempty"`
|
|
}
|
|
|
|
func (x *PolicyUpdateResponse) Reset() {
|
|
*x = PolicyUpdateResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[164]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PolicyUpdateResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PolicyUpdateResponse) ProtoMessage() {}
|
|
|
|
func (x *PolicyUpdateResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[164]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use PolicyUpdateResponse.ProtoReflect.Descriptor instead.
|
|
func (*PolicyUpdateResponse) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{164}
|
|
}
|
|
|
|
func (x *PolicyUpdateResponse) GetFailedUpdates() []*FailedUpdate {
|
|
if x != nil {
|
|
return x.FailedUpdates
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ForwardingHistoryRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Start time is the starting point of the forwarding history request. All
|
|
// records beyond this point will be included, respecting the end time, and
|
|
// the index offset.
|
|
StartTime uint64 `protobuf:"varint,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
|
|
// End time is the end point of the forwarding history request. The
|
|
// response will carry at most 50k records between the start time and the
|
|
// end time. The index offset can be used to implement pagination.
|
|
EndTime uint64 `protobuf:"varint,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
|
|
// Index offset is the offset in the time series to start at. As each
|
|
// response can only contain 50k records, callers can use this to skip
|
|
// around within a packed time series.
|
|
IndexOffset uint32 `protobuf:"varint,3,opt,name=index_offset,json=indexOffset,proto3" json:"index_offset,omitempty"`
|
|
// The max number of events to return in the response to this query.
|
|
NumMaxEvents uint32 `protobuf:"varint,4,opt,name=num_max_events,json=numMaxEvents,proto3" json:"num_max_events,omitempty"`
|
|
// Informs the server if the peer alias should be looked up for each
|
|
// forwarding event.
|
|
PeerAliasLookup bool `protobuf:"varint,5,opt,name=peer_alias_lookup,json=peerAliasLookup,proto3" json:"peer_alias_lookup,omitempty"`
|
|
}
|
|
|
|
func (x *ForwardingHistoryRequest) Reset() {
|
|
*x = ForwardingHistoryRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[165]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ForwardingHistoryRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ForwardingHistoryRequest) ProtoMessage() {}
|
|
|
|
func (x *ForwardingHistoryRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[165]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use ForwardingHistoryRequest.ProtoReflect.Descriptor instead.
|
|
func (*ForwardingHistoryRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{165}
|
|
}
|
|
|
|
func (x *ForwardingHistoryRequest) GetStartTime() uint64 {
|
|
if x != nil {
|
|
return x.StartTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ForwardingHistoryRequest) GetEndTime() uint64 {
|
|
if x != nil {
|
|
return x.EndTime
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ForwardingHistoryRequest) GetIndexOffset() uint32 {
|
|
if x != nil {
|
|
return x.IndexOffset
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ForwardingHistoryRequest) GetNumMaxEvents() uint32 {
|
|
if x != nil {
|
|
return x.NumMaxEvents
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ForwardingHistoryRequest) GetPeerAliasLookup() bool {
|
|
if x != nil {
|
|
return x.PeerAliasLookup
|
|
}
|
|
return false
|
|
}
|
|
|
|
type ForwardingEvent struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Timestamp is the time (unix epoch offset) that this circuit was
|
|
// completed. Deprecated by timestamp_ns.
|
|
//
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
Timestamp uint64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
|
// The incoming channel ID that carried the HTLC that created the circuit.
|
|
ChanIdIn uint64 `protobuf:"varint,2,opt,name=chan_id_in,json=chanIdIn,proto3" json:"chan_id_in,omitempty"`
|
|
// The outgoing channel ID that carried the preimage that completed the
|
|
// circuit.
|
|
ChanIdOut uint64 `protobuf:"varint,4,opt,name=chan_id_out,json=chanIdOut,proto3" json:"chan_id_out,omitempty"`
|
|
// The total amount (in satoshis) of the incoming HTLC that created half
|
|
// the circuit.
|
|
AmtIn uint64 `protobuf:"varint,5,opt,name=amt_in,json=amtIn,proto3" json:"amt_in,omitempty"`
|
|
// The total amount (in satoshis) of the outgoing HTLC that created the
|
|
// second half of the circuit.
|
|
AmtOut uint64 `protobuf:"varint,6,opt,name=amt_out,json=amtOut,proto3" json:"amt_out,omitempty"`
|
|
// The total fee (in satoshis) that this payment circuit carried.
|
|
Fee uint64 `protobuf:"varint,7,opt,name=fee,proto3" json:"fee,omitempty"`
|
|
// The total fee (in milli-satoshis) that this payment circuit carried.
|
|
FeeMsat uint64 `protobuf:"varint,8,opt,name=fee_msat,json=feeMsat,proto3" json:"fee_msat,omitempty"`
|
|
// The total amount (in milli-satoshis) of the incoming HTLC that created
|
|
// half the circuit.
|
|
AmtInMsat uint64 `protobuf:"varint,9,opt,name=amt_in_msat,json=amtInMsat,proto3" json:"amt_in_msat,omitempty"`
|
|
// The total amount (in milli-satoshis) of the outgoing HTLC that created
|
|
// the second half of the circuit.
|
|
AmtOutMsat uint64 `protobuf:"varint,10,opt,name=amt_out_msat,json=amtOutMsat,proto3" json:"amt_out_msat,omitempty"`
|
|
// The number of nanoseconds elapsed since January 1, 1970 UTC when this
|
|
// circuit was completed.
|
|
TimestampNs uint64 `protobuf:"varint,11,opt,name=timestamp_ns,json=timestampNs,proto3" json:"timestamp_ns,omitempty"`
|
|
// The peer alias of the incoming channel.
|
|
PeerAliasIn string `protobuf:"bytes,12,opt,name=peer_alias_in,json=peerAliasIn,proto3" json:"peer_alias_in,omitempty"`
|
|
// The peer alias of the outgoing channel.
|
|
PeerAliasOut string `protobuf:"bytes,13,opt,name=peer_alias_out,json=peerAliasOut,proto3" json:"peer_alias_out,omitempty"`
|
|
}
|
|
|
|
func (x *ForwardingEvent) Reset() {
|
|
*x = ForwardingEvent{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[166]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ForwardingEvent) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ForwardingEvent) ProtoMessage() {}
|
|
|
|
func (x *ForwardingEvent) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[166]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use ForwardingEvent.ProtoReflect.Descriptor instead.
|
|
func (*ForwardingEvent) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{166}
|
|
}
|
|
|
|
// Deprecated: Marked as deprecated in lightning.proto.
|
|
func (x *ForwardingEvent) GetTimestamp() uint64 {
|
|
if x != nil {
|
|
return x.Timestamp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ForwardingEvent) GetChanIdIn() uint64 {
|
|
if x != nil {
|
|
return x.ChanIdIn
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ForwardingEvent) GetChanIdOut() uint64 {
|
|
if x != nil {
|
|
return x.ChanIdOut
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ForwardingEvent) GetAmtIn() uint64 {
|
|
if x != nil {
|
|
return x.AmtIn
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ForwardingEvent) GetAmtOut() uint64 {
|
|
if x != nil {
|
|
return x.AmtOut
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ForwardingEvent) GetFee() uint64 {
|
|
if x != nil {
|
|
return x.Fee
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ForwardingEvent) GetFeeMsat() uint64 {
|
|
if x != nil {
|
|
return x.FeeMsat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ForwardingEvent) GetAmtInMsat() uint64 {
|
|
if x != nil {
|
|
return x.AmtInMsat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ForwardingEvent) GetAmtOutMsat() uint64 {
|
|
if x != nil {
|
|
return x.AmtOutMsat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ForwardingEvent) GetTimestampNs() uint64 {
|
|
if x != nil {
|
|
return x.TimestampNs
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ForwardingEvent) GetPeerAliasIn() string {
|
|
if x != nil {
|
|
return x.PeerAliasIn
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ForwardingEvent) GetPeerAliasOut() string {
|
|
if x != nil {
|
|
return x.PeerAliasOut
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ForwardingHistoryResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// A list of forwarding events from the time slice of the time series
|
|
// specified in the request.
|
|
ForwardingEvents []*ForwardingEvent `protobuf:"bytes,1,rep,name=forwarding_events,json=forwardingEvents,proto3" json:"forwarding_events,omitempty"`
|
|
// The index of the last time in the set of returned forwarding events. Can
|
|
// be used to seek further, pagination style.
|
|
LastOffsetIndex uint32 `protobuf:"varint,2,opt,name=last_offset_index,json=lastOffsetIndex,proto3" json:"last_offset_index,omitempty"`
|
|
}
|
|
|
|
func (x *ForwardingHistoryResponse) Reset() {
|
|
*x = ForwardingHistoryResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[167]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ForwardingHistoryResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ForwardingHistoryResponse) ProtoMessage() {}
|
|
|
|
func (x *ForwardingHistoryResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[167]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use ForwardingHistoryResponse.ProtoReflect.Descriptor instead.
|
|
func (*ForwardingHistoryResponse) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{167}
|
|
}
|
|
|
|
func (x *ForwardingHistoryResponse) GetForwardingEvents() []*ForwardingEvent {
|
|
if x != nil {
|
|
return x.ForwardingEvents
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ForwardingHistoryResponse) GetLastOffsetIndex() uint32 {
|
|
if x != nil {
|
|
return x.LastOffsetIndex
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ExportChannelBackupRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The target channel point to obtain a back up for.
|
|
ChanPoint *ChannelPoint `protobuf:"bytes,1,opt,name=chan_point,json=chanPoint,proto3" json:"chan_point,omitempty"`
|
|
}
|
|
|
|
func (x *ExportChannelBackupRequest) Reset() {
|
|
*x = ExportChannelBackupRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[168]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ExportChannelBackupRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ExportChannelBackupRequest) ProtoMessage() {}
|
|
|
|
func (x *ExportChannelBackupRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[168]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use ExportChannelBackupRequest.ProtoReflect.Descriptor instead.
|
|
func (*ExportChannelBackupRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{168}
|
|
}
|
|
|
|
func (x *ExportChannelBackupRequest) GetChanPoint() *ChannelPoint {
|
|
if x != nil {
|
|
return x.ChanPoint
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ChannelBackup struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Identifies the channel that this backup belongs to.
|
|
ChanPoint *ChannelPoint `protobuf:"bytes,1,opt,name=chan_point,json=chanPoint,proto3" json:"chan_point,omitempty"`
|
|
// Is an encrypted single-chan backup. this can be passed to
|
|
// RestoreChannelBackups, or the WalletUnlocker Init and Unlock methods in
|
|
// order to trigger the recovery protocol. When using REST, this field must be
|
|
// encoded as base64.
|
|
ChanBackup []byte `protobuf:"bytes,2,opt,name=chan_backup,json=chanBackup,proto3" json:"chan_backup,omitempty"`
|
|
}
|
|
|
|
func (x *ChannelBackup) Reset() {
|
|
*x = ChannelBackup{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[169]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ChannelBackup) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ChannelBackup) ProtoMessage() {}
|
|
|
|
func (x *ChannelBackup) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[169]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use ChannelBackup.ProtoReflect.Descriptor instead.
|
|
func (*ChannelBackup) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{169}
|
|
}
|
|
|
|
func (x *ChannelBackup) GetChanPoint() *ChannelPoint {
|
|
if x != nil {
|
|
return x.ChanPoint
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChannelBackup) GetChanBackup() []byte {
|
|
if x != nil {
|
|
return x.ChanBackup
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type MultiChanBackup struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Is the set of all channels that are included in this multi-channel backup.
|
|
ChanPoints []*ChannelPoint `protobuf:"bytes,1,rep,name=chan_points,json=chanPoints,proto3" json:"chan_points,omitempty"`
|
|
// A single encrypted blob containing all the static channel backups of the
|
|
// channel listed above. This can be stored as a single file or blob, and
|
|
// safely be replaced with any prior/future versions. When using REST, this
|
|
// field must be encoded as base64.
|
|
MultiChanBackup []byte `protobuf:"bytes,2,opt,name=multi_chan_backup,json=multiChanBackup,proto3" json:"multi_chan_backup,omitempty"`
|
|
}
|
|
|
|
func (x *MultiChanBackup) Reset() {
|
|
*x = MultiChanBackup{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[170]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *MultiChanBackup) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MultiChanBackup) ProtoMessage() {}
|
|
|
|
func (x *MultiChanBackup) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[170]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use MultiChanBackup.ProtoReflect.Descriptor instead.
|
|
func (*MultiChanBackup) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{170}
|
|
}
|
|
|
|
func (x *MultiChanBackup) GetChanPoints() []*ChannelPoint {
|
|
if x != nil {
|
|
return x.ChanPoints
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *MultiChanBackup) GetMultiChanBackup() []byte {
|
|
if x != nil {
|
|
return x.MultiChanBackup
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ChanBackupExportRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *ChanBackupExportRequest) Reset() {
|
|
*x = ChanBackupExportRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[171]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ChanBackupExportRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ChanBackupExportRequest) ProtoMessage() {}
|
|
|
|
func (x *ChanBackupExportRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[171]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use ChanBackupExportRequest.ProtoReflect.Descriptor instead.
|
|
func (*ChanBackupExportRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{171}
|
|
}
|
|
|
|
type ChanBackupSnapshot struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The set of new channels that have been added since the last channel backup
|
|
// snapshot was requested.
|
|
SingleChanBackups *ChannelBackups `protobuf:"bytes,1,opt,name=single_chan_backups,json=singleChanBackups,proto3" json:"single_chan_backups,omitempty"`
|
|
// A multi-channel backup that covers all open channels currently known to
|
|
// lnd.
|
|
MultiChanBackup *MultiChanBackup `protobuf:"bytes,2,opt,name=multi_chan_backup,json=multiChanBackup,proto3" json:"multi_chan_backup,omitempty"`
|
|
}
|
|
|
|
func (x *ChanBackupSnapshot) Reset() {
|
|
*x = ChanBackupSnapshot{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[172]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ChanBackupSnapshot) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ChanBackupSnapshot) ProtoMessage() {}
|
|
|
|
func (x *ChanBackupSnapshot) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[172]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use ChanBackupSnapshot.ProtoReflect.Descriptor instead.
|
|
func (*ChanBackupSnapshot) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{172}
|
|
}
|
|
|
|
func (x *ChanBackupSnapshot) GetSingleChanBackups() *ChannelBackups {
|
|
if x != nil {
|
|
return x.SingleChanBackups
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChanBackupSnapshot) GetMultiChanBackup() *MultiChanBackup {
|
|
if x != nil {
|
|
return x.MultiChanBackup
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ChannelBackups struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// A set of single-chan static channel backups.
|
|
ChanBackups []*ChannelBackup `protobuf:"bytes,1,rep,name=chan_backups,json=chanBackups,proto3" json:"chan_backups,omitempty"`
|
|
}
|
|
|
|
func (x *ChannelBackups) Reset() {
|
|
*x = ChannelBackups{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[173]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ChannelBackups) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ChannelBackups) ProtoMessage() {}
|
|
|
|
func (x *ChannelBackups) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[173]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use ChannelBackups.ProtoReflect.Descriptor instead.
|
|
func (*ChannelBackups) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{173}
|
|
}
|
|
|
|
func (x *ChannelBackups) GetChanBackups() []*ChannelBackup {
|
|
if x != nil {
|
|
return x.ChanBackups
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type RestoreChanBackupRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Types that are assignable to Backup:
|
|
//
|
|
// *RestoreChanBackupRequest_ChanBackups
|
|
// *RestoreChanBackupRequest_MultiChanBackup
|
|
Backup isRestoreChanBackupRequest_Backup `protobuf_oneof:"backup"`
|
|
}
|
|
|
|
func (x *RestoreChanBackupRequest) Reset() {
|
|
*x = RestoreChanBackupRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[174]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RestoreChanBackupRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RestoreChanBackupRequest) ProtoMessage() {}
|
|
|
|
func (x *RestoreChanBackupRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[174]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use RestoreChanBackupRequest.ProtoReflect.Descriptor instead.
|
|
func (*RestoreChanBackupRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{174}
|
|
}
|
|
|
|
func (m *RestoreChanBackupRequest) GetBackup() isRestoreChanBackupRequest_Backup {
|
|
if m != nil {
|
|
return m.Backup
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *RestoreChanBackupRequest) GetChanBackups() *ChannelBackups {
|
|
if x, ok := x.GetBackup().(*RestoreChanBackupRequest_ChanBackups); ok {
|
|
return x.ChanBackups
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *RestoreChanBackupRequest) GetMultiChanBackup() []byte {
|
|
if x, ok := x.GetBackup().(*RestoreChanBackupRequest_MultiChanBackup); ok {
|
|
return x.MultiChanBackup
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isRestoreChanBackupRequest_Backup interface {
|
|
isRestoreChanBackupRequest_Backup()
|
|
}
|
|
|
|
type RestoreChanBackupRequest_ChanBackups struct {
|
|
// The channels to restore as a list of channel/backup pairs.
|
|
ChanBackups *ChannelBackups `protobuf:"bytes,1,opt,name=chan_backups,json=chanBackups,proto3,oneof"`
|
|
}
|
|
|
|
type RestoreChanBackupRequest_MultiChanBackup struct {
|
|
// The channels to restore in the packed multi backup format. When using
|
|
// REST, this field must be encoded as base64.
|
|
MultiChanBackup []byte `protobuf:"bytes,2,opt,name=multi_chan_backup,json=multiChanBackup,proto3,oneof"`
|
|
}
|
|
|
|
func (*RestoreChanBackupRequest_ChanBackups) isRestoreChanBackupRequest_Backup() {}
|
|
|
|
func (*RestoreChanBackupRequest_MultiChanBackup) isRestoreChanBackupRequest_Backup() {}
|
|
|
|
type RestoreBackupResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *RestoreBackupResponse) Reset() {
|
|
*x = RestoreBackupResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[175]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RestoreBackupResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RestoreBackupResponse) ProtoMessage() {}
|
|
|
|
func (x *RestoreBackupResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[175]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use RestoreBackupResponse.ProtoReflect.Descriptor instead.
|
|
func (*RestoreBackupResponse) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{175}
|
|
}
|
|
|
|
type ChannelBackupSubscription struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *ChannelBackupSubscription) Reset() {
|
|
*x = ChannelBackupSubscription{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[176]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ChannelBackupSubscription) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ChannelBackupSubscription) ProtoMessage() {}
|
|
|
|
func (x *ChannelBackupSubscription) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[176]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use ChannelBackupSubscription.ProtoReflect.Descriptor instead.
|
|
func (*ChannelBackupSubscription) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{176}
|
|
}
|
|
|
|
type VerifyChanBackupResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *VerifyChanBackupResponse) Reset() {
|
|
*x = VerifyChanBackupResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[177]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *VerifyChanBackupResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*VerifyChanBackupResponse) ProtoMessage() {}
|
|
|
|
func (x *VerifyChanBackupResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[177]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use VerifyChanBackupResponse.ProtoReflect.Descriptor instead.
|
|
func (*VerifyChanBackupResponse) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{177}
|
|
}
|
|
|
|
type MacaroonPermission struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The entity a permission grants access to.
|
|
Entity string `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"`
|
|
// The action that is granted.
|
|
Action string `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"`
|
|
}
|
|
|
|
func (x *MacaroonPermission) Reset() {
|
|
*x = MacaroonPermission{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[178]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *MacaroonPermission) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MacaroonPermission) ProtoMessage() {}
|
|
|
|
func (x *MacaroonPermission) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[178]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use MacaroonPermission.ProtoReflect.Descriptor instead.
|
|
func (*MacaroonPermission) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{178}
|
|
}
|
|
|
|
func (x *MacaroonPermission) GetEntity() string {
|
|
if x != nil {
|
|
return x.Entity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MacaroonPermission) GetAction() string {
|
|
if x != nil {
|
|
return x.Action
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type BakeMacaroonRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The list of permissions the new macaroon should grant.
|
|
Permissions []*MacaroonPermission `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty"`
|
|
// The root key ID used to create the macaroon, must be a positive integer.
|
|
RootKeyId uint64 `protobuf:"varint,2,opt,name=root_key_id,json=rootKeyId,proto3" json:"root_key_id,omitempty"`
|
|
// Informs the RPC on whether to allow external permissions that LND is not
|
|
// aware of.
|
|
AllowExternalPermissions bool `protobuf:"varint,3,opt,name=allow_external_permissions,json=allowExternalPermissions,proto3" json:"allow_external_permissions,omitempty"`
|
|
}
|
|
|
|
func (x *BakeMacaroonRequest) Reset() {
|
|
*x = BakeMacaroonRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[179]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *BakeMacaroonRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BakeMacaroonRequest) ProtoMessage() {}
|
|
|
|
func (x *BakeMacaroonRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[179]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use BakeMacaroonRequest.ProtoReflect.Descriptor instead.
|
|
func (*BakeMacaroonRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{179}
|
|
}
|
|
|
|
func (x *BakeMacaroonRequest) GetPermissions() []*MacaroonPermission {
|
|
if x != nil {
|
|
return x.Permissions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *BakeMacaroonRequest) GetRootKeyId() uint64 {
|
|
if x != nil {
|
|
return x.RootKeyId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *BakeMacaroonRequest) GetAllowExternalPermissions() bool {
|
|
if x != nil {
|
|
return x.AllowExternalPermissions
|
|
}
|
|
return false
|
|
}
|
|
|
|
type BakeMacaroonResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The hex encoded macaroon, serialized in binary format.
|
|
Macaroon string `protobuf:"bytes,1,opt,name=macaroon,proto3" json:"macaroon,omitempty"`
|
|
}
|
|
|
|
func (x *BakeMacaroonResponse) Reset() {
|
|
*x = BakeMacaroonResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[180]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *BakeMacaroonResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*BakeMacaroonResponse) ProtoMessage() {}
|
|
|
|
func (x *BakeMacaroonResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[180]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use BakeMacaroonResponse.ProtoReflect.Descriptor instead.
|
|
func (*BakeMacaroonResponse) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{180}
|
|
}
|
|
|
|
func (x *BakeMacaroonResponse) GetMacaroon() string {
|
|
if x != nil {
|
|
return x.Macaroon
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListMacaroonIDsRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *ListMacaroonIDsRequest) Reset() {
|
|
*x = ListMacaroonIDsRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[181]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListMacaroonIDsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListMacaroonIDsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListMacaroonIDsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[181]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use ListMacaroonIDsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListMacaroonIDsRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{181}
|
|
}
|
|
|
|
type ListMacaroonIDsResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The list of root key IDs that are in use.
|
|
RootKeyIds []uint64 `protobuf:"varint,1,rep,packed,name=root_key_ids,json=rootKeyIds,proto3" json:"root_key_ids,omitempty"`
|
|
}
|
|
|
|
func (x *ListMacaroonIDsResponse) Reset() {
|
|
*x = ListMacaroonIDsResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[182]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListMacaroonIDsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListMacaroonIDsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListMacaroonIDsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[182]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use ListMacaroonIDsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListMacaroonIDsResponse) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{182}
|
|
}
|
|
|
|
func (x *ListMacaroonIDsResponse) GetRootKeyIds() []uint64 {
|
|
if x != nil {
|
|
return x.RootKeyIds
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DeleteMacaroonIDRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The root key ID to be removed.
|
|
RootKeyId uint64 `protobuf:"varint,1,opt,name=root_key_id,json=rootKeyId,proto3" json:"root_key_id,omitempty"`
|
|
}
|
|
|
|
func (x *DeleteMacaroonIDRequest) Reset() {
|
|
*x = DeleteMacaroonIDRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[183]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DeleteMacaroonIDRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteMacaroonIDRequest) ProtoMessage() {}
|
|
|
|
func (x *DeleteMacaroonIDRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[183]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use DeleteMacaroonIDRequest.ProtoReflect.Descriptor instead.
|
|
func (*DeleteMacaroonIDRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{183}
|
|
}
|
|
|
|
func (x *DeleteMacaroonIDRequest) GetRootKeyId() uint64 {
|
|
if x != nil {
|
|
return x.RootKeyId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type DeleteMacaroonIDResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// A boolean indicates that the deletion is successful.
|
|
Deleted bool `protobuf:"varint,1,opt,name=deleted,proto3" json:"deleted,omitempty"`
|
|
}
|
|
|
|
func (x *DeleteMacaroonIDResponse) Reset() {
|
|
*x = DeleteMacaroonIDResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[184]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DeleteMacaroonIDResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DeleteMacaroonIDResponse) ProtoMessage() {}
|
|
|
|
func (x *DeleteMacaroonIDResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[184]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use DeleteMacaroonIDResponse.ProtoReflect.Descriptor instead.
|
|
func (*DeleteMacaroonIDResponse) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{184}
|
|
}
|
|
|
|
func (x *DeleteMacaroonIDResponse) GetDeleted() bool {
|
|
if x != nil {
|
|
return x.Deleted
|
|
}
|
|
return false
|
|
}
|
|
|
|
type MacaroonPermissionList struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// A list of macaroon permissions.
|
|
Permissions []*MacaroonPermission `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty"`
|
|
}
|
|
|
|
func (x *MacaroonPermissionList) Reset() {
|
|
*x = MacaroonPermissionList{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[185]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *MacaroonPermissionList) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MacaroonPermissionList) ProtoMessage() {}
|
|
|
|
func (x *MacaroonPermissionList) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[185]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use MacaroonPermissionList.ProtoReflect.Descriptor instead.
|
|
func (*MacaroonPermissionList) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{185}
|
|
}
|
|
|
|
func (x *MacaroonPermissionList) GetPermissions() []*MacaroonPermission {
|
|
if x != nil {
|
|
return x.Permissions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListPermissionsRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *ListPermissionsRequest) Reset() {
|
|
*x = ListPermissionsRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[186]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListPermissionsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListPermissionsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListPermissionsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[186]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use ListPermissionsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListPermissionsRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{186}
|
|
}
|
|
|
|
type ListPermissionsResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// A map between all RPC method URIs and their required macaroon permissions to
|
|
// access them.
|
|
MethodPermissions map[string]*MacaroonPermissionList `protobuf:"bytes,1,rep,name=method_permissions,json=methodPermissions,proto3" json:"method_permissions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
}
|
|
|
|
func (x *ListPermissionsResponse) Reset() {
|
|
*x = ListPermissionsResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[187]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListPermissionsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListPermissionsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListPermissionsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[187]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use ListPermissionsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListPermissionsResponse) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{187}
|
|
}
|
|
|
|
func (x *ListPermissionsResponse) GetMethodPermissions() map[string]*MacaroonPermissionList {
|
|
if x != nil {
|
|
return x.MethodPermissions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Failure struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Failure code as defined in the Lightning spec
|
|
Code Failure_FailureCode `protobuf:"varint,1,opt,name=code,proto3,enum=lnrpc.Failure_FailureCode" json:"code,omitempty"`
|
|
// An optional channel update message.
|
|
ChannelUpdate *ChannelUpdate `protobuf:"bytes,3,opt,name=channel_update,json=channelUpdate,proto3" json:"channel_update,omitempty"`
|
|
// A failure type-dependent htlc value.
|
|
HtlcMsat uint64 `protobuf:"varint,4,opt,name=htlc_msat,json=htlcMsat,proto3" json:"htlc_msat,omitempty"`
|
|
// The sha256 sum of the onion payload.
|
|
OnionSha_256 []byte `protobuf:"bytes,5,opt,name=onion_sha_256,json=onionSha256,proto3" json:"onion_sha_256,omitempty"`
|
|
// A failure type-dependent cltv expiry value.
|
|
CltvExpiry uint32 `protobuf:"varint,6,opt,name=cltv_expiry,json=cltvExpiry,proto3" json:"cltv_expiry,omitempty"`
|
|
// A failure type-dependent flags value.
|
|
Flags uint32 `protobuf:"varint,7,opt,name=flags,proto3" json:"flags,omitempty"`
|
|
// The position in the path of the intermediate or final node that generated
|
|
// the failure message. Position zero is the sender node.
|
|
FailureSourceIndex uint32 `protobuf:"varint,8,opt,name=failure_source_index,json=failureSourceIndex,proto3" json:"failure_source_index,omitempty"`
|
|
// A failure type-dependent block height.
|
|
Height uint32 `protobuf:"varint,9,opt,name=height,proto3" json:"height,omitempty"`
|
|
}
|
|
|
|
func (x *Failure) Reset() {
|
|
*x = Failure{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[188]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Failure) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Failure) ProtoMessage() {}
|
|
|
|
func (x *Failure) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[188]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use Failure.ProtoReflect.Descriptor instead.
|
|
func (*Failure) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{188}
|
|
}
|
|
|
|
func (x *Failure) GetCode() Failure_FailureCode {
|
|
if x != nil {
|
|
return x.Code
|
|
}
|
|
return Failure_RESERVED
|
|
}
|
|
|
|
func (x *Failure) GetChannelUpdate() *ChannelUpdate {
|
|
if x != nil {
|
|
return x.ChannelUpdate
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Failure) GetHtlcMsat() uint64 {
|
|
if x != nil {
|
|
return x.HtlcMsat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Failure) GetOnionSha_256() []byte {
|
|
if x != nil {
|
|
return x.OnionSha_256
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Failure) GetCltvExpiry() uint32 {
|
|
if x != nil {
|
|
return x.CltvExpiry
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Failure) GetFlags() uint32 {
|
|
if x != nil {
|
|
return x.Flags
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Failure) GetFailureSourceIndex() uint32 {
|
|
if x != nil {
|
|
return x.FailureSourceIndex
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *Failure) GetHeight() uint32 {
|
|
if x != nil {
|
|
return x.Height
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type ChannelUpdate struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The signature that validates the announced data and proves the ownership
|
|
// of node id.
|
|
Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
|
|
// The target chain that this channel was opened within. This value
|
|
// should be the genesis hash of the target chain. Along with the short
|
|
// channel ID, this uniquely identifies the channel globally in a
|
|
// blockchain.
|
|
ChainHash []byte `protobuf:"bytes,2,opt,name=chain_hash,json=chainHash,proto3" json:"chain_hash,omitempty"`
|
|
// The unique description of the funding transaction.
|
|
ChanId uint64 `protobuf:"varint,3,opt,name=chan_id,json=chanId,proto3" json:"chan_id,omitempty"`
|
|
// A timestamp that allows ordering in the case of multiple announcements.
|
|
// We should ignore the message if timestamp is not greater than the
|
|
// last-received.
|
|
Timestamp uint32 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
|
|
// The bitfield that describes whether optional fields are present in this
|
|
// update. Currently, the least-significant bit must be set to 1 if the
|
|
// optional field MaxHtlc is present.
|
|
MessageFlags uint32 `protobuf:"varint,10,opt,name=message_flags,json=messageFlags,proto3" json:"message_flags,omitempty"`
|
|
// The bitfield that describes additional meta-data concerning how the
|
|
// update is to be interpreted. Currently, the least-significant bit must be
|
|
// set to 0 if the creating node corresponds to the first node in the
|
|
// previously sent channel announcement and 1 otherwise. If the second bit
|
|
// is set, then the channel is set to be disabled.
|
|
ChannelFlags uint32 `protobuf:"varint,5,opt,name=channel_flags,json=channelFlags,proto3" json:"channel_flags,omitempty"`
|
|
// The minimum number of blocks this node requires to be added to the expiry
|
|
// of HTLCs. This is a security parameter determined by the node operator.
|
|
// This value represents the required gap between the time locks of the
|
|
// incoming and outgoing HTLC's set to this node.
|
|
TimeLockDelta uint32 `protobuf:"varint,6,opt,name=time_lock_delta,json=timeLockDelta,proto3" json:"time_lock_delta,omitempty"`
|
|
// The minimum HTLC value which will be accepted.
|
|
HtlcMinimumMsat uint64 `protobuf:"varint,7,opt,name=htlc_minimum_msat,json=htlcMinimumMsat,proto3" json:"htlc_minimum_msat,omitempty"`
|
|
// The base fee that must be used for incoming HTLC's to this particular
|
|
// channel. This value will be tacked onto the required for a payment
|
|
// independent of the size of the payment.
|
|
BaseFee uint32 `protobuf:"varint,8,opt,name=base_fee,json=baseFee,proto3" json:"base_fee,omitempty"`
|
|
// The fee rate that will be charged per millionth of a satoshi.
|
|
FeeRate uint32 `protobuf:"varint,9,opt,name=fee_rate,json=feeRate,proto3" json:"fee_rate,omitempty"`
|
|
// The maximum HTLC value which will be accepted.
|
|
HtlcMaximumMsat uint64 `protobuf:"varint,11,opt,name=htlc_maximum_msat,json=htlcMaximumMsat,proto3" json:"htlc_maximum_msat,omitempty"`
|
|
// The set of data that was appended to this message, some of which we may
|
|
// not actually know how to iterate or parse. By holding onto this data, we
|
|
// ensure that we're able to properly validate the set of signatures that
|
|
// cover these new fields, and ensure we're able to make upgrades to the
|
|
// network in a forwards compatible manner.
|
|
ExtraOpaqueData []byte `protobuf:"bytes,12,opt,name=extra_opaque_data,json=extraOpaqueData,proto3" json:"extra_opaque_data,omitempty"`
|
|
}
|
|
|
|
func (x *ChannelUpdate) Reset() {
|
|
*x = ChannelUpdate{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[189]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ChannelUpdate) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ChannelUpdate) ProtoMessage() {}
|
|
|
|
func (x *ChannelUpdate) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[189]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use ChannelUpdate.ProtoReflect.Descriptor instead.
|
|
func (*ChannelUpdate) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{189}
|
|
}
|
|
|
|
func (x *ChannelUpdate) GetSignature() []byte {
|
|
if x != nil {
|
|
return x.Signature
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChannelUpdate) GetChainHash() []byte {
|
|
if x != nil {
|
|
return x.ChainHash
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ChannelUpdate) GetChanId() uint64 {
|
|
if x != nil {
|
|
return x.ChanId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChannelUpdate) GetTimestamp() uint32 {
|
|
if x != nil {
|
|
return x.Timestamp
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChannelUpdate) GetMessageFlags() uint32 {
|
|
if x != nil {
|
|
return x.MessageFlags
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChannelUpdate) GetChannelFlags() uint32 {
|
|
if x != nil {
|
|
return x.ChannelFlags
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChannelUpdate) GetTimeLockDelta() uint32 {
|
|
if x != nil {
|
|
return x.TimeLockDelta
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChannelUpdate) GetHtlcMinimumMsat() uint64 {
|
|
if x != nil {
|
|
return x.HtlcMinimumMsat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChannelUpdate) GetBaseFee() uint32 {
|
|
if x != nil {
|
|
return x.BaseFee
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChannelUpdate) GetFeeRate() uint32 {
|
|
if x != nil {
|
|
return x.FeeRate
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChannelUpdate) GetHtlcMaximumMsat() uint64 {
|
|
if x != nil {
|
|
return x.HtlcMaximumMsat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ChannelUpdate) GetExtraOpaqueData() []byte {
|
|
if x != nil {
|
|
return x.ExtraOpaqueData
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type MacaroonId struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Nonce []byte `protobuf:"bytes,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
|
|
StorageId []byte `protobuf:"bytes,2,opt,name=storageId,proto3" json:"storageId,omitempty"`
|
|
Ops []*Op `protobuf:"bytes,3,rep,name=ops,proto3" json:"ops,omitempty"`
|
|
}
|
|
|
|
func (x *MacaroonId) Reset() {
|
|
*x = MacaroonId{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[190]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *MacaroonId) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MacaroonId) ProtoMessage() {}
|
|
|
|
func (x *MacaroonId) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[190]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use MacaroonId.ProtoReflect.Descriptor instead.
|
|
func (*MacaroonId) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{190}
|
|
}
|
|
|
|
func (x *MacaroonId) GetNonce() []byte {
|
|
if x != nil {
|
|
return x.Nonce
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *MacaroonId) GetStorageId() []byte {
|
|
if x != nil {
|
|
return x.StorageId
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *MacaroonId) GetOps() []*Op {
|
|
if x != nil {
|
|
return x.Ops
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Op struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Entity string `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"`
|
|
Actions []string `protobuf:"bytes,2,rep,name=actions,proto3" json:"actions,omitempty"`
|
|
}
|
|
|
|
func (x *Op) Reset() {
|
|
*x = Op{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[191]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Op) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Op) ProtoMessage() {}
|
|
|
|
func (x *Op) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[191]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use Op.ProtoReflect.Descriptor instead.
|
|
func (*Op) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{191}
|
|
}
|
|
|
|
func (x *Op) GetEntity() string {
|
|
if x != nil {
|
|
return x.Entity
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Op) GetActions() []string {
|
|
if x != nil {
|
|
return x.Actions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type CheckMacPermRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Macaroon []byte `protobuf:"bytes,1,opt,name=macaroon,proto3" json:"macaroon,omitempty"`
|
|
Permissions []*MacaroonPermission `protobuf:"bytes,2,rep,name=permissions,proto3" json:"permissions,omitempty"`
|
|
FullMethod string `protobuf:"bytes,3,opt,name=fullMethod,proto3" json:"fullMethod,omitempty"`
|
|
}
|
|
|
|
func (x *CheckMacPermRequest) Reset() {
|
|
*x = CheckMacPermRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[192]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CheckMacPermRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CheckMacPermRequest) ProtoMessage() {}
|
|
|
|
func (x *CheckMacPermRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[192]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use CheckMacPermRequest.ProtoReflect.Descriptor instead.
|
|
func (*CheckMacPermRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{192}
|
|
}
|
|
|
|
func (x *CheckMacPermRequest) GetMacaroon() []byte {
|
|
if x != nil {
|
|
return x.Macaroon
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CheckMacPermRequest) GetPermissions() []*MacaroonPermission {
|
|
if x != nil {
|
|
return x.Permissions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CheckMacPermRequest) GetFullMethod() string {
|
|
if x != nil {
|
|
return x.FullMethod
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CheckMacPermResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"`
|
|
}
|
|
|
|
func (x *CheckMacPermResponse) Reset() {
|
|
*x = CheckMacPermResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[193]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CheckMacPermResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CheckMacPermResponse) ProtoMessage() {}
|
|
|
|
func (x *CheckMacPermResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[193]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use CheckMacPermResponse.ProtoReflect.Descriptor instead.
|
|
func (*CheckMacPermResponse) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{193}
|
|
}
|
|
|
|
func (x *CheckMacPermResponse) GetValid() bool {
|
|
if x != nil {
|
|
return x.Valid
|
|
}
|
|
return false
|
|
}
|
|
|
|
type RPCMiddlewareRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The unique ID of the intercepted original gRPC request. Useful for mapping
|
|
// request to response when implementing full duplex message interception. For
|
|
// streaming requests, this will be the same ID for all incoming and outgoing
|
|
// middleware intercept messages of the _same_ stream.
|
|
RequestId uint64 `protobuf:"varint,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
|
|
// The raw bytes of the complete macaroon as sent by the gRPC client in the
|
|
// original request. This might be empty for a request that doesn't require
|
|
// macaroons such as the wallet unlocker RPCs.
|
|
RawMacaroon []byte `protobuf:"bytes,2,opt,name=raw_macaroon,json=rawMacaroon,proto3" json:"raw_macaroon,omitempty"`
|
|
// The parsed condition of the macaroon's custom caveat for convenient access.
|
|
// This field only contains the value of the custom caveat that the handling
|
|
// middleware has registered itself for. The condition _must_ be validated for
|
|
// messages of intercept_type stream_auth and request!
|
|
CustomCaveatCondition string `protobuf:"bytes,3,opt,name=custom_caveat_condition,json=customCaveatCondition,proto3" json:"custom_caveat_condition,omitempty"`
|
|
// There are three types of messages that will be sent to the middleware for
|
|
// inspection and approval: Stream authentication, request and response
|
|
// interception. The first two can only be accepted (=forward to main RPC
|
|
// server) or denied (=return error to client). Intercepted responses can also
|
|
// be replaced/overwritten.
|
|
//
|
|
// Types that are assignable to InterceptType:
|
|
//
|
|
// *RPCMiddlewareRequest_StreamAuth
|
|
// *RPCMiddlewareRequest_Request
|
|
// *RPCMiddlewareRequest_Response
|
|
// *RPCMiddlewareRequest_RegComplete
|
|
InterceptType isRPCMiddlewareRequest_InterceptType `protobuf_oneof:"intercept_type"`
|
|
// The unique message ID of this middleware intercept message. There can be
|
|
// multiple middleware intercept messages per single gRPC request (one for the
|
|
// incoming request and one for the outgoing response) or gRPC stream (one for
|
|
// each incoming message and one for each outgoing response). This message ID
|
|
// must be referenced when responding (accepting/rejecting/modifying) to an
|
|
// intercept message.
|
|
MsgId uint64 `protobuf:"varint,7,opt,name=msg_id,json=msgId,proto3" json:"msg_id,omitempty"`
|
|
}
|
|
|
|
func (x *RPCMiddlewareRequest) Reset() {
|
|
*x = RPCMiddlewareRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[194]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RPCMiddlewareRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RPCMiddlewareRequest) ProtoMessage() {}
|
|
|
|
func (x *RPCMiddlewareRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[194]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use RPCMiddlewareRequest.ProtoReflect.Descriptor instead.
|
|
func (*RPCMiddlewareRequest) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{194}
|
|
}
|
|
|
|
func (x *RPCMiddlewareRequest) GetRequestId() uint64 {
|
|
if x != nil {
|
|
return x.RequestId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *RPCMiddlewareRequest) GetRawMacaroon() []byte {
|
|
if x != nil {
|
|
return x.RawMacaroon
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *RPCMiddlewareRequest) GetCustomCaveatCondition() string {
|
|
if x != nil {
|
|
return x.CustomCaveatCondition
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *RPCMiddlewareRequest) GetInterceptType() isRPCMiddlewareRequest_InterceptType {
|
|
if m != nil {
|
|
return m.InterceptType
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *RPCMiddlewareRequest) GetStreamAuth() *StreamAuth {
|
|
if x, ok := x.GetInterceptType().(*RPCMiddlewareRequest_StreamAuth); ok {
|
|
return x.StreamAuth
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *RPCMiddlewareRequest) GetRequest() *RPCMessage {
|
|
if x, ok := x.GetInterceptType().(*RPCMiddlewareRequest_Request); ok {
|
|
return x.Request
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *RPCMiddlewareRequest) GetResponse() *RPCMessage {
|
|
if x, ok := x.GetInterceptType().(*RPCMiddlewareRequest_Response); ok {
|
|
return x.Response
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *RPCMiddlewareRequest) GetRegComplete() bool {
|
|
if x, ok := x.GetInterceptType().(*RPCMiddlewareRequest_RegComplete); ok {
|
|
return x.RegComplete
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *RPCMiddlewareRequest) GetMsgId() uint64 {
|
|
if x != nil {
|
|
return x.MsgId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type isRPCMiddlewareRequest_InterceptType interface {
|
|
isRPCMiddlewareRequest_InterceptType()
|
|
}
|
|
|
|
type RPCMiddlewareRequest_StreamAuth struct {
|
|
// Intercept stream authentication: each new streaming RPC call that is
|
|
// initiated against lnd and contains the middleware's custom macaroon
|
|
// caveat can be approved or denied based upon the macaroon in the stream
|
|
// header. This message will only be sent for streaming RPCs, unary RPCs
|
|
// must handle the macaroon authentication in the request interception to
|
|
// avoid an additional message round trip between lnd and the middleware.
|
|
StreamAuth *StreamAuth `protobuf:"bytes,4,opt,name=stream_auth,json=streamAuth,proto3,oneof"`
|
|
}
|
|
|
|
type RPCMiddlewareRequest_Request struct {
|
|
// Intercept incoming gRPC client request message: all incoming messages,
|
|
// both on streaming and unary RPCs, are forwarded to the middleware for
|
|
// inspection. For unary RPC messages the middleware is also expected to
|
|
// validate the custom macaroon caveat of the request.
|
|
Request *RPCMessage `protobuf:"bytes,5,opt,name=request,proto3,oneof"`
|
|
}
|
|
|
|
type RPCMiddlewareRequest_Response struct {
|
|
// Intercept outgoing gRPC response message: all outgoing messages, both on
|
|
// streaming and unary RPCs, are forwarded to the middleware for inspection
|
|
// and amendment. The response in this message is the original response as
|
|
// it was generated by the main RPC server. It can either be accepted
|
|
// (=forwarded to the client), replaced/overwritten with a new message of
|
|
// the same type, or replaced by an error message.
|
|
Response *RPCMessage `protobuf:"bytes,6,opt,name=response,proto3,oneof"`
|
|
}
|
|
|
|
type RPCMiddlewareRequest_RegComplete struct {
|
|
// This is used to indicate to the client that the server has successfully
|
|
// registered the interceptor. This is only used in the very first message
|
|
// that the server sends to the client after the client sends the server
|
|
// the middleware registration message.
|
|
RegComplete bool `protobuf:"varint,8,opt,name=reg_complete,json=regComplete,proto3,oneof"`
|
|
}
|
|
|
|
func (*RPCMiddlewareRequest_StreamAuth) isRPCMiddlewareRequest_InterceptType() {}
|
|
|
|
func (*RPCMiddlewareRequest_Request) isRPCMiddlewareRequest_InterceptType() {}
|
|
|
|
func (*RPCMiddlewareRequest_Response) isRPCMiddlewareRequest_InterceptType() {}
|
|
|
|
func (*RPCMiddlewareRequest_RegComplete) isRPCMiddlewareRequest_InterceptType() {}
|
|
|
|
type StreamAuth struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The full URI (in the format /<rpcpackage>.<ServiceName>/MethodName, for
|
|
// example /lnrpc.Lightning/GetInfo) of the streaming RPC method that was just
|
|
// established.
|
|
MethodFullUri string `protobuf:"bytes,1,opt,name=method_full_uri,json=methodFullUri,proto3" json:"method_full_uri,omitempty"`
|
|
}
|
|
|
|
func (x *StreamAuth) Reset() {
|
|
*x = StreamAuth{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[195]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *StreamAuth) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StreamAuth) ProtoMessage() {}
|
|
|
|
func (x *StreamAuth) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[195]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use StreamAuth.ProtoReflect.Descriptor instead.
|
|
func (*StreamAuth) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{195}
|
|
}
|
|
|
|
func (x *StreamAuth) GetMethodFullUri() string {
|
|
if x != nil {
|
|
return x.MethodFullUri
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type RPCMessage struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The full URI (in the format /<rpcpackage>.<ServiceName>/MethodName, for
|
|
// example /lnrpc.Lightning/GetInfo) of the RPC method the message was sent
|
|
// to/from.
|
|
MethodFullUri string `protobuf:"bytes,1,opt,name=method_full_uri,json=methodFullUri,proto3" json:"method_full_uri,omitempty"`
|
|
// Indicates whether the message was sent over a streaming RPC method or not.
|
|
StreamRpc bool `protobuf:"varint,2,opt,name=stream_rpc,json=streamRpc,proto3" json:"stream_rpc,omitempty"`
|
|
// The full canonical gRPC name of the message type (in the format
|
|
// <rpcpackage>.TypeName, for example lnrpc.GetInfoRequest). In case of an
|
|
// error being returned from lnd, this simply contains the string "error".
|
|
TypeName string `protobuf:"bytes,3,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"`
|
|
// The full content of the gRPC message, serialized in the binary protobuf
|
|
// format.
|
|
Serialized []byte `protobuf:"bytes,4,opt,name=serialized,proto3" json:"serialized,omitempty"`
|
|
// Indicates that the response from lnd was an error, not a gRPC response. If
|
|
// this is set to true then the type_name contains the string "error" and
|
|
// serialized contains the error string.
|
|
IsError bool `protobuf:"varint,5,opt,name=is_error,json=isError,proto3" json:"is_error,omitempty"`
|
|
}
|
|
|
|
func (x *RPCMessage) Reset() {
|
|
*x = RPCMessage{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[196]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RPCMessage) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RPCMessage) ProtoMessage() {}
|
|
|
|
func (x *RPCMessage) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[196]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use RPCMessage.ProtoReflect.Descriptor instead.
|
|
func (*RPCMessage) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{196}
|
|
}
|
|
|
|
func (x *RPCMessage) GetMethodFullUri() string {
|
|
if x != nil {
|
|
return x.MethodFullUri
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RPCMessage) GetStreamRpc() bool {
|
|
if x != nil {
|
|
return x.StreamRpc
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *RPCMessage) GetTypeName() string {
|
|
if x != nil {
|
|
return x.TypeName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *RPCMessage) GetSerialized() []byte {
|
|
if x != nil {
|
|
return x.Serialized
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *RPCMessage) GetIsError() bool {
|
|
if x != nil {
|
|
return x.IsError
|
|
}
|
|
return false
|
|
}
|
|
|
|
type RPCMiddlewareResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The request message ID this response refers to. Must always be set when
|
|
// giving feedback to an intercept but is ignored for the initial registration
|
|
// message.
|
|
RefMsgId uint64 `protobuf:"varint,1,opt,name=ref_msg_id,json=refMsgId,proto3" json:"ref_msg_id,omitempty"`
|
|
// The middleware can only send two types of messages to lnd: The initial
|
|
// registration message that identifies the middleware and after that only
|
|
// feedback messages to requests sent to the middleware.
|
|
//
|
|
// Types that are assignable to MiddlewareMessage:
|
|
//
|
|
// *RPCMiddlewareResponse_Register
|
|
// *RPCMiddlewareResponse_Feedback
|
|
MiddlewareMessage isRPCMiddlewareResponse_MiddlewareMessage `protobuf_oneof:"middleware_message"`
|
|
}
|
|
|
|
func (x *RPCMiddlewareResponse) Reset() {
|
|
*x = RPCMiddlewareResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[197]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *RPCMiddlewareResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*RPCMiddlewareResponse) ProtoMessage() {}
|
|
|
|
func (x *RPCMiddlewareResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[197]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use RPCMiddlewareResponse.ProtoReflect.Descriptor instead.
|
|
func (*RPCMiddlewareResponse) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{197}
|
|
}
|
|
|
|
func (x *RPCMiddlewareResponse) GetRefMsgId() uint64 {
|
|
if x != nil {
|
|
return x.RefMsgId
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (m *RPCMiddlewareResponse) GetMiddlewareMessage() isRPCMiddlewareResponse_MiddlewareMessage {
|
|
if m != nil {
|
|
return m.MiddlewareMessage
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *RPCMiddlewareResponse) GetRegister() *MiddlewareRegistration {
|
|
if x, ok := x.GetMiddlewareMessage().(*RPCMiddlewareResponse_Register); ok {
|
|
return x.Register
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *RPCMiddlewareResponse) GetFeedback() *InterceptFeedback {
|
|
if x, ok := x.GetMiddlewareMessage().(*RPCMiddlewareResponse_Feedback); ok {
|
|
return x.Feedback
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isRPCMiddlewareResponse_MiddlewareMessage interface {
|
|
isRPCMiddlewareResponse_MiddlewareMessage()
|
|
}
|
|
|
|
type RPCMiddlewareResponse_Register struct {
|
|
// The registration message identifies the middleware that's being
|
|
// registered in lnd. The registration message must be sent immediately
|
|
// after initiating the RegisterRpcMiddleware stream, otherwise lnd will
|
|
// time out the attempt and terminate the request. NOTE: The middleware
|
|
// will only receive interception messages for requests that contain a
|
|
// macaroon with the custom caveat that the middleware declares it is
|
|
// responsible for handling in the registration message! As a security
|
|
// measure, _no_ middleware can intercept requests made with _unencumbered_
|
|
// macaroons!
|
|
Register *MiddlewareRegistration `protobuf:"bytes,2,opt,name=register,proto3,oneof"`
|
|
}
|
|
|
|
type RPCMiddlewareResponse_Feedback struct {
|
|
// The middleware received an interception request and gives feedback to
|
|
// it. The request_id indicates what message the feedback refers to.
|
|
Feedback *InterceptFeedback `protobuf:"bytes,3,opt,name=feedback,proto3,oneof"`
|
|
}
|
|
|
|
func (*RPCMiddlewareResponse_Register) isRPCMiddlewareResponse_MiddlewareMessage() {}
|
|
|
|
func (*RPCMiddlewareResponse_Feedback) isRPCMiddlewareResponse_MiddlewareMessage() {}
|
|
|
|
type MiddlewareRegistration struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The name of the middleware to register. The name should be as informative
|
|
// as possible and is logged on registration.
|
|
MiddlewareName string `protobuf:"bytes,1,opt,name=middleware_name,json=middlewareName,proto3" json:"middleware_name,omitempty"`
|
|
// The name of the custom macaroon caveat that this middleware is responsible
|
|
// for. Only requests/responses that contain a macaroon with the registered
|
|
// custom caveat are forwarded for interception to the middleware. The
|
|
// exception being the read-only mode: All requests/responses are forwarded to
|
|
// a middleware that requests read-only access but such a middleware won't be
|
|
// allowed to _alter_ responses. As a security measure, _no_ middleware can
|
|
// change responses to requests made with _unencumbered_ macaroons!
|
|
// NOTE: Cannot be used at the same time as read_only_mode.
|
|
CustomMacaroonCaveatName string `protobuf:"bytes,2,opt,name=custom_macaroon_caveat_name,json=customMacaroonCaveatName,proto3" json:"custom_macaroon_caveat_name,omitempty"`
|
|
// Instead of defining a custom macaroon caveat name a middleware can register
|
|
// itself for read-only access only. In that mode all requests/responses are
|
|
// forwarded to the middleware but the middleware isn't allowed to alter any of
|
|
// the responses.
|
|
// NOTE: Cannot be used at the same time as custom_macaroon_caveat_name.
|
|
ReadOnlyMode bool `protobuf:"varint,3,opt,name=read_only_mode,json=readOnlyMode,proto3" json:"read_only_mode,omitempty"`
|
|
}
|
|
|
|
func (x *MiddlewareRegistration) Reset() {
|
|
*x = MiddlewareRegistration{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[198]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *MiddlewareRegistration) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*MiddlewareRegistration) ProtoMessage() {}
|
|
|
|
func (x *MiddlewareRegistration) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[198]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use MiddlewareRegistration.ProtoReflect.Descriptor instead.
|
|
func (*MiddlewareRegistration) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{198}
|
|
}
|
|
|
|
func (x *MiddlewareRegistration) GetMiddlewareName() string {
|
|
if x != nil {
|
|
return x.MiddlewareName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MiddlewareRegistration) GetCustomMacaroonCaveatName() string {
|
|
if x != nil {
|
|
return x.CustomMacaroonCaveatName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *MiddlewareRegistration) GetReadOnlyMode() bool {
|
|
if x != nil {
|
|
return x.ReadOnlyMode
|
|
}
|
|
return false
|
|
}
|
|
|
|
type InterceptFeedback struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The error to return to the user. If this is non-empty, the incoming gRPC
|
|
// stream/request is aborted and the error is returned to the gRPC client. If
|
|
// this value is empty, it means the middleware accepts the stream/request/
|
|
// response and the processing of it can continue.
|
|
Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
|
|
// A boolean indicating that the gRPC message should be replaced/overwritten.
|
|
// This boolean is needed because in protobuf an empty message is serialized as
|
|
// a 0-length or nil byte slice and we wouldn't be able to distinguish between
|
|
// an empty replacement message and the "don't replace anything" case.
|
|
ReplaceResponse bool `protobuf:"varint,2,opt,name=replace_response,json=replaceResponse,proto3" json:"replace_response,omitempty"`
|
|
// If the replace_response field is set to true, this field must contain the
|
|
// binary serialized gRPC message in the protobuf format.
|
|
ReplacementSerialized []byte `protobuf:"bytes,3,opt,name=replacement_serialized,json=replacementSerialized,proto3" json:"replacement_serialized,omitempty"`
|
|
}
|
|
|
|
func (x *InterceptFeedback) Reset() {
|
|
*x = InterceptFeedback{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[199]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *InterceptFeedback) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*InterceptFeedback) ProtoMessage() {}
|
|
|
|
func (x *InterceptFeedback) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[199]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use InterceptFeedback.ProtoReflect.Descriptor instead.
|
|
func (*InterceptFeedback) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{199}
|
|
}
|
|
|
|
func (x *InterceptFeedback) GetError() string {
|
|
if x != nil {
|
|
return x.Error
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *InterceptFeedback) GetReplaceResponse() bool {
|
|
if x != nil {
|
|
return x.ReplaceResponse
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *InterceptFeedback) GetReplacementSerialized() []byte {
|
|
if x != nil {
|
|
return x.ReplacementSerialized
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PendingChannelsResponse_PendingChannel struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
RemoteNodePub string `protobuf:"bytes,1,opt,name=remote_node_pub,json=remoteNodePub,proto3" json:"remote_node_pub,omitempty"`
|
|
ChannelPoint string `protobuf:"bytes,2,opt,name=channel_point,json=channelPoint,proto3" json:"channel_point,omitempty"`
|
|
Capacity int64 `protobuf:"varint,3,opt,name=capacity,proto3" json:"capacity,omitempty"`
|
|
LocalBalance int64 `protobuf:"varint,4,opt,name=local_balance,json=localBalance,proto3" json:"local_balance,omitempty"`
|
|
RemoteBalance int64 `protobuf:"varint,5,opt,name=remote_balance,json=remoteBalance,proto3" json:"remote_balance,omitempty"`
|
|
// The minimum satoshis this node is required to reserve in its
|
|
// balance.
|
|
LocalChanReserveSat int64 `protobuf:"varint,6,opt,name=local_chan_reserve_sat,json=localChanReserveSat,proto3" json:"local_chan_reserve_sat,omitempty"`
|
|
// The minimum satoshis the other node is required to reserve in its
|
|
// balance.
|
|
RemoteChanReserveSat int64 `protobuf:"varint,7,opt,name=remote_chan_reserve_sat,json=remoteChanReserveSat,proto3" json:"remote_chan_reserve_sat,omitempty"`
|
|
// The party that initiated opening the channel.
|
|
Initiator Initiator `protobuf:"varint,8,opt,name=initiator,proto3,enum=lnrpc.Initiator" json:"initiator,omitempty"`
|
|
// The commitment type used by this channel.
|
|
CommitmentType CommitmentType `protobuf:"varint,9,opt,name=commitment_type,json=commitmentType,proto3,enum=lnrpc.CommitmentType" json:"commitment_type,omitempty"`
|
|
// Total number of forwarding packages created in this channel.
|
|
NumForwardingPackages int64 `protobuf:"varint,10,opt,name=num_forwarding_packages,json=numForwardingPackages,proto3" json:"num_forwarding_packages,omitempty"`
|
|
// A set of flags showing the current state of the channel.
|
|
ChanStatusFlags string `protobuf:"bytes,11,opt,name=chan_status_flags,json=chanStatusFlags,proto3" json:"chan_status_flags,omitempty"`
|
|
// Whether this channel is advertised to the network or not.
|
|
Private bool `protobuf:"varint,12,opt,name=private,proto3" json:"private,omitempty"`
|
|
// An optional note-to-self to go along with the channel containing some
|
|
// useful information. This is only ever stored locally and in no way
|
|
// impacts the channel's operation.
|
|
Memo string `protobuf:"bytes,13,opt,name=memo,proto3" json:"memo,omitempty"`
|
|
}
|
|
|
|
func (x *PendingChannelsResponse_PendingChannel) Reset() {
|
|
*x = PendingChannelsResponse_PendingChannel{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[206]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PendingChannelsResponse_PendingChannel) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PendingChannelsResponse_PendingChannel) ProtoMessage() {}
|
|
|
|
func (x *PendingChannelsResponse_PendingChannel) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[206]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use PendingChannelsResponse_PendingChannel.ProtoReflect.Descriptor instead.
|
|
func (*PendingChannelsResponse_PendingChannel) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{89, 0}
|
|
}
|
|
|
|
func (x *PendingChannelsResponse_PendingChannel) GetRemoteNodePub() string {
|
|
if x != nil {
|
|
return x.RemoteNodePub
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PendingChannelsResponse_PendingChannel) GetChannelPoint() string {
|
|
if x != nil {
|
|
return x.ChannelPoint
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PendingChannelsResponse_PendingChannel) GetCapacity() int64 {
|
|
if x != nil {
|
|
return x.Capacity
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PendingChannelsResponse_PendingChannel) GetLocalBalance() int64 {
|
|
if x != nil {
|
|
return x.LocalBalance
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PendingChannelsResponse_PendingChannel) GetRemoteBalance() int64 {
|
|
if x != nil {
|
|
return x.RemoteBalance
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PendingChannelsResponse_PendingChannel) GetLocalChanReserveSat() int64 {
|
|
if x != nil {
|
|
return x.LocalChanReserveSat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PendingChannelsResponse_PendingChannel) GetRemoteChanReserveSat() int64 {
|
|
if x != nil {
|
|
return x.RemoteChanReserveSat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PendingChannelsResponse_PendingChannel) GetInitiator() Initiator {
|
|
if x != nil {
|
|
return x.Initiator
|
|
}
|
|
return Initiator_INITIATOR_UNKNOWN
|
|
}
|
|
|
|
func (x *PendingChannelsResponse_PendingChannel) GetCommitmentType() CommitmentType {
|
|
if x != nil {
|
|
return x.CommitmentType
|
|
}
|
|
return CommitmentType_UNKNOWN_COMMITMENT_TYPE
|
|
}
|
|
|
|
func (x *PendingChannelsResponse_PendingChannel) GetNumForwardingPackages() int64 {
|
|
if x != nil {
|
|
return x.NumForwardingPackages
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PendingChannelsResponse_PendingChannel) GetChanStatusFlags() string {
|
|
if x != nil {
|
|
return x.ChanStatusFlags
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PendingChannelsResponse_PendingChannel) GetPrivate() bool {
|
|
if x != nil {
|
|
return x.Private
|
|
}
|
|
return false
|
|
}
|
|
|
|
func (x *PendingChannelsResponse_PendingChannel) GetMemo() string {
|
|
if x != nil {
|
|
return x.Memo
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type PendingChannelsResponse_PendingOpenChannel struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The pending channel
|
|
Channel *PendingChannelsResponse_PendingChannel `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"`
|
|
// The amount calculated to be paid in fees for the current set of
|
|
// commitment transactions. The fee amount is persisted with the channel
|
|
// in order to allow the fee amount to be removed and recalculated with
|
|
// each channel state update, including updates that happen after a system
|
|
// restart.
|
|
CommitFee int64 `protobuf:"varint,4,opt,name=commit_fee,json=commitFee,proto3" json:"commit_fee,omitempty"`
|
|
// The weight of the commitment transaction
|
|
CommitWeight int64 `protobuf:"varint,5,opt,name=commit_weight,json=commitWeight,proto3" json:"commit_weight,omitempty"`
|
|
// The required number of satoshis per kilo-weight that the requester will
|
|
// pay at all times, for both the funding transaction and commitment
|
|
// transaction. This value can later be updated once the channel is open.
|
|
FeePerKw int64 `protobuf:"varint,6,opt,name=fee_per_kw,json=feePerKw,proto3" json:"fee_per_kw,omitempty"`
|
|
// The number of blocks until the funding transaction is considered
|
|
// expired. If this value gets close to zero, there is a risk that the
|
|
// channel funding will be canceled by the channel responder. The
|
|
// channel should be fee bumped using CPFP (see walletrpc.BumpFee) to
|
|
// ensure that the channel confirms in time. Otherwise a force-close
|
|
// will be necessary if the channel confirms after the funding
|
|
// transaction expires. A negative value means the channel responder has
|
|
// very likely canceled the funding and the channel will never become
|
|
// fully operational.
|
|
FundingExpiryBlocks int32 `protobuf:"varint,3,opt,name=funding_expiry_blocks,json=fundingExpiryBlocks,proto3" json:"funding_expiry_blocks,omitempty"`
|
|
}
|
|
|
|
func (x *PendingChannelsResponse_PendingOpenChannel) Reset() {
|
|
*x = PendingChannelsResponse_PendingOpenChannel{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[207]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PendingChannelsResponse_PendingOpenChannel) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PendingChannelsResponse_PendingOpenChannel) ProtoMessage() {}
|
|
|
|
func (x *PendingChannelsResponse_PendingOpenChannel) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[207]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use PendingChannelsResponse_PendingOpenChannel.ProtoReflect.Descriptor instead.
|
|
func (*PendingChannelsResponse_PendingOpenChannel) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{89, 1}
|
|
}
|
|
|
|
func (x *PendingChannelsResponse_PendingOpenChannel) GetChannel() *PendingChannelsResponse_PendingChannel {
|
|
if x != nil {
|
|
return x.Channel
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PendingChannelsResponse_PendingOpenChannel) GetCommitFee() int64 {
|
|
if x != nil {
|
|
return x.CommitFee
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PendingChannelsResponse_PendingOpenChannel) GetCommitWeight() int64 {
|
|
if x != nil {
|
|
return x.CommitWeight
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PendingChannelsResponse_PendingOpenChannel) GetFeePerKw() int64 {
|
|
if x != nil {
|
|
return x.FeePerKw
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PendingChannelsResponse_PendingOpenChannel) GetFundingExpiryBlocks() int32 {
|
|
if x != nil {
|
|
return x.FundingExpiryBlocks
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type PendingChannelsResponse_WaitingCloseChannel struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The pending channel waiting for closing tx to confirm
|
|
Channel *PendingChannelsResponse_PendingChannel `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"`
|
|
// The balance in satoshis encumbered in this channel
|
|
LimboBalance int64 `protobuf:"varint,2,opt,name=limbo_balance,json=limboBalance,proto3" json:"limbo_balance,omitempty"`
|
|
// A list of valid commitment transactions. Any of these can confirm at
|
|
// this point.
|
|
Commitments *PendingChannelsResponse_Commitments `protobuf:"bytes,3,opt,name=commitments,proto3" json:"commitments,omitempty"`
|
|
// The transaction id of the closing transaction
|
|
ClosingTxid string `protobuf:"bytes,4,opt,name=closing_txid,json=closingTxid,proto3" json:"closing_txid,omitempty"`
|
|
// The raw hex encoded bytes of the closing transaction. Included if
|
|
// include_raw_tx in the request is true.
|
|
ClosingTxHex string `protobuf:"bytes,5,opt,name=closing_tx_hex,json=closingTxHex,proto3" json:"closing_tx_hex,omitempty"`
|
|
}
|
|
|
|
func (x *PendingChannelsResponse_WaitingCloseChannel) Reset() {
|
|
*x = PendingChannelsResponse_WaitingCloseChannel{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[208]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PendingChannelsResponse_WaitingCloseChannel) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PendingChannelsResponse_WaitingCloseChannel) ProtoMessage() {}
|
|
|
|
func (x *PendingChannelsResponse_WaitingCloseChannel) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[208]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use PendingChannelsResponse_WaitingCloseChannel.ProtoReflect.Descriptor instead.
|
|
func (*PendingChannelsResponse_WaitingCloseChannel) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{89, 2}
|
|
}
|
|
|
|
func (x *PendingChannelsResponse_WaitingCloseChannel) GetChannel() *PendingChannelsResponse_PendingChannel {
|
|
if x != nil {
|
|
return x.Channel
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PendingChannelsResponse_WaitingCloseChannel) GetLimboBalance() int64 {
|
|
if x != nil {
|
|
return x.LimboBalance
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PendingChannelsResponse_WaitingCloseChannel) GetCommitments() *PendingChannelsResponse_Commitments {
|
|
if x != nil {
|
|
return x.Commitments
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PendingChannelsResponse_WaitingCloseChannel) GetClosingTxid() string {
|
|
if x != nil {
|
|
return x.ClosingTxid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PendingChannelsResponse_WaitingCloseChannel) GetClosingTxHex() string {
|
|
if x != nil {
|
|
return x.ClosingTxHex
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type PendingChannelsResponse_Commitments struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Hash of the local version of the commitment tx.
|
|
LocalTxid string `protobuf:"bytes,1,opt,name=local_txid,json=localTxid,proto3" json:"local_txid,omitempty"`
|
|
// Hash of the remote version of the commitment tx.
|
|
RemoteTxid string `protobuf:"bytes,2,opt,name=remote_txid,json=remoteTxid,proto3" json:"remote_txid,omitempty"`
|
|
// Hash of the remote pending version of the commitment tx.
|
|
RemotePendingTxid string `protobuf:"bytes,3,opt,name=remote_pending_txid,json=remotePendingTxid,proto3" json:"remote_pending_txid,omitempty"`
|
|
// The amount in satoshis calculated to be paid in fees for the local
|
|
// commitment.
|
|
LocalCommitFeeSat uint64 `protobuf:"varint,4,opt,name=local_commit_fee_sat,json=localCommitFeeSat,proto3" json:"local_commit_fee_sat,omitempty"`
|
|
// The amount in satoshis calculated to be paid in fees for the remote
|
|
// commitment.
|
|
RemoteCommitFeeSat uint64 `protobuf:"varint,5,opt,name=remote_commit_fee_sat,json=remoteCommitFeeSat,proto3" json:"remote_commit_fee_sat,omitempty"`
|
|
// The amount in satoshis calculated to be paid in fees for the remote
|
|
// pending commitment.
|
|
RemotePendingCommitFeeSat uint64 `protobuf:"varint,6,opt,name=remote_pending_commit_fee_sat,json=remotePendingCommitFeeSat,proto3" json:"remote_pending_commit_fee_sat,omitempty"`
|
|
}
|
|
|
|
func (x *PendingChannelsResponse_Commitments) Reset() {
|
|
*x = PendingChannelsResponse_Commitments{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[209]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PendingChannelsResponse_Commitments) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PendingChannelsResponse_Commitments) ProtoMessage() {}
|
|
|
|
func (x *PendingChannelsResponse_Commitments) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[209]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use PendingChannelsResponse_Commitments.ProtoReflect.Descriptor instead.
|
|
func (*PendingChannelsResponse_Commitments) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{89, 3}
|
|
}
|
|
|
|
func (x *PendingChannelsResponse_Commitments) GetLocalTxid() string {
|
|
if x != nil {
|
|
return x.LocalTxid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PendingChannelsResponse_Commitments) GetRemoteTxid() string {
|
|
if x != nil {
|
|
return x.RemoteTxid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PendingChannelsResponse_Commitments) GetRemotePendingTxid() string {
|
|
if x != nil {
|
|
return x.RemotePendingTxid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PendingChannelsResponse_Commitments) GetLocalCommitFeeSat() uint64 {
|
|
if x != nil {
|
|
return x.LocalCommitFeeSat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PendingChannelsResponse_Commitments) GetRemoteCommitFeeSat() uint64 {
|
|
if x != nil {
|
|
return x.RemoteCommitFeeSat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PendingChannelsResponse_Commitments) GetRemotePendingCommitFeeSat() uint64 {
|
|
if x != nil {
|
|
return x.RemotePendingCommitFeeSat
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type PendingChannelsResponse_ClosedChannel struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The pending channel to be closed
|
|
Channel *PendingChannelsResponse_PendingChannel `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"`
|
|
// The transaction id of the closing transaction
|
|
ClosingTxid string `protobuf:"bytes,2,opt,name=closing_txid,json=closingTxid,proto3" json:"closing_txid,omitempty"`
|
|
}
|
|
|
|
func (x *PendingChannelsResponse_ClosedChannel) Reset() {
|
|
*x = PendingChannelsResponse_ClosedChannel{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[210]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PendingChannelsResponse_ClosedChannel) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PendingChannelsResponse_ClosedChannel) ProtoMessage() {}
|
|
|
|
func (x *PendingChannelsResponse_ClosedChannel) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[210]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use PendingChannelsResponse_ClosedChannel.ProtoReflect.Descriptor instead.
|
|
func (*PendingChannelsResponse_ClosedChannel) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{89, 4}
|
|
}
|
|
|
|
func (x *PendingChannelsResponse_ClosedChannel) GetChannel() *PendingChannelsResponse_PendingChannel {
|
|
if x != nil {
|
|
return x.Channel
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PendingChannelsResponse_ClosedChannel) GetClosingTxid() string {
|
|
if x != nil {
|
|
return x.ClosingTxid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type PendingChannelsResponse_ForceClosedChannel struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// The pending channel to be force closed
|
|
Channel *PendingChannelsResponse_PendingChannel `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"`
|
|
// The transaction id of the closing transaction
|
|
ClosingTxid string `protobuf:"bytes,2,opt,name=closing_txid,json=closingTxid,proto3" json:"closing_txid,omitempty"`
|
|
// The balance in satoshis encumbered in this pending channel
|
|
LimboBalance int64 `protobuf:"varint,3,opt,name=limbo_balance,json=limboBalance,proto3" json:"limbo_balance,omitempty"`
|
|
// The height at which funds can be swept into the wallet
|
|
MaturityHeight uint32 `protobuf:"varint,4,opt,name=maturity_height,json=maturityHeight,proto3" json:"maturity_height,omitempty"`
|
|
// Remaining # of blocks until the commitment output can be swept.
|
|
// Negative values indicate how many blocks have passed since becoming
|
|
// mature.
|
|
BlocksTilMaturity int32 `protobuf:"varint,5,opt,name=blocks_til_maturity,json=blocksTilMaturity,proto3" json:"blocks_til_maturity,omitempty"`
|
|
// The total value of funds successfully recovered from this channel
|
|
RecoveredBalance int64 `protobuf:"varint,6,opt,name=recovered_balance,json=recoveredBalance,proto3" json:"recovered_balance,omitempty"`
|
|
PendingHtlcs []*PendingHTLC `protobuf:"bytes,8,rep,name=pending_htlcs,json=pendingHtlcs,proto3" json:"pending_htlcs,omitempty"`
|
|
Anchor PendingChannelsResponse_ForceClosedChannel_AnchorState `protobuf:"varint,9,opt,name=anchor,proto3,enum=lnrpc.PendingChannelsResponse_ForceClosedChannel_AnchorState" json:"anchor,omitempty"`
|
|
}
|
|
|
|
func (x *PendingChannelsResponse_ForceClosedChannel) Reset() {
|
|
*x = PendingChannelsResponse_ForceClosedChannel{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_lightning_proto_msgTypes[211]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *PendingChannelsResponse_ForceClosedChannel) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PendingChannelsResponse_ForceClosedChannel) ProtoMessage() {}
|
|
|
|
func (x *PendingChannelsResponse_ForceClosedChannel) ProtoReflect() protoreflect.Message {
|
|
mi := &file_lightning_proto_msgTypes[211]
|
|
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)
|
|
}
|
|
|
|
// Deprecated: Use PendingChannelsResponse_ForceClosedChannel.ProtoReflect.Descriptor instead.
|
|
func (*PendingChannelsResponse_ForceClosedChannel) Descriptor() ([]byte, []int) {
|
|
return file_lightning_proto_rawDescGZIP(), []int{89, 5}
|
|
}
|
|
|
|
func (x *PendingChannelsResponse_ForceClosedChannel) GetChannel() *PendingChannelsResponse_PendingChannel {
|
|
if x != nil {
|
|
return x.Channel
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PendingChannelsResponse_ForceClosedChannel) GetClosingTxid() string {
|
|
if x != nil {
|
|
return x.ClosingTxid
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PendingChannelsResponse_ForceClosedChannel) GetLimboBalance() int64 {
|
|
if x != nil {
|
|
return x.LimboBalance
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PendingChannelsResponse_ForceClosedChannel) GetMaturityHeight() uint32 {
|
|
if x != nil {
|
|
return x.MaturityHeight
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PendingChannelsResponse_ForceClosedChannel) GetBlocksTilMaturity() int32 {
|
|
if x != nil {
|
|
return x.BlocksTilMaturity
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PendingChannelsResponse_ForceClosedChannel) GetRecoveredBalance() int64 {
|
|
if x != nil {
|
|
return x.RecoveredBalance
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *PendingChannelsResponse_ForceClosedChannel) GetPendingHtlcs() []*PendingHTLC {
|
|
if x != nil {
|
|
return x.PendingHtlcs
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PendingChannelsResponse_ForceClosedChannel) GetAnchor() PendingChannelsResponse_ForceClosedChannel_AnchorState {
|
|
if x != nil {
|
|
return x.Anchor
|
|
}
|
|
return PendingChannelsResponse_ForceClosedChannel_LIMBO
|
|
}
|
|
|
|
var File_lightning_proto protoreflect.FileDescriptor
|
|
|
|
var file_lightning_proto_rawDesc = []byte{
|
|
0x0a, 0x0f, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
|
0x6f, 0x12, 0x05, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x22, 0x55, 0x0a, 0x1b, 0x4c, 0x6f, 0x6f, 0x6b,
|
|
0x75, 0x70, 0x48, 0x74, 0x6c, 0x63, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e,
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x5f,
|
|
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x63, 0x68, 0x61, 0x6e, 0x49, 0x64,
|
|
0x12, 0x1d, 0x0a, 0x0a, 0x68, 0x74, 0x6c, 0x63, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02,
|
|
0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x68, 0x74, 0x6c, 0x63, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x22,
|
|
0x54, 0x0a, 0x1c, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x48, 0x74, 0x6c, 0x63, 0x52, 0x65, 0x73,
|
|
0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
|
0x18, 0x0a, 0x07, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08,
|
|
0x52, 0x07, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x66, 0x66,
|
|
0x63, 0x68, 0x61, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x6f, 0x66, 0x66,
|
|
0x63, 0x68, 0x61, 0x69, 0x6e, 0x22, 0x20, 0x0a, 0x1e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69,
|
|
0x62, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73,
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x4b, 0x0a, 0x0d, 0x43, 0x75, 0x73, 0x74, 0x6f,
|
|
0x6d, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x65, 0x65, 0x72,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, 0x65, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04,
|
|
0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65,
|
|
0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04,
|
|
0x64, 0x61, 0x74, 0x61, 0x22, 0x56, 0x0a, 0x18, 0x53, 0x65, 0x6e, 0x64, 0x43, 0x75, 0x73, 0x74,
|
|
0x6f, 0x6d, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
0x12, 0x12, 0x0a, 0x04, 0x70, 0x65, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04,
|
|
0x70, 0x65, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01,
|
|
0x28, 0x0d, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61,
|
|
0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x1b, 0x0a, 0x19,
|
|
0x53, 0x65, 0x6e, 0x64, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
|
0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xe6, 0x01, 0x0a, 0x04, 0x55, 0x74,
|
|
0x78, 0x6f, 0x12, 0x35, 0x0a, 0x0c, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x74, 0x79,
|
|
0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x12, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63,
|
|
0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x61, 0x64,
|
|
0x64, 0x72, 0x65, 0x73, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64,
|
|
0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72,
|
|
0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x73, 0x61,
|
|
0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x53,
|
|
0x61, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x6b, 0x5f, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x18,
|
|
0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6b, 0x53, 0x63, 0x72, 0x69, 0x70, 0x74, 0x12,
|
|
0x2b, 0x0a, 0x08, 0x6f, 0x75, 0x74, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28,
|
|
0x0b, 0x32, 0x0f, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x75, 0x74, 0x50, 0x6f, 0x69,
|
|
0x6e, 0x74, 0x52, 0x08, 0x6f, 0x75, 0x74, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x24, 0x0a, 0x0d,
|
|
0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20,
|
|
0x01, 0x28, 0x03, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x73, 0x22, 0xe0, 0x01, 0x0a, 0x0c, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x44, 0x65, 0x74,
|
|
0x61, 0x69, 0x6c, 0x12, 0x38, 0x0a, 0x0b, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x74, 0x79,
|
|
0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63,
|
|
0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x53, 0x63, 0x72, 0x69, 0x70, 0x74, 0x54, 0x79, 0x70,
|
|
0x65, 0x52, 0x0a, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a,
|
|
0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
|
|
0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x6b, 0x5f, 0x73, 0x63,
|
|
0x72, 0x69, 0x70, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6b, 0x53, 0x63,
|
|
0x72, 0x69, 0x70, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x69,
|
|
0x6e, 0x64, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6f, 0x75, 0x74, 0x70,
|
|
0x75, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e,
|
|
0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12,
|
|
0x24, 0x0a, 0x0e, 0x69, 0x73, 0x5f, 0x6f, 0x75, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73,
|
|
0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x73, 0x4f, 0x75, 0x72, 0x41, 0x64,
|
|
0x64, 0x72, 0x65, 0x73, 0x73, 0x22, 0xce, 0x03, 0x0a, 0x0b, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61,
|
|
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x78, 0x5f, 0x68, 0x61, 0x73, 0x68,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x78, 0x48, 0x61, 0x73, 0x68, 0x12, 0x16,
|
|
0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06,
|
|
0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2b, 0x0a, 0x11, 0x6e, 0x75, 0x6d, 0x5f, 0x63, 0x6f,
|
|
0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
0x05, 0x52, 0x10, 0x6e, 0x75, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, 0x74, 0x69,
|
|
0x6f, 0x6e, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x61, 0x73,
|
|
0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61,
|
|
0x73, 0x68, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67,
|
|
0x68, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48,
|
|
0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x74,
|
|
0x61, 0x6d, 0x70, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x53,
|
|
0x74, 0x61, 0x6d, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x66, 0x65,
|
|
0x65, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x46,
|
|
0x65, 0x65, 0x73, 0x12, 0x29, 0x0a, 0x0e, 0x64, 0x65, 0x73, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72,
|
|
0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52,
|
|
0x0d, 0x64, 0x65, 0x73, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x3a,
|
|
0x0a, 0x0e, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73,
|
|
0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4f,
|
|
0x75, 0x74, 0x70, 0x75, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x52, 0x0d, 0x6f, 0x75, 0x74,
|
|
0x70, 0x75, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x1c, 0x0a, 0x0a, 0x72, 0x61,
|
|
0x77, 0x5f, 0x74, 0x78, 0x5f, 0x68, 0x65, 0x78, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
|
|
0x72, 0x61, 0x77, 0x54, 0x78, 0x48, 0x65, 0x78, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65,
|
|
0x6c, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x46,
|
|
0x0a, 0x12, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x6f,
|
|
0x69, 0x6e, 0x74, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6c, 0x6e, 0x72,
|
|
0x70, 0x63, 0x2e, 0x50, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x4f, 0x75, 0x74, 0x50, 0x6f,
|
|
0x69, 0x6e, 0x74, 0x52, 0x11, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x4f, 0x75, 0x74,
|
|
0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x22, 0x74, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61,
|
|
0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
0x12, 0x21, 0x0a, 0x0c, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x73, 0x74, 0x61, 0x72, 0x74, 0x48, 0x65, 0x69,
|
|
0x67, 0x68, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x6e, 0x64, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68,
|
|
0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x65, 0x6e, 0x64, 0x48, 0x65, 0x69, 0x67,
|
|
0x68, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x4c, 0x0a, 0x12,
|
|
0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69,
|
|
0x6c, 0x73, 0x12, 0x36, 0x0a, 0x0c, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63,
|
|
0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x74, 0x72,
|
|
0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x68, 0x0a, 0x08, 0x46, 0x65,
|
|
0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x16, 0x0a, 0x05, 0x66, 0x69, 0x78, 0x65, 0x64, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x05, 0x66, 0x69, 0x78, 0x65, 0x64, 0x12, 0x1f,
|
|
0x0a, 0x0a, 0x66, 0x69, 0x78, 0x65, 0x64, 0x5f, 0x6d, 0x73, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01,
|
|
0x28, 0x03, 0x48, 0x00, 0x52, 0x09, 0x66, 0x69, 0x78, 0x65, 0x64, 0x4d, 0x73, 0x61, 0x74, 0x12,
|
|
0x1a, 0x0a, 0x07, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03,
|
|
0x48, 0x00, 0x52, 0x07, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x42, 0x07, 0x0a, 0x05, 0x6c,
|
|
0x69, 0x6d, 0x69, 0x74, 0x22, 0xea, 0x05, 0x0a, 0x0b, 0x53, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71,
|
|
0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x65, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x0c, 0x52, 0x04, 0x64, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x74,
|
|
0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18,
|
|
0x01, 0x52, 0x0a, 0x64, 0x65, 0x73, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x10, 0x0a,
|
|
0x03, 0x61, 0x6d, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x61, 0x6d, 0x74, 0x12,
|
|
0x19, 0x0a, 0x08, 0x61, 0x6d, 0x74, 0x5f, 0x6d, 0x73, 0x61, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28,
|
|
0x03, 0x52, 0x07, 0x61, 0x6d, 0x74, 0x4d, 0x73, 0x61, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x61,
|
|
0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c,
|
|
0x52, 0x0b, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x61, 0x73, 0x68, 0x12, 0x32, 0x0a,
|
|
0x13, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x5f, 0x73, 0x74,
|
|
0x72, 0x69, 0x6e, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x11,
|
|
0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x61, 0x73, 0x68, 0x53, 0x74, 0x72, 0x69, 0x6e,
|
|
0x67, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x71,
|
|
0x75, 0x65, 0x73, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x61, 0x79, 0x6d,
|
|
0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x66, 0x69,
|
|
0x6e, 0x61, 0x6c, 0x5f, 0x63, 0x6c, 0x74, 0x76, 0x5f, 0x64, 0x65, 0x6c, 0x74, 0x61, 0x18, 0x07,
|
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x43, 0x6c, 0x74, 0x76, 0x44,
|
|
0x65, 0x6c, 0x74, 0x61, 0x12, 0x2c, 0x0a, 0x09, 0x66, 0x65, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69,
|
|
0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e,
|
|
0x46, 0x65, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x52, 0x08, 0x66, 0x65, 0x65, 0x4c, 0x69, 0x6d,
|
|
0x69, 0x74, 0x12, 0x2c, 0x0a, 0x10, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x63,
|
|
0x68, 0x61, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x42, 0x02, 0x30, 0x01,
|
|
0x52, 0x0e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x43, 0x68, 0x61, 0x6e, 0x49, 0x64,
|
|
0x12, 0x26, 0x0a, 0x0f, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x68, 0x6f, 0x70, 0x5f, 0x70, 0x75, 0x62,
|
|
0x6b, 0x65, 0x79, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x48,
|
|
0x6f, 0x70, 0x50, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x74, 0x76,
|
|
0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63, 0x6c,
|
|
0x74, 0x76, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x59, 0x0a, 0x13, 0x64, 0x65, 0x73, 0x74, 0x5f,
|
|
0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x18, 0x0b,
|
|
0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x65, 0x6e,
|
|
0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x44, 0x65, 0x73, 0x74, 0x43, 0x75, 0x73,
|
|
0x74, 0x6f, 0x6d, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
|
|
0x11, 0x64, 0x65, 0x73, 0x74, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x65, 0x63, 0x6f, 0x72,
|
|
0x64, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x73, 0x65, 0x6c, 0x66,
|
|
0x5f, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10,
|
|
0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x53, 0x65, 0x6c, 0x66, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74,
|
|
0x12, 0x36, 0x0a, 0x0d, 0x64, 0x65, 0x73, 0x74, 0x5f, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65,
|
|
0x73, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e,
|
|
0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x42, 0x69, 0x74, 0x52, 0x0c, 0x64, 0x65, 0x73, 0x74,
|
|
0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x61, 0x79, 0x6d,
|
|
0x65, 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b,
|
|
0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x1a, 0x44, 0x0a, 0x16, 0x44,
|
|
0x65, 0x73, 0x74, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73,
|
|
0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x04, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
|
|
0x01, 0x22, 0xb4, 0x01, 0x0a, 0x0c, 0x53, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
0x73, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x65, 0x72,
|
|
0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x61, 0x79, 0x6d, 0x65,
|
|
0x6e, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x29, 0x0a, 0x10, 0x70, 0x61, 0x79, 0x6d, 0x65,
|
|
0x6e, 0x74, 0x5f, 0x70, 0x72, 0x65, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
0x0c, 0x52, 0x0f, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x65, 0x69, 0x6d, 0x61,
|
|
0x67, 0x65, 0x12, 0x31, 0x0a, 0x0d, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x6f,
|
|
0x75, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x6c, 0x6e, 0x72, 0x70,
|
|
0x63, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x0c, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74,
|
|
0x52, 0x6f, 0x75, 0x74, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74,
|
|
0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x70, 0x61, 0x79,
|
|
0x6d, 0x65, 0x6e, 0x74, 0x48, 0x61, 0x73, 0x68, 0x22, 0x95, 0x01, 0x0a, 0x12, 0x53, 0x65, 0x6e,
|
|
0x64, 0x54, 0x6f, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
|
0x21, 0x0a, 0x0c, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x61,
|
|
0x73, 0x68, 0x12, 0x32, 0x0a, 0x13, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x68, 0x61,
|
|
0x73, 0x68, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42,
|
|
0x02, 0x18, 0x01, 0x52, 0x11, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x61, 0x73, 0x68,
|
|
0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x22, 0x0a, 0x05, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x18,
|
|
0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x6f,
|
|
0x75, 0x74, 0x65, 0x52, 0x05, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04,
|
|
0x22, 0xec, 0x04, 0x0a, 0x14, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x41, 0x63, 0x63, 0x65,
|
|
0x70, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6e, 0x6f, 0x64,
|
|
0x65, 0x5f, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a,
|
|
0x6e, 0x6f, 0x64, 0x65, 0x50, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x68,
|
|
0x61, 0x69, 0x6e, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09,
|
|
0x63, 0x68, 0x61, 0x69, 0x6e, 0x48, 0x61, 0x73, 0x68, 0x12, 0x26, 0x0a, 0x0f, 0x70, 0x65, 0x6e,
|
|
0x64, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01,
|
|
0x28, 0x0c, 0x52, 0x0d, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x43, 0x68, 0x61, 0x6e, 0x49,
|
|
0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x6d, 0x74,
|
|
0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x66, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x41,
|
|
0x6d, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x75, 0x73, 0x68, 0x5f, 0x61, 0x6d, 0x74, 0x18, 0x05,
|
|
0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x70, 0x75, 0x73, 0x68, 0x41, 0x6d, 0x74, 0x12, 0x1d, 0x0a,
|
|
0x0a, 0x64, 0x75, 0x73, 0x74, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28,
|
|
0x04, 0x52, 0x09, 0x64, 0x75, 0x73, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x2d, 0x0a, 0x13,
|
|
0x6d, 0x61, 0x78, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x69, 0x6e, 0x5f, 0x66, 0x6c, 0x69,
|
|
0x67, 0x68, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x6d, 0x61, 0x78, 0x56, 0x61,
|
|
0x6c, 0x75, 0x65, 0x49, 0x6e, 0x46, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x63,
|
|
0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x18, 0x08,
|
|
0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73,
|
|
0x65, 0x72, 0x76, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6d, 0x69, 0x6e, 0x5f, 0x68, 0x74, 0x6c, 0x63,
|
|
0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x6d, 0x69, 0x6e, 0x48, 0x74, 0x6c, 0x63, 0x12,
|
|
0x1c, 0x0a, 0x0a, 0x66, 0x65, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x6b, 0x77, 0x18, 0x0a, 0x20,
|
|
0x01, 0x28, 0x04, 0x52, 0x08, 0x66, 0x65, 0x65, 0x50, 0x65, 0x72, 0x4b, 0x77, 0x12, 0x1b, 0x0a,
|
|
0x09, 0x63, 0x73, 0x76, 0x5f, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d,
|
|
0x52, 0x08, 0x63, 0x73, 0x76, 0x44, 0x65, 0x6c, 0x61, 0x79, 0x12, 0x2c, 0x0a, 0x12, 0x6d, 0x61,
|
|
0x78, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x5f, 0x68, 0x74, 0x6c, 0x63, 0x73,
|
|
0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x6d, 0x61, 0x78, 0x41, 0x63, 0x63, 0x65, 0x70,
|
|
0x74, 0x65, 0x64, 0x48, 0x74, 0x6c, 0x63, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x68, 0x61, 0x6e,
|
|
0x6e, 0x65, 0x6c, 0x5f, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d, 0x52,
|
|
0x0c, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x3e, 0x0a,
|
|
0x0f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65,
|
|
0x18, 0x0e, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43,
|
|
0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0e, 0x63,
|
|
0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x26, 0x0a,
|
|
0x0f, 0x77, 0x61, 0x6e, 0x74, 0x73, 0x5f, 0x7a, 0x65, 0x72, 0x6f, 0x5f, 0x63, 0x6f, 0x6e, 0x66,
|
|
0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x77, 0x61, 0x6e, 0x74, 0x73, 0x5a, 0x65, 0x72,
|
|
0x6f, 0x43, 0x6f, 0x6e, 0x66, 0x12, 0x28, 0x0a, 0x10, 0x77, 0x61, 0x6e, 0x74, 0x73, 0x5f, 0x73,
|
|
0x63, 0x69, 0x64, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x10, 0x20, 0x01, 0x28, 0x08, 0x52,
|
|
0x0e, 0x77, 0x61, 0x6e, 0x74, 0x73, 0x53, 0x63, 0x69, 0x64, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x22,
|
|
0x90, 0x03, 0x0a, 0x15, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x41, 0x63, 0x63, 0x65, 0x70,
|
|
0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63, 0x63,
|
|
0x65, 0x70, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x61, 0x63, 0x63, 0x65, 0x70,
|
|
0x74, 0x12, 0x26, 0x0a, 0x0f, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x68, 0x61,
|
|
0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x70, 0x65, 0x6e, 0x64,
|
|
0x69, 0x6e, 0x67, 0x43, 0x68, 0x61, 0x6e, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72,
|
|
0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12,
|
|
0x29, 0x0a, 0x10, 0x75, 0x70, 0x66, 0x72, 0x6f, 0x6e, 0x74, 0x5f, 0x73, 0x68, 0x75, 0x74, 0x64,
|
|
0x6f, 0x77, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x75, 0x70, 0x66, 0x72, 0x6f,
|
|
0x6e, 0x74, 0x53, 0x68, 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x63, 0x73,
|
|
0x76, 0x5f, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x63,
|
|
0x73, 0x76, 0x44, 0x65, 0x6c, 0x61, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x65, 0x72,
|
|
0x76, 0x65, 0x5f, 0x73, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x72, 0x65,
|
|
0x73, 0x65, 0x72, 0x76, 0x65, 0x53, 0x61, 0x74, 0x12, 0x2b, 0x0a, 0x12, 0x69, 0x6e, 0x5f, 0x66,
|
|
0x6c, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x6d, 0x73, 0x61, 0x74, 0x18, 0x07,
|
|
0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x69, 0x6e, 0x46, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x4d, 0x61,
|
|
0x78, 0x4d, 0x73, 0x61, 0x74, 0x12, 0x24, 0x0a, 0x0e, 0x6d, 0x61, 0x78, 0x5f, 0x68, 0x74, 0x6c,
|
|
0x63, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6d,
|
|
0x61, 0x78, 0x48, 0x74, 0x6c, 0x63, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1e, 0x0a, 0x0b, 0x6d,
|
|
0x69, 0x6e, 0x5f, 0x68, 0x74, 0x6c, 0x63, 0x5f, 0x69, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04,
|
|
0x52, 0x09, 0x6d, 0x69, 0x6e, 0x48, 0x74, 0x6c, 0x63, 0x49, 0x6e, 0x12, 0x28, 0x0a, 0x10, 0x6d,
|
|
0x69, 0x6e, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x5f, 0x64, 0x65, 0x70, 0x74, 0x68, 0x18,
|
|
0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x6d, 0x69, 0x6e, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74,
|
|
0x44, 0x65, 0x70, 0x74, 0x68, 0x12, 0x1b, 0x0a, 0x09, 0x7a, 0x65, 0x72, 0x6f, 0x5f, 0x63, 0x6f,
|
|
0x6e, 0x66, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x7a, 0x65, 0x72, 0x6f, 0x43, 0x6f,
|
|
0x6e, 0x66, 0x22, 0x9d, 0x01, 0x0a, 0x0c, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x50, 0x6f,
|
|
0x69, 0x6e, 0x74, 0x12, 0x2e, 0x0a, 0x12, 0x66, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x74,
|
|
0x78, 0x69, 0x64, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x48,
|
|
0x00, 0x52, 0x10, 0x66, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x54, 0x78, 0x69, 0x64, 0x42, 0x79,
|
|
0x74, 0x65, 0x73, 0x12, 0x2a, 0x0a, 0x10, 0x66, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x74,
|
|
0x78, 0x69, 0x64, 0x5f, 0x73, 0x74, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52,
|
|
0x0e, 0x66, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x54, 0x78, 0x69, 0x64, 0x53, 0x74, 0x72, 0x12,
|
|
0x21, 0x0a, 0x0c, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18,
|
|
0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x49, 0x6e, 0x64,
|
|
0x65, 0x78, 0x42, 0x0e, 0x0a, 0x0c, 0x66, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x78,
|
|
0x69, 0x64, 0x22, 0x67, 0x0a, 0x08, 0x4f, 0x75, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x1d,
|
|
0x0a, 0x0a, 0x74, 0x78, 0x69, 0x64, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x0c, 0x52, 0x09, 0x74, 0x78, 0x69, 0x64, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x19, 0x0a,
|
|
0x08, 0x74, 0x78, 0x69, 0x64, 0x5f, 0x73, 0x74, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x07, 0x74, 0x78, 0x69, 0x64, 0x53, 0x74, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x75, 0x74, 0x70,
|
|
0x75, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b,
|
|
0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x52, 0x0a, 0x10, 0x50,
|
|
0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x4f, 0x75, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12,
|
|
0x1a, 0x0a, 0x08, 0x6f, 0x75, 0x74, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x08, 0x6f, 0x75, 0x74, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x0d, 0x69,
|
|
0x73, 0x5f, 0x6f, 0x75, 0x72, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01,
|
|
0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, 0x4f, 0x75, 0x72, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x22,
|
|
0x3e, 0x0a, 0x10, 0x4c, 0x69, 0x67, 0x68, 0x74, 0x6e, 0x69, 0x6e, 0x67, 0x41, 0x64, 0x64, 0x72,
|
|
0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x68,
|
|
0x6f, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x22,
|
|
0xe7, 0x02, 0x0a, 0x12, 0x45, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x46, 0x65, 0x65, 0x52,
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4f, 0x0a, 0x0c, 0x41, 0x64, 0x64, 0x72, 0x54, 0x6f,
|
|
0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x6c,
|
|
0x6e, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x46, 0x65, 0x65,
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x54, 0x6f, 0x41, 0x6d,
|
|
0x6f, 0x75, 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x41, 0x64, 0x64, 0x72, 0x54,
|
|
0x6f, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65,
|
|
0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x74, 0x61,
|
|
0x72, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x69, 0x6e, 0x5f,
|
|
0x63, 0x6f, 0x6e, 0x66, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6d, 0x69, 0x6e,
|
|
0x43, 0x6f, 0x6e, 0x66, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x5f, 0x75,
|
|
0x6e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08,
|
|
0x52, 0x10, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x55, 0x6e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d,
|
|
0x65, 0x64, 0x12, 0x54, 0x0a, 0x17, 0x63, 0x6f, 0x69, 0x6e, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x05, 0x20,
|
|
0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x69, 0x6e,
|
|
0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67,
|
|
0x79, 0x52, 0x15, 0x63, 0x6f, 0x69, 0x6e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
|
|
0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x1a, 0x3f, 0x0a, 0x11, 0x41, 0x64, 0x64, 0x72,
|
|
0x54, 0x6f, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
|
|
0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
|
|
0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05,
|
|
0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x87, 0x01, 0x0a, 0x13, 0x45, 0x73,
|
|
0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x46, 0x65, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
|
0x65, 0x12, 0x17, 0x0a, 0x07, 0x66, 0x65, 0x65, 0x5f, 0x73, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x03, 0x52, 0x06, 0x66, 0x65, 0x65, 0x53, 0x61, 0x74, 0x12, 0x33, 0x0a, 0x14, 0x66, 0x65,
|
|
0x65, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x73, 0x61, 0x74, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x62, 0x79,
|
|
0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x42, 0x02, 0x18, 0x01, 0x52, 0x11, 0x66, 0x65,
|
|
0x65, 0x72, 0x61, 0x74, 0x65, 0x53, 0x61, 0x74, 0x50, 0x65, 0x72, 0x42, 0x79, 0x74, 0x65, 0x12,
|
|
0x22, 0x0a, 0x0d, 0x73, 0x61, 0x74, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x76, 0x62, 0x79, 0x74, 0x65,
|
|
0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x73, 0x61, 0x74, 0x50, 0x65, 0x72, 0x56, 0x62,
|
|
0x79, 0x74, 0x65, 0x22, 0xc1, 0x03, 0x0a, 0x0f, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x61, 0x6e, 0x79,
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4c, 0x0a, 0x0c, 0x41, 0x64, 0x64, 0x72, 0x54,
|
|
0x6f, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e,
|
|
0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x61, 0x6e, 0x79, 0x52, 0x65,
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x54, 0x6f, 0x41, 0x6d, 0x6f, 0x75,
|
|
0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x41, 0x64, 0x64, 0x72, 0x54, 0x6f, 0x41,
|
|
0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f,
|
|
0x63, 0x6f, 0x6e, 0x66, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x74, 0x61, 0x72, 0x67,
|
|
0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x12, 0x22, 0x0a, 0x0d, 0x73, 0x61, 0x74, 0x5f, 0x70, 0x65,
|
|
0x72, 0x5f, 0x76, 0x62, 0x79, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x73,
|
|
0x61, 0x74, 0x50, 0x65, 0x72, 0x56, 0x62, 0x79, 0x74, 0x65, 0x12, 0x24, 0x0a, 0x0c, 0x73, 0x61,
|
|
0x74, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03,
|
|
0x42, 0x02, 0x18, 0x01, 0x52, 0x0a, 0x73, 0x61, 0x74, 0x50, 0x65, 0x72, 0x42, 0x79, 0x74, 0x65,
|
|
0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x69, 0x6e, 0x5f, 0x63, 0x6f,
|
|
0x6e, 0x66, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6d, 0x69, 0x6e, 0x43, 0x6f,
|
|
0x6e, 0x66, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x5f, 0x75, 0x6e, 0x63,
|
|
0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x65, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10,
|
|
0x73, 0x70, 0x65, 0x6e, 0x64, 0x55, 0x6e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x65, 0x64,
|
|
0x12, 0x54, 0x0a, 0x17, 0x63, 0x6f, 0x69, 0x6e, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69,
|
|
0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28,
|
|
0x0e, 0x32, 0x1c, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x53, 0x65,
|
|
0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52,
|
|
0x15, 0x63, 0x6f, 0x69, 0x6e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74,
|
|
0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x1a, 0x3f, 0x0a, 0x11, 0x41, 0x64, 0x64, 0x72, 0x54, 0x6f,
|
|
0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
|
|
0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a,
|
|
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61,
|
|
0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x26, 0x0a, 0x10, 0x53, 0x65, 0x6e, 0x64, 0x4d,
|
|
0x61, 0x6e, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74,
|
|
0x78, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x78, 0x69, 0x64, 0x22,
|
|
0xa9, 0x03, 0x0a, 0x10, 0x53, 0x65, 0x6e, 0x64, 0x43, 0x6f, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x71,
|
|
0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x64, 0x64, 0x72, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x04, 0x61, 0x64, 0x64, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75,
|
|
0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74,
|
|
0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x18,
|
|
0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x6f, 0x6e,
|
|
0x66, 0x12, 0x22, 0x0a, 0x0d, 0x73, 0x61, 0x74, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x76, 0x62, 0x79,
|
|
0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x73, 0x61, 0x74, 0x50, 0x65, 0x72,
|
|
0x56, 0x62, 0x79, 0x74, 0x65, 0x12, 0x24, 0x0a, 0x0c, 0x73, 0x61, 0x74, 0x5f, 0x70, 0x65, 0x72,
|
|
0x5f, 0x62, 0x79, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x42, 0x02, 0x18, 0x01, 0x52,
|
|
0x0a, 0x73, 0x61, 0x74, 0x50, 0x65, 0x72, 0x42, 0x79, 0x74, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x73,
|
|
0x65, 0x6e, 0x64, 0x5f, 0x61, 0x6c, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73,
|
|
0x65, 0x6e, 0x64, 0x41, 0x6c, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18,
|
|
0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x1b, 0x0a, 0x09,
|
|
0x6d, 0x69, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52,
|
|
0x08, 0x6d, 0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x73, 0x70, 0x65,
|
|
0x6e, 0x64, 0x5f, 0x75, 0x6e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x65, 0x64, 0x18, 0x09,
|
|
0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x55, 0x6e, 0x63, 0x6f, 0x6e,
|
|
0x66, 0x69, 0x72, 0x6d, 0x65, 0x64, 0x12, 0x54, 0x0a, 0x17, 0x63, 0x6f, 0x69, 0x6e, 0x5f, 0x73,
|
|
0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67,
|
|
0x79, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e,
|
|
0x43, 0x6f, 0x69, 0x6e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72,
|
|
0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x15, 0x63, 0x6f, 0x69, 0x6e, 0x53, 0x65, 0x6c, 0x65, 0x63,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x2d, 0x0a, 0x09,
|
|
0x6f, 0x75, 0x74, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
|
0x0f, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x75, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74,
|
|
0x52, 0x09, 0x6f, 0x75, 0x74, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x22, 0x27, 0x0a, 0x11, 0x53,
|
|
0x65, 0x6e, 0x64, 0x43, 0x6f, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
0x12, 0x12, 0x0a, 0x04, 0x74, 0x78, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
|
|
0x74, 0x78, 0x69, 0x64, 0x22, 0x68, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x6e, 0x73, 0x70,
|
|
0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x69,
|
|
0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6d,
|
|
0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x63,
|
|
0x6f, 0x6e, 0x66, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x43,
|
|
0x6f, 0x6e, 0x66, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18,
|
|
0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x38,
|
|
0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x6e, 0x73, 0x70, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73,
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x05, 0x75, 0x74, 0x78, 0x6f, 0x73, 0x18, 0x01,
|
|
0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x74, 0x78,
|
|
0x6f, 0x52, 0x05, 0x75, 0x74, 0x78, 0x6f, 0x73, 0x22, 0x55, 0x0a, 0x11, 0x4e, 0x65, 0x77, 0x41,
|
|
0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a,
|
|
0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x12, 0x2e, 0x6c, 0x6e,
|
|
0x72, 0x70, 0x63, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x54, 0x79, 0x70, 0x65, 0x52,
|
|
0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22,
|
|
0x2e, 0x0a, 0x12, 0x4e, 0x65, 0x77, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73,
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x22,
|
|
0x47, 0x0a, 0x12, 0x53, 0x69, 0x67, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65,
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x0c, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x69, 0x6e, 0x67, 0x6c,
|
|
0x65, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x73, 0x69,
|
|
0x6e, 0x67, 0x6c, 0x65, 0x48, 0x61, 0x73, 0x68, 0x22, 0x33, 0x0a, 0x13, 0x53, 0x69, 0x67, 0x6e,
|
|
0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
|
0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0x46, 0x0a,
|
|
0x14, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65,
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x0c, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x61,
|
|
0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e,
|
|
0x61, 0x74, 0x75, 0x72, 0x65, 0x22, 0x45, 0x0a, 0x15, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x4d,
|
|
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14,
|
|
0x0a, 0x05, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x76,
|
|
0x61, 0x6c, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x18, 0x02,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x22, 0x6f, 0x0a, 0x12,
|
|
0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x50, 0x65, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
0x73, 0x74, 0x12, 0x2b, 0x0a, 0x04, 0x61, 0x64, 0x64, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x17, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x67, 0x68, 0x74, 0x6e, 0x69,
|
|
0x6e, 0x67, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x04, 0x61, 0x64, 0x64, 0x72, 0x12,
|
|
0x12, 0x0a, 0x04, 0x70, 0x65, 0x72, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x70,
|
|
0x65, 0x72, 0x6d, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x03,
|
|
0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x22, 0x15, 0x0a,
|
|
0x13, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x50, 0x65, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70,
|
|
0x6f, 0x6e, 0x73, 0x65, 0x22, 0x30, 0x0a, 0x15, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65,
|
|
0x63, 0x74, 0x50, 0x65, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a,
|
|
0x07, 0x70, 0x75, 0x62, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
|
|
0x70, 0x75, 0x62, 0x4b, 0x65, 0x79, 0x22, 0x18, 0x0a, 0x16, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e,
|
|
0x6e, 0x65, 0x63, 0x74, 0x50, 0x65, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
0x22, 0x86, 0x02, 0x0a, 0x04, 0x48, 0x54, 0x4c, 0x43, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x63,
|
|
0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x6e, 0x63,
|
|
0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18,
|
|
0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1b, 0x0a,
|
|
0x09, 0x68, 0x61, 0x73, 0x68, 0x5f, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c,
|
|
0x52, 0x08, 0x68, 0x61, 0x73, 0x68, 0x4c, 0x6f, 0x63, 0x6b, 0x12, 0x2b, 0x0a, 0x11, 0x65, 0x78,
|
|
0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18,
|
|
0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x68, 0x74, 0x6c, 0x63, 0x5f,
|
|
0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x68, 0x74, 0x6c,
|
|
0x63, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x2d, 0x0a, 0x12, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72,
|
|
0x64, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x18, 0x06, 0x20, 0x01,
|
|
0x28, 0x04, 0x52, 0x11, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x43, 0x68,
|
|
0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x32, 0x0a, 0x15, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64,
|
|
0x69, 0x6e, 0x67, 0x5f, 0x68, 0x74, 0x6c, 0x63, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x07,
|
|
0x20, 0x01, 0x28, 0x04, 0x52, 0x13, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67,
|
|
0x48, 0x74, 0x6c, 0x63, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x84, 0x02, 0x0a, 0x12, 0x43, 0x68,
|
|
0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x73,
|
|
0x12, 0x1b, 0x0a, 0x09, 0x63, 0x73, 0x76, 0x5f, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x0d, 0x52, 0x08, 0x63, 0x73, 0x76, 0x44, 0x65, 0x6c, 0x61, 0x79, 0x12, 0x28, 0x0a,
|
|
0x10, 0x63, 0x68, 0x61, 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x5f, 0x73, 0x61,
|
|
0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x63, 0x68, 0x61, 0x6e, 0x52, 0x65, 0x73,
|
|
0x65, 0x72, 0x76, 0x65, 0x53, 0x61, 0x74, 0x12, 0x24, 0x0a, 0x0e, 0x64, 0x75, 0x73, 0x74, 0x5f,
|
|
0x6c, 0x69, 0x6d, 0x69, 0x74, 0x5f, 0x73, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52,
|
|
0x0c, 0x64, 0x75, 0x73, 0x74, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x53, 0x61, 0x74, 0x12, 0x2f, 0x0a,
|
|
0x14, 0x6d, 0x61, 0x78, 0x5f, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x6d, 0x74,
|
|
0x5f, 0x6d, 0x73, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x11, 0x6d, 0x61, 0x78,
|
|
0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x41, 0x6d, 0x74, 0x4d, 0x73, 0x61, 0x74, 0x12, 0x22,
|
|
0x0a, 0x0d, 0x6d, 0x69, 0x6e, 0x5f, 0x68, 0x74, 0x6c, 0x63, 0x5f, 0x6d, 0x73, 0x61, 0x74, 0x18,
|
|
0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x6d, 0x69, 0x6e, 0x48, 0x74, 0x6c, 0x63, 0x4d, 0x73,
|
|
0x61, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x6d, 0x61, 0x78, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74,
|
|
0x65, 0x64, 0x5f, 0x68, 0x74, 0x6c, 0x63, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10,
|
|
0x6d, 0x61, 0x78, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x65, 0x64, 0x48, 0x74, 0x6c, 0x63, 0x73,
|
|
0x22, 0xad, 0x0b, 0x0a, 0x07, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x16, 0x0a, 0x06,
|
|
0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x61, 0x63,
|
|
0x74, 0x69, 0x76, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x70,
|
|
0x75, 0x62, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x6d,
|
|
0x6f, 0x74, 0x65, 0x50, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x68, 0x61,
|
|
0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x0c, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x1b,
|
|
0x0a, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x42,
|
|
0x02, 0x30, 0x01, 0x52, 0x06, 0x63, 0x68, 0x61, 0x6e, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x63,
|
|
0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x63,
|
|
0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x6c, 0x6f, 0x63, 0x61, 0x6c,
|
|
0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c,
|
|
0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x25, 0x0a, 0x0e,
|
|
0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x07,
|
|
0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x42, 0x61, 0x6c, 0x61,
|
|
0x6e, 0x63, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x66, 0x65,
|
|
0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x46,
|
|
0x65, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x77, 0x65, 0x69,
|
|
0x67, 0x68, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x69,
|
|
0x74, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x1c, 0x0a, 0x0a, 0x66, 0x65, 0x65, 0x5f, 0x70,
|
|
0x65, 0x72, 0x5f, 0x6b, 0x77, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, 0x65, 0x65,
|
|
0x50, 0x65, 0x72, 0x4b, 0x77, 0x12, 0x2b, 0x0a, 0x11, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x74, 0x6c,
|
|
0x65, 0x64, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03,
|
|
0x52, 0x10, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e,
|
|
0x63, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x61, 0x74, 0x6f,
|
|
0x73, 0x68, 0x69, 0x73, 0x5f, 0x73, 0x65, 0x6e, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, 0x52,
|
|
0x11, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x61, 0x74, 0x6f, 0x73, 0x68, 0x69, 0x73, 0x53, 0x65,
|
|
0x6e, 0x74, 0x12, 0x36, 0x0a, 0x17, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x61, 0x74, 0x6f,
|
|
0x73, 0x68, 0x69, 0x73, 0x5f, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x18, 0x0d, 0x20,
|
|
0x01, 0x28, 0x03, 0x52, 0x15, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x61, 0x74, 0x6f, 0x73, 0x68,
|
|
0x69, 0x73, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x6e, 0x75,
|
|
0x6d, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x04, 0x52,
|
|
0x0a, 0x6e, 0x75, 0x6d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x12, 0x30, 0x0a, 0x0d, 0x70,
|
|
0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x68, 0x74, 0x6c, 0x63, 0x73, 0x18, 0x0f, 0x20, 0x03,
|
|
0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x48, 0x54, 0x4c, 0x43, 0x52,
|
|
0x0c, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x48, 0x74, 0x6c, 0x63, 0x73, 0x12, 0x1f, 0x0a,
|
|
0x09, 0x63, 0x73, 0x76, 0x5f, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0d,
|
|
0x42, 0x02, 0x18, 0x01, 0x52, 0x08, 0x63, 0x73, 0x76, 0x44, 0x65, 0x6c, 0x61, 0x79, 0x12, 0x18,
|
|
0x0a, 0x07, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x08, 0x52,
|
|
0x07, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x69, 0x6e, 0x69, 0x74,
|
|
0x69, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x12, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x6e, 0x69,
|
|
0x74, 0x69, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x68, 0x61, 0x6e, 0x5f, 0x73,
|
|
0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x13, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x0f, 0x63, 0x68, 0x61, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x46, 0x6c, 0x61,
|
|
0x67, 0x73, 0x12, 0x37, 0x0a, 0x16, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x63, 0x68, 0x61, 0x6e,
|
|
0x5f, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x5f, 0x73, 0x61, 0x74, 0x18, 0x14, 0x20, 0x01,
|
|
0x28, 0x03, 0x42, 0x02, 0x18, 0x01, 0x52, 0x13, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x43, 0x68, 0x61,
|
|
0x6e, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x53, 0x61, 0x74, 0x12, 0x39, 0x0a, 0x17, 0x72,
|
|
0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x65, 0x72,
|
|
0x76, 0x65, 0x5f, 0x73, 0x61, 0x74, 0x18, 0x15, 0x20, 0x01, 0x28, 0x03, 0x42, 0x02, 0x18, 0x01,
|
|
0x52, 0x14, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x52, 0x65, 0x73, 0x65,
|
|
0x72, 0x76, 0x65, 0x53, 0x61, 0x74, 0x12, 0x2e, 0x0a, 0x11, 0x73, 0x74, 0x61, 0x74, 0x69, 0x63,
|
|
0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x16, 0x20, 0x01, 0x28,
|
|
0x08, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0f, 0x73, 0x74, 0x61, 0x74, 0x69, 0x63, 0x52, 0x65, 0x6d,
|
|
0x6f, 0x74, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x3e, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74,
|
|
0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x0e, 0x32,
|
|
0x15, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65,
|
|
0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0e, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65,
|
|
0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x69, 0x66, 0x65, 0x74, 0x69,
|
|
0x6d, 0x65, 0x18, 0x17, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6c, 0x69, 0x66, 0x65, 0x74, 0x69,
|
|
0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x18, 0x20, 0x01,
|
|
0x28, 0x03, 0x52, 0x06, 0x75, 0x70, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6c,
|
|
0x6f, 0x73, 0x65, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x19, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x0c, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12,
|
|
0x26, 0x0a, 0x0f, 0x70, 0x75, 0x73, 0x68, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x73,
|
|
0x61, 0x74, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x70, 0x75, 0x73, 0x68, 0x41, 0x6d,
|
|
0x6f, 0x75, 0x6e, 0x74, 0x53, 0x61, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x68, 0x61, 0x77, 0x5f,
|
|
0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x74, 0x68,
|
|
0x61, 0x77, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x46, 0x0a, 0x11, 0x6c, 0x6f, 0x63, 0x61,
|
|
0x6c, 0x5f, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x1d, 0x20,
|
|
0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e,
|
|
0x6e, 0x65, 0x6c, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x73, 0x52, 0x10,
|
|
0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x73,
|
|
0x12, 0x48, 0x0a, 0x12, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x73, 0x74,
|
|
0x72, 0x61, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6c,
|
|
0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x43, 0x6f, 0x6e, 0x73,
|
|
0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x73, 0x52, 0x11, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43,
|
|
0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x6c,
|
|
0x69, 0x61, 0x73, 0x5f, 0x73, 0x63, 0x69, 0x64, 0x73, 0x18, 0x1f, 0x20, 0x03, 0x28, 0x04, 0x52,
|
|
0x0a, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x53, 0x63, 0x69, 0x64, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x7a,
|
|
0x65, 0x72, 0x6f, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x18, 0x20, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08,
|
|
0x7a, 0x65, 0x72, 0x6f, 0x43, 0x6f, 0x6e, 0x66, 0x12, 0x37, 0x0a, 0x18, 0x7a, 0x65, 0x72, 0x6f,
|
|
0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x65, 0x64, 0x5f,
|
|
0x73, 0x63, 0x69, 0x64, 0x18, 0x21, 0x20, 0x01, 0x28, 0x04, 0x52, 0x15, 0x7a, 0x65, 0x72, 0x6f,
|
|
0x43, 0x6f, 0x6e, 0x66, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x65, 0x64, 0x53, 0x63, 0x69,
|
|
0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x65, 0x65, 0x72, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18,
|
|
0x22, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x65, 0x65, 0x72, 0x41, 0x6c, 0x69, 0x61, 0x73,
|
|
0x12, 0x2a, 0x0a, 0x0f, 0x70, 0x65, 0x65, 0x72, 0x5f, 0x73, 0x63, 0x69, 0x64, 0x5f, 0x61, 0x6c,
|
|
0x69, 0x61, 0x73, 0x18, 0x23, 0x20, 0x01, 0x28, 0x04, 0x42, 0x02, 0x30, 0x01, 0x52, 0x0d, 0x70,
|
|
0x65, 0x65, 0x72, 0x53, 0x63, 0x69, 0x64, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x12, 0x0a, 0x04,
|
|
0x6d, 0x65, 0x6d, 0x6f, 0x18, 0x24, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6d, 0x65, 0x6d, 0x6f,
|
|
0x22, 0xdf, 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c,
|
|
0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x63, 0x74, 0x69,
|
|
0x76, 0x65, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x61,
|
|
0x63, 0x74, 0x69, 0x76, 0x65, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x69, 0x6e, 0x61,
|
|
0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08,
|
|
0x52, 0x0c, 0x69, 0x6e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x1f,
|
|
0x0a, 0x0b, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x03, 0x20,
|
|
0x01, 0x28, 0x08, 0x52, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4f, 0x6e, 0x6c, 0x79, 0x12,
|
|
0x21, 0x0a, 0x0c, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18,
|
|
0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x4f, 0x6e,
|
|
0x6c, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x65, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c,
|
|
0x52, 0x04, 0x70, 0x65, 0x65, 0x72, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x65, 0x65, 0x72, 0x5f, 0x61,
|
|
0x6c, 0x69, 0x61, 0x73, 0x5f, 0x6c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x18, 0x06, 0x20, 0x01, 0x28,
|
|
0x08, 0x52, 0x0f, 0x70, 0x65, 0x65, 0x72, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x4c, 0x6f, 0x6f, 0x6b,
|
|
0x75, 0x70, 0x22, 0x42, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65,
|
|
0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x08, 0x63, 0x68,
|
|
0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6c,
|
|
0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x08, 0x63, 0x68,
|
|
0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x22, 0x41, 0x0a, 0x08, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x4d,
|
|
0x61, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x63, 0x69, 0x64, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x62, 0x61, 0x73, 0x65, 0x53, 0x63, 0x69, 0x64, 0x12,
|
|
0x18, 0x0a, 0x07, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x04,
|
|
0x52, 0x07, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x22, 0x14, 0x0a, 0x12, 0x4c, 0x69, 0x73,
|
|
0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22,
|
|
0x45, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65,
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2e, 0x0a, 0x0a, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x5f,
|
|
0x6d, 0x61, 0x70, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x6c, 0x6e, 0x72,
|
|
0x70, 0x63, 0x2e, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x4d, 0x61, 0x70, 0x52, 0x09, 0x61, 0x6c, 0x69,
|
|
0x61, 0x73, 0x4d, 0x61, 0x70, 0x73, 0x22, 0xb6, 0x06, 0x0a, 0x13, 0x43, 0x68, 0x61, 0x6e, 0x6e,
|
|
0x65, 0x6c, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 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, 0x1b, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02,
|
|
0x20, 0x01, 0x28, 0x04, 0x42, 0x02, 0x30, 0x01, 0x52, 0x06, 0x63, 0x68, 0x61, 0x6e, 0x49, 0x64,
|
|
0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x03,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x48, 0x61, 0x73, 0x68, 0x12,
|
|
0x26, 0x0a, 0x0f, 0x63, 0x6c, 0x6f, 0x73, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x78, 0x5f, 0x68, 0x61,
|
|
0x73, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6c, 0x6f, 0x73, 0x69, 0x6e,
|
|
0x67, 0x54, 0x78, 0x48, 0x61, 0x73, 0x68, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x6d, 0x6f, 0x74,
|
|
0x65, 0x5f, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c,
|
|
0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x12, 0x1a, 0x0a, 0x08,
|
|
0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08,
|
|
0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6c, 0x6f, 0x73,
|
|
0x65, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b,
|
|
0x63, 0x6c, 0x6f, 0x73, 0x65, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x73,
|
|
0x65, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x08,
|
|
0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x42, 0x61, 0x6c,
|
|
0x61, 0x6e, 0x63, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6c, 0x6f, 0x63,
|
|
0x6b, 0x65, 0x64, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28,
|
|
0x03, 0x52, 0x11, 0x74, 0x69, 0x6d, 0x65, 0x4c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x42, 0x61, 0x6c,
|
|
0x61, 0x6e, 0x63, 0x65, 0x12, 0x45, 0x0a, 0x0a, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x5f, 0x74, 0x79,
|
|
0x70, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63,
|
|
0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x53, 0x75, 0x6d,
|
|
0x6d, 0x61, 0x72, 0x79, 0x2e, 0x43, 0x6c, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65,
|
|
0x52, 0x09, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x37, 0x0a, 0x0e, 0x6f,
|
|
0x70, 0x65, 0x6e, 0x5f, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x0b, 0x20,
|
|
0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x49, 0x6e, 0x69, 0x74,
|
|
0x69, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x0d, 0x6f, 0x70, 0x65, 0x6e, 0x49, 0x6e, 0x69, 0x74, 0x69,
|
|
0x61, 0x74, 0x6f, 0x72, 0x12, 0x39, 0x0a, 0x0f, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x5f, 0x69, 0x6e,
|
|
0x69, 0x74, 0x69, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e,
|
|
0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x74, 0x6f, 0x72, 0x52,
|
|
0x0e, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x74, 0x6f, 0x72, 0x12,
|
|
0x33, 0x0a, 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0d,
|
|
0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x73,
|
|
0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74,
|
|
0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x5f, 0x73, 0x63,
|
|
0x69, 0x64, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x04, 0x52, 0x0a, 0x61, 0x6c, 0x69, 0x61, 0x73,
|
|
0x53, 0x63, 0x69, 0x64, 0x73, 0x12, 0x3b, 0x0a, 0x18, 0x7a, 0x65, 0x72, 0x6f, 0x5f, 0x63, 0x6f,
|
|
0x6e, 0x66, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x65, 0x64, 0x5f, 0x73, 0x63, 0x69,
|
|
0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x04, 0x42, 0x02, 0x30, 0x01, 0x52, 0x15, 0x7a, 0x65, 0x72,
|
|
0x6f, 0x43, 0x6f, 0x6e, 0x66, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x65, 0x64, 0x53, 0x63,
|
|
0x69, 0x64, 0x22, 0x8a, 0x01, 0x0a, 0x0b, 0x43, 0x6c, 0x6f, 0x73, 0x75, 0x72, 0x65, 0x54, 0x79,
|
|
0x70, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x43, 0x4f, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x49, 0x56,
|
|
0x45, 0x5f, 0x43, 0x4c, 0x4f, 0x53, 0x45, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x4c, 0x4f, 0x43,
|
|
0x41, 0x4c, 0x5f, 0x46, 0x4f, 0x52, 0x43, 0x45, 0x5f, 0x43, 0x4c, 0x4f, 0x53, 0x45, 0x10, 0x01,
|
|
0x12, 0x16, 0x0a, 0x12, 0x52, 0x45, 0x4d, 0x4f, 0x54, 0x45, 0x5f, 0x46, 0x4f, 0x52, 0x43, 0x45,
|
|
0x5f, 0x43, 0x4c, 0x4f, 0x53, 0x45, 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x42, 0x52, 0x45, 0x41,
|
|
0x43, 0x48, 0x5f, 0x43, 0x4c, 0x4f, 0x53, 0x45, 0x10, 0x03, 0x12, 0x14, 0x0a, 0x10, 0x46, 0x55,
|
|
0x4e, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x45, 0x44, 0x10, 0x04,
|
|
0x12, 0x0d, 0x0a, 0x09, 0x41, 0x42, 0x41, 0x4e, 0x44, 0x4f, 0x4e, 0x45, 0x44, 0x10, 0x05, 0x22,
|
|
0xeb, 0x01, 0x0a, 0x0a, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3e,
|
|
0x0a, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70,
|
|
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e,
|
|
0x52, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0e,
|
|
0x72, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x32,
|
|
0x0a, 0x07, 0x6f, 0x75, 0x74, 0x63, 0x6f, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32,
|
|
0x18, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69,
|
|
0x6f, 0x6e, 0x4f, 0x75, 0x74, 0x63, 0x6f, 0x6d, 0x65, 0x52, 0x07, 0x6f, 0x75, 0x74, 0x63, 0x6f,
|
|
0x6d, 0x65, 0x12, 0x2b, 0x0a, 0x08, 0x6f, 0x75, 0x74, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x03,
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x75, 0x74,
|
|
0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x08, 0x6f, 0x75, 0x74, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12,
|
|
0x1d, 0x0a, 0x0a, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x73, 0x61, 0x74, 0x18, 0x04, 0x20,
|
|
0x01, 0x28, 0x04, 0x52, 0x09, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x61, 0x74, 0x12, 0x1d,
|
|
0x0a, 0x0a, 0x73, 0x77, 0x65, 0x65, 0x70, 0x5f, 0x74, 0x78, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x09, 0x73, 0x77, 0x65, 0x65, 0x70, 0x54, 0x78, 0x69, 0x64, 0x22, 0xde, 0x01,
|
|
0x0a, 0x15, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73,
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x6f, 0x70, 0x65,
|
|
0x72, 0x61, 0x74, 0x69, 0x76, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x63, 0x6f,
|
|
0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x76, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x63,
|
|
0x61, 0x6c, 0x5f, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a,
|
|
0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65,
|
|
0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08,
|
|
0x52, 0x0b, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x12, 0x16, 0x0a,
|
|
0x06, 0x62, 0x72, 0x65, 0x61, 0x63, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x62,
|
|
0x72, 0x65, 0x61, 0x63, 0x68, 0x12, 0x29, 0x0a, 0x10, 0x66, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67,
|
|
0x5f, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52,
|
|
0x0f, 0x66, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x65, 0x64,
|
|
0x12, 0x1c, 0x0a, 0x09, 0x61, 0x62, 0x61, 0x6e, 0x64, 0x6f, 0x6e, 0x65, 0x64, 0x18, 0x06, 0x20,
|
|
0x01, 0x28, 0x08, 0x52, 0x09, 0x61, 0x62, 0x61, 0x6e, 0x64, 0x6f, 0x6e, 0x65, 0x64, 0x22, 0x50,
|
|
0x0a, 0x16, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73,
|
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x08, 0x63, 0x68, 0x61, 0x6e,
|
|
0x6e, 0x65, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6c, 0x6e, 0x72,
|
|
0x70, 0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x53,
|
|
0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x08, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73,
|
|
0x22, 0x8b, 0x05, 0x0a, 0x04, 0x50, 0x65, 0x65, 0x72, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x75, 0x62,
|
|
0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x75, 0x62, 0x4b,
|
|
0x65, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x0a,
|
|
0x62, 0x79, 0x74, 0x65, 0x73, 0x5f, 0x73, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04,
|
|
0x52, 0x09, 0x62, 0x79, 0x74, 0x65, 0x73, 0x53, 0x65, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x62,
|
|
0x79, 0x74, 0x65, 0x73, 0x5f, 0x72, 0x65, 0x63, 0x76, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52,
|
|
0x09, 0x62, 0x79, 0x74, 0x65, 0x73, 0x52, 0x65, 0x63, 0x76, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x61,
|
|
0x74, 0x5f, 0x73, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x73, 0x61,
|
|
0x74, 0x53, 0x65, 0x6e, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x61, 0x74, 0x5f, 0x72, 0x65, 0x63,
|
|
0x76, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x73, 0x61, 0x74, 0x52, 0x65, 0x63, 0x76,
|
|
0x12, 0x18, 0x0a, 0x07, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28,
|
|
0x08, 0x52, 0x07, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x69,
|
|
0x6e, 0x67, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x70,
|
|
0x69, 0x6e, 0x67, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x31, 0x0a, 0x09, 0x73, 0x79, 0x6e, 0x63, 0x5f,
|
|
0x74, 0x79, 0x70, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x6c, 0x6e, 0x72,
|
|
0x70, 0x63, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x54, 0x79, 0x70, 0x65,
|
|
0x52, 0x08, 0x73, 0x79, 0x6e, 0x63, 0x54, 0x79, 0x70, 0x65, 0x12, 0x35, 0x0a, 0x08, 0x66, 0x65,
|
|
0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6c,
|
|
0x6e, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72,
|
|
0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65,
|
|
0x73, 0x12, 0x2f, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28,
|
|
0x0b, 0x32, 0x17, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74,
|
|
0x61, 0x6d, 0x70, 0x65, 0x64, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x06, 0x65, 0x72, 0x72, 0x6f,
|
|
0x72, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x6c, 0x61, 0x70, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74,
|
|
0x18, 0x0d, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x66, 0x6c, 0x61, 0x70, 0x43, 0x6f, 0x75, 0x6e,
|
|
0x74, 0x12, 0x20, 0x0a, 0x0c, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x66, 0x6c, 0x61, 0x70, 0x5f, 0x6e,
|
|
0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x6c, 0x61, 0x73, 0x74, 0x46, 0x6c, 0x61,
|
|
0x70, 0x4e, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x70, 0x69, 0x6e, 0x67,
|
|
0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f,
|
|
0x6c, 0x61, 0x73, 0x74, 0x50, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x1a,
|
|
0x4b, 0x0a, 0x0d, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
|
|
0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b,
|
|
0x65, 0x79, 0x12, 0x24, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
0x0b, 0x32, 0x0e, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72,
|
|
0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x50, 0x0a, 0x08,
|
|
0x53, 0x79, 0x6e, 0x63, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x55, 0x4e, 0x4b, 0x4e,
|
|
0x4f, 0x57, 0x4e, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x41, 0x43,
|
|
0x54, 0x49, 0x56, 0x45, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x50,
|
|
0x41, 0x53, 0x53, 0x49, 0x56, 0x45, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x10, 0x02, 0x12, 0x0f, 0x0a,
|
|
0x0b, 0x50, 0x49, 0x4e, 0x4e, 0x45, 0x44, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x10, 0x03, 0x22, 0x46,
|
|
0x0a, 0x10, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x65, 0x64, 0x45, 0x72, 0x72,
|
|
0x6f, 0x72, 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, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x35, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x65,
|
|
0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x6c, 0x61,
|
|
0x74, 0x65, 0x73, 0x74, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08,
|
|
0x52, 0x0b, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x36, 0x0a,
|
|
0x11, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x65, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
0x73, 0x65, 0x12, 0x21, 0x0a, 0x05, 0x70, 0x65, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
|
|
0x0b, 0x32, 0x0b, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x52, 0x05,
|
|
0x70, 0x65, 0x65, 0x72, 0x73, 0x22, 0x17, 0x0a, 0x15, 0x50, 0x65, 0x65, 0x72, 0x45, 0x76, 0x65,
|
|
0x6e, 0x74, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x84,
|
|
0x01, 0x0a, 0x09, 0x50, 0x65, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x17, 0x0a, 0x07,
|
|
0x70, 0x75, 0x62, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70,
|
|
0x75, 0x62, 0x4b, 0x65, 0x79, 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x65, 0x65, 0x72,
|
|
0x45, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52,
|
|
0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x2e, 0x0a, 0x09, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79,
|
|
0x70, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x50, 0x45, 0x45, 0x52, 0x5f, 0x4f, 0x4e, 0x4c, 0x49, 0x4e,
|
|
0x45, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x50, 0x45, 0x45, 0x52, 0x5f, 0x4f, 0x46, 0x46, 0x4c,
|
|
0x49, 0x4e, 0x45, 0x10, 0x01, 0x22, 0x10, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f,
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x82, 0x07, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x49,
|
|
0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76,
|
|
0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65,
|
|
0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f,
|
|
0x68, 0x61, 0x73, 0x68, 0x18, 0x14, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d,
|
|
0x69, 0x74, 0x48, 0x61, 0x73, 0x68, 0x12, 0x27, 0x0a, 0x0f, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69,
|
|
0x74, 0x79, 0x5f, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x0e, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x50, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x12,
|
|
0x14, 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
|
|
0x61, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x11,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x30, 0x0a, 0x14, 0x6e,
|
|
0x75, 0x6d, 0x5f, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e,
|
|
0x65, 0x6c, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x6e, 0x75, 0x6d, 0x50, 0x65,
|
|
0x6e, 0x64, 0x69, 0x6e, 0x67, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x12, 0x2e, 0x0a,
|
|
0x13, 0x6e, 0x75, 0x6d, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e,
|
|
0x6e, 0x65, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x6e, 0x75, 0x6d, 0x41,
|
|
0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x12, 0x32, 0x0a,
|
|
0x15, 0x6e, 0x75, 0x6d, 0x5f, 0x69, 0x6e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63, 0x68,
|
|
0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x6e, 0x75,
|
|
0x6d, 0x49, 0x6e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c,
|
|
0x73, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x75, 0x6d, 0x5f, 0x70, 0x65, 0x65, 0x72, 0x73, 0x18, 0x05,
|
|
0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6e, 0x75, 0x6d, 0x50, 0x65, 0x65, 0x72, 0x73, 0x12, 0x21,
|
|
0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x06,
|
|
0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68,
|
|
0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18,
|
|
0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x61, 0x73, 0x68,
|
|
0x12, 0x32, 0x0a, 0x15, 0x62, 0x65, 0x73, 0x74, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x5f,
|
|
0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x03, 0x52,
|
|
0x13, 0x62, 0x65, 0x73, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x54, 0x69, 0x6d, 0x65, 0x73,
|
|
0x74, 0x61, 0x6d, 0x70, 0x12, 0x26, 0x0a, 0x0f, 0x73, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x5f, 0x74,
|
|
0x6f, 0x5f, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x73,
|
|
0x79, 0x6e, 0x63, 0x65, 0x64, 0x54, 0x6f, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x12, 0x26, 0x0a, 0x0f,
|
|
0x73, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x5f, 0x74, 0x6f, 0x5f, 0x67, 0x72, 0x61, 0x70, 0x68, 0x18,
|
|
0x12, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x73, 0x79, 0x6e, 0x63, 0x65, 0x64, 0x54, 0x6f, 0x47,
|
|
0x72, 0x61, 0x70, 0x68, 0x12, 0x1c, 0x0a, 0x07, 0x74, 0x65, 0x73, 0x74, 0x6e, 0x65, 0x74, 0x18,
|
|
0x0a, 0x20, 0x01, 0x28, 0x08, 0x42, 0x02, 0x18, 0x01, 0x52, 0x07, 0x74, 0x65, 0x73, 0x74, 0x6e,
|
|
0x65, 0x74, 0x12, 0x24, 0x0a, 0x06, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x73, 0x18, 0x10, 0x20, 0x03,
|
|
0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x61, 0x69, 0x6e,
|
|
0x52, 0x06, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x72, 0x69, 0x73,
|
|
0x18, 0x0c, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x75, 0x72, 0x69, 0x73, 0x12, 0x40, 0x0a, 0x08,
|
|
0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x13, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24,
|
|
0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65,
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x45,
|
|
0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x38,
|
|
0x0a, 0x18, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x5f, 0x68, 0x74, 0x6c, 0x63, 0x5f, 0x69,
|
|
0x6e, 0x74, 0x65, 0x72, 0x63, 0x65, 0x70, 0x74, 0x6f, 0x72, 0x18, 0x15, 0x20, 0x01, 0x28, 0x08,
|
|
0x52, 0x16, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x48, 0x74, 0x6c, 0x63, 0x49, 0x6e, 0x74,
|
|
0x65, 0x72, 0x63, 0x65, 0x70, 0x74, 0x6f, 0x72, 0x12, 0x3f, 0x0a, 0x1c, 0x73, 0x74, 0x6f, 0x72,
|
|
0x65, 0x5f, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x5f, 0x68, 0x74, 0x6c, 0x63, 0x5f, 0x72, 0x65, 0x73,
|
|
0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x16, 0x20, 0x01, 0x28, 0x08, 0x52, 0x19,
|
|
0x73, 0x74, 0x6f, 0x72, 0x65, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x48, 0x74, 0x6c, 0x63, 0x52, 0x65,
|
|
0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x4b, 0x0a, 0x0d, 0x46, 0x65, 0x61,
|
|
0x74, 0x75, 0x72, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
|
|
0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x24, 0x0a, 0x05,
|
|
0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6c, 0x6e,
|
|
0x72, 0x70, 0x63, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c,
|
|
0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x4a, 0x04, 0x08, 0x0b, 0x10, 0x0c, 0x22, 0x15, 0x0a, 0x13,
|
|
0x47, 0x65, 0x74, 0x44, 0x65, 0x62, 0x75, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75,
|
|
0x65, 0x73, 0x74, 0x22, 0xa4, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x44, 0x65, 0x62, 0x75, 0x67,
|
|
0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x06,
|
|
0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6c,
|
|
0x6e, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x65, 0x62, 0x75, 0x67, 0x49, 0x6e, 0x66,
|
|
0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
|
|
0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x10, 0x0a,
|
|
0x03, 0x6c, 0x6f, 0x67, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x03, 0x6c, 0x6f, 0x67, 0x1a,
|
|
0x39, 0x0a, 0x0b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10,
|
|
0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79,
|
|
0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x18, 0x0a, 0x16, 0x47, 0x65,
|
|
0x74, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71,
|
|
0x75, 0x65, 0x73, 0x74, 0x22, 0x87, 0x01, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x6f,
|
|
0x76, 0x65, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x5f, 0x6d, 0x6f, 0x64,
|
|
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x72, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72,
|
|
0x79, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x2b, 0x0a, 0x11, 0x72, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72,
|
|
0x79, 0x5f, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08,
|
|
0x52, 0x10, 0x72, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68,
|
|
0x65, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03,
|
|
0x20, 0x01, 0x28, 0x01, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x22, 0x3b,
|
|
0x0a, 0x05, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x12, 0x18, 0x0a, 0x05, 0x63, 0x68, 0x61, 0x69, 0x6e,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x05, 0x63, 0x68, 0x61, 0x69,
|
|
0x6e, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x18, 0x02, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x22, 0x7a, 0x0a, 0x12, 0x43,
|
|
0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74,
|
|
0x65, 0x12, 0x1b, 0x0a, 0x09, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x73, 0x68, 0x61, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x53, 0x68, 0x61, 0x12, 0x21,
|
|
0x0a, 0x0c, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02,
|
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68,
|
|
0x74, 0x12, 0x24, 0x0a, 0x0e, 0x6e, 0x75, 0x6d, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x73, 0x5f, 0x6c,
|
|
0x65, 0x66, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6e, 0x75, 0x6d, 0x43, 0x6f,
|
|
0x6e, 0x66, 0x73, 0x4c, 0x65, 0x66, 0x74, 0x22, 0x4d, 0x0a, 0x11, 0x43, 0x68, 0x61, 0x6e, 0x6e,
|
|
0x65, 0x6c, 0x4f, 0x70, 0x65, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x38, 0x0a, 0x0d,
|
|
0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e,
|
|
0x6e, 0x65, 0x6c, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x0c, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65,
|
|
0x6c, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x22, 0x51, 0x0a, 0x12, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65,
|
|
0x6c, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x21, 0x0a, 0x0c,
|
|
0x63, 0x6c, 0x6f, 0x73, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x78, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x0c, 0x52, 0x0b, 0x63, 0x6c, 0x6f, 0x73, 0x69, 0x6e, 0x67, 0x54, 0x78, 0x69, 0x64, 0x12,
|
|
0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08,
|
|
0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x22, 0xbf, 0x02, 0x0a, 0x13, 0x43, 0x6c,
|
|
0x6f, 0x73, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
0x74, 0x12, 0x38, 0x0a, 0x0d, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x70, 0x6f, 0x69,
|
|
0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63,
|
|
0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x0c, 0x63,
|
|
0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x66,
|
|
0x6f, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63,
|
|
0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66,
|
|
0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x43, 0x6f,
|
|
0x6e, 0x66, 0x12, 0x24, 0x0a, 0x0c, 0x73, 0x61, 0x74, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x62, 0x79,
|
|
0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0a, 0x73, 0x61,
|
|
0x74, 0x50, 0x65, 0x72, 0x42, 0x79, 0x74, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x64, 0x65, 0x6c, 0x69,
|
|
0x76, 0x65, 0x72, 0x79, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x0f, 0x64, 0x65, 0x6c, 0x69, 0x76, 0x65, 0x72, 0x79, 0x41, 0x64, 0x64, 0x72,
|
|
0x65, 0x73, 0x73, 0x12, 0x22, 0x0a, 0x0d, 0x73, 0x61, 0x74, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x76,
|
|
0x62, 0x79, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x73, 0x61, 0x74, 0x50,
|
|
0x65, 0x72, 0x56, 0x62, 0x79, 0x74, 0x65, 0x12, 0x29, 0x0a, 0x11, 0x6d, 0x61, 0x78, 0x5f, 0x66,
|
|
0x65, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x76, 0x62, 0x79, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01,
|
|
0x28, 0x04, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x46, 0x65, 0x65, 0x50, 0x65, 0x72, 0x56, 0x62, 0x79,
|
|
0x74, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x6e, 0x6f, 0x5f, 0x77, 0x61, 0x69, 0x74, 0x18, 0x08, 0x20,
|
|
0x01, 0x28, 0x08, 0x52, 0x06, 0x6e, 0x6f, 0x57, 0x61, 0x69, 0x74, 0x22, 0xd3, 0x01, 0x0a, 0x11,
|
|
0x43, 0x6c, 0x6f, 0x73, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74,
|
|
0x65, 0x12, 0x3b, 0x0a, 0x0d, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x5f, 0x70, 0x65, 0x6e, 0x64, 0x69,
|
|
0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63,
|
|
0x2e, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x00,
|
|
0x52, 0x0c, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x3a,
|
|
0x0a, 0x0a, 0x63, 0x68, 0x61, 0x6e, 0x5f, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x18, 0x03, 0x20, 0x01,
|
|
0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e,
|
|
0x65, 0x6c, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52,
|
|
0x09, 0x63, 0x68, 0x61, 0x6e, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x0d, 0x63, 0x6c,
|
|
0x6f, 0x73, 0x65, 0x5f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28,
|
|
0x0b, 0x32, 0x14, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e,
|
|
0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x0c, 0x63, 0x6c, 0x6f, 0x73, 0x65,
|
|
0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x74, 0x42, 0x08, 0x0a, 0x06, 0x75, 0x70, 0x64, 0x61, 0x74,
|
|
0x65, 0x22, 0x46, 0x0a, 0x0d, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x55, 0x70, 0x64, 0x61,
|
|
0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x78, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c,
|
|
0x52, 0x04, 0x74, 0x78, 0x69, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74,
|
|
0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x6f, 0x75,
|
|
0x74, 0x70, 0x75, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x0f, 0x0a, 0x0d, 0x49, 0x6e, 0x73,
|
|
0x74, 0x61, 0x6e, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x22, 0x79, 0x0a, 0x13, 0x52, 0x65,
|
|
0x61, 0x64, 0x79, 0x46, 0x6f, 0x72, 0x50, 0x73, 0x62, 0x74, 0x46, 0x75, 0x6e, 0x64, 0x69, 0x6e,
|
|
0x67, 0x12, 0x27, 0x0a, 0x0f, 0x66, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x64, 0x64,
|
|
0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x66, 0x75, 0x6e, 0x64,
|
|
0x69, 0x6e, 0x67, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x66, 0x75,
|
|
0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01,
|
|
0x28, 0x03, 0x52, 0x0d, 0x66, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x41, 0x6d, 0x6f, 0x75, 0x6e,
|
|
0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x73, 0x62, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52,
|
|
0x04, 0x70, 0x73, 0x62, 0x74, 0x22, 0xc9, 0x02, 0x0a, 0x17, 0x42, 0x61, 0x74, 0x63, 0x68, 0x4f,
|
|
0x70, 0x65, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
0x74, 0x12, 0x33, 0x0a, 0x08, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x18, 0x01, 0x20,
|
|
0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x42, 0x61, 0x74, 0x63,
|
|
0x68, 0x4f, 0x70, 0x65, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x08, 0x63, 0x68,
|
|
0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74,
|
|
0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x74, 0x61, 0x72,
|
|
0x67, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x12, 0x22, 0x0a, 0x0d, 0x73, 0x61, 0x74, 0x5f, 0x70,
|
|
0x65, 0x72, 0x5f, 0x76, 0x62, 0x79, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b,
|
|
0x73, 0x61, 0x74, 0x50, 0x65, 0x72, 0x56, 0x62, 0x79, 0x74, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6d,
|
|
0x69, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08,
|
|
0x6d, 0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x73, 0x12, 0x2b, 0x0a, 0x11, 0x73, 0x70, 0x65, 0x6e,
|
|
0x64, 0x5f, 0x75, 0x6e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x65, 0x64, 0x18, 0x05, 0x20,
|
|
0x01, 0x28, 0x08, 0x52, 0x10, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x55, 0x6e, 0x63, 0x6f, 0x6e, 0x66,
|
|
0x69, 0x72, 0x6d, 0x65, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x06,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x54, 0x0a, 0x17, 0x63,
|
|
0x6f, 0x69, 0x6e, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x74,
|
|
0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x6c,
|
|
0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x69, 0x6e, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69,
|
|
0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x52, 0x15, 0x63, 0x6f, 0x69, 0x6e,
|
|
0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67,
|
|
0x79, 0x22, 0x89, 0x06, 0x0a, 0x10, 0x42, 0x61, 0x74, 0x63, 0x68, 0x4f, 0x70, 0x65, 0x6e, 0x43,
|
|
0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x1f, 0x0a, 0x0b, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x70,
|
|
0x75, 0x62, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x6e, 0x6f, 0x64,
|
|
0x65, 0x50, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x12, 0x30, 0x0a, 0x14, 0x6c, 0x6f, 0x63, 0x61, 0x6c,
|
|
0x5f, 0x66, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18,
|
|
0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x46, 0x75, 0x6e, 0x64,
|
|
0x69, 0x6e, 0x67, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x75, 0x73,
|
|
0x68, 0x5f, 0x73, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x70, 0x75, 0x73,
|
|
0x68, 0x53, 0x61, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x18,
|
|
0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x12, 0x22,
|
|
0x0a, 0x0d, 0x6d, 0x69, 0x6e, 0x5f, 0x68, 0x74, 0x6c, 0x63, 0x5f, 0x6d, 0x73, 0x61, 0x74, 0x18,
|
|
0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6d, 0x69, 0x6e, 0x48, 0x74, 0x6c, 0x63, 0x4d, 0x73,
|
|
0x61, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x63, 0x73, 0x76,
|
|
0x5f, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x72, 0x65,
|
|
0x6d, 0x6f, 0x74, 0x65, 0x43, 0x73, 0x76, 0x44, 0x65, 0x6c, 0x61, 0x79, 0x12, 0x23, 0x0a, 0x0d,
|
|
0x63, 0x6c, 0x6f, 0x73, 0x65, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x07, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73,
|
|
0x73, 0x12, 0x26, 0x0a, 0x0f, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x68, 0x61,
|
|
0x6e, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x70, 0x65, 0x6e, 0x64,
|
|
0x69, 0x6e, 0x67, 0x43, 0x68, 0x61, 0x6e, 0x49, 0x64, 0x12, 0x3e, 0x0a, 0x0f, 0x63, 0x6f, 0x6d,
|
|
0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01,
|
|
0x28, 0x0e, 0x32, 0x15, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69,
|
|
0x74, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0e, 0x63, 0x6f, 0x6d, 0x6d, 0x69,
|
|
0x74, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x43, 0x0a, 0x1f, 0x72, 0x65, 0x6d,
|
|
0x6f, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x69, 0x6e,
|
|
0x5f, 0x66, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x6d, 0x73, 0x61, 0x74, 0x18, 0x0a, 0x20, 0x01,
|
|
0x28, 0x04, 0x52, 0x1a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x4d, 0x61, 0x78, 0x56, 0x61, 0x6c,
|
|
0x75, 0x65, 0x49, 0x6e, 0x46, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x4d, 0x73, 0x61, 0x74, 0x12, 0x28,
|
|
0x0a, 0x10, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x68, 0x74, 0x6c,
|
|
0x63, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65,
|
|
0x4d, 0x61, 0x78, 0x48, 0x74, 0x6c, 0x63, 0x73, 0x12, 0x22, 0x0a, 0x0d, 0x6d, 0x61, 0x78, 0x5f,
|
|
0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x63, 0x73, 0x76, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52,
|
|
0x0b, 0x6d, 0x61, 0x78, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x43, 0x73, 0x76, 0x12, 0x1b, 0x0a, 0x09,
|
|
0x7a, 0x65, 0x72, 0x6f, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52,
|
|
0x08, 0x7a, 0x65, 0x72, 0x6f, 0x43, 0x6f, 0x6e, 0x66, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x63, 0x69,
|
|
0x64, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x73,
|
|
0x63, 0x69, 0x64, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x61, 0x73, 0x65,
|
|
0x5f, 0x66, 0x65, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x62, 0x61, 0x73, 0x65,
|
|
0x46, 0x65, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x66, 0x65, 0x65, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18,
|
|
0x10, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x66, 0x65, 0x65, 0x52, 0x61, 0x74, 0x65, 0x12, 0x20,
|
|
0x0a, 0x0c, 0x75, 0x73, 0x65, 0x5f, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x66, 0x65, 0x65, 0x18, 0x11,
|
|
0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x75, 0x73, 0x65, 0x42, 0x61, 0x73, 0x65, 0x46, 0x65, 0x65,
|
|
0x12, 0x20, 0x0a, 0x0c, 0x75, 0x73, 0x65, 0x5f, 0x66, 0x65, 0x65, 0x5f, 0x72, 0x61, 0x74, 0x65,
|
|
0x18, 0x12, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x75, 0x73, 0x65, 0x46, 0x65, 0x65, 0x52, 0x61,
|
|
0x74, 0x65, 0x12, 0x35, 0x0a, 0x17, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x63, 0x68, 0x61,
|
|
0x6e, 0x5f, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x5f, 0x73, 0x61, 0x74, 0x18, 0x13, 0x20,
|
|
0x01, 0x28, 0x04, 0x52, 0x14, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x52,
|
|
0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x53, 0x61, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x65, 0x6d,
|
|
0x6f, 0x18, 0x14, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x22, 0x5b, 0x0a,
|
|
0x18, 0x42, 0x61, 0x74, 0x63, 0x68, 0x4f, 0x70, 0x65, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65,
|
|
0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x10, 0x70, 0x65, 0x6e,
|
|
0x64, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x18, 0x01, 0x20,
|
|
0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x65, 0x6e, 0x64,
|
|
0x69, 0x6e, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x0f, 0x70, 0x65, 0x6e, 0x64, 0x69,
|
|
0x6e, 0x67, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x22, 0xcb, 0x08, 0x0a, 0x12, 0x4f,
|
|
0x70, 0x65, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
0x74, 0x12, 0x22, 0x0a, 0x0d, 0x73, 0x61, 0x74, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x76, 0x62, 0x79,
|
|
0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x73, 0x61, 0x74, 0x50, 0x65, 0x72,
|
|
0x56, 0x62, 0x79, 0x74, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x70, 0x75,
|
|
0x62, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x6e, 0x6f, 0x64, 0x65,
|
|
0x50, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x12, 0x30, 0x0a, 0x12, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x70,
|
|
0x75, 0x62, 0x6b, 0x65, 0x79, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01,
|
|
0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x10, 0x6e, 0x6f, 0x64, 0x65, 0x50, 0x75, 0x62, 0x6b,
|
|
0x65, 0x79, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x30, 0x0a, 0x14, 0x6c, 0x6f, 0x63, 0x61,
|
|
0x6c, 0x5f, 0x66, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74,
|
|
0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x46, 0x75, 0x6e,
|
|
0x64, 0x69, 0x6e, 0x67, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x75,
|
|
0x73, 0x68, 0x5f, 0x73, 0x61, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x70, 0x75,
|
|
0x73, 0x68, 0x53, 0x61, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f,
|
|
0x63, 0x6f, 0x6e, 0x66, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x74, 0x61, 0x72, 0x67,
|
|
0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x12, 0x24, 0x0a, 0x0c, 0x73, 0x61, 0x74, 0x5f, 0x70, 0x65,
|
|
0x72, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x42, 0x02, 0x18, 0x01,
|
|
0x52, 0x0a, 0x73, 0x61, 0x74, 0x50, 0x65, 0x72, 0x42, 0x79, 0x74, 0x65, 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, 0x12, 0x22, 0x0a, 0x0d, 0x6d, 0x69, 0x6e, 0x5f, 0x68, 0x74,
|
|
0x6c, 0x63, 0x5f, 0x6d, 0x73, 0x61, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6d,
|
|
0x69, 0x6e, 0x48, 0x74, 0x6c, 0x63, 0x4d, 0x73, 0x61, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x72, 0x65,
|
|
0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x63, 0x73, 0x76, 0x5f, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x18, 0x0a,
|
|
0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x73, 0x76, 0x44,
|
|
0x65, 0x6c, 0x61, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x69, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66,
|
|
0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6d, 0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x66,
|
|
0x73, 0x12, 0x2b, 0x0a, 0x11, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x5f, 0x75, 0x6e, 0x63, 0x6f, 0x6e,
|
|
0x66, 0x69, 0x72, 0x6d, 0x65, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x73, 0x70,
|
|
0x65, 0x6e, 0x64, 0x55, 0x6e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x65, 0x64, 0x12, 0x23,
|
|
0x0a, 0x0d, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18,
|
|
0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x41, 0x64, 0x64, 0x72,
|
|
0x65, 0x73, 0x73, 0x12, 0x35, 0x0a, 0x0c, 0x66, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x73,
|
|
0x68, 0x69, 0x6d, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6c, 0x6e, 0x72, 0x70,
|
|
0x63, 0x2e, 0x46, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x53, 0x68, 0x69, 0x6d, 0x52, 0x0b, 0x66,
|
|
0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x53, 0x68, 0x69, 0x6d, 0x12, 0x43, 0x0a, 0x1f, 0x72, 0x65,
|
|
0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x69,
|
|
0x6e, 0x5f, 0x66, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x6d, 0x73, 0x61, 0x74, 0x18, 0x0f, 0x20,
|
|
0x01, 0x28, 0x04, 0x52, 0x1a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x4d, 0x61, 0x78, 0x56, 0x61,
|
|
0x6c, 0x75, 0x65, 0x49, 0x6e, 0x46, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x4d, 0x73, 0x61, 0x74, 0x12,
|
|
0x28, 0x0a, 0x10, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x68, 0x74,
|
|
0x6c, 0x63, 0x73, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x72, 0x65, 0x6d, 0x6f, 0x74,
|
|
0x65, 0x4d, 0x61, 0x78, 0x48, 0x74, 0x6c, 0x63, 0x73, 0x12, 0x22, 0x0a, 0x0d, 0x6d, 0x61, 0x78,
|
|
0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x63, 0x73, 0x76, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0d,
|
|
0x52, 0x0b, 0x6d, 0x61, 0x78, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x43, 0x73, 0x76, 0x12, 0x3e, 0x0a,
|
|
0x0f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65,
|
|
0x18, 0x12, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43,
|
|
0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0e, 0x63,
|
|
0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a,
|
|
0x09, 0x7a, 0x65, 0x72, 0x6f, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x18, 0x13, 0x20, 0x01, 0x28, 0x08,
|
|
0x52, 0x08, 0x7a, 0x65, 0x72, 0x6f, 0x43, 0x6f, 0x6e, 0x66, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x63,
|
|
0x69, 0x64, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x14, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09,
|
|
0x73, 0x63, 0x69, 0x64, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x61, 0x73,
|
|
0x65, 0x5f, 0x66, 0x65, 0x65, 0x18, 0x15, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x62, 0x61, 0x73,
|
|
0x65, 0x46, 0x65, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x66, 0x65, 0x65, 0x5f, 0x72, 0x61, 0x74, 0x65,
|
|
0x18, 0x16, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x66, 0x65, 0x65, 0x52, 0x61, 0x74, 0x65, 0x12,
|
|
0x20, 0x0a, 0x0c, 0x75, 0x73, 0x65, 0x5f, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x66, 0x65, 0x65, 0x18,
|
|
0x17, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x75, 0x73, 0x65, 0x42, 0x61, 0x73, 0x65, 0x46, 0x65,
|
|
0x65, 0x12, 0x20, 0x0a, 0x0c, 0x75, 0x73, 0x65, 0x5f, 0x66, 0x65, 0x65, 0x5f, 0x72, 0x61, 0x74,
|
|
0x65, 0x18, 0x18, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x75, 0x73, 0x65, 0x46, 0x65, 0x65, 0x52,
|
|
0x61, 0x74, 0x65, 0x12, 0x35, 0x0a, 0x17, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x63, 0x68,
|
|
0x61, 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x5f, 0x73, 0x61, 0x74, 0x18, 0x19,
|
|
0x20, 0x01, 0x28, 0x04, 0x52, 0x14, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e,
|
|
0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x53, 0x61, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x66, 0x75,
|
|
0x6e, 0x64, 0x5f, 0x6d, 0x61, 0x78, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x66, 0x75,
|
|
0x6e, 0x64, 0x4d, 0x61, 0x78, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x18, 0x1b, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x12, 0x2d, 0x0a, 0x09, 0x6f, 0x75, 0x74,
|
|
0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x1c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x6c,
|
|
0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x75, 0x74, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x09, 0x6f,
|
|
0x75, 0x74, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x22, 0xf3, 0x01, 0x0a, 0x10, 0x4f, 0x70, 0x65,
|
|
0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x39, 0x0a,
|
|
0x0c, 0x63, 0x68, 0x61, 0x6e, 0x5f, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x65, 0x6e, 0x64,
|
|
0x69, 0x6e, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x0b, 0x63, 0x68, 0x61,
|
|
0x6e, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x37, 0x0a, 0x09, 0x63, 0x68, 0x61, 0x6e,
|
|
0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6c, 0x6e,
|
|
0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x4f, 0x70, 0x65, 0x6e, 0x55,
|
|
0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x08, 0x63, 0x68, 0x61, 0x6e, 0x4f, 0x70, 0x65,
|
|
0x6e, 0x12, 0x39, 0x0a, 0x09, 0x70, 0x73, 0x62, 0x74, 0x5f, 0x66, 0x75, 0x6e, 0x64, 0x18, 0x05,
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x61,
|
|
0x64, 0x79, 0x46, 0x6f, 0x72, 0x50, 0x73, 0x62, 0x74, 0x46, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67,
|
|
0x48, 0x00, 0x52, 0x08, 0x70, 0x73, 0x62, 0x74, 0x46, 0x75, 0x6e, 0x64, 0x12, 0x26, 0x0a, 0x0f,
|
|
0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x5f, 0x69, 0x64, 0x18,
|
|
0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x43, 0x68,
|
|
0x61, 0x6e, 0x49, 0x64, 0x42, 0x08, 0x0a, 0x06, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x22, 0x48,
|
|
0x0a, 0x0a, 0x4b, 0x65, 0x79, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1d, 0x0a, 0x0a,
|
|
0x6b, 0x65, 0x79, 0x5f, 0x66, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05,
|
|
0x52, 0x09, 0x6b, 0x65, 0x79, 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x6b,
|
|
0x65, 0x79, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08,
|
|
0x6b, 0x65, 0x79, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x5f, 0x0a, 0x0d, 0x4b, 0x65, 0x79, 0x44,
|
|
0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x12, 0x22, 0x0a, 0x0d, 0x72, 0x61, 0x77,
|
|
0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c,
|
|
0x52, 0x0b, 0x72, 0x61, 0x77, 0x4b, 0x65, 0x79, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x2a, 0x0a,
|
|
0x07, 0x6b, 0x65, 0x79, 0x5f, 0x6c, 0x6f, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11,
|
|
0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4b, 0x65, 0x79, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x6f,
|
|
0x72, 0x52, 0x06, 0x6b, 0x65, 0x79, 0x4c, 0x6f, 0x63, 0x22, 0x88, 0x02, 0x0a, 0x0d, 0x43, 0x68,
|
|
0x61, 0x6e, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x53, 0x68, 0x69, 0x6d, 0x12, 0x10, 0x0a, 0x03, 0x61,
|
|
0x6d, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x61, 0x6d, 0x74, 0x12, 0x32, 0x0a,
|
|
0x0a, 0x63, 0x68, 0x61, 0x6e, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
0x0b, 0x32, 0x13, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65,
|
|
0x6c, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x09, 0x63, 0x68, 0x61, 0x6e, 0x50, 0x6f, 0x69, 0x6e,
|
|
0x74, 0x12, 0x31, 0x0a, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x03,
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4b, 0x65, 0x79,
|
|
0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61,
|
|
0x6c, 0x4b, 0x65, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x6b,
|
|
0x65, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65,
|
|
0x4b, 0x65, 0x79, 0x12, 0x26, 0x0a, 0x0f, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x63,
|
|
0x68, 0x61, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x70, 0x65,
|
|
0x6e, 0x64, 0x69, 0x6e, 0x67, 0x43, 0x68, 0x61, 0x6e, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x74,
|
|
0x68, 0x61, 0x77, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d,
|
|
0x52, 0x0a, 0x74, 0x68, 0x61, 0x77, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x16, 0x0a, 0x06,
|
|
0x6d, 0x75, 0x73, 0x69, 0x67, 0x32, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x6d, 0x75,
|
|
0x73, 0x69, 0x67, 0x32, 0x22, 0x6e, 0x0a, 0x08, 0x50, 0x73, 0x62, 0x74, 0x53, 0x68, 0x69, 0x6d,
|
|
0x12, 0x26, 0x0a, 0x0f, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x68, 0x61, 0x6e,
|
|
0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x70, 0x65, 0x6e, 0x64, 0x69,
|
|
0x6e, 0x67, 0x43, 0x68, 0x61, 0x6e, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x62, 0x61, 0x73, 0x65,
|
|
0x5f, 0x70, 0x73, 0x62, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x62, 0x61, 0x73,
|
|
0x65, 0x50, 0x73, 0x62, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6e, 0x6f, 0x5f, 0x70, 0x75, 0x62, 0x6c,
|
|
0x69, 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x6e, 0x6f, 0x50, 0x75, 0x62,
|
|
0x6c, 0x69, 0x73, 0x68, 0x22, 0x85, 0x01, 0x0a, 0x0b, 0x46, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67,
|
|
0x53, 0x68, 0x69, 0x6d, 0x12, 0x3e, 0x0a, 0x0f, 0x63, 0x68, 0x61, 0x6e, 0x5f, 0x70, 0x6f, 0x69,
|
|
0x6e, 0x74, 0x5f, 0x73, 0x68, 0x69, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e,
|
|
0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x53,
|
|
0x68, 0x69, 0x6d, 0x48, 0x00, 0x52, 0x0d, 0x63, 0x68, 0x61, 0x6e, 0x50, 0x6f, 0x69, 0x6e, 0x74,
|
|
0x53, 0x68, 0x69, 0x6d, 0x12, 0x2e, 0x0a, 0x09, 0x70, 0x73, 0x62, 0x74, 0x5f, 0x73, 0x68, 0x69,
|
|
0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e,
|
|
0x50, 0x73, 0x62, 0x74, 0x53, 0x68, 0x69, 0x6d, 0x48, 0x00, 0x52, 0x08, 0x70, 0x73, 0x62, 0x74,
|
|
0x53, 0x68, 0x69, 0x6d, 0x42, 0x06, 0x0a, 0x04, 0x73, 0x68, 0x69, 0x6d, 0x22, 0x3b, 0x0a, 0x11,
|
|
0x46, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x53, 0x68, 0x69, 0x6d, 0x43, 0x61, 0x6e, 0x63, 0x65,
|
|
0x6c, 0x12, 0x26, 0x0a, 0x0f, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x68, 0x61,
|
|
0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x70, 0x65, 0x6e, 0x64,
|
|
0x69, 0x6e, 0x67, 0x43, 0x68, 0x61, 0x6e, 0x49, 0x64, 0x22, 0x81, 0x01, 0x0a, 0x11, 0x46, 0x75,
|
|
0x6e, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x73, 0x62, 0x74, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x12,
|
|
0x1f, 0x0a, 0x0b, 0x66, 0x75, 0x6e, 0x64, 0x65, 0x64, 0x5f, 0x70, 0x73, 0x62, 0x74, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x66, 0x75, 0x6e, 0x64, 0x65, 0x64, 0x50, 0x73, 0x62, 0x74,
|
|
0x12, 0x26, 0x0a, 0x0f, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x68, 0x61, 0x6e,
|
|
0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x70, 0x65, 0x6e, 0x64, 0x69,
|
|
0x6e, 0x67, 0x43, 0x68, 0x61, 0x6e, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x6b, 0x69, 0x70,
|
|
0x5f, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52,
|
|
0x0c, 0x73, 0x6b, 0x69, 0x70, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x22, 0x80, 0x01,
|
|
0x0a, 0x13, 0x46, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x73, 0x62, 0x74, 0x46, 0x69, 0x6e,
|
|
0x61, 0x6c, 0x69, 0x7a, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f,
|
|
0x70, 0x73, 0x62, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x73, 0x69, 0x67, 0x6e,
|
|
0x65, 0x64, 0x50, 0x73, 0x62, 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e,
|
|
0x67, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52,
|
|
0x0d, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x43, 0x68, 0x61, 0x6e, 0x49, 0x64, 0x12, 0x20,
|
|
0x0a, 0x0c, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x5f, 0x72, 0x61, 0x77, 0x5f, 0x74, 0x78, 0x18, 0x03,
|
|
0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x52, 0x61, 0x77, 0x54, 0x78,
|
|
0x22, 0x99, 0x02, 0x0a, 0x14, 0x46, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x54, 0x72, 0x61, 0x6e,
|
|
0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x73, 0x67, 0x12, 0x39, 0x0a, 0x0d, 0x73, 0x68, 0x69,
|
|
0x6d, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x12, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x46, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67,
|
|
0x53, 0x68, 0x69, 0x6d, 0x48, 0x00, 0x52, 0x0c, 0x73, 0x68, 0x69, 0x6d, 0x52, 0x65, 0x67, 0x69,
|
|
0x73, 0x74, 0x65, 0x72, 0x12, 0x3b, 0x0a, 0x0b, 0x73, 0x68, 0x69, 0x6d, 0x5f, 0x63, 0x61, 0x6e,
|
|
0x63, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6c, 0x6e, 0x72, 0x70,
|
|
0x63, 0x2e, 0x46, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x53, 0x68, 0x69, 0x6d, 0x43, 0x61, 0x6e,
|
|
0x63, 0x65, 0x6c, 0x48, 0x00, 0x52, 0x0a, 0x73, 0x68, 0x69, 0x6d, 0x43, 0x61, 0x6e, 0x63, 0x65,
|
|
0x6c, 0x12, 0x3b, 0x0a, 0x0b, 0x70, 0x73, 0x62, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79,
|
|
0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x46,
|
|
0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x73, 0x62, 0x74, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79,
|
|
0x48, 0x00, 0x52, 0x0a, 0x70, 0x73, 0x62, 0x74, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x12, 0x41,
|
|
0x0a, 0x0d, 0x70, 0x73, 0x62, 0x74, 0x5f, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x18,
|
|
0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x46, 0x75,
|
|
0x6e, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x73, 0x62, 0x74, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a,
|
|
0x65, 0x48, 0x00, 0x52, 0x0c, 0x70, 0x73, 0x62, 0x74, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a,
|
|
0x65, 0x42, 0x09, 0x0a, 0x07, 0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x22, 0x16, 0x0a, 0x14,
|
|
0x46, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x65, 0x53, 0x74, 0x65, 0x70,
|
|
0x52, 0x65, 0x73, 0x70, 0x22, 0xcc, 0x01, 0x0a, 0x0b, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67,
|
|
0x48, 0x54, 0x4c, 0x43, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67,
|
|
0x12, 0x16, 0x0a, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03,
|
|
0x52, 0x06, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x75, 0x74, 0x70,
|
|
0x6f, 0x69, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6f, 0x75, 0x74, 0x70,
|
|
0x6f, 0x69, 0x6e, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x61, 0x74, 0x75, 0x72, 0x69, 0x74, 0x79,
|
|
0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x6d,
|
|
0x61, 0x74, 0x75, 0x72, 0x69, 0x74, 0x79, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x2e, 0x0a,
|
|
0x13, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x5f, 0x74, 0x69, 0x6c, 0x5f, 0x6d, 0x61, 0x74, 0x75,
|
|
0x72, 0x69, 0x74, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, 0x62, 0x6c, 0x6f, 0x63,
|
|
0x6b, 0x73, 0x54, 0x69, 0x6c, 0x4d, 0x61, 0x74, 0x75, 0x72, 0x69, 0x74, 0x79, 0x12, 0x14, 0x0a,
|
|
0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x73, 0x74,
|
|
0x61, 0x67, 0x65, 0x22, 0x3e, 0x0a, 0x16, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x43, 0x68,
|
|
0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a,
|
|
0x0e, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x72, 0x61, 0x77, 0x5f, 0x74, 0x78, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x52, 0x61,
|
|
0x77, 0x54, 0x78, 0x22, 0xe1, 0x13, 0x0a, 0x17, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x43,
|
|
0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
|
0x2e, 0x0a, 0x13, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x6c, 0x69, 0x6d, 0x62, 0x6f, 0x5f, 0x62,
|
|
0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x74, 0x6f,
|
|
0x74, 0x61, 0x6c, 0x4c, 0x69, 0x6d, 0x62, 0x6f, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12,
|
|
0x65, 0x0a, 0x15, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x5f,
|
|
0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31,
|
|
0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x43, 0x68,
|
|
0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50,
|
|
0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4f, 0x70, 0x65, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65,
|
|
0x6c, 0x52, 0x13, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4f, 0x70, 0x65, 0x6e, 0x43, 0x68,
|
|
0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x12, 0x6a, 0x0a, 0x18, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e,
|
|
0x67, 0x5f, 0x63, 0x6c, 0x6f, 0x73, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65,
|
|
0x6c, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63,
|
|
0x2e, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73,
|
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x43,
|
|
0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x42, 0x02, 0x18, 0x01, 0x52, 0x16, 0x70, 0x65, 0x6e, 0x64,
|
|
0x69, 0x6e, 0x67, 0x43, 0x6c, 0x6f, 0x73, 0x69, 0x6e, 0x67, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65,
|
|
0x6c, 0x73, 0x12, 0x76, 0x0a, 0x1e, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x66, 0x6f,
|
|
0x72, 0x63, 0x65, 0x5f, 0x63, 0x6c, 0x6f, 0x73, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x68, 0x61, 0x6e,
|
|
0x6e, 0x65, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x6c, 0x6e, 0x72,
|
|
0x70, 0x63, 0x2e, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65,
|
|
0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x46, 0x6f, 0x72, 0x63, 0x65,
|
|
0x43, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x1b, 0x70,
|
|
0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x63, 0x65, 0x43, 0x6c, 0x6f, 0x73, 0x69,
|
|
0x6e, 0x67, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x12, 0x68, 0x0a, 0x16, 0x77, 0x61,
|
|
0x69, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e,
|
|
0x6e, 0x65, 0x6c, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x6c, 0x6e, 0x72,
|
|
0x70, 0x63, 0x2e, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65,
|
|
0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x57, 0x61, 0x69, 0x74, 0x69,
|
|
0x6e, 0x67, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x14,
|
|
0x77, 0x61, 0x69, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x43, 0x68, 0x61, 0x6e,
|
|
0x6e, 0x65, 0x6c, 0x73, 0x1a, 0xb3, 0x04, 0x0a, 0x0e, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67,
|
|
0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x26, 0x0a, 0x0f, 0x72, 0x65, 0x6d, 0x6f, 0x74,
|
|
0x65, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x70, 0x75, 0x62, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x0d, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x75, 0x62, 0x12,
|
|
0x23, 0x0a, 0x0d, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x50,
|
|
0x6f, 0x69, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79,
|
|
0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79,
|
|
0x12, 0x23, 0x0a, 0x0d, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63,
|
|
0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x42, 0x61,
|
|
0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f,
|
|
0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x72,
|
|
0x65, 0x6d, 0x6f, 0x74, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x33, 0x0a, 0x16,
|
|
0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x65, 0x72,
|
|
0x76, 0x65, 0x5f, 0x73, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x13, 0x6c, 0x6f,
|
|
0x63, 0x61, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x53, 0x61,
|
|
0x74, 0x12, 0x35, 0x0a, 0x17, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e,
|
|
0x5f, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x5f, 0x73, 0x61, 0x74, 0x18, 0x07, 0x20, 0x01,
|
|
0x28, 0x03, 0x52, 0x14, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x52, 0x65,
|
|
0x73, 0x65, 0x72, 0x76, 0x65, 0x53, 0x61, 0x74, 0x12, 0x2e, 0x0a, 0x09, 0x69, 0x6e, 0x69, 0x74,
|
|
0x69, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x6c, 0x6e,
|
|
0x72, 0x70, 0x63, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x09, 0x69,
|
|
0x6e, 0x69, 0x74, 0x69, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x3e, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x6d,
|
|
0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28,
|
|
0x0e, 0x32, 0x15, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74,
|
|
0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0e, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74,
|
|
0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x36, 0x0a, 0x17, 0x6e, 0x75, 0x6d, 0x5f,
|
|
0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61,
|
|
0x67, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x15, 0x6e, 0x75, 0x6d, 0x46, 0x6f,
|
|
0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x73,
|
|
0x12, 0x2a, 0x0a, 0x11, 0x63, 0x68, 0x61, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f,
|
|
0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x63, 0x68, 0x61,
|
|
0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x18, 0x0a, 0x07,
|
|
0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x70,
|
|
0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x18, 0x0d,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x1a, 0xf9, 0x01, 0x0a, 0x12, 0x50,
|
|
0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4f, 0x70, 0x65, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65,
|
|
0x6c, 0x12, 0x47, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x65, 0x6e, 0x64, 0x69,
|
|
0x6e, 0x67, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
0x73, 0x65, 0x2e, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65,
|
|
0x6c, 0x52, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6f,
|
|
0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x66, 0x65, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09,
|
|
0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x46, 0x65, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x6d,
|
|
0x6d, 0x69, 0x74, 0x5f, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03,
|
|
0x52, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x1c,
|
|
0x0a, 0x0a, 0x66, 0x65, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x6b, 0x77, 0x18, 0x06, 0x20, 0x01,
|
|
0x28, 0x03, 0x52, 0x08, 0x66, 0x65, 0x65, 0x50, 0x65, 0x72, 0x4b, 0x77, 0x12, 0x32, 0x0a, 0x15,
|
|
0x66, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x79, 0x5f, 0x62,
|
|
0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x13, 0x66, 0x75, 0x6e,
|
|
0x64, 0x69, 0x6e, 0x67, 0x45, 0x78, 0x70, 0x69, 0x72, 0x79, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x73,
|
|
0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x1a, 0x9a, 0x02, 0x0a, 0x13, 0x57, 0x61, 0x69, 0x74, 0x69,
|
|
0x6e, 0x67, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x47,
|
|
0x0a, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
0x2d, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x43,
|
|
0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e,
|
|
0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x07,
|
|
0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x23, 0x0a, 0x0d, 0x6c, 0x69, 0x6d, 0x62, 0x6f,
|
|
0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c,
|
|
0x6c, 0x69, 0x6d, 0x62, 0x6f, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x4c, 0x0a, 0x0b,
|
|
0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
0x0b, 0x32, 0x2a, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e,
|
|
0x67, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
|
0x65, 0x2e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x0b, 0x63,
|
|
0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6c,
|
|
0x6f, 0x73, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x78, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x0b, 0x63, 0x6c, 0x6f, 0x73, 0x69, 0x6e, 0x67, 0x54, 0x78, 0x69, 0x64, 0x12, 0x24, 0x0a,
|
|
0x0e, 0x63, 0x6c, 0x6f, 0x73, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x78, 0x5f, 0x68, 0x65, 0x78, 0x18,
|
|
0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6c, 0x6f, 0x73, 0x69, 0x6e, 0x67, 0x54, 0x78,
|
|
0x48, 0x65, 0x78, 0x1a, 0xa3, 0x02, 0x0a, 0x0b, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65,
|
|
0x6e, 0x74, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x74, 0x78, 0x69,
|
|
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x54, 0x78,
|
|
0x69, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x74, 0x78, 0x69,
|
|
0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x54,
|
|
0x78, 0x69, 0x64, 0x12, 0x2e, 0x0a, 0x13, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x70, 0x65,
|
|
0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x78, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x11, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x54,
|
|
0x78, 0x69, 0x64, 0x12, 0x2f, 0x0a, 0x14, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x6d,
|
|
0x6d, 0x69, 0x74, 0x5f, 0x66, 0x65, 0x65, 0x5f, 0x73, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28,
|
|
0x04, 0x52, 0x11, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x46, 0x65,
|
|
0x65, 0x53, 0x61, 0x74, 0x12, 0x31, 0x0a, 0x15, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x63,
|
|
0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x66, 0x65, 0x65, 0x5f, 0x73, 0x61, 0x74, 0x18, 0x05, 0x20,
|
|
0x01, 0x28, 0x04, 0x52, 0x12, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x6d, 0x69,
|
|
0x74, 0x46, 0x65, 0x65, 0x53, 0x61, 0x74, 0x12, 0x40, 0x0a, 0x1d, 0x72, 0x65, 0x6d, 0x6f, 0x74,
|
|
0x65, 0x5f, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74,
|
|
0x5f, 0x66, 0x65, 0x65, 0x5f, 0x73, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x19,
|
|
0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6d,
|
|
0x6d, 0x69, 0x74, 0x46, 0x65, 0x65, 0x53, 0x61, 0x74, 0x1a, 0x7b, 0x0a, 0x0d, 0x43, 0x6c, 0x6f,
|
|
0x73, 0x65, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x47, 0x0a, 0x07, 0x63, 0x68,
|
|
0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x6c, 0x6e,
|
|
0x72, 0x70, 0x63, 0x2e, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x43, 0x68, 0x61, 0x6e, 0x6e,
|
|
0x65, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x65, 0x6e, 0x64,
|
|
0x69, 0x6e, 0x67, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x07, 0x63, 0x68, 0x61, 0x6e,
|
|
0x6e, 0x65, 0x6c, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6c, 0x6f, 0x73, 0x69, 0x6e, 0x67, 0x5f, 0x74,
|
|
0x78, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6c, 0x6f, 0x73, 0x69,
|
|
0x6e, 0x67, 0x54, 0x78, 0x69, 0x64, 0x1a, 0xee, 0x03, 0x0a, 0x12, 0x46, 0x6f, 0x72, 0x63, 0x65,
|
|
0x43, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x47, 0x0a,
|
|
0x07, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d,
|
|
0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x43, 0x68,
|
|
0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50,
|
|
0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x07, 0x63,
|
|
0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6c, 0x6f, 0x73, 0x69, 0x6e,
|
|
0x67, 0x5f, 0x74, 0x78, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6c,
|
|
0x6f, 0x73, 0x69, 0x6e, 0x67, 0x54, 0x78, 0x69, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x6c, 0x69, 0x6d,
|
|
0x62, 0x6f, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03,
|
|
0x52, 0x0c, 0x6c, 0x69, 0x6d, 0x62, 0x6f, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x27,
|
|
0x0a, 0x0f, 0x6d, 0x61, 0x74, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68,
|
|
0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x6d, 0x61, 0x74, 0x75, 0x72, 0x69, 0x74,
|
|
0x79, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x2e, 0x0a, 0x13, 0x62, 0x6c, 0x6f, 0x63, 0x6b,
|
|
0x73, 0x5f, 0x74, 0x69, 0x6c, 0x5f, 0x6d, 0x61, 0x74, 0x75, 0x72, 0x69, 0x74, 0x79, 0x18, 0x05,
|
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x11, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x54, 0x69, 0x6c, 0x4d,
|
|
0x61, 0x74, 0x75, 0x72, 0x69, 0x74, 0x79, 0x12, 0x2b, 0x0a, 0x11, 0x72, 0x65, 0x63, 0x6f, 0x76,
|
|
0x65, 0x72, 0x65, 0x64, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01,
|
|
0x28, 0x03, 0x52, 0x10, 0x72, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x65, 0x64, 0x42, 0x61, 0x6c,
|
|
0x61, 0x6e, 0x63, 0x65, 0x12, 0x37, 0x0a, 0x0d, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f,
|
|
0x68, 0x74, 0x6c, 0x63, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6c, 0x6e,
|
|
0x72, 0x70, 0x63, 0x2e, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x48, 0x54, 0x4c, 0x43, 0x52,
|
|
0x0c, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x48, 0x74, 0x6c, 0x63, 0x73, 0x12, 0x55, 0x0a,
|
|
0x06, 0x61, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3d, 0x2e,
|
|
0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x43, 0x68, 0x61,
|
|
0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x46, 0x6f,
|
|
0x72, 0x63, 0x65, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c,
|
|
0x2e, 0x41, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x06, 0x61, 0x6e,
|
|
0x63, 0x68, 0x6f, 0x72, 0x22, 0x31, 0x0a, 0x0b, 0x41, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x53, 0x74,
|
|
0x61, 0x74, 0x65, 0x12, 0x09, 0x0a, 0x05, 0x4c, 0x49, 0x4d, 0x42, 0x4f, 0x10, 0x00, 0x12, 0x0d,
|
|
0x0a, 0x09, 0x52, 0x45, 0x43, 0x4f, 0x56, 0x45, 0x52, 0x45, 0x44, 0x10, 0x01, 0x12, 0x08, 0x0a,
|
|
0x04, 0x4c, 0x4f, 0x53, 0x54, 0x10, 0x02, 0x22, 0x1a, 0x0a, 0x18, 0x43, 0x68, 0x61, 0x6e, 0x6e,
|
|
0x65, 0x6c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
|
|
0x69, 0x6f, 0x6e, 0x22, 0xff, 0x04, 0x0a, 0x12, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x45,
|
|
0x76, 0x65, 0x6e, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x33, 0x0a, 0x0c, 0x6f, 0x70,
|
|
0x65, 0x6e, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x0e, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c,
|
|
0x48, 0x00, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12,
|
|
0x43, 0x0a, 0x0e, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65,
|
|
0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e,
|
|
0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x53, 0x75, 0x6d, 0x6d,
|
|
0x61, 0x72, 0x79, 0x48, 0x00, 0x52, 0x0d, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x43, 0x68, 0x61,
|
|
0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x3c, 0x0a, 0x0e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63,
|
|
0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6c,
|
|
0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x50, 0x6f, 0x69, 0x6e,
|
|
0x74, 0x48, 0x00, 0x52, 0x0d, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x6e,
|
|
0x65, 0x6c, 0x12, 0x40, 0x0a, 0x10, 0x69, 0x6e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x63,
|
|
0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6c,
|
|
0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x50, 0x6f, 0x69, 0x6e,
|
|
0x74, 0x48, 0x00, 0x52, 0x0f, 0x69, 0x6e, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x43, 0x68, 0x61,
|
|
0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x48, 0x0a, 0x14, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f,
|
|
0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x18, 0x06, 0x20, 0x01,
|
|
0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x65, 0x6e, 0x64, 0x69,
|
|
0x6e, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x12, 0x70, 0x65, 0x6e, 0x64,
|
|
0x69, 0x6e, 0x67, 0x4f, 0x70, 0x65, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x4b,
|
|
0x0a, 0x16, 0x66, 0x75, 0x6c, 0x6c, 0x79, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x64,
|
|
0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13,
|
|
0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x50, 0x6f,
|
|
0x69, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x14, 0x66, 0x75, 0x6c, 0x6c, 0x79, 0x52, 0x65, 0x73, 0x6f,
|
|
0x6c, 0x76, 0x65, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x38, 0x0a, 0x04, 0x74,
|
|
0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 0x2e, 0x6c, 0x6e, 0x72, 0x70,
|
|
0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x55, 0x70,
|
|
0x64, 0x61, 0x74, 0x65, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52,
|
|
0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x92, 0x01, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
|
|
0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x4f, 0x50, 0x45, 0x4e, 0x5f, 0x43, 0x48, 0x41,
|
|
0x4e, 0x4e, 0x45, 0x4c, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x43, 0x4c, 0x4f, 0x53, 0x45, 0x44,
|
|
0x5f, 0x43, 0x48, 0x41, 0x4e, 0x4e, 0x45, 0x4c, 0x10, 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x41, 0x43,
|
|
0x54, 0x49, 0x56, 0x45, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x4e, 0x45, 0x4c, 0x10, 0x02, 0x12, 0x14,
|
|
0x0a, 0x10, 0x49, 0x4e, 0x41, 0x43, 0x54, 0x49, 0x56, 0x45, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x4e,
|
|
0x45, 0x4c, 0x10, 0x03, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x5f,
|
|
0x4f, 0x50, 0x45, 0x4e, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x4e, 0x45, 0x4c, 0x10, 0x04, 0x12, 0x1a,
|
|
0x0a, 0x16, 0x46, 0x55, 0x4c, 0x4c, 0x59, 0x5f, 0x52, 0x45, 0x53, 0x4f, 0x4c, 0x56, 0x45, 0x44,
|
|
0x5f, 0x43, 0x48, 0x41, 0x4e, 0x4e, 0x45, 0x4c, 0x10, 0x05, 0x42, 0x09, 0x0a, 0x07, 0x63, 0x68,
|
|
0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x22, 0x74, 0x0a, 0x14, 0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x41,
|
|
0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x2b, 0x0a,
|
|
0x11, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x65, 0x64, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e,
|
|
0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72,
|
|
0x6d, 0x65, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x2f, 0x0a, 0x13, 0x75, 0x6e,
|
|
0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x65, 0x64, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63,
|
|
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x12, 0x75, 0x6e, 0x63, 0x6f, 0x6e, 0x66, 0x69,
|
|
0x72, 0x6d, 0x65, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x4d, 0x0a, 0x14, 0x57,
|
|
0x61, 0x6c, 0x6c, 0x65, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75,
|
|
0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1b, 0x0a,
|
|
0x09, 0x6d, 0x69, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
|
|
0x52, 0x08, 0x6d, 0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x73, 0x22, 0xbd, 0x03, 0x0a, 0x15, 0x57,
|
|
0x61, 0x6c, 0x6c, 0x65, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70,
|
|
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x62, 0x61,
|
|
0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x74, 0x6f, 0x74,
|
|
0x61, 0x6c, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x2b, 0x0a, 0x11, 0x63, 0x6f, 0x6e,
|
|
0x66, 0x69, 0x72, 0x6d, 0x65, 0x64, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x02,
|
|
0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x65, 0x64, 0x42,
|
|
0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x2f, 0x0a, 0x13, 0x75, 0x6e, 0x63, 0x6f, 0x6e, 0x66,
|
|
0x69, 0x72, 0x6d, 0x65, 0x64, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20,
|
|
0x01, 0x28, 0x03, 0x52, 0x12, 0x75, 0x6e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x65, 0x64,
|
|
0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x6c, 0x6f, 0x63, 0x6b, 0x65,
|
|
0x64, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52,
|
|
0x0d, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x3f,
|
|
0x0a, 0x1c, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e,
|
|
0x63, 0x65, 0x5f, 0x61, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x18, 0x06,
|
|
0x20, 0x01, 0x28, 0x03, 0x52, 0x19, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x42, 0x61,
|
|
0x6c, 0x61, 0x6e, 0x63, 0x65, 0x41, 0x6e, 0x63, 0x68, 0x6f, 0x72, 0x43, 0x68, 0x61, 0x6e, 0x12,
|
|
0x59, 0x0a, 0x0f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e,
|
|
0x63, 0x65, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63,
|
|
0x2e, 0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65,
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61,
|
|
0x6c, 0x61, 0x6e, 0x63, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0e, 0x61, 0x63, 0x63, 0x6f,
|
|
0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x1a, 0x5e, 0x0a, 0x13, 0x41, 0x63,
|
|
0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x45, 0x6e, 0x74, 0x72,
|
|
0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
|
|
0x6b, 0x65, 0x79, 0x12, 0x31, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01,
|
|
0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x57, 0x61, 0x6c, 0x6c, 0x65,
|
|
0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52,
|
|
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x2e, 0x0a, 0x06, 0x41, 0x6d,
|
|
0x6f, 0x75, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x04, 0x52, 0x03, 0x73, 0x61, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x73, 0x61, 0x74, 0x18, 0x02,
|
|
0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x6d, 0x73, 0x61, 0x74, 0x22, 0x17, 0x0a, 0x15, 0x43, 0x68,
|
|
0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75,
|
|
0x65, 0x73, 0x74, 0x22, 0x80, 0x04, 0x0a, 0x16, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x42,
|
|
0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c,
|
|
0x0a, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x42,
|
|
0x02, 0x18, 0x01, 0x52, 0x07, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x34, 0x0a, 0x14,
|
|
0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x62, 0x61, 0x6c,
|
|
0x61, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x42, 0x02, 0x18, 0x01, 0x52, 0x12,
|
|
0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4f, 0x70, 0x65, 0x6e, 0x42, 0x61, 0x6c, 0x61, 0x6e,
|
|
0x63, 0x65, 0x12, 0x32, 0x0a, 0x0d, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x62, 0x61, 0x6c, 0x61,
|
|
0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x6c, 0x6e, 0x72, 0x70,
|
|
0x63, 0x2e, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x0c, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x42,
|
|
0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x34, 0x0a, 0x0e, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65,
|
|
0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d,
|
|
0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x0d, 0x72,
|
|
0x65, 0x6d, 0x6f, 0x74, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x45, 0x0a, 0x17,
|
|
0x75, 0x6e, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f,
|
|
0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e,
|
|
0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x15, 0x75, 0x6e,
|
|
0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x42, 0x61, 0x6c, 0x61,
|
|
0x6e, 0x63, 0x65, 0x12, 0x47, 0x0a, 0x18, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x64,
|
|
0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18,
|
|
0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x41, 0x6d,
|
|
0x6f, 0x75, 0x6e, 0x74, 0x52, 0x16, 0x75, 0x6e, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x52,
|
|
0x65, 0x6d, 0x6f, 0x74, 0x65, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x4a, 0x0a, 0x1a,
|
|
0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x6c, 0x6f, 0x63,
|
|
0x61, 0x6c, 0x5f, 0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x0d, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x52,
|
|
0x17, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4f, 0x70, 0x65, 0x6e, 0x4c, 0x6f, 0x63, 0x61,
|
|
0x6c, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x4c, 0x0a, 0x1b, 0x70, 0x65, 0x6e, 0x64,
|
|
0x69, 0x6e, 0x67, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f,
|
|
0x62, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e,
|
|
0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x18, 0x70, 0x65,
|
|
0x6e, 0x64, 0x69, 0x6e, 0x67, 0x4f, 0x70, 0x65, 0x6e, 0x52, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x42,
|
|
0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x9a, 0x07, 0x0a, 0x12, 0x51, 0x75, 0x65, 0x72, 0x79,
|
|
0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a,
|
|
0x07, 0x70, 0x75, 0x62, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
|
|
0x70, 0x75, 0x62, 0x4b, 0x65, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x6d, 0x74, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x03, 0x52, 0x03, 0x61, 0x6d, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x6d, 0x74, 0x5f,
|
|
0x6d, 0x73, 0x61, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x61, 0x6d, 0x74, 0x4d,
|
|
0x73, 0x61, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x5f, 0x63, 0x6c, 0x74,
|
|
0x76, 0x5f, 0x64, 0x65, 0x6c, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x66,
|
|
0x69, 0x6e, 0x61, 0x6c, 0x43, 0x6c, 0x74, 0x76, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x12, 0x2c, 0x0a,
|
|
0x09, 0x66, 0x65, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x0f, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x46, 0x65, 0x65, 0x4c, 0x69, 0x6d, 0x69,
|
|
0x74, 0x52, 0x08, 0x66, 0x65, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x69,
|
|
0x67, 0x6e, 0x6f, 0x72, 0x65, 0x64, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03,
|
|
0x28, 0x0c, 0x52, 0x0c, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x73,
|
|
0x12, 0x3b, 0x0a, 0x0d, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x64, 0x5f, 0x65, 0x64, 0x67, 0x65,
|
|
0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e,
|
|
0x45, 0x64, 0x67, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x42, 0x02, 0x18, 0x01, 0x52,
|
|
0x0c, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x64, 0x45, 0x64, 0x67, 0x65, 0x73, 0x12, 0x24, 0x0a,
|
|
0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x75, 0x62, 0x5f, 0x6b, 0x65, 0x79, 0x18,
|
|
0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x75, 0x62,
|
|
0x4b, 0x65, 0x79, 0x12, 0x2e, 0x0a, 0x13, 0x75, 0x73, 0x65, 0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69,
|
|
0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08,
|
|
0x52, 0x11, 0x75, 0x73, 0x65, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74,
|
|
0x72, 0x6f, 0x6c, 0x12, 0x34, 0x0a, 0x0d, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x64, 0x5f, 0x70,
|
|
0x61, 0x69, 0x72, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x6c, 0x6e, 0x72,
|
|
0x70, 0x63, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x61, 0x69, 0x72, 0x52, 0x0c, 0x69, 0x67, 0x6e,
|
|
0x6f, 0x72, 0x65, 0x64, 0x50, 0x61, 0x69, 0x72, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6c, 0x74,
|
|
0x76, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x63,
|
|
0x6c, 0x74, 0x76, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x60, 0x0a, 0x13, 0x64, 0x65, 0x73, 0x74,
|
|
0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x18,
|
|
0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x51, 0x75,
|
|
0x65, 0x72, 0x79, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
0x2e, 0x44, 0x65, 0x73, 0x74, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x65, 0x63, 0x6f, 0x72,
|
|
0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x11, 0x64, 0x65, 0x73, 0x74, 0x43, 0x75, 0x73,
|
|
0x74, 0x6f, 0x6d, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x2c, 0x0a, 0x10, 0x6f, 0x75,
|
|
0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x0e,
|
|
0x20, 0x01, 0x28, 0x04, 0x42, 0x02, 0x30, 0x01, 0x52, 0x0e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69,
|
|
0x6e, 0x67, 0x43, 0x68, 0x61, 0x6e, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x6c, 0x61, 0x73, 0x74,
|
|
0x5f, 0x68, 0x6f, 0x70, 0x5f, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x18, 0x0f, 0x20, 0x01, 0x28,
|
|
0x0c, 0x52, 0x0d, 0x6c, 0x61, 0x73, 0x74, 0x48, 0x6f, 0x70, 0x50, 0x75, 0x62, 0x6b, 0x65, 0x79,
|
|
0x12, 0x31, 0x0a, 0x0b, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x68, 0x69, 0x6e, 0x74, 0x73, 0x18,
|
|
0x10, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x6f,
|
|
0x75, 0x74, 0x65, 0x48, 0x69, 0x6e, 0x74, 0x52, 0x0a, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x48, 0x69,
|
|
0x6e, 0x74, 0x73, 0x12, 0x4d, 0x0a, 0x15, 0x62, 0x6c, 0x69, 0x6e, 0x64, 0x65, 0x64, 0x5f, 0x70,
|
|
0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, 0x13, 0x20, 0x03,
|
|
0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x42, 0x6c, 0x69, 0x6e, 0x64,
|
|
0x65, 0x64, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x61, 0x74, 0x68, 0x52, 0x13, 0x62,
|
|
0x6c, 0x69, 0x6e, 0x64, 0x65, 0x64, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x61, 0x74,
|
|
0x68, 0x73, 0x12, 0x36, 0x0a, 0x0d, 0x64, 0x65, 0x73, 0x74, 0x5f, 0x66, 0x65, 0x61, 0x74, 0x75,
|
|
0x72, 0x65, 0x73, 0x18, 0x11, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x6c, 0x6e, 0x72, 0x70,
|
|
0x63, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x42, 0x69, 0x74, 0x52, 0x0c, 0x64, 0x65,
|
|
0x73, 0x74, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x69,
|
|
0x6d, 0x65, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x18, 0x12, 0x20, 0x01, 0x28, 0x01, 0x52, 0x08, 0x74,
|
|
0x69, 0x6d, 0x65, 0x50, 0x72, 0x65, 0x66, 0x1a, 0x44, 0x0a, 0x16, 0x44, 0x65, 0x73, 0x74, 0x43,
|
|
0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72,
|
|
0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03,
|
|
0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01,
|
|
0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x4a, 0x04, 0x08,
|
|
0x03, 0x10, 0x04, 0x22, 0x2e, 0x0a, 0x08, 0x4e, 0x6f, 0x64, 0x65, 0x50, 0x61, 0x69, 0x72, 0x12,
|
|
0x12, 0x0a, 0x04, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x66,
|
|
0x72, 0x6f, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x74, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52,
|
|
0x02, 0x74, 0x6f, 0x22, 0x5d, 0x0a, 0x0b, 0x45, 0x64, 0x67, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74,
|
|
0x6f, 0x72, 0x12, 0x21, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x69, 0x64,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x02, 0x30, 0x01, 0x52, 0x09, 0x63, 0x68, 0x61, 0x6e,
|
|
0x6e, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x2b, 0x0a, 0x11, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69,
|
|
0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08,
|
|
0x52, 0x10, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x76, 0x65, 0x72,
|
|
0x73, 0x65, 0x22, 0x5e, 0x0a, 0x13, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x6f, 0x75, 0x74, 0x65,
|
|
0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x06, 0x72, 0x6f, 0x75,
|
|
0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x6c, 0x6e, 0x72, 0x70,
|
|
0x63, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x06, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x12,
|
|
0x21, 0x0a, 0x0c, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x62, 0x18,
|
|
0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0b, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x50, 0x72,
|
|
0x6f, 0x62, 0x22, 0xa5, 0x05, 0x0a, 0x03, 0x48, 0x6f, 0x70, 0x12, 0x1b, 0x0a, 0x07, 0x63, 0x68,
|
|
0x61, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x02, 0x30, 0x01, 0x52,
|
|
0x06, 0x63, 0x68, 0x61, 0x6e, 0x49, 0x64, 0x12, 0x27, 0x0a, 0x0d, 0x63, 0x68, 0x61, 0x6e, 0x5f,
|
|
0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x42, 0x02,
|
|
0x18, 0x01, 0x52, 0x0c, 0x63, 0x68, 0x61, 0x6e, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79,
|
|
0x12, 0x28, 0x0a, 0x0e, 0x61, 0x6d, 0x74, 0x5f, 0x74, 0x6f, 0x5f, 0x66, 0x6f, 0x72, 0x77, 0x61,
|
|
0x72, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0c, 0x61, 0x6d,
|
|
0x74, 0x54, 0x6f, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x12, 0x14, 0x0a, 0x03, 0x66, 0x65,
|
|
0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x42, 0x02, 0x18, 0x01, 0x52, 0x03, 0x66, 0x65, 0x65,
|
|
0x12, 0x16, 0x0a, 0x06, 0x65, 0x78, 0x70, 0x69, 0x72, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d,
|
|
0x52, 0x06, 0x65, 0x78, 0x70, 0x69, 0x72, 0x79, 0x12, 0x2d, 0x0a, 0x13, 0x61, 0x6d, 0x74, 0x5f,
|
|
0x74, 0x6f, 0x5f, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x5f, 0x6d, 0x73, 0x61, 0x74, 0x18,
|
|
0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x61, 0x6d, 0x74, 0x54, 0x6f, 0x46, 0x6f, 0x72, 0x77,
|
|
0x61, 0x72, 0x64, 0x4d, 0x73, 0x61, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x66, 0x65, 0x65, 0x5f, 0x6d,
|
|
0x73, 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x66, 0x65, 0x65, 0x4d, 0x73,
|
|
0x61, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x75, 0x62, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x08, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x75, 0x62, 0x4b, 0x65, 0x79, 0x12, 0x23, 0x0a, 0x0b, 0x74,
|
|
0x6c, 0x76, 0x5f, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08,
|
|
0x42, 0x02, 0x18, 0x01, 0x52, 0x0a, 0x74, 0x6c, 0x76, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64,
|
|
0x12, 0x2f, 0x0a, 0x0a, 0x6d, 0x70, 0x70, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18, 0x0a,
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4d, 0x50, 0x50,
|
|
0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x09, 0x6d, 0x70, 0x70, 0x52, 0x65, 0x63, 0x6f, 0x72,
|
|
0x64, 0x12, 0x2f, 0x0a, 0x0a, 0x61, 0x6d, 0x70, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x18,
|
|
0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x41, 0x4d,
|
|
0x50, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x09, 0x61, 0x6d, 0x70, 0x52, 0x65, 0x63, 0x6f,
|
|
0x72, 0x64, 0x12, 0x44, 0x0a, 0x0e, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x72, 0x65, 0x63,
|
|
0x6f, 0x72, 0x64, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6c, 0x6e, 0x72,
|
|
0x70, 0x63, 0x2e, 0x48, 0x6f, 0x70, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x65, 0x63,
|
|
0x6f, 0x72, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x63, 0x75, 0x73, 0x74, 0x6f,
|
|
0x6d, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61,
|
|
0x64, 0x61, 0x74, 0x61, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61,
|
|
0x64, 0x61, 0x74, 0x61, 0x12, 0x25, 0x0a, 0x0e, 0x62, 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67,
|
|
0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x62, 0x6c,
|
|
0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x65,
|
|
0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0f, 0x20,
|
|
0x01, 0x28, 0x0c, 0x52, 0x0d, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x44, 0x61,
|
|
0x74, 0x61, 0x12, 0x24, 0x0a, 0x0e, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x61, 0x6d, 0x74, 0x5f,
|
|
0x6d, 0x73, 0x61, 0x74, 0x18, 0x10, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c, 0x74, 0x6f, 0x74, 0x61,
|
|
0x6c, 0x41, 0x6d, 0x74, 0x4d, 0x73, 0x61, 0x74, 0x1a, 0x40, 0x0a, 0x12, 0x43, 0x75, 0x73, 0x74,
|
|
0x6f, 0x6d, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10,
|
|
0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x6b, 0x65, 0x79,
|
|
0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52,
|
|
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x54, 0x0a, 0x09, 0x4d, 0x50,
|
|
0x50, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x61, 0x79, 0x6d, 0x65,
|
|
0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x70,
|
|
0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x12, 0x24, 0x0a, 0x0e, 0x74, 0x6f,
|
|
0x74, 0x61, 0x6c, 0x5f, 0x61, 0x6d, 0x74, 0x5f, 0x6d, 0x73, 0x61, 0x74, 0x18, 0x0a, 0x20, 0x01,
|
|
0x28, 0x03, 0x52, 0x0c, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x41, 0x6d, 0x74, 0x4d, 0x73, 0x61, 0x74,
|
|
0x22, 0x62, 0x0a, 0x09, 0x41, 0x4d, 0x50, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x1d, 0x0a,
|
|
0x0a, 0x72, 0x6f, 0x6f, 0x74, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x0c, 0x52, 0x09, 0x72, 0x6f, 0x6f, 0x74, 0x53, 0x68, 0x61, 0x72, 0x65, 0x12, 0x15, 0x0a, 0x06,
|
|
0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x73, 0x65,
|
|
0x74, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x5f, 0x69, 0x6e, 0x64,
|
|
0x65, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x49,
|
|
0x6e, 0x64, 0x65, 0x78, 0x22, 0xe1, 0x01, 0x0a, 0x05, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x12, 0x26,
|
|
0x0a, 0x0f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6c, 0x6f, 0x63,
|
|
0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x54, 0x69,
|
|
0x6d, 0x65, 0x4c, 0x6f, 0x63, 0x6b, 0x12, 0x21, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f,
|
|
0x66, 0x65, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x42, 0x02, 0x18, 0x01, 0x52, 0x09,
|
|
0x74, 0x6f, 0x74, 0x61, 0x6c, 0x46, 0x65, 0x65, 0x73, 0x12, 0x1f, 0x0a, 0x09, 0x74, 0x6f, 0x74,
|
|
0x61, 0x6c, 0x5f, 0x61, 0x6d, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x42, 0x02, 0x18, 0x01,
|
|
0x52, 0x08, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x41, 0x6d, 0x74, 0x12, 0x1e, 0x0a, 0x04, 0x68, 0x6f,
|
|
0x70, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63,
|
|
0x2e, 0x48, 0x6f, 0x70, 0x52, 0x04, 0x68, 0x6f, 0x70, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x74, 0x6f,
|
|
0x74, 0x61, 0x6c, 0x5f, 0x66, 0x65, 0x65, 0x73, 0x5f, 0x6d, 0x73, 0x61, 0x74, 0x18, 0x05, 0x20,
|
|
0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x46, 0x65, 0x65, 0x73, 0x4d, 0x73,
|
|
0x61, 0x74, 0x12, 0x24, 0x0a, 0x0e, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x61, 0x6d, 0x74, 0x5f,
|
|
0x6d, 0x73, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x74, 0x6f, 0x74, 0x61,
|
|
0x6c, 0x41, 0x6d, 0x74, 0x4d, 0x73, 0x61, 0x74, 0x22, 0x55, 0x0a, 0x0f, 0x4e, 0x6f, 0x64, 0x65,
|
|
0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x70,
|
|
0x75, 0x62, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x75,
|
|
0x62, 0x4b, 0x65, 0x79, 0x12, 0x29, 0x0a, 0x10, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f,
|
|
0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f,
|
|
0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x22,
|
|
0xae, 0x01, 0x0a, 0x08, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x28, 0x0a, 0x04,
|
|
0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6c, 0x6e, 0x72,
|
|
0x70, 0x63, 0x2e, 0x4c, 0x69, 0x67, 0x68, 0x74, 0x6e, 0x69, 0x6e, 0x67, 0x4e, 0x6f, 0x64, 0x65,
|
|
0x52, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6e, 0x75, 0x6d, 0x5f, 0x63, 0x68,
|
|
0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x6e, 0x75,
|
|
0x6d, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x74, 0x6f, 0x74,
|
|
0x61, 0x6c, 0x5f, 0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
0x03, 0x52, 0x0d, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79,
|
|
0x12, 0x2e, 0x0a, 0x08, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x03,
|
|
0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e,
|
|
0x65, 0x6c, 0x45, 0x64, 0x67, 0x65, 0x52, 0x08, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73,
|
|
0x22, 0xc6, 0x03, 0x0a, 0x0d, 0x4c, 0x69, 0x67, 0x68, 0x74, 0x6e, 0x69, 0x6e, 0x67, 0x4e, 0x6f,
|
|
0x64, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74,
|
|
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64,
|
|
0x61, 0x74, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x75, 0x62, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x75, 0x62, 0x4b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05,
|
|
0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x6c, 0x69,
|
|
0x61, 0x73, 0x12, 0x30, 0x0a, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18,
|
|
0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4e, 0x6f,
|
|
0x64, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65,
|
|
0x73, 0x73, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x05, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x3e, 0x0a, 0x08, 0x66, 0x65,
|
|
0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6c,
|
|
0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x67, 0x68, 0x74, 0x6e, 0x69, 0x6e, 0x67, 0x4e, 0x6f,
|
|
0x64, 0x65, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
|
|
0x52, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x4e, 0x0a, 0x0e, 0x63, 0x75,
|
|
0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x18, 0x07, 0x20, 0x03,
|
|
0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x67, 0x68, 0x74,
|
|
0x6e, 0x69, 0x6e, 0x67, 0x4e, 0x6f, 0x64, 0x65, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52,
|
|
0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0d, 0x63, 0x75, 0x73,
|
|
0x74, 0x6f, 0x6d, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x1a, 0x4b, 0x0a, 0x0d, 0x46, 0x65,
|
|
0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
|
|
0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x24, 0x0a,
|
|
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6c,
|
|
0x6e, 0x72, 0x70, 0x63, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x05, 0x76, 0x61,
|
|
0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x40, 0x0a, 0x12, 0x43, 0x75, 0x73, 0x74, 0x6f,
|
|
0x6d, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
|
|
0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
|
|
0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05,
|
|
0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x3b, 0x0a, 0x0b, 0x4e, 0x6f, 0x64,
|
|
0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x65, 0x74, 0x77,
|
|
0x6f, 0x72, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6e, 0x65, 0x74, 0x77, 0x6f,
|
|
0x72, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x64, 0x64, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x04, 0x61, 0x64, 0x64, 0x72, 0x22, 0x89, 0x04, 0x0a, 0x0d, 0x52, 0x6f, 0x75, 0x74, 0x69,
|
|
0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x26, 0x0a, 0x0f, 0x74, 0x69, 0x6d, 0x65,
|
|
0x5f, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x64, 0x65, 0x6c, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x0d, 0x52, 0x0d, 0x74, 0x69, 0x6d, 0x65, 0x4c, 0x6f, 0x63, 0x6b, 0x44, 0x65, 0x6c, 0x74, 0x61,
|
|
0x12, 0x19, 0x0a, 0x08, 0x6d, 0x69, 0x6e, 0x5f, 0x68, 0x74, 0x6c, 0x63, 0x18, 0x02, 0x20, 0x01,
|
|
0x28, 0x03, 0x52, 0x07, 0x6d, 0x69, 0x6e, 0x48, 0x74, 0x6c, 0x63, 0x12, 0x22, 0x0a, 0x0d, 0x66,
|
|
0x65, 0x65, 0x5f, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x6d, 0x73, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01,
|
|
0x28, 0x03, 0x52, 0x0b, 0x66, 0x65, 0x65, 0x42, 0x61, 0x73, 0x65, 0x4d, 0x73, 0x61, 0x74, 0x12,
|
|
0x2d, 0x0a, 0x13, 0x66, 0x65, 0x65, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x69, 0x6c, 0x6c,
|
|
0x69, 0x5f, 0x6d, 0x73, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x66, 0x65,
|
|
0x65, 0x52, 0x61, 0x74, 0x65, 0x4d, 0x69, 0x6c, 0x6c, 0x69, 0x4d, 0x73, 0x61, 0x74, 0x12, 0x1a,
|
|
0x0a, 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08,
|
|
0x52, 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x22, 0x0a, 0x0d, 0x6d, 0x61,
|
|
0x78, 0x5f, 0x68, 0x74, 0x6c, 0x63, 0x5f, 0x6d, 0x73, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28,
|
|
0x04, 0x52, 0x0b, 0x6d, 0x61, 0x78, 0x48, 0x74, 0x6c, 0x63, 0x4d, 0x73, 0x61, 0x74, 0x12, 0x1f,
|
|
0x0a, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20,
|
|
0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12,
|
|
0x4e, 0x0a, 0x0e, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64,
|
|
0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e,
|
|
0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x43, 0x75,
|
|
0x73, 0x74, 0x6f, 0x6d, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
|
|
0x52, 0x0d, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x12,
|
|
0x31, 0x0a, 0x15, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x66, 0x65, 0x65, 0x5f, 0x62,
|
|
0x61, 0x73, 0x65, 0x5f, 0x6d, 0x73, 0x61, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x12,
|
|
0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x46, 0x65, 0x65, 0x42, 0x61, 0x73, 0x65, 0x4d, 0x73,
|
|
0x61, 0x74, 0x12, 0x3c, 0x0a, 0x1b, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x66, 0x65,
|
|
0x65, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x5f, 0x6d, 0x73, 0x61,
|
|
0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, 0x17, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64,
|
|
0x46, 0x65, 0x65, 0x52, 0x61, 0x74, 0x65, 0x4d, 0x69, 0x6c, 0x6c, 0x69, 0x4d, 0x73, 0x61, 0x74,
|
|
0x1a, 0x40, 0x0a, 0x12, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64,
|
|
0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x04, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
|
|
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02,
|
|
0x38, 0x01, 0x22, 0xcc, 0x03, 0x0a, 0x0b, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x45, 0x64,
|
|
0x67, 0x65, 0x12, 0x21, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x69, 0x64,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x02, 0x30, 0x01, 0x52, 0x09, 0x63, 0x68, 0x61, 0x6e,
|
|
0x6e, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x6e, 0x5f, 0x70, 0x6f,
|
|
0x69, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x68, 0x61, 0x6e, 0x50,
|
|
0x6f, 0x69, 0x6e, 0x74, 0x12, 0x23, 0x0a, 0x0b, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x75, 0x70, 0x64,
|
|
0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0a, 0x6c,
|
|
0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x6f, 0x64,
|
|
0x65, 0x31, 0x5f, 0x70, 0x75, 0x62, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x6f,
|
|
0x64, 0x65, 0x31, 0x50, 0x75, 0x62, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x6f, 0x64, 0x65, 0x32, 0x5f,
|
|
0x70, 0x75, 0x62, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x32,
|
|
0x50, 0x75, 0x62, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x18,
|
|
0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x12,
|
|
0x37, 0x0a, 0x0c, 0x6e, 0x6f, 0x64, 0x65, 0x31, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18,
|
|
0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x6f,
|
|
0x75, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x0b, 0x6e, 0x6f, 0x64,
|
|
0x65, 0x31, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x37, 0x0a, 0x0c, 0x6e, 0x6f, 0x64, 0x65,
|
|
0x32, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14,
|
|
0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f,
|
|
0x6c, 0x69, 0x63, 0x79, 0x52, 0x0b, 0x6e, 0x6f, 0x64, 0x65, 0x32, 0x50, 0x6f, 0x6c, 0x69, 0x63,
|
|
0x79, 0x12, 0x4c, 0x0a, 0x0e, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x72, 0x65, 0x63, 0x6f,
|
|
0x72, 0x64, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6c, 0x6e, 0x72, 0x70,
|
|
0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x45, 0x64, 0x67, 0x65, 0x2e, 0x43, 0x75,
|
|
0x73, 0x74, 0x6f, 0x6d, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
|
|
0x52, 0x0d, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x1a,
|
|
0x40, 0x0a, 0x12, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73,
|
|
0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x04, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
|
|
0x01, 0x22, 0x46, 0x0a, 0x13, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x47, 0x72, 0x61, 0x70,
|
|
0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2f, 0x0a, 0x13, 0x69, 0x6e, 0x63, 0x6c,
|
|
0x75, 0x64, 0x65, 0x5f, 0x75, 0x6e, 0x61, 0x6e, 0x6e, 0x6f, 0x75, 0x6e, 0x63, 0x65, 0x64, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x55, 0x6e,
|
|
0x61, 0x6e, 0x6e, 0x6f, 0x75, 0x6e, 0x63, 0x65, 0x64, 0x22, 0x64, 0x0a, 0x0c, 0x43, 0x68, 0x61,
|
|
0x6e, 0x6e, 0x65, 0x6c, 0x47, 0x72, 0x61, 0x70, 0x68, 0x12, 0x2a, 0x0a, 0x05, 0x6e, 0x6f, 0x64,
|
|
0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63,
|
|
0x2e, 0x4c, 0x69, 0x67, 0x68, 0x74, 0x6e, 0x69, 0x6e, 0x67, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x05,
|
|
0x6e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x28, 0x0a, 0x05, 0x65, 0x64, 0x67, 0x65, 0x73, 0x18, 0x02,
|
|
0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x61,
|
|
0x6e, 0x6e, 0x65, 0x6c, 0x45, 0x64, 0x67, 0x65, 0x52, 0x05, 0x65, 0x64, 0x67, 0x65, 0x73, 0x22,
|
|
0x41, 0x0a, 0x12, 0x4e, 0x6f, 0x64, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x65,
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2b, 0x0a, 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x01,
|
|
0x20, 0x03, 0x28, 0x0e, 0x32, 0x15, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4e, 0x6f, 0x64,
|
|
0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x74, 0x79, 0x70,
|
|
0x65, 0x73, 0x22, 0xe1, 0x01, 0x0a, 0x13, 0x4e, 0x6f, 0x64, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69,
|
|
0x63, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6c, 0x0a, 0x16, 0x62, 0x65,
|
|
0x74, 0x77, 0x65, 0x65, 0x6e, 0x6e, 0x65, 0x73, 0x73, 0x5f, 0x63, 0x65, 0x6e, 0x74, 0x72, 0x61,
|
|
0x6c, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x6c, 0x6e, 0x72,
|
|
0x70, 0x63, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x65,
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x42, 0x65, 0x74, 0x77, 0x65, 0x65, 0x6e, 0x6e, 0x65,
|
|
0x73, 0x73, 0x43, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x45, 0x6e, 0x74, 0x72,
|
|
0x79, 0x52, 0x15, 0x62, 0x65, 0x74, 0x77, 0x65, 0x65, 0x6e, 0x6e, 0x65, 0x73, 0x73, 0x43, 0x65,
|
|
0x6e, 0x74, 0x72, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x1a, 0x5c, 0x0a, 0x1a, 0x42, 0x65, 0x74, 0x77,
|
|
0x65, 0x65, 0x6e, 0x6e, 0x65, 0x73, 0x73, 0x43, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6c, 0x69, 0x74,
|
|
0x79, 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, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e,
|
|
0x46, 0x6c, 0x6f, 0x61, 0x74, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x52, 0x05, 0x76, 0x61, 0x6c,
|
|
0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x4e, 0x0a, 0x0b, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x4d,
|
|
0x65, 0x74, 0x72, 0x69, 0x63, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x01, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x6e,
|
|
0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
|
|
0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0f, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x69, 0x7a, 0x65,
|
|
0x64, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x4d, 0x0a, 0x0f, 0x43, 0x68, 0x61, 0x6e, 0x49, 0x6e,
|
|
0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x07, 0x63, 0x68, 0x61,
|
|
0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x02, 0x30, 0x01, 0x52, 0x06,
|
|
0x63, 0x68, 0x61, 0x6e, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x6e, 0x5f, 0x70,
|
|
0x6f, 0x69, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x68, 0x61, 0x6e,
|
|
0x50, 0x6f, 0x69, 0x6e, 0x74, 0x22, 0x14, 0x0a, 0x12, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b,
|
|
0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xd5, 0x03, 0x0a, 0x0b,
|
|
0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x25, 0x0a, 0x0e, 0x67,
|
|
0x72, 0x61, 0x70, 0x68, 0x5f, 0x64, 0x69, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x0d, 0x52, 0x0d, 0x67, 0x72, 0x61, 0x70, 0x68, 0x44, 0x69, 0x61, 0x6d, 0x65, 0x74,
|
|
0x65, 0x72, 0x12, 0x24, 0x0a, 0x0e, 0x61, 0x76, 0x67, 0x5f, 0x6f, 0x75, 0x74, 0x5f, 0x64, 0x65,
|
|
0x67, 0x72, 0x65, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0c, 0x61, 0x76, 0x67, 0x4f,
|
|
0x75, 0x74, 0x44, 0x65, 0x67, 0x72, 0x65, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x6d, 0x61, 0x78, 0x5f,
|
|
0x6f, 0x75, 0x74, 0x5f, 0x64, 0x65, 0x67, 0x72, 0x65, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d,
|
|
0x52, 0x0c, 0x6d, 0x61, 0x78, 0x4f, 0x75, 0x74, 0x44, 0x65, 0x67, 0x72, 0x65, 0x65, 0x12, 0x1b,
|
|
0x0a, 0x09, 0x6e, 0x75, 0x6d, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28,
|
|
0x0d, 0x52, 0x08, 0x6e, 0x75, 0x6d, 0x4e, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x6e,
|
|
0x75, 0x6d, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28,
|
|
0x0d, 0x52, 0x0b, 0x6e, 0x75, 0x6d, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x12, 0x34,
|
|
0x0a, 0x16, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f,
|
|
0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x14,
|
|
0x74, 0x6f, 0x74, 0x61, 0x6c, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x43, 0x61, 0x70, 0x61,
|
|
0x63, 0x69, 0x74, 0x79, 0x12, 0x28, 0x0a, 0x10, 0x61, 0x76, 0x67, 0x5f, 0x63, 0x68, 0x61, 0x6e,
|
|
0x6e, 0x65, 0x6c, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0e,
|
|
0x61, 0x76, 0x67, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x28,
|
|
0x0a, 0x10, 0x6d, 0x69, 0x6e, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x73, 0x69,
|
|
0x7a, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x6d, 0x69, 0x6e, 0x43, 0x68, 0x61,
|
|
0x6e, 0x6e, 0x65, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x6d, 0x61, 0x78, 0x5f,
|
|
0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x09, 0x20, 0x01,
|
|
0x28, 0x03, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x53, 0x69,
|
|
0x7a, 0x65, 0x12, 0x35, 0x0a, 0x17, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x6e, 0x5f, 0x63, 0x68, 0x61,
|
|
0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x73, 0x61, 0x74, 0x18, 0x0a, 0x20,
|
|
0x01, 0x28, 0x03, 0x52, 0x14, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x6e,
|
|
0x65, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x53, 0x61, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x6e, 0x75, 0x6d,
|
|
0x5f, 0x7a, 0x6f, 0x6d, 0x62, 0x69, 0x65, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x73, 0x18, 0x0b, 0x20,
|
|
0x01, 0x28, 0x04, 0x52, 0x0e, 0x6e, 0x75, 0x6d, 0x5a, 0x6f, 0x6d, 0x62, 0x69, 0x65, 0x43, 0x68,
|
|
0x61, 0x6e, 0x73, 0x22, 0x0d, 0x0a, 0x0b, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
0x73, 0x74, 0x22, 0x0e, 0x0a, 0x0c, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
0x73, 0x65, 0x22, 0x1b, 0x0a, 0x19, 0x47, 0x72, 0x61, 0x70, 0x68, 0x54, 0x6f, 0x70, 0x6f, 0x6c,
|
|
0x6f, 0x67, 0x79, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22,
|
|
0xcd, 0x01, 0x0a, 0x13, 0x47, 0x72, 0x61, 0x70, 0x68, 0x54, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67,
|
|
0x79, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x34, 0x0a, 0x0c, 0x6e, 0x6f, 0x64, 0x65, 0x5f,
|
|
0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e,
|
|
0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
|
|
0x52, 0x0b, 0x6e, 0x6f, 0x64, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x12, 0x41, 0x0a,
|
|
0x0f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73,
|
|
0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43,
|
|
0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x45, 0x64, 0x67, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
|
|
0x52, 0x0e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73,
|
|
0x12, 0x3d, 0x0a, 0x0c, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x73,
|
|
0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43,
|
|
0x6c, 0x6f, 0x73, 0x65, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x55, 0x70, 0x64, 0x61,
|
|
0x74, 0x65, 0x52, 0x0b, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x73, 0x22,
|
|
0xef, 0x02, 0x0a, 0x0a, 0x4e, 0x6f, 0x64, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x20,
|
|
0x0a, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
|
|
0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73,
|
|
0x12, 0x21, 0x0a, 0x0c, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x5f, 0x6b, 0x65, 0x79,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79,
|
|
0x4b, 0x65, 0x79, 0x12, 0x2b, 0x0a, 0x0f, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x66, 0x65,
|
|
0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x02, 0x18, 0x01,
|
|
0x52, 0x0e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73,
|
|
0x12, 0x14, 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18,
|
|
0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x39, 0x0a, 0x0e,
|
|
0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x07,
|
|
0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4e, 0x6f, 0x64,
|
|
0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x0d, 0x6e, 0x6f, 0x64, 0x65, 0x41, 0x64,
|
|
0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x3b, 0x0a, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75,
|
|
0x72, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x6c, 0x6e, 0x72, 0x70,
|
|
0x63, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x46, 0x65, 0x61,
|
|
0x74, 0x75, 0x72, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x66, 0x65, 0x61, 0x74,
|
|
0x75, 0x72, 0x65, 0x73, 0x1a, 0x4b, 0x0a, 0x0d, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73,
|
|
0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x24, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x46,
|
|
0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
|
|
0x01, 0x22, 0x91, 0x02, 0x0a, 0x11, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x45, 0x64, 0x67,
|
|
0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x1b, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x5f,
|
|
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x02, 0x30, 0x01, 0x52, 0x06, 0x63, 0x68,
|
|
0x61, 0x6e, 0x49, 0x64, 0x12, 0x32, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x6e, 0x5f, 0x70, 0x6f, 0x69,
|
|
0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63,
|
|
0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x09, 0x63,
|
|
0x68, 0x61, 0x6e, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x61, 0x70, 0x61,
|
|
0x63, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x63, 0x61, 0x70, 0x61,
|
|
0x63, 0x69, 0x74, 0x79, 0x12, 0x3b, 0x0a, 0x0e, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x5f,
|
|
0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6c,
|
|
0x6e, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69,
|
|
0x63, 0x79, 0x52, 0x0d, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x69, 0x63,
|
|
0x79, 0x12, 0x29, 0x0a, 0x10, 0x61, 0x64, 0x76, 0x65, 0x72, 0x74, 0x69, 0x73, 0x69, 0x6e, 0x67,
|
|
0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x61, 0x64, 0x76,
|
|
0x65, 0x72, 0x74, 0x69, 0x73, 0x69, 0x6e, 0x67, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x27, 0x0a, 0x0f,
|
|
0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x18,
|
|
0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6e,
|
|
0x67, 0x4e, 0x6f, 0x64, 0x65, 0x22, 0xa7, 0x01, 0x0a, 0x13, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x64,
|
|
0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x1b, 0x0a,
|
|
0x07, 0x63, 0x68, 0x61, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x02,
|
|
0x30, 0x01, 0x52, 0x06, 0x63, 0x68, 0x61, 0x6e, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x61,
|
|
0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x63, 0x61,
|
|
0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x64,
|
|
0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x63,
|
|
0x6c, 0x6f, 0x73, 0x65, 0x64, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x32, 0x0a, 0x0a, 0x63,
|
|
0x68, 0x61, 0x6e, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
0x13, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x50,
|
|
0x6f, 0x69, 0x6e, 0x74, 0x52, 0x09, 0x63, 0x68, 0x61, 0x6e, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x22,
|
|
0xcf, 0x01, 0x0a, 0x07, 0x48, 0x6f, 0x70, 0x48, 0x69, 0x6e, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x6e,
|
|
0x6f, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6e, 0x6f,
|
|
0x64, 0x65, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x5f, 0x69, 0x64, 0x18,
|
|
0x02, 0x20, 0x01, 0x28, 0x04, 0x42, 0x02, 0x30, 0x01, 0x52, 0x06, 0x63, 0x68, 0x61, 0x6e, 0x49,
|
|
0x64, 0x12, 0x22, 0x0a, 0x0d, 0x66, 0x65, 0x65, 0x5f, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x6d, 0x73,
|
|
0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x66, 0x65, 0x65, 0x42, 0x61, 0x73,
|
|
0x65, 0x4d, 0x73, 0x61, 0x74, 0x12, 0x3e, 0x0a, 0x1b, 0x66, 0x65, 0x65, 0x5f, 0x70, 0x72, 0x6f,
|
|
0x70, 0x6f, 0x72, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x6f,
|
|
0x6e, 0x74, 0x68, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x19, 0x66, 0x65, 0x65, 0x50,
|
|
0x72, 0x6f, 0x70, 0x6f, 0x72, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x4d, 0x69, 0x6c, 0x6c, 0x69,
|
|
0x6f, 0x6e, 0x74, 0x68, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x6c, 0x74, 0x76, 0x5f, 0x65, 0x78,
|
|
0x70, 0x69, 0x72, 0x79, 0x5f, 0x64, 0x65, 0x6c, 0x74, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d,
|
|
0x52, 0x0f, 0x63, 0x6c, 0x74, 0x76, 0x45, 0x78, 0x70, 0x69, 0x72, 0x79, 0x44, 0x65, 0x6c, 0x74,
|
|
0x61, 0x22, 0x1e, 0x0a, 0x05, 0x53, 0x65, 0x74, 0x49, 0x44, 0x12, 0x15, 0x0a, 0x06, 0x73, 0x65,
|
|
0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x73, 0x65, 0x74, 0x49,
|
|
0x64, 0x22, 0x38, 0x0a, 0x09, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x48, 0x69, 0x6e, 0x74, 0x12, 0x2b,
|
|
0x0a, 0x09, 0x68, 0x6f, 0x70, 0x5f, 0x68, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
|
|
0x0b, 0x32, 0x0e, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x48, 0x6f, 0x70, 0x48, 0x69, 0x6e,
|
|
0x74, 0x52, 0x08, 0x68, 0x6f, 0x70, 0x48, 0x69, 0x6e, 0x74, 0x73, 0x22, 0xc4, 0x02, 0x0a, 0x12,
|
|
0x42, 0x6c, 0x69, 0x6e, 0x64, 0x65, 0x64, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x61,
|
|
0x74, 0x68, 0x12, 0x35, 0x0a, 0x0c, 0x62, 0x6c, 0x69, 0x6e, 0x64, 0x65, 0x64, 0x5f, 0x70, 0x61,
|
|
0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63,
|
|
0x2e, 0x42, 0x6c, 0x69, 0x6e, 0x64, 0x65, 0x64, 0x50, 0x61, 0x74, 0x68, 0x52, 0x0b, 0x62, 0x6c,
|
|
0x69, 0x6e, 0x64, 0x65, 0x64, 0x50, 0x61, 0x74, 0x68, 0x12, 0x22, 0x0a, 0x0d, 0x62, 0x61, 0x73,
|
|
0x65, 0x5f, 0x66, 0x65, 0x65, 0x5f, 0x6d, 0x73, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04,
|
|
0x52, 0x0b, 0x62, 0x61, 0x73, 0x65, 0x46, 0x65, 0x65, 0x4d, 0x73, 0x61, 0x74, 0x12, 0x32, 0x0a,
|
|
0x15, 0x70, 0x72, 0x6f, 0x70, 0x6f, 0x72, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x66, 0x65,
|
|
0x65, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x70, 0x72,
|
|
0x6f, 0x70, 0x6f, 0x72, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x46, 0x65, 0x65, 0x52, 0x61, 0x74,
|
|
0x65, 0x12, 0x28, 0x0a, 0x10, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x63, 0x6c, 0x74, 0x76, 0x5f,
|
|
0x64, 0x65, 0x6c, 0x74, 0x61, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x74, 0x6f, 0x74,
|
|
0x61, 0x6c, 0x43, 0x6c, 0x74, 0x76, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x12, 0x22, 0x0a, 0x0d, 0x68,
|
|
0x74, 0x6c, 0x63, 0x5f, 0x6d, 0x69, 0x6e, 0x5f, 0x6d, 0x73, 0x61, 0x74, 0x18, 0x05, 0x20, 0x01,
|
|
0x28, 0x04, 0x52, 0x0b, 0x68, 0x74, 0x6c, 0x63, 0x4d, 0x69, 0x6e, 0x4d, 0x73, 0x61, 0x74, 0x12,
|
|
0x22, 0x0a, 0x0d, 0x68, 0x74, 0x6c, 0x63, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x6d, 0x73, 0x61, 0x74,
|
|
0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x68, 0x74, 0x6c, 0x63, 0x4d, 0x61, 0x78, 0x4d,
|
|
0x73, 0x61, 0x74, 0x12, 0x2d, 0x0a, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18,
|
|
0x07, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x46, 0x65,
|
|
0x61, 0x74, 0x75, 0x72, 0x65, 0x42, 0x69, 0x74, 0x52, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72,
|
|
0x65, 0x73, 0x22, 0x97, 0x01, 0x0a, 0x0b, 0x42, 0x6c, 0x69, 0x6e, 0x64, 0x65, 0x64, 0x50, 0x61,
|
|
0x74, 0x68, 0x12, 0x2b, 0x0a, 0x11, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69,
|
|
0x6f, 0x6e, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x69,
|
|
0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4e, 0x6f, 0x64, 0x65, 0x12,
|
|
0x25, 0x0a, 0x0e, 0x62, 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x69, 0x6e,
|
|
0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x62, 0x6c, 0x69, 0x6e, 0x64, 0x69, 0x6e,
|
|
0x67, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x34, 0x0a, 0x0c, 0x62, 0x6c, 0x69, 0x6e, 0x64, 0x65,
|
|
0x64, 0x5f, 0x68, 0x6f, 0x70, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6c,
|
|
0x6e, 0x72, 0x70, 0x63, 0x2e, 0x42, 0x6c, 0x69, 0x6e, 0x64, 0x65, 0x64, 0x48, 0x6f, 0x70, 0x52,
|
|
0x0b, 0x62, 0x6c, 0x69, 0x6e, 0x64, 0x65, 0x64, 0x48, 0x6f, 0x70, 0x73, 0x22, 0x56, 0x0a, 0x0a,
|
|
0x42, 0x6c, 0x69, 0x6e, 0x64, 0x65, 0x64, 0x48, 0x6f, 0x70, 0x12, 0x21, 0x0a, 0x0c, 0x62, 0x6c,
|
|
0x69, 0x6e, 0x64, 0x65, 0x64, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c,
|
|
0x52, 0x0b, 0x62, 0x6c, 0x69, 0x6e, 0x64, 0x65, 0x64, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x25, 0x0a,
|
|
0x0e, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18,
|
|
0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x65, 0x6e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x64,
|
|
0x44, 0x61, 0x74, 0x61, 0x22, 0xa8, 0x01, 0x0a, 0x0f, 0x41, 0x4d, 0x50, 0x49, 0x6e, 0x76, 0x6f,
|
|
0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2d, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74,
|
|
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e,
|
|
0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x48, 0x54, 0x4c, 0x43, 0x53, 0x74, 0x61, 0x74, 0x65,
|
|
0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x65, 0x74, 0x74, 0x6c,
|
|
0x65, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x73,
|
|
0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x65,
|
|
0x74, 0x74, 0x6c, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52,
|
|
0x0a, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x61,
|
|
0x6d, 0x74, 0x5f, 0x70, 0x61, 0x69, 0x64, 0x5f, 0x6d, 0x73, 0x61, 0x74, 0x18, 0x05, 0x20, 0x01,
|
|
0x28, 0x03, 0x52, 0x0b, 0x61, 0x6d, 0x74, 0x50, 0x61, 0x69, 0x64, 0x4d, 0x73, 0x61, 0x74, 0x22,
|
|
0xac, 0x0a, 0x0a, 0x07, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6d,
|
|
0x65, 0x6d, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x12,
|
|
0x1d, 0x0a, 0x0a, 0x72, 0x5f, 0x70, 0x72, 0x65, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20,
|
|
0x01, 0x28, 0x0c, 0x52, 0x09, 0x72, 0x50, 0x72, 0x65, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x15,
|
|
0x0a, 0x06, 0x72, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05,
|
|
0x72, 0x48, 0x61, 0x73, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05,
|
|
0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x76,
|
|
0x61, 0x6c, 0x75, 0x65, 0x5f, 0x6d, 0x73, 0x61, 0x74, 0x18, 0x17, 0x20, 0x01, 0x28, 0x03, 0x52,
|
|
0x09, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x4d, 0x73, 0x61, 0x74, 0x12, 0x1c, 0x0a, 0x07, 0x73, 0x65,
|
|
0x74, 0x74, 0x6c, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x42, 0x02, 0x18, 0x01, 0x52,
|
|
0x07, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x72, 0x65, 0x61,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52,
|
|
0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x65, 0x12, 0x1f, 0x0a,
|
|
0x0b, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x08, 0x20, 0x01,
|
|
0x28, 0x03, 0x52, 0x0a, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x44, 0x61, 0x74, 0x65, 0x12, 0x27,
|
|
0x0a, 0x0f, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74,
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x64, 0x65, 0x73, 0x63, 0x72,
|
|
0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x0a, 0x20, 0x01, 0x28,
|
|
0x0c, 0x52, 0x0f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x61,
|
|
0x73, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x78, 0x70, 0x69, 0x72, 0x79, 0x18, 0x0b, 0x20, 0x01,
|
|
0x28, 0x03, 0x52, 0x06, 0x65, 0x78, 0x70, 0x69, 0x72, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x66, 0x61,
|
|
0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x18, 0x0c, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x0c, 0x66, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x41, 0x64, 0x64, 0x72, 0x12,
|
|
0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x74, 0x76, 0x5f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x79, 0x18, 0x0d,
|
|
0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x63, 0x6c, 0x74, 0x76, 0x45, 0x78, 0x70, 0x69, 0x72, 0x79,
|
|
0x12, 0x31, 0x0a, 0x0b, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x68, 0x69, 0x6e, 0x74, 0x73, 0x18,
|
|
0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x6f,
|
|
0x75, 0x74, 0x65, 0x48, 0x69, 0x6e, 0x74, 0x52, 0x0a, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x48, 0x69,
|
|
0x6e, 0x74, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x18, 0x0f,
|
|
0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x12, 0x1b, 0x0a,
|
|
0x09, 0x61, 0x64, 0x64, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x10, 0x20, 0x01, 0x28, 0x04,
|
|
0x52, 0x08, 0x61, 0x64, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x65,
|
|
0x74, 0x74, 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x11, 0x20, 0x01, 0x28, 0x04,
|
|
0x52, 0x0b, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1d, 0x0a,
|
|
0x08, 0x61, 0x6d, 0x74, 0x5f, 0x70, 0x61, 0x69, 0x64, 0x18, 0x12, 0x20, 0x01, 0x28, 0x03, 0x42,
|
|
0x02, 0x18, 0x01, 0x52, 0x07, 0x61, 0x6d, 0x74, 0x50, 0x61, 0x69, 0x64, 0x12, 0x20, 0x0a, 0x0c,
|
|
0x61, 0x6d, 0x74, 0x5f, 0x70, 0x61, 0x69, 0x64, 0x5f, 0x73, 0x61, 0x74, 0x18, 0x13, 0x20, 0x01,
|
|
0x28, 0x03, 0x52, 0x0a, 0x61, 0x6d, 0x74, 0x50, 0x61, 0x69, 0x64, 0x53, 0x61, 0x74, 0x12, 0x22,
|
|
0x0a, 0x0d, 0x61, 0x6d, 0x74, 0x5f, 0x70, 0x61, 0x69, 0x64, 0x5f, 0x6d, 0x73, 0x61, 0x74, 0x18,
|
|
0x14, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x61, 0x6d, 0x74, 0x50, 0x61, 0x69, 0x64, 0x4d, 0x73,
|
|
0x61, 0x74, 0x12, 0x31, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x15, 0x20, 0x01, 0x28,
|
|
0x0e, 0x32, 0x1b, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63,
|
|
0x65, 0x2e, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05,
|
|
0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x28, 0x0a, 0x05, 0x68, 0x74, 0x6c, 0x63, 0x73, 0x18, 0x16,
|
|
0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x49, 0x6e, 0x76,
|
|
0x6f, 0x69, 0x63, 0x65, 0x48, 0x54, 0x4c, 0x43, 0x52, 0x05, 0x68, 0x74, 0x6c, 0x63, 0x73, 0x12,
|
|
0x38, 0x0a, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x18, 0x20, 0x03, 0x28,
|
|
0x0b, 0x32, 0x1c, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63,
|
|
0x65, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
|
|
0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f,
|
|
0x6b, 0x65, 0x79, 0x73, 0x65, 0x6e, 0x64, 0x18, 0x19, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69,
|
|
0x73, 0x4b, 0x65, 0x79, 0x73, 0x65, 0x6e, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x61, 0x79, 0x6d,
|
|
0x65, 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b,
|
|
0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x12, 0x15, 0x0a, 0x06, 0x69,
|
|
0x73, 0x5f, 0x61, 0x6d, 0x70, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x69, 0x73, 0x41,
|
|
0x6d, 0x70, 0x12, 0x4f, 0x0a, 0x11, 0x61, 0x6d, 0x70, 0x5f, 0x69, 0x6e, 0x76, 0x6f, 0x69, 0x63,
|
|
0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x1c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e,
|
|
0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x2e, 0x41, 0x6d,
|
|
0x70, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74,
|
|
0x72, 0x79, 0x52, 0x0f, 0x61, 0x6d, 0x70, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x53, 0x74,
|
|
0x61, 0x74, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x73, 0x5f, 0x62, 0x6c, 0x69, 0x6e, 0x64, 0x65,
|
|
0x64, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x42, 0x6c, 0x69, 0x6e, 0x64,
|
|
0x65, 0x64, 0x12, 0x48, 0x0a, 0x13, 0x62, 0x6c, 0x69, 0x6e, 0x64, 0x65, 0x64, 0x5f, 0x70, 0x61,
|
|
0x74, 0x68, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
0x18, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x42, 0x6c, 0x69, 0x6e, 0x64, 0x65, 0x64, 0x50,
|
|
0x61, 0x74, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x11, 0x62, 0x6c, 0x69, 0x6e, 0x64,
|
|
0x65, 0x64, 0x50, 0x61, 0x74, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x1a, 0x4b, 0x0a, 0x0d,
|
|
0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
|
|
0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
|
|
0x24, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e,
|
|
0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x05,
|
|
0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x5a, 0x0a, 0x14, 0x41, 0x6d, 0x70,
|
|
0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x74, 0x72,
|
|
0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
|
|
0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01,
|
|
0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x41, 0x4d, 0x50, 0x49, 0x6e,
|
|
0x76, 0x6f, 0x69, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
|
|
0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x41, 0x0a, 0x0c, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65,
|
|
0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x4f, 0x50, 0x45, 0x4e, 0x10, 0x00, 0x12,
|
|
0x0b, 0x0a, 0x07, 0x53, 0x45, 0x54, 0x54, 0x4c, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08,
|
|
0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x41, 0x43,
|
|
0x43, 0x45, 0x50, 0x54, 0x45, 0x44, 0x10, 0x03, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x22, 0xef,
|
|
0x01, 0x0a, 0x11, 0x42, 0x6c, 0x69, 0x6e, 0x64, 0x65, 0x64, 0x50, 0x61, 0x74, 0x68, 0x43, 0x6f,
|
|
0x6e, 0x66, 0x69, 0x67, 0x12, 0x2e, 0x0a, 0x11, 0x6d, 0x69, 0x6e, 0x5f, 0x6e, 0x75, 0x6d, 0x5f,
|
|
0x72, 0x65, 0x61, 0x6c, 0x5f, 0x68, 0x6f, 0x70, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x48,
|
|
0x00, 0x52, 0x0e, 0x6d, 0x69, 0x6e, 0x4e, 0x75, 0x6d, 0x52, 0x65, 0x61, 0x6c, 0x48, 0x6f, 0x70,
|
|
0x73, 0x88, 0x01, 0x01, 0x12, 0x1e, 0x0a, 0x08, 0x6e, 0x75, 0x6d, 0x5f, 0x68, 0x6f, 0x70, 0x73,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x01, 0x52, 0x07, 0x6e, 0x75, 0x6d, 0x48, 0x6f, 0x70,
|
|
0x73, 0x88, 0x01, 0x01, 0x12, 0x27, 0x0a, 0x0d, 0x6d, 0x61, 0x78, 0x5f, 0x6e, 0x75, 0x6d, 0x5f,
|
|
0x70, 0x61, 0x74, 0x68, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x02, 0x52, 0x0b, 0x6d,
|
|
0x61, 0x78, 0x4e, 0x75, 0x6d, 0x50, 0x61, 0x74, 0x68, 0x73, 0x88, 0x01, 0x01, 0x12, 0x2c, 0x0a,
|
|
0x12, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x6f, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x6c,
|
|
0x69, 0x73, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x10, 0x6e, 0x6f, 0x64, 0x65, 0x4f,
|
|
0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x14, 0x0a, 0x12, 0x5f,
|
|
0x6d, 0x69, 0x6e, 0x5f, 0x6e, 0x75, 0x6d, 0x5f, 0x72, 0x65, 0x61, 0x6c, 0x5f, 0x68, 0x6f, 0x70,
|
|
0x73, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x6e, 0x75, 0x6d, 0x5f, 0x68, 0x6f, 0x70, 0x73, 0x42, 0x10,
|
|
0x0a, 0x0e, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x6e, 0x75, 0x6d, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x73,
|
|
0x22, 0xfc, 0x03, 0x0a, 0x0b, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x48, 0x54, 0x4c, 0x43,
|
|
0x12, 0x1b, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x04, 0x42, 0x02, 0x30, 0x01, 0x52, 0x06, 0x63, 0x68, 0x61, 0x6e, 0x49, 0x64, 0x12, 0x1d, 0x0a,
|
|
0x0a, 0x68, 0x74, 0x6c, 0x63, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
0x04, 0x52, 0x09, 0x68, 0x74, 0x6c, 0x63, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x19, 0x0a, 0x08,
|
|
0x61, 0x6d, 0x74, 0x5f, 0x6d, 0x73, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07,
|
|
0x61, 0x6d, 0x74, 0x4d, 0x73, 0x61, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x63, 0x63, 0x65, 0x70,
|
|
0x74, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c,
|
|
0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x1f, 0x0a, 0x0b,
|
|
0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28,
|
|
0x03, 0x52, 0x0a, 0x61, 0x63, 0x63, 0x65, 0x70, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x21, 0x0a,
|
|
0x0c, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20,
|
|
0x01, 0x28, 0x03, 0x52, 0x0b, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x54, 0x69, 0x6d, 0x65,
|
|
0x12, 0x23, 0x0a, 0x0d, 0x65, 0x78, 0x70, 0x69, 0x72, 0x79, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68,
|
|
0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x65, 0x78, 0x70, 0x69, 0x72, 0x79, 0x48,
|
|
0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x2d, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x08,
|
|
0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x49, 0x6e, 0x76,
|
|
0x6f, 0x69, 0x63, 0x65, 0x48, 0x54, 0x4c, 0x43, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73,
|
|
0x74, 0x61, 0x74, 0x65, 0x12, 0x4c, 0x0a, 0x0e, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x72,
|
|
0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6c,
|
|
0x6e, 0x72, 0x70, 0x63, 0x2e, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x48, 0x54, 0x4c, 0x43,
|
|
0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x45, 0x6e,
|
|
0x74, 0x72, 0x79, 0x52, 0x0d, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x65, 0x63, 0x6f, 0x72,
|
|
0x64, 0x73, 0x12, 0x2b, 0x0a, 0x12, 0x6d, 0x70, 0x70, 0x5f, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f,
|
|
0x61, 0x6d, 0x74, 0x5f, 0x6d, 0x73, 0x61, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f,
|
|
0x6d, 0x70, 0x70, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x41, 0x6d, 0x74, 0x4d, 0x73, 0x61, 0x74, 0x12,
|
|
0x1c, 0x0a, 0x03, 0x61, 0x6d, 0x70, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x6c,
|
|
0x6e, 0x72, 0x70, 0x63, 0x2e, 0x41, 0x4d, 0x50, 0x52, 0x03, 0x61, 0x6d, 0x70, 0x1a, 0x40, 0x0a,
|
|
0x12, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x45, 0x6e,
|
|
0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04,
|
|
0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
|
|
0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22,
|
|
0x8c, 0x01, 0x0a, 0x03, 0x41, 0x4d, 0x50, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x6f, 0x6f, 0x74, 0x5f,
|
|
0x73, 0x68, 0x61, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x72, 0x6f, 0x6f,
|
|
0x74, 0x53, 0x68, 0x61, 0x72, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x73, 0x65, 0x74, 0x49, 0x64, 0x12, 0x1f, 0x0a,
|
|
0x0b, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x03, 0x20, 0x01,
|
|
0x28, 0x0d, 0x52, 0x0a, 0x63, 0x68, 0x69, 0x6c, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x12,
|
|
0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x68, 0x61,
|
|
0x73, 0x68, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x65, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x05,
|
|
0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x70, 0x72, 0x65, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x22, 0x94,
|
|
0x01, 0x0a, 0x12, 0x41, 0x64, 0x64, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73,
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x72, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x72, 0x48, 0x61, 0x73, 0x68, 0x12, 0x27, 0x0a, 0x0f,
|
|
0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18,
|
|
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65,
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x64, 0x64, 0x5f, 0x69, 0x6e, 0x64,
|
|
0x65, 0x78, 0x18, 0x10, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x61, 0x64, 0x64, 0x49, 0x6e, 0x64,
|
|
0x65, 0x78, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x61, 0x64,
|
|
0x64, 0x72, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e,
|
|
0x74, 0x41, 0x64, 0x64, 0x72, 0x22, 0x46, 0x0a, 0x0b, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74,
|
|
0x48, 0x61, 0x73, 0x68, 0x12, 0x20, 0x0a, 0x0a, 0x72, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x5f, 0x73,
|
|
0x74, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x08, 0x72, 0x48,
|
|
0x61, 0x73, 0x68, 0x53, 0x74, 0x72, 0x12, 0x15, 0x0a, 0x06, 0x72, 0x5f, 0x68, 0x61, 0x73, 0x68,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x72, 0x48, 0x61, 0x73, 0x68, 0x22, 0xfc, 0x01,
|
|
0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71,
|
|
0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f,
|
|
0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x70, 0x65, 0x6e, 0x64,
|
|
0x69, 0x6e, 0x67, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x6e, 0x64, 0x65, 0x78,
|
|
0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x69,
|
|
0x6e, 0x64, 0x65, 0x78, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x6e, 0x75,
|
|
0x6d, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x69, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x73, 0x18, 0x05,
|
|
0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x6e, 0x75, 0x6d, 0x4d, 0x61, 0x78, 0x49, 0x6e, 0x76, 0x6f,
|
|
0x69, 0x63, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x64,
|
|
0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x64,
|
|
0x12, 0x2e, 0x0a, 0x13, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x61, 0x74,
|
|
0x65, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x11, 0x63,
|
|
0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x65, 0x53, 0x74, 0x61, 0x72, 0x74,
|
|
0x12, 0x2a, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x61, 0x74,
|
|
0x65, 0x5f, 0x65, 0x6e, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x63, 0x72, 0x65,
|
|
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x64, 0x22, 0x9b, 0x01, 0x0a,
|
|
0x13, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70,
|
|
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x08, 0x69, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x73,
|
|
0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x49,
|
|
0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x52, 0x08, 0x69, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x73,
|
|
0x12, 0x2a, 0x0a, 0x11, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x6f,
|
|
0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x6c, 0x61, 0x73,
|
|
0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x2c, 0x0a, 0x12,
|
|
0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x6f, 0x66, 0x66, 0x73,
|
|
0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x66, 0x69, 0x72, 0x73, 0x74, 0x49,
|
|
0x6e, 0x64, 0x65, 0x78, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x22, 0x55, 0x0a, 0x13, 0x49, 0x6e,
|
|
0x76, 0x6f, 0x69, 0x63, 0x65, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x64, 0x64, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x61, 0x64, 0x64, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x21,
|
|
0x0a, 0x0c, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02,
|
|
0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x64, 0x65,
|
|
0x78, 0x22, 0x9d, 0x05, 0x0a, 0x07, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x21, 0x0a,
|
|
0x0c, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x61, 0x73, 0x68,
|
|
0x12, 0x18, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x42,
|
|
0x02, 0x18, 0x01, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x27, 0x0a, 0x0d, 0x63, 0x72,
|
|
0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
0x03, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0c, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44,
|
|
0x61, 0x74, 0x65, 0x12, 0x14, 0x0a, 0x03, 0x66, 0x65, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03,
|
|
0x42, 0x02, 0x18, 0x01, 0x52, 0x03, 0x66, 0x65, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x70, 0x61, 0x79,
|
|
0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x70, 0x72, 0x65, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x06, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x65, 0x69,
|
|
0x6d, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x73, 0x61,
|
|
0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x53, 0x61,
|
|
0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x6d, 0x73, 0x61, 0x74, 0x18,
|
|
0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x4d, 0x73, 0x61, 0x74,
|
|
0x12, 0x27, 0x0a, 0x0f, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x71, 0x75,
|
|
0x65, 0x73, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x61, 0x79, 0x6d, 0x65,
|
|
0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x06, 0x73, 0x74, 0x61,
|
|
0x74, 0x75, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x6c, 0x6e, 0x72, 0x70,
|
|
0x63, 0x2e, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e,
|
|
0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12,
|
|
0x17, 0x0a, 0x07, 0x66, 0x65, 0x65, 0x5f, 0x73, 0x61, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03,
|
|
0x52, 0x06, 0x66, 0x65, 0x65, 0x53, 0x61, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x66, 0x65, 0x65, 0x5f,
|
|
0x6d, 0x73, 0x61, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x66, 0x65, 0x65, 0x4d,
|
|
0x73, 0x61, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
|
|
0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6e, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x63,
|
|
0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x4e, 0x73, 0x12, 0x28, 0x0a,
|
|
0x05, 0x68, 0x74, 0x6c, 0x63, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6c,
|
|
0x6e, 0x72, 0x70, 0x63, 0x2e, 0x48, 0x54, 0x4c, 0x43, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74,
|
|
0x52, 0x05, 0x68, 0x74, 0x6c, 0x63, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x61, 0x79, 0x6d, 0x65,
|
|
0x6e, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0c,
|
|
0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x42, 0x0a, 0x0e,
|
|
0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x10,
|
|
0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x61, 0x79,
|
|
0x6d, 0x65, 0x6e, 0x74, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x52, 0x65, 0x61, 0x73, 0x6f,
|
|
0x6e, 0x52, 0x0d, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e,
|
|
0x22, 0x59, 0x0a, 0x0d, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75,
|
|
0x73, 0x12, 0x0f, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x1a, 0x02,
|
|
0x08, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x49, 0x4e, 0x5f, 0x46, 0x4c, 0x49, 0x47, 0x48, 0x54, 0x10,
|
|
0x01, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x55, 0x43, 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, 0x10, 0x02,
|
|
0x12, 0x0a, 0x0a, 0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x03, 0x12, 0x0d, 0x0a, 0x09,
|
|
0x49, 0x4e, 0x49, 0x54, 0x49, 0x41, 0x54, 0x45, 0x44, 0x10, 0x04, 0x4a, 0x04, 0x08, 0x04, 0x10,
|
|
0x05, 0x22, 0xd5, 0x02, 0x0a, 0x0b, 0x48, 0x54, 0x4c, 0x43, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70,
|
|
0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x5f, 0x69, 0x64, 0x18,
|
|
0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x49, 0x64,
|
|
0x12, 0x35, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e,
|
|
0x32, 0x1d, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x48, 0x54, 0x4c, 0x43, 0x41, 0x74, 0x74,
|
|
0x65, 0x6d, 0x70, 0x74, 0x2e, 0x48, 0x54, 0x4c, 0x43, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52,
|
|
0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x22, 0x0a, 0x05, 0x72, 0x6f, 0x75, 0x74, 0x65,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x52,
|
|
0x6f, 0x75, 0x74, 0x65, 0x52, 0x05, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x12, 0x26, 0x0a, 0x0f, 0x61,
|
|
0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6e, 0x73, 0x18, 0x03,
|
|
0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x54, 0x69, 0x6d,
|
|
0x65, 0x4e, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x5f, 0x74,
|
|
0x69, 0x6d, 0x65, 0x5f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x72, 0x65,
|
|
0x73, 0x6f, 0x6c, 0x76, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x4e, 0x73, 0x12, 0x28, 0x0a, 0x07, 0x66,
|
|
0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6c,
|
|
0x6e, 0x72, 0x70, 0x63, 0x2e, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x52, 0x07, 0x66, 0x61,
|
|
0x69, 0x6c, 0x75, 0x72, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x65, 0x69, 0x6d, 0x61, 0x67,
|
|
0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x70, 0x72, 0x65, 0x69, 0x6d, 0x61, 0x67,
|
|
0x65, 0x22, 0x36, 0x0a, 0x0a, 0x48, 0x54, 0x4c, 0x43, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12,
|
|
0x0d, 0x0a, 0x09, 0x49, 0x4e, 0x5f, 0x46, 0x4c, 0x49, 0x47, 0x48, 0x54, 0x10, 0x00, 0x12, 0x0d,
|
|
0x0a, 0x09, 0x53, 0x55, 0x43, 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0a, 0x0a,
|
|
0x06, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x22, 0xb4, 0x02, 0x0a, 0x13, 0x4c, 0x69,
|
|
0x73, 0x74, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
0x74, 0x12, 0x2d, 0x0a, 0x12, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x69, 0x6e, 0x63,
|
|
0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x69,
|
|
0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x49, 0x6e, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65,
|
|
0x12, 0x21, 0x0a, 0x0c, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x4f, 0x66, 0x66,
|
|
0x73, 0x65, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x6d, 0x61, 0x78, 0x5f, 0x70, 0x61, 0x79, 0x6d, 0x65,
|
|
0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x6d, 0x61, 0x78, 0x50, 0x61,
|
|
0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73,
|
|
0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73,
|
|
0x65, 0x64, 0x12, 0x30, 0x0a, 0x14, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x74, 0x6f, 0x74, 0x61,
|
|
0x6c, 0x5f, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08,
|
|
0x52, 0x12, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x50, 0x61, 0x79, 0x6d,
|
|
0x65, 0x6e, 0x74, 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
|
0x5f, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28,
|
|
0x04, 0x52, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x65, 0x53,
|
|
0x74, 0x61, 0x72, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
|
0x5f, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x65, 0x6e, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52,
|
|
0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x65, 0x45, 0x6e, 0x64,
|
|
0x22, 0xca, 0x01, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74,
|
|
0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x08, 0x70, 0x61, 0x79,
|
|
0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6c, 0x6e,
|
|
0x72, 0x70, 0x63, 0x2e, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x08, 0x70, 0x61, 0x79,
|
|
0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x69,
|
|
0x6e, 0x64, 0x65, 0x78, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
0x04, 0x52, 0x10, 0x66, 0x69, 0x72, 0x73, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x4f, 0x66, 0x66,
|
|
0x73, 0x65, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65,
|
|
0x78, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f,
|
|
0x6c, 0x61, 0x73, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12,
|
|
0x2c, 0x0a, 0x12, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x6e, 0x75, 0x6d, 0x5f, 0x70, 0x61, 0x79,
|
|
0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x74, 0x6f, 0x74,
|
|
0x61, 0x6c, 0x4e, 0x75, 0x6d, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x22, 0x65, 0x0a,
|
|
0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65,
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74,
|
|
0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x70, 0x61, 0x79,
|
|
0x6d, 0x65, 0x6e, 0x74, 0x48, 0x61, 0x73, 0x68, 0x12, 0x2a, 0x0a, 0x11, 0x66, 0x61, 0x69, 0x6c,
|
|
0x65, 0x64, 0x5f, 0x68, 0x74, 0x6c, 0x63, 0x73, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x08, 0x52, 0x0f, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x48, 0x74, 0x6c, 0x63, 0x73,
|
|
0x4f, 0x6e, 0x6c, 0x79, 0x22, 0x9b, 0x01, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41,
|
|
0x6c, 0x6c, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
0x74, 0x12, 0x30, 0x0a, 0x14, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x79, 0x6d,
|
|
0x65, 0x6e, 0x74, 0x73, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52,
|
|
0x12, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x4f,
|
|
0x6e, 0x6c, 0x79, 0x12, 0x2a, 0x0a, 0x11, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x5f, 0x68, 0x74,
|
|
0x6c, 0x63, 0x73, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f,
|
|
0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x48, 0x74, 0x6c, 0x63, 0x73, 0x4f, 0x6e, 0x6c, 0x79, 0x12,
|
|
0x21, 0x0a, 0x0c, 0x61, 0x6c, 0x6c, 0x5f, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18,
|
|
0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x61, 0x6c, 0x6c, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e,
|
|
0x74, 0x73, 0x22, 0x17, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x61, 0x79, 0x6d,
|
|
0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1b, 0x0a, 0x19, 0x44,
|
|
0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6c, 0x6c, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73,
|
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xbf, 0x01, 0x0a, 0x15, 0x41, 0x62, 0x61,
|
|
0x6e, 0x64, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
0x73, 0x74, 0x12, 0x38, 0x0a, 0x0d, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x70, 0x6f,
|
|
0x69, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6c, 0x6e, 0x72, 0x70,
|
|
0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x0c,
|
|
0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x39, 0x0a, 0x19,
|
|
0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x66, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f,
|
|
0x73, 0x68, 0x69, 0x6d, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52,
|
|
0x16, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x46, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x53,
|
|
0x68, 0x69, 0x6d, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x31, 0x0a, 0x16, 0x69, 0x5f, 0x6b, 0x6e, 0x6f,
|
|
0x77, 0x5f, 0x77, 0x68, 0x61, 0x74, 0x5f, 0x69, 0x5f, 0x61, 0x6d, 0x5f, 0x64, 0x6f, 0x69, 0x6e,
|
|
0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x69, 0x4b, 0x6e, 0x6f, 0x77, 0x57, 0x68,
|
|
0x61, 0x74, 0x49, 0x41, 0x6d, 0x44, 0x6f, 0x69, 0x6e, 0x67, 0x22, 0x18, 0x0a, 0x16, 0x41, 0x62,
|
|
0x61, 0x6e, 0x64, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70,
|
|
0x6f, 0x6e, 0x73, 0x65, 0x22, 0x46, 0x0a, 0x11, 0x44, 0x65, 0x62, 0x75, 0x67, 0x4c, 0x65, 0x76,
|
|
0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x68, 0x6f,
|
|
0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x73, 0x68, 0x6f, 0x77, 0x12, 0x1d, 0x0a,
|
|
0x0a, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x09, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x53, 0x70, 0x65, 0x63, 0x22, 0x35, 0x0a, 0x12,
|
|
0x44, 0x65, 0x62, 0x75, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
0x73, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x75, 0x62, 0x5f, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d,
|
|
0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x75, 0x62, 0x53, 0x79, 0x73, 0x74,
|
|
0x65, 0x6d, 0x73, 0x22, 0x27, 0x0a, 0x0c, 0x50, 0x61, 0x79, 0x52, 0x65, 0x71, 0x53, 0x74, 0x72,
|
|
0x69, 0x6e, 0x67, 0x12, 0x17, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x5f, 0x72, 0x65, 0x71, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x79, 0x52, 0x65, 0x71, 0x22, 0xf0, 0x04, 0x0a,
|
|
0x06, 0x50, 0x61, 0x79, 0x52, 0x65, 0x71, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69,
|
|
0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65,
|
|
0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x61, 0x79,
|
|
0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x0b, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x61, 0x73, 0x68, 0x12, 0x21, 0x0a, 0x0c,
|
|
0x6e, 0x75, 0x6d, 0x5f, 0x73, 0x61, 0x74, 0x6f, 0x73, 0x68, 0x69, 0x73, 0x18, 0x03, 0x20, 0x01,
|
|
0x28, 0x03, 0x52, 0x0b, 0x6e, 0x75, 0x6d, 0x53, 0x61, 0x74, 0x6f, 0x73, 0x68, 0x69, 0x73, 0x12,
|
|
0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x04, 0x20, 0x01,
|
|
0x28, 0x03, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x16, 0x0a,
|
|
0x06, 0x65, 0x78, 0x70, 0x69, 0x72, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x65,
|
|
0x78, 0x70, 0x69, 0x72, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63,
|
|
0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x29, 0x0a, 0x10, 0x64, 0x65, 0x73, 0x63, 0x72,
|
|
0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x0f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x61,
|
|
0x73, 0x68, 0x12, 0x23, 0x0a, 0x0d, 0x66, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x5f, 0x61,
|
|
0x64, 0x64, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x66, 0x61, 0x6c, 0x6c, 0x62,
|
|
0x61, 0x63, 0x6b, 0x41, 0x64, 0x64, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x74, 0x76, 0x5f,
|
|
0x65, 0x78, 0x70, 0x69, 0x72, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x63, 0x6c,
|
|
0x74, 0x76, 0x45, 0x78, 0x70, 0x69, 0x72, 0x79, 0x12, 0x31, 0x0a, 0x0b, 0x72, 0x6f, 0x75, 0x74,
|
|
0x65, 0x5f, 0x68, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e,
|
|
0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x48, 0x69, 0x6e, 0x74, 0x52,
|
|
0x0a, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x48, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x70,
|
|
0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28,
|
|
0x0c, 0x52, 0x0b, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x12, 0x19,
|
|
0x0a, 0x08, 0x6e, 0x75, 0x6d, 0x5f, 0x6d, 0x73, 0x61, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03,
|
|
0x52, 0x07, 0x6e, 0x75, 0x6d, 0x4d, 0x73, 0x61, 0x74, 0x12, 0x37, 0x0a, 0x08, 0x66, 0x65, 0x61,
|
|
0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x6c, 0x6e,
|
|
0x72, 0x70, 0x63, 0x2e, 0x50, 0x61, 0x79, 0x52, 0x65, 0x71, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75,
|
|
0x72, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72,
|
|
0x65, 0x73, 0x12, 0x3e, 0x0a, 0x0d, 0x62, 0x6c, 0x69, 0x6e, 0x64, 0x65, 0x64, 0x5f, 0x70, 0x61,
|
|
0x74, 0x68, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6c, 0x6e, 0x72, 0x70,
|
|
0x63, 0x2e, 0x42, 0x6c, 0x69, 0x6e, 0x64, 0x65, 0x64, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74,
|
|
0x50, 0x61, 0x74, 0x68, 0x52, 0x0c, 0x62, 0x6c, 0x69, 0x6e, 0x64, 0x65, 0x64, 0x50, 0x61, 0x74,
|
|
0x68, 0x73, 0x1a, 0x4b, 0x0a, 0x0d, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x45, 0x6e,
|
|
0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d,
|
|
0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x24, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x46, 0x65, 0x61,
|
|
0x74, 0x75, 0x72, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22,
|
|
0x59, 0x0a, 0x07, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
|
|
0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1f,
|
|
0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x18, 0x03, 0x20,
|
|
0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12,
|
|
0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28,
|
|
0x08, 0x52, 0x07, 0x69, 0x73, 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x22, 0x12, 0x0a, 0x10, 0x46, 0x65,
|
|
0x65, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x95,
|
|
0x02, 0x0a, 0x10, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x46, 0x65, 0x65, 0x52, 0x65, 0x70,
|
|
0x6f, 0x72, 0x74, 0x12, 0x1b, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x05,
|
|
0x20, 0x01, 0x28, 0x04, 0x42, 0x02, 0x30, 0x01, 0x52, 0x06, 0x63, 0x68, 0x61, 0x6e, 0x49, 0x64,
|
|
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, 0x22, 0x0a, 0x0d, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x66, 0x65,
|
|
0x65, 0x5f, 0x6d, 0x73, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x62, 0x61,
|
|
0x73, 0x65, 0x46, 0x65, 0x65, 0x4d, 0x73, 0x61, 0x74, 0x12, 0x1e, 0x0a, 0x0b, 0x66, 0x65, 0x65,
|
|
0x5f, 0x70, 0x65, 0x72, 0x5f, 0x6d, 0x69, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09,
|
|
0x66, 0x65, 0x65, 0x50, 0x65, 0x72, 0x4d, 0x69, 0x6c, 0x12, 0x19, 0x0a, 0x08, 0x66, 0x65, 0x65,
|
|
0x5f, 0x72, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x07, 0x66, 0x65, 0x65,
|
|
0x52, 0x61, 0x74, 0x65, 0x12, 0x31, 0x0a, 0x15, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x5f,
|
|
0x62, 0x61, 0x73, 0x65, 0x5f, 0x66, 0x65, 0x65, 0x5f, 0x6d, 0x73, 0x61, 0x74, 0x18, 0x06, 0x20,
|
|
0x01, 0x28, 0x05, 0x52, 0x12, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x42, 0x61, 0x73, 0x65,
|
|
0x46, 0x65, 0x65, 0x4d, 0x73, 0x61, 0x74, 0x12, 0x2d, 0x0a, 0x13, 0x69, 0x6e, 0x62, 0x6f, 0x75,
|
|
0x6e, 0x64, 0x5f, 0x66, 0x65, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x6d, 0x69, 0x6c, 0x18, 0x07,
|
|
0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x46, 0x65, 0x65,
|
|
0x50, 0x65, 0x72, 0x4d, 0x69, 0x6c, 0x22, 0xb5, 0x01, 0x0a, 0x11, 0x46, 0x65, 0x65, 0x52, 0x65,
|
|
0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x0c,
|
|
0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x66, 0x65, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03,
|
|
0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e,
|
|
0x65, 0x6c, 0x46, 0x65, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x0b, 0x63, 0x68, 0x61,
|
|
0x6e, 0x6e, 0x65, 0x6c, 0x46, 0x65, 0x65, 0x73, 0x12, 0x1e, 0x0a, 0x0b, 0x64, 0x61, 0x79, 0x5f,
|
|
0x66, 0x65, 0x65, 0x5f, 0x73, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x64,
|
|
0x61, 0x79, 0x46, 0x65, 0x65, 0x53, 0x75, 0x6d, 0x12, 0x20, 0x0a, 0x0c, 0x77, 0x65, 0x65, 0x6b,
|
|
0x5f, 0x66, 0x65, 0x65, 0x5f, 0x73, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a,
|
|
0x77, 0x65, 0x65, 0x6b, 0x46, 0x65, 0x65, 0x53, 0x75, 0x6d, 0x12, 0x22, 0x0a, 0x0d, 0x6d, 0x6f,
|
|
0x6e, 0x74, 0x68, 0x5f, 0x66, 0x65, 0x65, 0x5f, 0x73, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28,
|
|
0x04, 0x52, 0x0b, 0x6d, 0x6f, 0x6e, 0x74, 0x68, 0x46, 0x65, 0x65, 0x53, 0x75, 0x6d, 0x22, 0x52,
|
|
0x0a, 0x0a, 0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x46, 0x65, 0x65, 0x12, 0x22, 0x0a, 0x0d,
|
|
0x62, 0x61, 0x73, 0x65, 0x5f, 0x66, 0x65, 0x65, 0x5f, 0x6d, 0x73, 0x61, 0x74, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x05, 0x52, 0x0b, 0x62, 0x61, 0x73, 0x65, 0x46, 0x65, 0x65, 0x4d, 0x73, 0x61, 0x74,
|
|
0x12, 0x20, 0x0a, 0x0c, 0x66, 0x65, 0x65, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x70, 0x70, 0x6d,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x66, 0x65, 0x65, 0x52, 0x61, 0x74, 0x65, 0x50,
|
|
0x70, 0x6d, 0x22, 0xaa, 0x03, 0x0a, 0x13, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x55, 0x70, 0x64,
|
|
0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x06, 0x67, 0x6c,
|
|
0x6f, 0x62, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x06, 0x67, 0x6c,
|
|
0x6f, 0x62, 0x61, 0x6c, 0x12, 0x34, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x6e, 0x5f, 0x70, 0x6f, 0x69,
|
|
0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63,
|
|
0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x48, 0x00, 0x52,
|
|
0x09, 0x63, 0x68, 0x61, 0x6e, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x0d, 0x62, 0x61,
|
|
0x73, 0x65, 0x5f, 0x66, 0x65, 0x65, 0x5f, 0x6d, 0x73, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
0x03, 0x52, 0x0b, 0x62, 0x61, 0x73, 0x65, 0x46, 0x65, 0x65, 0x4d, 0x73, 0x61, 0x74, 0x12, 0x19,
|
|
0x0a, 0x08, 0x66, 0x65, 0x65, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01,
|
|
0x52, 0x07, 0x66, 0x65, 0x65, 0x52, 0x61, 0x74, 0x65, 0x12, 0x20, 0x0a, 0x0c, 0x66, 0x65, 0x65,
|
|
0x5f, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x70, 0x70, 0x6d, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52,
|
|
0x0a, 0x66, 0x65, 0x65, 0x52, 0x61, 0x74, 0x65, 0x50, 0x70, 0x6d, 0x12, 0x26, 0x0a, 0x0f, 0x74,
|
|
0x69, 0x6d, 0x65, 0x5f, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x64, 0x65, 0x6c, 0x74, 0x61, 0x18, 0x05,
|
|
0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x74, 0x69, 0x6d, 0x65, 0x4c, 0x6f, 0x63, 0x6b, 0x44, 0x65,
|
|
0x6c, 0x74, 0x61, 0x12, 0x22, 0x0a, 0x0d, 0x6d, 0x61, 0x78, 0x5f, 0x68, 0x74, 0x6c, 0x63, 0x5f,
|
|
0x6d, 0x73, 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x6d, 0x61, 0x78, 0x48,
|
|
0x74, 0x6c, 0x63, 0x4d, 0x73, 0x61, 0x74, 0x12, 0x22, 0x0a, 0x0d, 0x6d, 0x69, 0x6e, 0x5f, 0x68,
|
|
0x74, 0x6c, 0x63, 0x5f, 0x6d, 0x73, 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b,
|
|
0x6d, 0x69, 0x6e, 0x48, 0x74, 0x6c, 0x63, 0x4d, 0x73, 0x61, 0x74, 0x12, 0x35, 0x0a, 0x17, 0x6d,
|
|
0x69, 0x6e, 0x5f, 0x68, 0x74, 0x6c, 0x63, 0x5f, 0x6d, 0x73, 0x61, 0x74, 0x5f, 0x73, 0x70, 0x65,
|
|
0x63, 0x69, 0x66, 0x69, 0x65, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x6d, 0x69,
|
|
0x6e, 0x48, 0x74, 0x6c, 0x63, 0x4d, 0x73, 0x61, 0x74, 0x53, 0x70, 0x65, 0x63, 0x69, 0x66, 0x69,
|
|
0x65, 0x64, 0x12, 0x32, 0x0a, 0x0b, 0x69, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x5f, 0x66, 0x65,
|
|
0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e,
|
|
0x49, 0x6e, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x46, 0x65, 0x65, 0x52, 0x0a, 0x69, 0x6e, 0x62, 0x6f,
|
|
0x75, 0x6e, 0x64, 0x46, 0x65, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x22,
|
|
0x8c, 0x01, 0x0a, 0x0c, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
|
|
0x12, 0x2b, 0x0a, 0x08, 0x6f, 0x75, 0x74, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x75, 0x74, 0x50, 0x6f,
|
|
0x69, 0x6e, 0x74, 0x52, 0x08, 0x6f, 0x75, 0x74, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x2c, 0x0a,
|
|
0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e,
|
|
0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x61, 0x69, 0x6c,
|
|
0x75, 0x72, 0x65, 0x52, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x75,
|
|
0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x52,
|
|
0x0a, 0x14, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65,
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x0e, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64,
|
|
0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13,
|
|
0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x55, 0x70, 0x64,
|
|
0x61, 0x74, 0x65, 0x52, 0x0d, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x55, 0x70, 0x64, 0x61, 0x74,
|
|
0x65, 0x73, 0x22, 0xc9, 0x01, 0x0a, 0x18, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e,
|
|
0x67, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 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, 0x69, 0x6e, 0x64,
|
|
0x65, 0x78, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52,
|
|
0x0b, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x24, 0x0a, 0x0e,
|
|
0x6e, 0x75, 0x6d, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x04,
|
|
0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6e, 0x75, 0x6d, 0x4d, 0x61, 0x78, 0x45, 0x76, 0x65, 0x6e,
|
|
0x74, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x70, 0x65, 0x65, 0x72, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73,
|
|
0x5f, 0x6c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x70,
|
|
0x65, 0x65, 0x72, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x22, 0x85,
|
|
0x03, 0x0a, 0x0f, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x45, 0x76, 0x65,
|
|
0x6e, 0x74, 0x12, 0x20, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x04, 0x42, 0x02, 0x18, 0x01, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73,
|
|
0x74, 0x61, 0x6d, 0x70, 0x12, 0x20, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x6e, 0x5f, 0x69, 0x64, 0x5f,
|
|
0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x42, 0x02, 0x30, 0x01, 0x52, 0x08, 0x63, 0x68,
|
|
0x61, 0x6e, 0x49, 0x64, 0x49, 0x6e, 0x12, 0x22, 0x0a, 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x5f, 0x69,
|
|
0x64, 0x5f, 0x6f, 0x75, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x42, 0x02, 0x30, 0x01, 0x52,
|
|
0x09, 0x63, 0x68, 0x61, 0x6e, 0x49, 0x64, 0x4f, 0x75, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x61, 0x6d,
|
|
0x74, 0x5f, 0x69, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x61, 0x6d, 0x74, 0x49,
|
|
0x6e, 0x12, 0x17, 0x0a, 0x07, 0x61, 0x6d, 0x74, 0x5f, 0x6f, 0x75, 0x74, 0x18, 0x06, 0x20, 0x01,
|
|
0x28, 0x04, 0x52, 0x06, 0x61, 0x6d, 0x74, 0x4f, 0x75, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x66, 0x65,
|
|
0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x66, 0x65, 0x65, 0x12, 0x19, 0x0a, 0x08,
|
|
0x66, 0x65, 0x65, 0x5f, 0x6d, 0x73, 0x61, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07,
|
|
0x66, 0x65, 0x65, 0x4d, 0x73, 0x61, 0x74, 0x12, 0x1e, 0x0a, 0x0b, 0x61, 0x6d, 0x74, 0x5f, 0x69,
|
|
0x6e, 0x5f, 0x6d, 0x73, 0x61, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x61, 0x6d,
|
|
0x74, 0x49, 0x6e, 0x4d, 0x73, 0x61, 0x74, 0x12, 0x20, 0x0a, 0x0c, 0x61, 0x6d, 0x74, 0x5f, 0x6f,
|
|
0x75, 0x74, 0x5f, 0x6d, 0x73, 0x61, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x61,
|
|
0x6d, 0x74, 0x4f, 0x75, 0x74, 0x4d, 0x73, 0x61, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x69, 0x6d,
|
|
0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x5f, 0x6e, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x04, 0x52,
|
|
0x0b, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x4e, 0x73, 0x12, 0x22, 0x0a, 0x0d,
|
|
0x70, 0x65, 0x65, 0x72, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x5f, 0x69, 0x6e, 0x18, 0x0c, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x65, 0x65, 0x72, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x49, 0x6e,
|
|
0x12, 0x24, 0x0a, 0x0e, 0x70, 0x65, 0x65, 0x72, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x5f, 0x6f,
|
|
0x75, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x65, 0x65, 0x72, 0x41, 0x6c,
|
|
0x69, 0x61, 0x73, 0x4f, 0x75, 0x74, 0x22, 0x8c, 0x01, 0x0a, 0x19, 0x46, 0x6f, 0x72, 0x77, 0x61,
|
|
0x72, 0x64, 0x69, 0x6e, 0x67, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70,
|
|
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x11, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69,
|
|
0x6e, 0x67, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
|
0x16, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69,
|
|
0x6e, 0x67, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x10, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64,
|
|
0x69, 0x6e, 0x67, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x6c, 0x61, 0x73,
|
|
0x74, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02,
|
|
0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x6c, 0x61, 0x73, 0x74, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74,
|
|
0x49, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x50, 0x0a, 0x1a, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x43,
|
|
0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75,
|
|
0x65, 0x73, 0x74, 0x12, 0x32, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x6e, 0x5f, 0x70, 0x6f, 0x69, 0x6e,
|
|
0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e,
|
|
0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x09, 0x63, 0x68,
|
|
0x61, 0x6e, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x22, 0x64, 0x0a, 0x0d, 0x43, 0x68, 0x61, 0x6e, 0x6e,
|
|
0x65, 0x6c, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x12, 0x32, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x6e,
|
|
0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6c,
|
|
0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x50, 0x6f, 0x69, 0x6e,
|
|
0x74, 0x52, 0x09, 0x63, 0x68, 0x61, 0x6e, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x1f, 0x0a, 0x0b,
|
|
0x63, 0x68, 0x61, 0x6e, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
0x0c, 0x52, 0x0a, 0x63, 0x68, 0x61, 0x6e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x22, 0x73, 0x0a,
|
|
0x0f, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x43, 0x68, 0x61, 0x6e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70,
|
|
0x12, 0x34, 0x0a, 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x18,
|
|
0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68,
|
|
0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x0a, 0x63, 0x68, 0x61, 0x6e,
|
|
0x50, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x2a, 0x0a, 0x11, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x5f,
|
|
0x63, 0x68, 0x61, 0x6e, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
0x0c, 0x52, 0x0f, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x43, 0x68, 0x61, 0x6e, 0x42, 0x61, 0x63, 0x6b,
|
|
0x75, 0x70, 0x22, 0x19, 0x0a, 0x17, 0x43, 0x68, 0x61, 0x6e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70,
|
|
0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x9f, 0x01,
|
|
0x0a, 0x12, 0x43, 0x68, 0x61, 0x6e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x53, 0x6e, 0x61, 0x70,
|
|
0x73, 0x68, 0x6f, 0x74, 0x12, 0x45, 0x0a, 0x13, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x5f, 0x63,
|
|
0x68, 0x61, 0x6e, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x0b, 0x32, 0x15, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65,
|
|
0x6c, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x52, 0x11, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65,
|
|
0x43, 0x68, 0x61, 0x6e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x12, 0x42, 0x0a, 0x11, 0x6d,
|
|
0x75, 0x6c, 0x74, 0x69, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4d,
|
|
0x75, 0x6c, 0x74, 0x69, 0x43, 0x68, 0x61, 0x6e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x0f,
|
|
0x6d, 0x75, 0x6c, 0x74, 0x69, 0x43, 0x68, 0x61, 0x6e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x22,
|
|
0x49, 0x0a, 0x0e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70,
|
|
0x73, 0x12, 0x37, 0x0a, 0x0c, 0x63, 0x68, 0x61, 0x6e, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70,
|
|
0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e,
|
|
0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x0b, 0x63,
|
|
0x68, 0x61, 0x6e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x22, 0x8e, 0x01, 0x0a, 0x18, 0x52,
|
|
0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70,
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x0c, 0x63, 0x68, 0x61, 0x6e, 0x5f,
|
|
0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e,
|
|
0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x42, 0x61, 0x63,
|
|
0x6b, 0x75, 0x70, 0x73, 0x48, 0x00, 0x52, 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x42, 0x61, 0x63, 0x6b,
|
|
0x75, 0x70, 0x73, 0x12, 0x2c, 0x0a, 0x11, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x5f, 0x63, 0x68, 0x61,
|
|
0x6e, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00,
|
|
0x52, 0x0f, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x43, 0x68, 0x61, 0x6e, 0x42, 0x61, 0x63, 0x6b, 0x75,
|
|
0x70, 0x42, 0x08, 0x0a, 0x06, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x22, 0x17, 0x0a, 0x15, 0x52,
|
|
0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70,
|
|
0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1b, 0x0a, 0x19, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x42,
|
|
0x61, 0x63, 0x6b, 0x75, 0x70, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x22, 0x1a, 0x0a, 0x18, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x43, 0x68, 0x61, 0x6e, 0x42,
|
|
0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x44, 0x0a,
|
|
0x12, 0x4d, 0x61, 0x63, 0x61, 0x72, 0x6f, 0x6f, 0x6e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73,
|
|
0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x61,
|
|
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x63, 0x74,
|
|
0x69, 0x6f, 0x6e, 0x22, 0xb0, 0x01, 0x0a, 0x13, 0x42, 0x61, 0x6b, 0x65, 0x4d, 0x61, 0x63, 0x61,
|
|
0x72, 0x6f, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0b, 0x70,
|
|
0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
|
|
0x32, 0x19, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4d, 0x61, 0x63, 0x61, 0x72, 0x6f, 0x6f,
|
|
0x6e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x70, 0x65, 0x72,
|
|
0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1e, 0x0a, 0x0b, 0x72, 0x6f, 0x6f, 0x74,
|
|
0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x72,
|
|
0x6f, 0x6f, 0x74, 0x4b, 0x65, 0x79, 0x49, 0x64, 0x12, 0x3c, 0x0a, 0x1a, 0x61, 0x6c, 0x6c, 0x6f,
|
|
0x77, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69,
|
|
0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x18, 0x61, 0x6c,
|
|
0x6c, 0x6f, 0x77, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x50, 0x65, 0x72, 0x6d, 0x69,
|
|
0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x32, 0x0a, 0x14, 0x42, 0x61, 0x6b, 0x65, 0x4d, 0x61,
|
|
0x63, 0x61, 0x72, 0x6f, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a,
|
|
0x0a, 0x08, 0x6d, 0x61, 0x63, 0x61, 0x72, 0x6f, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x08, 0x6d, 0x61, 0x63, 0x61, 0x72, 0x6f, 0x6f, 0x6e, 0x22, 0x18, 0x0a, 0x16, 0x4c, 0x69,
|
|
0x73, 0x74, 0x4d, 0x61, 0x63, 0x61, 0x72, 0x6f, 0x6f, 0x6e, 0x49, 0x44, 0x73, 0x52, 0x65, 0x71,
|
|
0x75, 0x65, 0x73, 0x74, 0x22, 0x3b, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x63, 0x61,
|
|
0x72, 0x6f, 0x6f, 0x6e, 0x49, 0x44, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
|
0x20, 0x0a, 0x0c, 0x72, 0x6f, 0x6f, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x69, 0x64, 0x73, 0x18,
|
|
0x01, 0x20, 0x03, 0x28, 0x04, 0x52, 0x0a, 0x72, 0x6f, 0x6f, 0x74, 0x4b, 0x65, 0x79, 0x49, 0x64,
|
|
0x73, 0x22, 0x39, 0x0a, 0x17, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x61, 0x63, 0x61, 0x72,
|
|
0x6f, 0x6f, 0x6e, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x0b,
|
|
0x72, 0x6f, 0x6f, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x04, 0x52, 0x09, 0x72, 0x6f, 0x6f, 0x74, 0x4b, 0x65, 0x79, 0x49, 0x64, 0x22, 0x34, 0x0a, 0x18,
|
|
0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x61, 0x63, 0x61, 0x72, 0x6f, 0x6f, 0x6e, 0x49, 0x44,
|
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x6c, 0x65,
|
|
0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x64, 0x65, 0x6c, 0x65, 0x74,
|
|
0x65, 0x64, 0x22, 0x55, 0x0a, 0x16, 0x4d, 0x61, 0x63, 0x61, 0x72, 0x6f, 0x6f, 0x6e, 0x50, 0x65,
|
|
0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x0b,
|
|
0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
|
|
0x0b, 0x32, 0x19, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4d, 0x61, 0x63, 0x61, 0x72, 0x6f,
|
|
0x6f, 0x6e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x70, 0x65,
|
|
0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x18, 0x0a, 0x16, 0x4c, 0x69, 0x73,
|
|
0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75,
|
|
0x65, 0x73, 0x74, 0x22, 0xe4, 0x01, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x65, 0x72, 0x6d,
|
|
0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
|
0x64, 0x0a, 0x12, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x5f, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73,
|
|
0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x6c, 0x6e,
|
|
0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69,
|
|
0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4d, 0x65, 0x74, 0x68,
|
|
0x6f, 0x64, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74,
|
|
0x72, 0x79, 0x52, 0x11, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73,
|
|
0x73, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x63, 0x0a, 0x16, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x50,
|
|
0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 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, 0x33, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x1d, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4d, 0x61, 0x63, 0x61, 0x72, 0x6f, 0x6f,
|
|
0x6e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52,
|
|
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xcc, 0x08, 0x0a, 0x07, 0x46,
|
|
0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x12, 0x2e, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x46, 0x61, 0x69,
|
|
0x6c, 0x75, 0x72, 0x65, 0x2e, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64, 0x65,
|
|
0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x3b, 0x0a, 0x0e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65,
|
|
0x6c, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14,
|
|
0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x55, 0x70,
|
|
0x64, 0x61, 0x74, 0x65, 0x52, 0x0d, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x55, 0x70, 0x64,
|
|
0x61, 0x74, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x68, 0x74, 0x6c, 0x63, 0x5f, 0x6d, 0x73, 0x61, 0x74,
|
|
0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x68, 0x74, 0x6c, 0x63, 0x4d, 0x73, 0x61, 0x74,
|
|
0x12, 0x22, 0x0a, 0x0d, 0x6f, 0x6e, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x68, 0x61, 0x5f, 0x32, 0x35,
|
|
0x36, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x6f, 0x6e, 0x69, 0x6f, 0x6e, 0x53, 0x68,
|
|
0x61, 0x32, 0x35, 0x36, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x74, 0x76, 0x5f, 0x65, 0x78, 0x70,
|
|
0x69, 0x72, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x63, 0x6c, 0x74, 0x76, 0x45,
|
|
0x78, 0x70, 0x69, 0x72, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x07,
|
|
0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x30, 0x0a, 0x14, 0x66,
|
|
0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x6e,
|
|
0x64, 0x65, 0x78, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x66, 0x61, 0x69, 0x6c, 0x75,
|
|
0x72, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x16, 0x0a,
|
|
0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x68,
|
|
0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0x8b, 0x06, 0x0a, 0x0b, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72,
|
|
0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, 0x53, 0x45, 0x52, 0x56, 0x45,
|
|
0x44, 0x10, 0x00, 0x12, 0x28, 0x0a, 0x24, 0x49, 0x4e, 0x43, 0x4f, 0x52, 0x52, 0x45, 0x43, 0x54,
|
|
0x5f, 0x4f, 0x52, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x50, 0x41, 0x59, 0x4d,
|
|
0x45, 0x4e, 0x54, 0x5f, 0x44, 0x45, 0x54, 0x41, 0x49, 0x4c, 0x53, 0x10, 0x01, 0x12, 0x1c, 0x0a,
|
|
0x18, 0x49, 0x4e, 0x43, 0x4f, 0x52, 0x52, 0x45, 0x43, 0x54, 0x5f, 0x50, 0x41, 0x59, 0x4d, 0x45,
|
|
0x4e, 0x54, 0x5f, 0x41, 0x4d, 0x4f, 0x55, 0x4e, 0x54, 0x10, 0x02, 0x12, 0x1f, 0x0a, 0x1b, 0x46,
|
|
0x49, 0x4e, 0x41, 0x4c, 0x5f, 0x49, 0x4e, 0x43, 0x4f, 0x52, 0x52, 0x45, 0x43, 0x54, 0x5f, 0x43,
|
|
0x4c, 0x54, 0x56, 0x5f, 0x45, 0x58, 0x50, 0x49, 0x52, 0x59, 0x10, 0x03, 0x12, 0x1f, 0x0a, 0x1b,
|
|
0x46, 0x49, 0x4e, 0x41, 0x4c, 0x5f, 0x49, 0x4e, 0x43, 0x4f, 0x52, 0x52, 0x45, 0x43, 0x54, 0x5f,
|
|
0x48, 0x54, 0x4c, 0x43, 0x5f, 0x41, 0x4d, 0x4f, 0x55, 0x4e, 0x54, 0x10, 0x04, 0x12, 0x19, 0x0a,
|
|
0x15, 0x46, 0x49, 0x4e, 0x41, 0x4c, 0x5f, 0x45, 0x58, 0x50, 0x49, 0x52, 0x59, 0x5f, 0x54, 0x4f,
|
|
0x4f, 0x5f, 0x53, 0x4f, 0x4f, 0x4e, 0x10, 0x05, 0x12, 0x11, 0x0a, 0x0d, 0x49, 0x4e, 0x56, 0x41,
|
|
0x4c, 0x49, 0x44, 0x5f, 0x52, 0x45, 0x41, 0x4c, 0x4d, 0x10, 0x06, 0x12, 0x13, 0x0a, 0x0f, 0x45,
|
|
0x58, 0x50, 0x49, 0x52, 0x59, 0x5f, 0x54, 0x4f, 0x4f, 0x5f, 0x53, 0x4f, 0x4f, 0x4e, 0x10, 0x07,
|
|
0x12, 0x19, 0x0a, 0x15, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x4f, 0x4e, 0x49, 0x4f,
|
|
0x4e, 0x5f, 0x56, 0x45, 0x52, 0x53, 0x49, 0x4f, 0x4e, 0x10, 0x08, 0x12, 0x16, 0x0a, 0x12, 0x49,
|
|
0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x4f, 0x4e, 0x49, 0x4f, 0x4e, 0x5f, 0x48, 0x4d, 0x41,
|
|
0x43, 0x10, 0x09, 0x12, 0x15, 0x0a, 0x11, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x4f,
|
|
0x4e, 0x49, 0x4f, 0x4e, 0x5f, 0x4b, 0x45, 0x59, 0x10, 0x0a, 0x12, 0x18, 0x0a, 0x14, 0x41, 0x4d,
|
|
0x4f, 0x55, 0x4e, 0x54, 0x5f, 0x42, 0x45, 0x4c, 0x4f, 0x57, 0x5f, 0x4d, 0x49, 0x4e, 0x49, 0x4d,
|
|
0x55, 0x4d, 0x10, 0x0b, 0x12, 0x14, 0x0a, 0x10, 0x46, 0x45, 0x45, 0x5f, 0x49, 0x4e, 0x53, 0x55,
|
|
0x46, 0x46, 0x49, 0x43, 0x49, 0x45, 0x4e, 0x54, 0x10, 0x0c, 0x12, 0x19, 0x0a, 0x15, 0x49, 0x4e,
|
|
0x43, 0x4f, 0x52, 0x52, 0x45, 0x43, 0x54, 0x5f, 0x43, 0x4c, 0x54, 0x56, 0x5f, 0x45, 0x58, 0x50,
|
|
0x49, 0x52, 0x59, 0x10, 0x0d, 0x12, 0x14, 0x0a, 0x10, 0x43, 0x48, 0x41, 0x4e, 0x4e, 0x45, 0x4c,
|
|
0x5f, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x0e, 0x12, 0x1d, 0x0a, 0x19, 0x54,
|
|
0x45, 0x4d, 0x50, 0x4f, 0x52, 0x41, 0x52, 0x59, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x4e, 0x45, 0x4c,
|
|
0x5f, 0x46, 0x41, 0x49, 0x4c, 0x55, 0x52, 0x45, 0x10, 0x0f, 0x12, 0x21, 0x0a, 0x1d, 0x52, 0x45,
|
|
0x51, 0x55, 0x49, 0x52, 0x45, 0x44, 0x5f, 0x4e, 0x4f, 0x44, 0x45, 0x5f, 0x46, 0x45, 0x41, 0x54,
|
|
0x55, 0x52, 0x45, 0x5f, 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4e, 0x47, 0x10, 0x10, 0x12, 0x24, 0x0a,
|
|
0x20, 0x52, 0x45, 0x51, 0x55, 0x49, 0x52, 0x45, 0x44, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x4e, 0x45,
|
|
0x4c, 0x5f, 0x46, 0x45, 0x41, 0x54, 0x55, 0x52, 0x45, 0x5f, 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4e,
|
|
0x47, 0x10, 0x11, 0x12, 0x15, 0x0a, 0x11, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x4e,
|
|
0x45, 0x58, 0x54, 0x5f, 0x50, 0x45, 0x45, 0x52, 0x10, 0x12, 0x12, 0x1a, 0x0a, 0x16, 0x54, 0x45,
|
|
0x4d, 0x50, 0x4f, 0x52, 0x41, 0x52, 0x59, 0x5f, 0x4e, 0x4f, 0x44, 0x45, 0x5f, 0x46, 0x41, 0x49,
|
|
0x4c, 0x55, 0x52, 0x45, 0x10, 0x13, 0x12, 0x1a, 0x0a, 0x16, 0x50, 0x45, 0x52, 0x4d, 0x41, 0x4e,
|
|
0x45, 0x4e, 0x54, 0x5f, 0x4e, 0x4f, 0x44, 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x55, 0x52, 0x45,
|
|
0x10, 0x14, 0x12, 0x1d, 0x0a, 0x19, 0x50, 0x45, 0x52, 0x4d, 0x41, 0x4e, 0x45, 0x4e, 0x54, 0x5f,
|
|
0x43, 0x48, 0x41, 0x4e, 0x4e, 0x45, 0x4c, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x55, 0x52, 0x45, 0x10,
|
|
0x15, 0x12, 0x12, 0x0a, 0x0e, 0x45, 0x58, 0x50, 0x49, 0x52, 0x59, 0x5f, 0x54, 0x4f, 0x4f, 0x5f,
|
|
0x46, 0x41, 0x52, 0x10, 0x16, 0x12, 0x0f, 0x0a, 0x0b, 0x4d, 0x50, 0x50, 0x5f, 0x54, 0x49, 0x4d,
|
|
0x45, 0x4f, 0x55, 0x54, 0x10, 0x17, 0x12, 0x19, 0x0a, 0x15, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49,
|
|
0x44, 0x5f, 0x4f, 0x4e, 0x49, 0x4f, 0x4e, 0x5f, 0x50, 0x41, 0x59, 0x4c, 0x4f, 0x41, 0x44, 0x10,
|
|
0x18, 0x12, 0x1a, 0x0a, 0x16, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x4f, 0x4e, 0x49,
|
|
0x4f, 0x4e, 0x5f, 0x42, 0x4c, 0x49, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x19, 0x12, 0x15, 0x0a,
|
|
0x10, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x4e, 0x41, 0x4c, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x55, 0x52,
|
|
0x45, 0x10, 0xe5, 0x07, 0x12, 0x14, 0x0a, 0x0f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f,
|
|
0x46, 0x41, 0x49, 0x4c, 0x55, 0x52, 0x45, 0x10, 0xe6, 0x07, 0x12, 0x17, 0x0a, 0x12, 0x55, 0x4e,
|
|
0x52, 0x45, 0x41, 0x44, 0x41, 0x42, 0x4c, 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x55, 0x52, 0x45,
|
|
0x10, 0xe7, 0x07, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x22, 0xb3, 0x03, 0x0a, 0x0d, 0x43, 0x68,
|
|
0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x73,
|
|
0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09,
|
|
0x73, 0x69, 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x68, 0x61,
|
|
0x69, 0x6e, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x63,
|
|
0x68, 0x61, 0x69, 0x6e, 0x48, 0x61, 0x73, 0x68, 0x12, 0x1b, 0x0a, 0x07, 0x63, 0x68, 0x61, 0x6e,
|
|
0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x42, 0x02, 0x30, 0x01, 0x52, 0x06, 0x63,
|
|
0x68, 0x61, 0x6e, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
|
|
0x6d, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74,
|
|
0x61, 0x6d, 0x70, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x66,
|
|
0x6c, 0x61, 0x67, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x6d, 0x65, 0x73, 0x73,
|
|
0x61, 0x67, 0x65, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x68, 0x61, 0x6e,
|
|
0x6e, 0x65, 0x6c, 0x5f, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52,
|
|
0x0c, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x26, 0x0a,
|
|
0x0f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x64, 0x65, 0x6c, 0x74, 0x61,
|
|
0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x74, 0x69, 0x6d, 0x65, 0x4c, 0x6f, 0x63, 0x6b,
|
|
0x44, 0x65, 0x6c, 0x74, 0x61, 0x12, 0x2a, 0x0a, 0x11, 0x68, 0x74, 0x6c, 0x63, 0x5f, 0x6d, 0x69,
|
|
0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x5f, 0x6d, 0x73, 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04,
|
|
0x52, 0x0f, 0x68, 0x74, 0x6c, 0x63, 0x4d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x4d, 0x73, 0x61,
|
|
0x74, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x66, 0x65, 0x65, 0x18, 0x08, 0x20,
|
|
0x01, 0x28, 0x0d, 0x52, 0x07, 0x62, 0x61, 0x73, 0x65, 0x46, 0x65, 0x65, 0x12, 0x19, 0x0a, 0x08,
|
|
0x66, 0x65, 0x65, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07,
|
|
0x66, 0x65, 0x65, 0x52, 0x61, 0x74, 0x65, 0x12, 0x2a, 0x0a, 0x11, 0x68, 0x74, 0x6c, 0x63, 0x5f,
|
|
0x6d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x5f, 0x6d, 0x73, 0x61, 0x74, 0x18, 0x0b, 0x20, 0x01,
|
|
0x28, 0x04, 0x52, 0x0f, 0x68, 0x74, 0x6c, 0x63, 0x4d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x4d,
|
|
0x73, 0x61, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x65, 0x78, 0x74, 0x72, 0x61, 0x5f, 0x6f, 0x70, 0x61,
|
|
0x71, 0x75, 0x65, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f,
|
|
0x65, 0x78, 0x74, 0x72, 0x61, 0x4f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x44, 0x61, 0x74, 0x61, 0x22,
|
|
0x5d, 0x0a, 0x0a, 0x4d, 0x61, 0x63, 0x61, 0x72, 0x6f, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x14, 0x0a,
|
|
0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x6e, 0x6f,
|
|
0x6e, 0x63, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x49, 0x64,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x49,
|
|
0x64, 0x12, 0x1b, 0x0a, 0x03, 0x6f, 0x70, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x09,
|
|
0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x70, 0x52, 0x03, 0x6f, 0x70, 0x73, 0x22, 0x36,
|
|
0x0a, 0x02, 0x4f, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x18, 0x0a, 0x07,
|
|
0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x61,
|
|
0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x8e, 0x01, 0x0a, 0x13, 0x43, 0x68, 0x65, 0x63, 0x6b,
|
|
0x4d, 0x61, 0x63, 0x50, 0x65, 0x72, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a,
|
|
0x0a, 0x08, 0x6d, 0x61, 0x63, 0x61, 0x72, 0x6f, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c,
|
|
0x52, 0x08, 0x6d, 0x61, 0x63, 0x61, 0x72, 0x6f, 0x6f, 0x6e, 0x12, 0x3b, 0x0a, 0x0b, 0x70, 0x65,
|
|
0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
|
0x19, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4d, 0x61, 0x63, 0x61, 0x72, 0x6f, 0x6f, 0x6e,
|
|
0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d,
|
|
0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x66, 0x75, 0x6c, 0x6c, 0x4d,
|
|
0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, 0x75, 0x6c,
|
|
0x6c, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x22, 0x2c, 0x0a, 0x14, 0x43, 0x68, 0x65, 0x63, 0x6b,
|
|
0x4d, 0x61, 0x63, 0x50, 0x65, 0x72, 0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
|
0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05,
|
|
0x76, 0x61, 0x6c, 0x69, 0x64, 0x22, 0xf4, 0x02, 0x0a, 0x14, 0x52, 0x50, 0x43, 0x4d, 0x69, 0x64,
|
|
0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d,
|
|
0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x04, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x21, 0x0a,
|
|
0x0c, 0x72, 0x61, 0x77, 0x5f, 0x6d, 0x61, 0x63, 0x61, 0x72, 0x6f, 0x6f, 0x6e, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x0c, 0x52, 0x0b, 0x72, 0x61, 0x77, 0x4d, 0x61, 0x63, 0x61, 0x72, 0x6f, 0x6f, 0x6e,
|
|
0x12, 0x36, 0x0a, 0x17, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x63, 0x61, 0x76, 0x65, 0x61,
|
|
0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x15, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x61, 0x76, 0x65, 0x61, 0x74, 0x43,
|
|
0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x34, 0x0a, 0x0b, 0x73, 0x74, 0x72, 0x65,
|
|
0x61, 0x6d, 0x5f, 0x61, 0x75, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e,
|
|
0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x41, 0x75, 0x74, 0x68,
|
|
0x48, 0x00, 0x52, 0x0a, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x41, 0x75, 0x74, 0x68, 0x12, 0x2d,
|
|
0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
0x11, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x50, 0x43, 0x4d, 0x65, 0x73, 0x73, 0x61,
|
|
0x67, 0x65, 0x48, 0x00, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2f, 0x0a,
|
|
0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
0x11, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x50, 0x43, 0x4d, 0x65, 0x73, 0x73, 0x61,
|
|
0x67, 0x65, 0x48, 0x00, 0x52, 0x08, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23,
|
|
0x0a, 0x0c, 0x72, 0x65, 0x67, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x18, 0x08,
|
|
0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x0b, 0x72, 0x65, 0x67, 0x43, 0x6f, 0x6d, 0x70, 0x6c,
|
|
0x65, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x6d, 0x73, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20,
|
|
0x01, 0x28, 0x04, 0x52, 0x05, 0x6d, 0x73, 0x67, 0x49, 0x64, 0x42, 0x10, 0x0a, 0x0e, 0x69, 0x6e,
|
|
0x74, 0x65, 0x72, 0x63, 0x65, 0x70, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0x34, 0x0a, 0x0a,
|
|
0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x41, 0x75, 0x74, 0x68, 0x12, 0x26, 0x0a, 0x0f, 0x6d, 0x65,
|
|
0x74, 0x68, 0x6f, 0x64, 0x5f, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x0d, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x46, 0x75, 0x6c, 0x6c, 0x55,
|
|
0x72, 0x69, 0x22, 0xab, 0x01, 0x0a, 0x0a, 0x52, 0x50, 0x43, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
|
0x65, 0x12, 0x26, 0x0a, 0x0f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x5f, 0x66, 0x75, 0x6c, 0x6c,
|
|
0x5f, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6d, 0x65, 0x74, 0x68,
|
|
0x6f, 0x64, 0x46, 0x75, 0x6c, 0x6c, 0x55, 0x72, 0x69, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x72,
|
|
0x65, 0x61, 0x6d, 0x5f, 0x72, 0x70, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x73,
|
|
0x74, 0x72, 0x65, 0x61, 0x6d, 0x52, 0x70, 0x63, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x79, 0x70, 0x65,
|
|
0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x79, 0x70,
|
|
0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69,
|
|
0x7a, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0a, 0x73, 0x65, 0x72, 0x69, 0x61,
|
|
0x6c, 0x69, 0x7a, 0x65, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x65, 0x72, 0x72, 0x6f,
|
|
0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x45, 0x72, 0x72, 0x6f, 0x72,
|
|
0x22, 0xc0, 0x01, 0x0a, 0x15, 0x52, 0x50, 0x43, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61,
|
|
0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x0a, 0x72, 0x65,
|
|
0x66, 0x5f, 0x6d, 0x73, 0x67, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08,
|
|
0x72, 0x65, 0x66, 0x4d, 0x73, 0x67, 0x49, 0x64, 0x12, 0x3b, 0x0a, 0x08, 0x72, 0x65, 0x67, 0x69,
|
|
0x73, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x6c, 0x6e, 0x72,
|
|
0x70, 0x63, 0x2e, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x52, 0x65, 0x67,
|
|
0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x08, 0x72, 0x65, 0x67,
|
|
0x69, 0x73, 0x74, 0x65, 0x72, 0x12, 0x36, 0x0a, 0x08, 0x66, 0x65, 0x65, 0x64, 0x62, 0x61, 0x63,
|
|
0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e,
|
|
0x49, 0x6e, 0x74, 0x65, 0x72, 0x63, 0x65, 0x70, 0x74, 0x46, 0x65, 0x65, 0x64, 0x62, 0x61, 0x63,
|
|
0x6b, 0x48, 0x00, 0x52, 0x08, 0x66, 0x65, 0x65, 0x64, 0x62, 0x61, 0x63, 0x6b, 0x42, 0x14, 0x0a,
|
|
0x12, 0x6d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x5f, 0x6d, 0x65, 0x73, 0x73,
|
|
0x61, 0x67, 0x65, 0x22, 0xa6, 0x01, 0x0a, 0x16, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61,
|
|
0x72, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x27,
|
|
0x0a, 0x0f, 0x6d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x5f, 0x6e, 0x61, 0x6d,
|
|
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77,
|
|
0x61, 0x72, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3d, 0x0a, 0x1b, 0x63, 0x75, 0x73, 0x74, 0x6f,
|
|
0x6d, 0x5f, 0x6d, 0x61, 0x63, 0x61, 0x72, 0x6f, 0x6f, 0x6e, 0x5f, 0x63, 0x61, 0x76, 0x65, 0x61,
|
|
0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x18, 0x63, 0x75,
|
|
0x73, 0x74, 0x6f, 0x6d, 0x4d, 0x61, 0x63, 0x61, 0x72, 0x6f, 0x6f, 0x6e, 0x43, 0x61, 0x76, 0x65,
|
|
0x61, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x24, 0x0a, 0x0e, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x6f,
|
|
0x6e, 0x6c, 0x79, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c,
|
|
0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x4d, 0x6f, 0x64, 0x65, 0x22, 0x8b, 0x01, 0x0a,
|
|
0x11, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x63, 0x65, 0x70, 0x74, 0x46, 0x65, 0x65, 0x64, 0x62, 0x61,
|
|
0x63, 0x6b, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x29, 0x0a, 0x10, 0x72, 0x65, 0x70, 0x6c,
|
|
0x61, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01,
|
|
0x28, 0x08, 0x52, 0x0f, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
|
0x6e, 0x73, 0x65, 0x12, 0x35, 0x0a, 0x16, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65,
|
|
0x6e, 0x74, 0x5f, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x18, 0x03, 0x20,
|
|
0x01, 0x28, 0x0c, 0x52, 0x15, 0x72, 0x65, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74,
|
|
0x53, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x2a, 0xcb, 0x02, 0x0a, 0x10, 0x4f,
|
|
0x75, 0x74, 0x70, 0x75, 0x74, 0x53, 0x63, 0x72, 0x69, 0x70, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12,
|
|
0x1b, 0x0a, 0x17, 0x53, 0x43, 0x52, 0x49, 0x50, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50,
|
|
0x55, 0x42, 0x4b, 0x45, 0x59, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x10, 0x00, 0x12, 0x1b, 0x0a, 0x17,
|
|
0x53, 0x43, 0x52, 0x49, 0x50, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x43, 0x52, 0x49,
|
|
0x50, 0x54, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x10, 0x01, 0x12, 0x26, 0x0a, 0x22, 0x53, 0x43, 0x52,
|
|
0x49, 0x50, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x57, 0x49, 0x54, 0x4e, 0x45, 0x53, 0x53,
|
|
0x5f, 0x56, 0x30, 0x5f, 0x50, 0x55, 0x42, 0x4b, 0x45, 0x59, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x10,
|
|
0x02, 0x12, 0x26, 0x0a, 0x22, 0x53, 0x43, 0x52, 0x49, 0x50, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45,
|
|
0x5f, 0x57, 0x49, 0x54, 0x4e, 0x45, 0x53, 0x53, 0x5f, 0x56, 0x30, 0x5f, 0x53, 0x43, 0x52, 0x49,
|
|
0x50, 0x54, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x10, 0x03, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x43, 0x52,
|
|
0x49, 0x50, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x55, 0x42, 0x4b, 0x45, 0x59, 0x10,
|
|
0x04, 0x12, 0x18, 0x0a, 0x14, 0x53, 0x43, 0x52, 0x49, 0x50, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45,
|
|
0x5f, 0x4d, 0x55, 0x4c, 0x54, 0x49, 0x53, 0x49, 0x47, 0x10, 0x05, 0x12, 0x18, 0x0a, 0x14, 0x53,
|
|
0x43, 0x52, 0x49, 0x50, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x55, 0x4c, 0x4c, 0x44,
|
|
0x41, 0x54, 0x41, 0x10, 0x06, 0x12, 0x1c, 0x0a, 0x18, 0x53, 0x43, 0x52, 0x49, 0x50, 0x54, 0x5f,
|
|
0x54, 0x59, 0x50, 0x45, 0x5f, 0x4e, 0x4f, 0x4e, 0x5f, 0x53, 0x54, 0x41, 0x4e, 0x44, 0x41, 0x52,
|
|
0x44, 0x10, 0x07, 0x12, 0x1f, 0x0a, 0x1b, 0x53, 0x43, 0x52, 0x49, 0x50, 0x54, 0x5f, 0x54, 0x59,
|
|
0x50, 0x45, 0x5f, 0x57, 0x49, 0x54, 0x4e, 0x45, 0x53, 0x53, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f,
|
|
0x57, 0x4e, 0x10, 0x08, 0x12, 0x22, 0x0a, 0x1e, 0x53, 0x43, 0x52, 0x49, 0x50, 0x54, 0x5f, 0x54,
|
|
0x59, 0x50, 0x45, 0x5f, 0x57, 0x49, 0x54, 0x4e, 0x45, 0x53, 0x53, 0x5f, 0x56, 0x31, 0x5f, 0x54,
|
|
0x41, 0x50, 0x52, 0x4f, 0x4f, 0x54, 0x10, 0x09, 0x2a, 0x62, 0x0a, 0x15, 0x43, 0x6f, 0x69, 0x6e,
|
|
0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67,
|
|
0x79, 0x12, 0x1e, 0x0a, 0x1a, 0x53, 0x54, 0x52, 0x41, 0x54, 0x45, 0x47, 0x59, 0x5f, 0x55, 0x53,
|
|
0x45, 0x5f, 0x47, 0x4c, 0x4f, 0x42, 0x41, 0x4c, 0x5f, 0x43, 0x4f, 0x4e, 0x46, 0x49, 0x47, 0x10,
|
|
0x00, 0x12, 0x14, 0x0a, 0x10, 0x53, 0x54, 0x52, 0x41, 0x54, 0x45, 0x47, 0x59, 0x5f, 0x4c, 0x41,
|
|
0x52, 0x47, 0x45, 0x53, 0x54, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x54, 0x52, 0x41, 0x54,
|
|
0x45, 0x47, 0x59, 0x5f, 0x52, 0x41, 0x4e, 0x44, 0x4f, 0x4d, 0x10, 0x02, 0x2a, 0xac, 0x01, 0x0a,
|
|
0x0b, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x13,
|
|
0x57, 0x49, 0x54, 0x4e, 0x45, 0x53, 0x53, 0x5f, 0x50, 0x55, 0x42, 0x4b, 0x45, 0x59, 0x5f, 0x48,
|
|
0x41, 0x53, 0x48, 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x4e, 0x45, 0x53, 0x54, 0x45, 0x44, 0x5f,
|
|
0x50, 0x55, 0x42, 0x4b, 0x45, 0x59, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x10, 0x01, 0x12, 0x1e, 0x0a,
|
|
0x1a, 0x55, 0x4e, 0x55, 0x53, 0x45, 0x44, 0x5f, 0x57, 0x49, 0x54, 0x4e, 0x45, 0x53, 0x53, 0x5f,
|
|
0x50, 0x55, 0x42, 0x4b, 0x45, 0x59, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x10, 0x02, 0x12, 0x1d, 0x0a,
|
|
0x19, 0x55, 0x4e, 0x55, 0x53, 0x45, 0x44, 0x5f, 0x4e, 0x45, 0x53, 0x54, 0x45, 0x44, 0x5f, 0x50,
|
|
0x55, 0x42, 0x4b, 0x45, 0x59, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e,
|
|
0x54, 0x41, 0x50, 0x52, 0x4f, 0x4f, 0x54, 0x5f, 0x50, 0x55, 0x42, 0x4b, 0x45, 0x59, 0x10, 0x04,
|
|
0x12, 0x19, 0x0a, 0x15, 0x55, 0x4e, 0x55, 0x53, 0x45, 0x44, 0x5f, 0x54, 0x41, 0x50, 0x52, 0x4f,
|
|
0x4f, 0x54, 0x5f, 0x50, 0x55, 0x42, 0x4b, 0x45, 0x59, 0x10, 0x05, 0x2a, 0x8c, 0x01, 0x0a, 0x0e,
|
|
0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b,
|
|
0x0a, 0x17, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54,
|
|
0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x4c,
|
|
0x45, 0x47, 0x41, 0x43, 0x59, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x49,
|
|
0x43, 0x5f, 0x52, 0x45, 0x4d, 0x4f, 0x54, 0x45, 0x5f, 0x4b, 0x45, 0x59, 0x10, 0x02, 0x12, 0x0b,
|
|
0x0a, 0x07, 0x41, 0x4e, 0x43, 0x48, 0x4f, 0x52, 0x53, 0x10, 0x03, 0x12, 0x19, 0x0a, 0x15, 0x53,
|
|
0x43, 0x52, 0x49, 0x50, 0x54, 0x5f, 0x45, 0x4e, 0x46, 0x4f, 0x52, 0x43, 0x45, 0x44, 0x5f, 0x4c,
|
|
0x45, 0x41, 0x53, 0x45, 0x10, 0x04, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x49, 0x4d, 0x50, 0x4c, 0x45,
|
|
0x5f, 0x54, 0x41, 0x50, 0x52, 0x4f, 0x4f, 0x54, 0x10, 0x05, 0x2a, 0x61, 0x0a, 0x09, 0x49, 0x6e,
|
|
0x69, 0x74, 0x69, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x15, 0x0a, 0x11, 0x49, 0x4e, 0x49, 0x54, 0x49,
|
|
0x41, 0x54, 0x4f, 0x52, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x13,
|
|
0x0a, 0x0f, 0x49, 0x4e, 0x49, 0x54, 0x49, 0x41, 0x54, 0x4f, 0x52, 0x5f, 0x4c, 0x4f, 0x43, 0x41,
|
|
0x4c, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x49, 0x4e, 0x49, 0x54, 0x49, 0x41, 0x54, 0x4f, 0x52,
|
|
0x5f, 0x52, 0x45, 0x4d, 0x4f, 0x54, 0x45, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x49, 0x4e, 0x49,
|
|
0x54, 0x49, 0x41, 0x54, 0x4f, 0x52, 0x5f, 0x42, 0x4f, 0x54, 0x48, 0x10, 0x03, 0x2a, 0x60, 0x0a,
|
|
0x0e, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12,
|
|
0x10, 0x0a, 0x0c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10,
|
|
0x00, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x4e, 0x43, 0x48, 0x4f, 0x52, 0x10, 0x01, 0x12, 0x11, 0x0a,
|
|
0x0d, 0x49, 0x4e, 0x43, 0x4f, 0x4d, 0x49, 0x4e, 0x47, 0x5f, 0x48, 0x54, 0x4c, 0x43, 0x10, 0x02,
|
|
0x12, 0x11, 0x0a, 0x0d, 0x4f, 0x55, 0x54, 0x47, 0x4f, 0x49, 0x4e, 0x47, 0x5f, 0x48, 0x54, 0x4c,
|
|
0x43, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, 0x10, 0x04, 0x2a,
|
|
0x71, 0x0a, 0x11, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x4f, 0x75, 0x74,
|
|
0x63, 0x6f, 0x6d, 0x65, 0x12, 0x13, 0x0a, 0x0f, 0x4f, 0x55, 0x54, 0x43, 0x4f, 0x4d, 0x45, 0x5f,
|
|
0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x43, 0x4c, 0x41,
|
|
0x49, 0x4d, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x55, 0x4e, 0x43, 0x4c, 0x41, 0x49,
|
|
0x4d, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x42, 0x41, 0x4e, 0x44, 0x4f, 0x4e,
|
|
0x45, 0x44, 0x10, 0x03, 0x12, 0x0f, 0x0a, 0x0b, 0x46, 0x49, 0x52, 0x53, 0x54, 0x5f, 0x53, 0x54,
|
|
0x41, 0x47, 0x45, 0x10, 0x04, 0x12, 0x0b, 0x0a, 0x07, 0x54, 0x49, 0x4d, 0x45, 0x4f, 0x55, 0x54,
|
|
0x10, 0x05, 0x2a, 0x39, 0x0a, 0x0e, 0x4e, 0x6f, 0x64, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63,
|
|
0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10,
|
|
0x00, 0x12, 0x1a, 0x0a, 0x16, 0x42, 0x45, 0x54, 0x57, 0x45, 0x45, 0x4e, 0x4e, 0x45, 0x53, 0x53,
|
|
0x5f, 0x43, 0x45, 0x4e, 0x54, 0x52, 0x41, 0x4c, 0x49, 0x54, 0x59, 0x10, 0x01, 0x2a, 0x3b, 0x0a,
|
|
0x10, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x48, 0x54, 0x4c, 0x43, 0x53, 0x74, 0x61, 0x74,
|
|
0x65, 0x12, 0x0c, 0x0a, 0x08, 0x41, 0x43, 0x43, 0x45, 0x50, 0x54, 0x45, 0x44, 0x10, 0x00, 0x12,
|
|
0x0b, 0x0a, 0x07, 0x53, 0x45, 0x54, 0x54, 0x4c, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08,
|
|
0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x2a, 0xf6, 0x01, 0x0a, 0x14, 0x50,
|
|
0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x52, 0x65, 0x61,
|
|
0x73, 0x6f, 0x6e, 0x12, 0x17, 0x0a, 0x13, 0x46, 0x41, 0x49, 0x4c, 0x55, 0x52, 0x45, 0x5f, 0x52,
|
|
0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x1a, 0x0a, 0x16,
|
|
0x46, 0x41, 0x49, 0x4c, 0x55, 0x52, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x54,
|
|
0x49, 0x4d, 0x45, 0x4f, 0x55, 0x54, 0x10, 0x01, 0x12, 0x1b, 0x0a, 0x17, 0x46, 0x41, 0x49, 0x4c,
|
|
0x55, 0x52, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x4e, 0x4f, 0x5f, 0x52, 0x4f,
|
|
0x55, 0x54, 0x45, 0x10, 0x02, 0x12, 0x18, 0x0a, 0x14, 0x46, 0x41, 0x49, 0x4c, 0x55, 0x52, 0x45,
|
|
0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x03, 0x12,
|
|
0x2c, 0x0a, 0x28, 0x46, 0x41, 0x49, 0x4c, 0x55, 0x52, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f,
|
|
0x4e, 0x5f, 0x49, 0x4e, 0x43, 0x4f, 0x52, 0x52, 0x45, 0x43, 0x54, 0x5f, 0x50, 0x41, 0x59, 0x4d,
|
|
0x45, 0x4e, 0x54, 0x5f, 0x44, 0x45, 0x54, 0x41, 0x49, 0x4c, 0x53, 0x10, 0x04, 0x12, 0x27, 0x0a,
|
|
0x23, 0x46, 0x41, 0x49, 0x4c, 0x55, 0x52, 0x45, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f,
|
|
0x49, 0x4e, 0x53, 0x55, 0x46, 0x46, 0x49, 0x43, 0x49, 0x45, 0x4e, 0x54, 0x5f, 0x42, 0x41, 0x4c,
|
|
0x41, 0x4e, 0x43, 0x45, 0x10, 0x05, 0x12, 0x1b, 0x0a, 0x17, 0x46, 0x41, 0x49, 0x4c, 0x55, 0x52,
|
|
0x45, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x45,
|
|
0x44, 0x10, 0x06, 0x2a, 0x89, 0x05, 0x0a, 0x0a, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x42,
|
|
0x69, 0x74, 0x12, 0x18, 0x0a, 0x14, 0x44, 0x41, 0x54, 0x41, 0x4c, 0x4f, 0x53, 0x53, 0x5f, 0x50,
|
|
0x52, 0x4f, 0x54, 0x45, 0x43, 0x54, 0x5f, 0x52, 0x45, 0x51, 0x10, 0x00, 0x12, 0x18, 0x0a, 0x14,
|
|
0x44, 0x41, 0x54, 0x41, 0x4c, 0x4f, 0x53, 0x53, 0x5f, 0x50, 0x52, 0x4f, 0x54, 0x45, 0x43, 0x54,
|
|
0x5f, 0x4f, 0x50, 0x54, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x49, 0x4e, 0x49, 0x54, 0x49, 0x41,
|
|
0x4c, 0x5f, 0x52, 0x4f, 0x55, 0x49, 0x4e, 0x47, 0x5f, 0x53, 0x59, 0x4e, 0x43, 0x10, 0x03, 0x12,
|
|
0x1f, 0x0a, 0x1b, 0x55, 0x50, 0x46, 0x52, 0x4f, 0x4e, 0x54, 0x5f, 0x53, 0x48, 0x55, 0x54, 0x44,
|
|
0x4f, 0x57, 0x4e, 0x5f, 0x53, 0x43, 0x52, 0x49, 0x50, 0x54, 0x5f, 0x52, 0x45, 0x51, 0x10, 0x04,
|
|
0x12, 0x1f, 0x0a, 0x1b, 0x55, 0x50, 0x46, 0x52, 0x4f, 0x4e, 0x54, 0x5f, 0x53, 0x48, 0x55, 0x54,
|
|
0x44, 0x4f, 0x57, 0x4e, 0x5f, 0x53, 0x43, 0x52, 0x49, 0x50, 0x54, 0x5f, 0x4f, 0x50, 0x54, 0x10,
|
|
0x05, 0x12, 0x16, 0x0a, 0x12, 0x47, 0x4f, 0x53, 0x53, 0x49, 0x50, 0x5f, 0x51, 0x55, 0x45, 0x52,
|
|
0x49, 0x45, 0x53, 0x5f, 0x52, 0x45, 0x51, 0x10, 0x06, 0x12, 0x16, 0x0a, 0x12, 0x47, 0x4f, 0x53,
|
|
0x53, 0x49, 0x50, 0x5f, 0x51, 0x55, 0x45, 0x52, 0x49, 0x45, 0x53, 0x5f, 0x4f, 0x50, 0x54, 0x10,
|
|
0x07, 0x12, 0x11, 0x0a, 0x0d, 0x54, 0x4c, 0x56, 0x5f, 0x4f, 0x4e, 0x49, 0x4f, 0x4e, 0x5f, 0x52,
|
|
0x45, 0x51, 0x10, 0x08, 0x12, 0x11, 0x0a, 0x0d, 0x54, 0x4c, 0x56, 0x5f, 0x4f, 0x4e, 0x49, 0x4f,
|
|
0x4e, 0x5f, 0x4f, 0x50, 0x54, 0x10, 0x09, 0x12, 0x1a, 0x0a, 0x16, 0x45, 0x58, 0x54, 0x5f, 0x47,
|
|
0x4f, 0x53, 0x53, 0x49, 0x50, 0x5f, 0x51, 0x55, 0x45, 0x52, 0x49, 0x45, 0x53, 0x5f, 0x52, 0x45,
|
|
0x51, 0x10, 0x0a, 0x12, 0x1a, 0x0a, 0x16, 0x45, 0x58, 0x54, 0x5f, 0x47, 0x4f, 0x53, 0x53, 0x49,
|
|
0x50, 0x5f, 0x51, 0x55, 0x45, 0x52, 0x49, 0x45, 0x53, 0x5f, 0x4f, 0x50, 0x54, 0x10, 0x0b, 0x12,
|
|
0x19, 0x0a, 0x15, 0x53, 0x54, 0x41, 0x54, 0x49, 0x43, 0x5f, 0x52, 0x45, 0x4d, 0x4f, 0x54, 0x45,
|
|
0x5f, 0x4b, 0x45, 0x59, 0x5f, 0x52, 0x45, 0x51, 0x10, 0x0c, 0x12, 0x19, 0x0a, 0x15, 0x53, 0x54,
|
|
0x41, 0x54, 0x49, 0x43, 0x5f, 0x52, 0x45, 0x4d, 0x4f, 0x54, 0x45, 0x5f, 0x4b, 0x45, 0x59, 0x5f,
|
|
0x4f, 0x50, 0x54, 0x10, 0x0d, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x41, 0x59, 0x4d, 0x45, 0x4e, 0x54,
|
|
0x5f, 0x41, 0x44, 0x44, 0x52, 0x5f, 0x52, 0x45, 0x51, 0x10, 0x0e, 0x12, 0x14, 0x0a, 0x10, 0x50,
|
|
0x41, 0x59, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x41, 0x44, 0x44, 0x52, 0x5f, 0x4f, 0x50, 0x54, 0x10,
|
|
0x0f, 0x12, 0x0b, 0x0a, 0x07, 0x4d, 0x50, 0x50, 0x5f, 0x52, 0x45, 0x51, 0x10, 0x10, 0x12, 0x0b,
|
|
0x0a, 0x07, 0x4d, 0x50, 0x50, 0x5f, 0x4f, 0x50, 0x54, 0x10, 0x11, 0x12, 0x16, 0x0a, 0x12, 0x57,
|
|
0x55, 0x4d, 0x42, 0x4f, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x4e, 0x45, 0x4c, 0x53, 0x5f, 0x52, 0x45,
|
|
0x51, 0x10, 0x12, 0x12, 0x16, 0x0a, 0x12, 0x57, 0x55, 0x4d, 0x42, 0x4f, 0x5f, 0x43, 0x48, 0x41,
|
|
0x4e, 0x4e, 0x45, 0x4c, 0x53, 0x5f, 0x4f, 0x50, 0x54, 0x10, 0x13, 0x12, 0x0f, 0x0a, 0x0b, 0x41,
|
|
0x4e, 0x43, 0x48, 0x4f, 0x52, 0x53, 0x5f, 0x52, 0x45, 0x51, 0x10, 0x14, 0x12, 0x0f, 0x0a, 0x0b,
|
|
0x41, 0x4e, 0x43, 0x48, 0x4f, 0x52, 0x53, 0x5f, 0x4f, 0x50, 0x54, 0x10, 0x15, 0x12, 0x1d, 0x0a,
|
|
0x19, 0x41, 0x4e, 0x43, 0x48, 0x4f, 0x52, 0x53, 0x5f, 0x5a, 0x45, 0x52, 0x4f, 0x5f, 0x46, 0x45,
|
|
0x45, 0x5f, 0x48, 0x54, 0x4c, 0x43, 0x5f, 0x52, 0x45, 0x51, 0x10, 0x16, 0x12, 0x1d, 0x0a, 0x19,
|
|
0x41, 0x4e, 0x43, 0x48, 0x4f, 0x52, 0x53, 0x5f, 0x5a, 0x45, 0x52, 0x4f, 0x5f, 0x46, 0x45, 0x45,
|
|
0x5f, 0x48, 0x54, 0x4c, 0x43, 0x5f, 0x4f, 0x50, 0x54, 0x10, 0x17, 0x12, 0x1b, 0x0a, 0x17, 0x52,
|
|
0x4f, 0x55, 0x54, 0x45, 0x5f, 0x42, 0x4c, 0x49, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x52, 0x45,
|
|
0x51, 0x55, 0x49, 0x52, 0x45, 0x44, 0x10, 0x18, 0x12, 0x1b, 0x0a, 0x17, 0x52, 0x4f, 0x55, 0x54,
|
|
0x45, 0x5f, 0x42, 0x4c, 0x49, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x5f, 0x4f, 0x50, 0x54, 0x49, 0x4f,
|
|
0x4e, 0x41, 0x4c, 0x10, 0x19, 0x12, 0x0b, 0x0a, 0x07, 0x41, 0x4d, 0x50, 0x5f, 0x52, 0x45, 0x51,
|
|
0x10, 0x1e, 0x12, 0x0b, 0x0a, 0x07, 0x41, 0x4d, 0x50, 0x5f, 0x4f, 0x50, 0x54, 0x10, 0x1f, 0x2a,
|
|
0xac, 0x01, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72,
|
|
0x65, 0x12, 0x1a, 0x0a, 0x16, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c,
|
|
0x55, 0x52, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x1a, 0x0a,
|
|
0x16, 0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x55, 0x52, 0x45, 0x5f,
|
|
0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x1c, 0x0a, 0x18, 0x55, 0x50, 0x44,
|
|
0x41, 0x54, 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x55, 0x52, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f,
|
|
0x46, 0x4f, 0x55, 0x4e, 0x44, 0x10, 0x02, 0x12, 0x1f, 0x0a, 0x1b, 0x55, 0x50, 0x44, 0x41, 0x54,
|
|
0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x55, 0x52, 0x45, 0x5f, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x4e,
|
|
0x41, 0x4c, 0x5f, 0x45, 0x52, 0x52, 0x10, 0x03, 0x12, 0x24, 0x0a, 0x20, 0x55, 0x50, 0x44, 0x41,
|
|
0x54, 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x55, 0x52, 0x45, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c,
|
|
0x49, 0x44, 0x5f, 0x50, 0x41, 0x52, 0x41, 0x4d, 0x45, 0x54, 0x45, 0x52, 0x10, 0x04, 0x32, 0xb9,
|
|
0x27, 0x0a, 0x09, 0x4c, 0x69, 0x67, 0x68, 0x74, 0x6e, 0x69, 0x6e, 0x67, 0x12, 0x4a, 0x0a, 0x0d,
|
|
0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x1b, 0x2e,
|
|
0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x42, 0x61, 0x6c, 0x61,
|
|
0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x6c, 0x6e, 0x72,
|
|
0x70, 0x63, 0x2e, 0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65,
|
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x0e, 0x43, 0x68, 0x61, 0x6e,
|
|
0x6e, 0x65, 0x6c, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x1c, 0x2e, 0x6c, 0x6e, 0x72,
|
|
0x70, 0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63,
|
|
0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63,
|
|
0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52,
|
|
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4b, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x54, 0x72,
|
|
0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1d, 0x2e, 0x6c, 0x6e, 0x72,
|
|
0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x6c, 0x6e, 0x72, 0x70,
|
|
0x63, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74,
|
|
0x61, 0x69, 0x6c, 0x73, 0x12, 0x44, 0x0a, 0x0b, 0x45, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65,
|
|
0x46, 0x65, 0x65, 0x12, 0x19, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x73, 0x74, 0x69,
|
|
0x6d, 0x61, 0x74, 0x65, 0x46, 0x65, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a,
|
|
0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x46,
|
|
0x65, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x09, 0x53, 0x65,
|
|
0x6e, 0x64, 0x43, 0x6f, 0x69, 0x6e, 0x73, 0x12, 0x17, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e,
|
|
0x53, 0x65, 0x6e, 0x64, 0x43, 0x6f, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
0x1a, 0x18, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x43, 0x6f, 0x69,
|
|
0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x0b, 0x4c, 0x69,
|
|
0x73, 0x74, 0x55, 0x6e, 0x73, 0x70, 0x65, 0x6e, 0x74, 0x12, 0x19, 0x2e, 0x6c, 0x6e, 0x72, 0x70,
|
|
0x63, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x6e, 0x73, 0x70, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71,
|
|
0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x73,
|
|
0x74, 0x55, 0x6e, 0x73, 0x70, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
0x12, 0x4c, 0x0a, 0x15, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x54, 0x72, 0x61,
|
|
0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1d, 0x2e, 0x6c, 0x6e, 0x72, 0x70,
|
|
0x63, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
|
|
0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63,
|
|
0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x30, 0x01, 0x12, 0x3b,
|
|
0x0a, 0x08, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x61, 0x6e, 0x79, 0x12, 0x16, 0x2e, 0x6c, 0x6e, 0x72,
|
|
0x70, 0x63, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x61, 0x6e, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
0x73, 0x74, 0x1a, 0x17, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x4d,
|
|
0x61, 0x6e, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x0a, 0x4e,
|
|
0x65, 0x77, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x18, 0x2e, 0x6c, 0x6e, 0x72, 0x70,
|
|
0x63, 0x2e, 0x4e, 0x65, 0x77, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75,
|
|
0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4e, 0x65, 0x77, 0x41,
|
|
0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44,
|
|
0x0a, 0x0b, 0x53, 0x69, 0x67, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x19, 0x2e,
|
|
0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
|
0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63,
|
|
0x2e, 0x53, 0x69, 0x67, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70,
|
|
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x0d, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x4d, 0x65,
|
|
0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1b, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x56, 0x65,
|
|
0x72, 0x69, 0x66, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x56, 0x65, 0x72, 0x69, 0x66,
|
|
0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
0x12, 0x44, 0x0a, 0x0b, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x50, 0x65, 0x65, 0x72, 0x12,
|
|
0x19, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x50,
|
|
0x65, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x6c, 0x6e, 0x72,
|
|
0x70, 0x63, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x50, 0x65, 0x65, 0x72, 0x52, 0x65,
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x0e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e,
|
|
0x6e, 0x65, 0x63, 0x74, 0x50, 0x65, 0x65, 0x72, 0x12, 0x1c, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63,
|
|
0x2e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x50, 0x65, 0x65, 0x72, 0x52,
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x44,
|
|
0x69, 0x73, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x50, 0x65, 0x65, 0x72, 0x52, 0x65, 0x73,
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x09, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x65, 0x65,
|
|
0x72, 0x73, 0x12, 0x17, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50,
|
|
0x65, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x6c, 0x6e,
|
|
0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x65, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73,
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x13, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69,
|
|
0x62, 0x65, 0x50, 0x65, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x1c, 0x2e, 0x6c,
|
|
0x6e, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x53, 0x75,
|
|
0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x10, 0x2e, 0x6c, 0x6e, 0x72,
|
|
0x70, 0x63, 0x2e, 0x50, 0x65, 0x65, 0x72, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x30, 0x01, 0x12, 0x38,
|
|
0x0a, 0x07, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x15, 0x2e, 0x6c, 0x6e, 0x72, 0x70,
|
|
0x63, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
0x1a, 0x16, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f,
|
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x44,
|
|
0x65, 0x62, 0x75, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1a, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63,
|
|
0x2e, 0x47, 0x65, 0x74, 0x44, 0x65, 0x62, 0x75, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71,
|
|
0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74,
|
|
0x44, 0x65, 0x62, 0x75, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
|
0x65, 0x12, 0x50, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79,
|
|
0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1d, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74,
|
|
0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75,
|
|
0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x52,
|
|
0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
|
0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x0f, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x43, 0x68,
|
|
0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x12, 0x1d, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x50,
|
|
0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x52, 0x65,
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x65,
|
|
0x6e, 0x64, 0x69, 0x6e, 0x67, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x52, 0x65, 0x73,
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x68, 0x61,
|
|
0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x12, 0x1a, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69,
|
|
0x73, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
0x74, 0x1a, 0x1b, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x68,
|
|
0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56,
|
|
0x0a, 0x16, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x6e,
|
|
0x65, 0x6c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x1f, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63,
|
|
0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x53, 0x75, 0x62,
|
|
0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x19, 0x2e, 0x6c, 0x6e, 0x72, 0x70,
|
|
0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x55, 0x70,
|
|
0x64, 0x61, 0x74, 0x65, 0x30, 0x01, 0x12, 0x4d, 0x0a, 0x0e, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x64,
|
|
0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x12, 0x1c, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63,
|
|
0x2e, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x52,
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43,
|
|
0x6c, 0x6f, 0x73, 0x65, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x52, 0x65, 0x73,
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x0f, 0x4f, 0x70, 0x65, 0x6e, 0x43, 0x68, 0x61,
|
|
0x6e, 0x6e, 0x65, 0x6c, 0x53, 0x79, 0x6e, 0x63, 0x12, 0x19, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63,
|
|
0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75,
|
|
0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e,
|
|
0x6e, 0x65, 0x6c, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x43, 0x0a, 0x0b, 0x4f, 0x70, 0x65, 0x6e,
|
|
0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x19, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e,
|
|
0x4f, 0x70, 0x65, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
0x73, 0x74, 0x1a, 0x17, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x70, 0x65, 0x6e, 0x53,
|
|
0x74, 0x61, 0x74, 0x75, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x30, 0x01, 0x12, 0x53, 0x0a,
|
|
0x10, 0x42, 0x61, 0x74, 0x63, 0x68, 0x4f, 0x70, 0x65, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65,
|
|
0x6c, 0x12, 0x1e, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x4f,
|
|
0x70, 0x65, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
0x74, 0x1a, 0x1f, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x4f,
|
|
0x70, 0x65, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
0x73, 0x65, 0x12, 0x4c, 0x0a, 0x10, 0x46, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61,
|
|
0x74, 0x65, 0x53, 0x74, 0x65, 0x70, 0x12, 0x1b, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x46,
|
|
0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e,
|
|
0x4d, 0x73, 0x67, 0x1a, 0x1b, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x46, 0x75, 0x6e, 0x64,
|
|
0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x65, 0x53, 0x74, 0x65, 0x70, 0x52, 0x65, 0x73, 0x70,
|
|
0x12, 0x50, 0x0a, 0x0f, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x41, 0x63, 0x63, 0x65, 0x70,
|
|
0x74, 0x6f, 0x72, 0x12, 0x1c, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e,
|
|
0x6e, 0x65, 0x6c, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
|
0x65, 0x1a, 0x1b, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65,
|
|
0x6c, 0x41, 0x63, 0x63, 0x65, 0x70, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x28, 0x01,
|
|
0x30, 0x01, 0x12, 0x46, 0x0a, 0x0c, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x6e,
|
|
0x65, 0x6c, 0x12, 0x1a, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6c, 0x6f, 0x73, 0x65,
|
|
0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18,
|
|
0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x53, 0x74, 0x61, 0x74,
|
|
0x75, 0x73, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x30, 0x01, 0x12, 0x4d, 0x0a, 0x0e, 0x41, 0x62,
|
|
0x61, 0x6e, 0x64, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x1c, 0x2e, 0x6c,
|
|
0x6e, 0x72, 0x70, 0x63, 0x2e, 0x41, 0x62, 0x61, 0x6e, 0x64, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e,
|
|
0x6e, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6c, 0x6e, 0x72,
|
|
0x70, 0x63, 0x2e, 0x41, 0x62, 0x61, 0x6e, 0x64, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65,
|
|
0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x0b, 0x53, 0x65, 0x6e,
|
|
0x64, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63,
|
|
0x2e, 0x53, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x6c,
|
|
0x6e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
|
0x65, 0x22, 0x03, 0x88, 0x02, 0x01, 0x28, 0x01, 0x30, 0x01, 0x12, 0x3a, 0x0a, 0x0f, 0x53, 0x65,
|
|
0x6e, 0x64, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x79, 0x6e, 0x63, 0x12, 0x12, 0x2e,
|
|
0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
0x74, 0x1a, 0x13, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x52, 0x65,
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x0b, 0x53, 0x65, 0x6e, 0x64, 0x54, 0x6f,
|
|
0x52, 0x6f, 0x75, 0x74, 0x65, 0x12, 0x19, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x65,
|
|
0x6e, 0x64, 0x54, 0x6f, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
0x1a, 0x13, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x73,
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x88, 0x02, 0x01, 0x28, 0x01, 0x30, 0x01, 0x12, 0x41,
|
|
0x0a, 0x0f, 0x53, 0x65, 0x6e, 0x64, 0x54, 0x6f, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x53, 0x79, 0x6e,
|
|
0x63, 0x12, 0x19, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x54, 0x6f,
|
|
0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x6c,
|
|
0x6e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
|
0x65, 0x12, 0x37, 0x0a, 0x0a, 0x41, 0x64, 0x64, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x12,
|
|
0x0e, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x1a,
|
|
0x19, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x41, 0x64, 0x64, 0x49, 0x6e, 0x76, 0x6f, 0x69,
|
|
0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x45, 0x0a, 0x0c, 0x4c, 0x69,
|
|
0x73, 0x74, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x73, 0x12, 0x19, 0x2e, 0x6c, 0x6e, 0x72,
|
|
0x70, 0x63, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x52, 0x65,
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69,
|
|
0x73, 0x74, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
|
|
0x65, 0x12, 0x33, 0x0a, 0x0d, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x49, 0x6e, 0x76, 0x6f, 0x69,
|
|
0x63, 0x65, 0x12, 0x12, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x61, 0x79, 0x6d, 0x65,
|
|
0x6e, 0x74, 0x48, 0x61, 0x73, 0x68, 0x1a, 0x0e, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x49,
|
|
0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x12, 0x41, 0x0a, 0x11, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72,
|
|
0x69, 0x62, 0x65, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x73, 0x12, 0x1a, 0x2e, 0x6c, 0x6e,
|
|
0x72, 0x70, 0x63, 0x2e, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x53, 0x75, 0x62, 0x73, 0x63,
|
|
0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x0e, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e,
|
|
0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x30, 0x01, 0x12, 0x32, 0x0a, 0x0c, 0x44, 0x65, 0x63,
|
|
0x6f, 0x64, 0x65, 0x50, 0x61, 0x79, 0x52, 0x65, 0x71, 0x12, 0x13, 0x2e, 0x6c, 0x6e, 0x72, 0x70,
|
|
0x63, 0x2e, 0x50, 0x61, 0x79, 0x52, 0x65, 0x71, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x1a, 0x0d,
|
|
0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x61, 0x79, 0x52, 0x65, 0x71, 0x12, 0x47, 0x0a,
|
|
0x0c, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x1a, 0x2e,
|
|
0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e,
|
|
0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x6c, 0x6e, 0x72, 0x70,
|
|
0x63, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65,
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
|
|
0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e,
|
|
0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71,
|
|
0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x65, 0x6c,
|
|
0x65, 0x74, 0x65, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
0x73, 0x65, 0x12, 0x56, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6c, 0x6c, 0x50,
|
|
0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x1f, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e,
|
|
0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6c, 0x6c, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74,
|
|
0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63,
|
|
0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x6c, 0x6c, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e,
|
|
0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x0d, 0x44, 0x65,
|
|
0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x47, 0x72, 0x61, 0x70, 0x68, 0x12, 0x1a, 0x2e, 0x6c, 0x6e,
|
|
0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x47, 0x72, 0x61, 0x70, 0x68,
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e,
|
|
0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x47, 0x72, 0x61, 0x70, 0x68, 0x12, 0x47, 0x0a, 0x0e,
|
|
0x47, 0x65, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x19,
|
|
0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69,
|
|
0x63, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x6c, 0x6e, 0x72, 0x70,
|
|
0x63, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x52, 0x65, 0x73,
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x39, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x43, 0x68, 0x61, 0x6e,
|
|
0x49, 0x6e, 0x66, 0x6f, 0x12, 0x16, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x61,
|
|
0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x6c,
|
|
0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x45, 0x64, 0x67, 0x65,
|
|
0x12, 0x36, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12,
|
|
0x16, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f,
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0f, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e,
|
|
0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x44, 0x0a, 0x0b, 0x51, 0x75, 0x65, 0x72,
|
|
0x79, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x12, 0x19, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e,
|
|
0x51, 0x75, 0x65, 0x72, 0x79, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79,
|
|
0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f,
|
|
0x0a, 0x0e, 0x47, 0x65, 0x74, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x66, 0x6f,
|
|
0x12, 0x19, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b,
|
|
0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x6c, 0x6e,
|
|
0x72, 0x70, 0x63, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x12,
|
|
0x35, 0x0a, 0x0a, 0x53, 0x74, 0x6f, 0x70, 0x44, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x12, 0x12, 0x2e,
|
|
0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
0x74, 0x1a, 0x13, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x52, 0x65,
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x57, 0x0a, 0x15, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72,
|
|
0x69, 0x62, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x47, 0x72, 0x61, 0x70, 0x68, 0x12,
|
|
0x20, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x72, 0x61, 0x70, 0x68, 0x54, 0x6f, 0x70,
|
|
0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x1a, 0x1a, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x72, 0x61, 0x70, 0x68, 0x54,
|
|
0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x30, 0x01, 0x12,
|
|
0x41, 0x0a, 0x0a, 0x44, 0x65, 0x62, 0x75, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x18, 0x2e,
|
|
0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x65, 0x62, 0x75, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c,
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e,
|
|
0x44, 0x65, 0x62, 0x75, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
0x73, 0x65, 0x12, 0x3e, 0x0a, 0x09, 0x46, 0x65, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x12,
|
|
0x17, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x46, 0x65, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72,
|
|
0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63,
|
|
0x2e, 0x46, 0x65, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
0x73, 0x65, 0x12, 0x4e, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e,
|
|
0x6e, 0x65, 0x6c, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x1a, 0x2e, 0x6c, 0x6e, 0x72, 0x70,
|
|
0x63, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65,
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x6f,
|
|
0x6c, 0x69, 0x63, 0x79, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
0x73, 0x65, 0x12, 0x56, 0x0a, 0x11, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67,
|
|
0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x1f, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e,
|
|
0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72,
|
|
0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63,
|
|
0x2e, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x48, 0x69, 0x73, 0x74, 0x6f,
|
|
0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4e, 0x0a, 0x13, 0x45, 0x78,
|
|
0x70, 0x6f, 0x72, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x42, 0x61, 0x63, 0x6b, 0x75,
|
|
0x70, 0x12, 0x21, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74,
|
|
0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x71,
|
|
0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x61,
|
|
0x6e, 0x6e, 0x65, 0x6c, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x12, 0x54, 0x0a, 0x17, 0x45, 0x78,
|
|
0x70, 0x6f, 0x72, 0x74, 0x41, 0x6c, 0x6c, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x42, 0x61,
|
|
0x63, 0x6b, 0x75, 0x70, 0x73, 0x12, 0x1e, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68,
|
|
0x61, 0x6e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x52, 0x65,
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68,
|
|
0x61, 0x6e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74,
|
|
0x12, 0x4e, 0x0a, 0x10, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x43, 0x68, 0x61, 0x6e, 0x42, 0x61,
|
|
0x63, 0x6b, 0x75, 0x70, 0x12, 0x19, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x61,
|
|
0x6e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x1a,
|
|
0x1f, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x43, 0x68,
|
|
0x61, 0x6e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
0x12, 0x56, 0x0a, 0x15, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x6e,
|
|
0x65, 0x6c, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x12, 0x1f, 0x2e, 0x6c, 0x6e, 0x72, 0x70,
|
|
0x63, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x42, 0x61, 0x63,
|
|
0x6b, 0x75, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x6c, 0x6e, 0x72,
|
|
0x70, 0x63, 0x2e, 0x52, 0x65, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70,
|
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x58, 0x0a, 0x17, 0x53, 0x75, 0x62, 0x73,
|
|
0x63, 0x72, 0x69, 0x62, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x42, 0x61, 0x63, 0x6b,
|
|
0x75, 0x70, 0x73, 0x12, 0x20, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e,
|
|
0x6e, 0x65, 0x6c, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69,
|
|
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x19, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68,
|
|
0x61, 0x6e, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74,
|
|
0x30, 0x01, 0x12, 0x47, 0x0a, 0x0c, 0x42, 0x61, 0x6b, 0x65, 0x4d, 0x61, 0x63, 0x61, 0x72, 0x6f,
|
|
0x6f, 0x6e, 0x12, 0x1a, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x42, 0x61, 0x6b, 0x65, 0x4d,
|
|
0x61, 0x63, 0x61, 0x72, 0x6f, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b,
|
|
0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x42, 0x61, 0x6b, 0x65, 0x4d, 0x61, 0x63, 0x61, 0x72,
|
|
0x6f, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x0f, 0x4c,
|
|
0x69, 0x73, 0x74, 0x4d, 0x61, 0x63, 0x61, 0x72, 0x6f, 0x6f, 0x6e, 0x49, 0x44, 0x73, 0x12, 0x1d,
|
|
0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x63, 0x61, 0x72,
|
|
0x6f, 0x6f, 0x6e, 0x49, 0x44, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e,
|
|
0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x63, 0x61, 0x72, 0x6f,
|
|
0x6f, 0x6e, 0x49, 0x44, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a,
|
|
0x10, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x61, 0x63, 0x61, 0x72, 0x6f, 0x6f, 0x6e, 0x49,
|
|
0x44, 0x12, 0x1e, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
|
|
0x4d, 0x61, 0x63, 0x61, 0x72, 0x6f, 0x6f, 0x6e, 0x49, 0x44, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
0x74, 0x1a, 0x1f, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
|
|
0x4d, 0x61, 0x63, 0x61, 0x72, 0x6f, 0x6f, 0x6e, 0x49, 0x44, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
0x73, 0x65, 0x12, 0x50, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73,
|
|
0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1d, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69,
|
|
0x73, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71,
|
|
0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x73,
|
|
0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70,
|
|
0x6f, 0x6e, 0x73, 0x65, 0x12, 0x53, 0x0a, 0x18, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x4d, 0x61, 0x63,
|
|
0x61, 0x72, 0x6f, 0x6f, 0x6e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73,
|
|
0x12, 0x1a, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x4d, 0x61,
|
|
0x63, 0x50, 0x65, 0x72, 0x6d, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x6c,
|
|
0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x4d, 0x61, 0x63, 0x50, 0x65, 0x72,
|
|
0x6d, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x56, 0x0a, 0x15, 0x52, 0x65, 0x67,
|
|
0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x50, 0x43, 0x4d, 0x69, 0x64, 0x64, 0x6c, 0x65, 0x77, 0x61,
|
|
0x72, 0x65, 0x12, 0x1c, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x50, 0x43, 0x4d, 0x69,
|
|
0x64, 0x64, 0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
0x1a, 0x1b, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x50, 0x43, 0x4d, 0x69, 0x64, 0x64,
|
|
0x6c, 0x65, 0x77, 0x61, 0x72, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x28, 0x01, 0x30,
|
|
0x01, 0x12, 0x56, 0x0a, 0x11, 0x53, 0x65, 0x6e, 0x64, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x4d,
|
|
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1f, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x53,
|
|
0x65, 0x6e, 0x64, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e,
|
|
0x53, 0x65, 0x6e, 0x64, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
|
0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x58, 0x0a, 0x17, 0x53, 0x75, 0x62,
|
|
0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x4d, 0x65, 0x73, 0x73,
|
|
0x61, 0x67, 0x65, 0x73, 0x12, 0x25, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62,
|
|
0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x4d, 0x65, 0x73, 0x73,
|
|
0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x6c, 0x6e,
|
|
0x72, 0x70, 0x63, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
|
0x65, 0x30, 0x01, 0x12, 0x44, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73,
|
|
0x65, 0x73, 0x12, 0x19, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41,
|
|
0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e,
|
|
0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x65,
|
|
0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5f, 0x0a, 0x14, 0x4c, 0x6f, 0x6f,
|
|
0x6b, 0x75, 0x70, 0x48, 0x74, 0x6c, 0x63, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x12, 0x22, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70,
|
|
0x48, 0x74, 0x6c, 0x63, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65,
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x6f,
|
|
0x6f, 0x6b, 0x75, 0x70, 0x48, 0x74, 0x6c, 0x63, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69,
|
|
0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x27, 0x5a, 0x25, 0x67, 0x69,
|
|
0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x6e, 0x69,
|
|
0x6e, 0x67, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x6c, 0x6e, 0x64, 0x2f, 0x6c, 0x6e,
|
|
0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_lightning_proto_rawDescOnce sync.Once
|
|
file_lightning_proto_rawDescData = file_lightning_proto_rawDesc
|
|
)
|
|
|
|
func file_lightning_proto_rawDescGZIP() []byte {
|
|
file_lightning_proto_rawDescOnce.Do(func() {
|
|
file_lightning_proto_rawDescData = protoimpl.X.CompressGZIP(file_lightning_proto_rawDescData)
|
|
})
|
|
return file_lightning_proto_rawDescData
|
|
}
|
|
|
|
var file_lightning_proto_enumTypes = make([]protoimpl.EnumInfo, 21)
|
|
var file_lightning_proto_msgTypes = make([]protoimpl.MessageInfo, 226)
|
|
var file_lightning_proto_goTypes = []interface{}{
|
|
(OutputScriptType)(0), // 0: lnrpc.OutputScriptType
|
|
(CoinSelectionStrategy)(0), // 1: lnrpc.CoinSelectionStrategy
|
|
(AddressType)(0), // 2: lnrpc.AddressType
|
|
(CommitmentType)(0), // 3: lnrpc.CommitmentType
|
|
(Initiator)(0), // 4: lnrpc.Initiator
|
|
(ResolutionType)(0), // 5: lnrpc.ResolutionType
|
|
(ResolutionOutcome)(0), // 6: lnrpc.ResolutionOutcome
|
|
(NodeMetricType)(0), // 7: lnrpc.NodeMetricType
|
|
(InvoiceHTLCState)(0), // 8: lnrpc.InvoiceHTLCState
|
|
(PaymentFailureReason)(0), // 9: lnrpc.PaymentFailureReason
|
|
(FeatureBit)(0), // 10: lnrpc.FeatureBit
|
|
(UpdateFailure)(0), // 11: lnrpc.UpdateFailure
|
|
(ChannelCloseSummary_ClosureType)(0), // 12: lnrpc.ChannelCloseSummary.ClosureType
|
|
(Peer_SyncType)(0), // 13: lnrpc.Peer.SyncType
|
|
(PeerEvent_EventType)(0), // 14: lnrpc.PeerEvent.EventType
|
|
(PendingChannelsResponse_ForceClosedChannel_AnchorState)(0), // 15: lnrpc.PendingChannelsResponse.ForceClosedChannel.AnchorState
|
|
(ChannelEventUpdate_UpdateType)(0), // 16: lnrpc.ChannelEventUpdate.UpdateType
|
|
(Invoice_InvoiceState)(0), // 17: lnrpc.Invoice.InvoiceState
|
|
(Payment_PaymentStatus)(0), // 18: lnrpc.Payment.PaymentStatus
|
|
(HTLCAttempt_HTLCStatus)(0), // 19: lnrpc.HTLCAttempt.HTLCStatus
|
|
(Failure_FailureCode)(0), // 20: lnrpc.Failure.FailureCode
|
|
(*LookupHtlcResolutionRequest)(nil), // 21: lnrpc.LookupHtlcResolutionRequest
|
|
(*LookupHtlcResolutionResponse)(nil), // 22: lnrpc.LookupHtlcResolutionResponse
|
|
(*SubscribeCustomMessagesRequest)(nil), // 23: lnrpc.SubscribeCustomMessagesRequest
|
|
(*CustomMessage)(nil), // 24: lnrpc.CustomMessage
|
|
(*SendCustomMessageRequest)(nil), // 25: lnrpc.SendCustomMessageRequest
|
|
(*SendCustomMessageResponse)(nil), // 26: lnrpc.SendCustomMessageResponse
|
|
(*Utxo)(nil), // 27: lnrpc.Utxo
|
|
(*OutputDetail)(nil), // 28: lnrpc.OutputDetail
|
|
(*Transaction)(nil), // 29: lnrpc.Transaction
|
|
(*GetTransactionsRequest)(nil), // 30: lnrpc.GetTransactionsRequest
|
|
(*TransactionDetails)(nil), // 31: lnrpc.TransactionDetails
|
|
(*FeeLimit)(nil), // 32: lnrpc.FeeLimit
|
|
(*SendRequest)(nil), // 33: lnrpc.SendRequest
|
|
(*SendResponse)(nil), // 34: lnrpc.SendResponse
|
|
(*SendToRouteRequest)(nil), // 35: lnrpc.SendToRouteRequest
|
|
(*ChannelAcceptRequest)(nil), // 36: lnrpc.ChannelAcceptRequest
|
|
(*ChannelAcceptResponse)(nil), // 37: lnrpc.ChannelAcceptResponse
|
|
(*ChannelPoint)(nil), // 38: lnrpc.ChannelPoint
|
|
(*OutPoint)(nil), // 39: lnrpc.OutPoint
|
|
(*PreviousOutPoint)(nil), // 40: lnrpc.PreviousOutPoint
|
|
(*LightningAddress)(nil), // 41: lnrpc.LightningAddress
|
|
(*EstimateFeeRequest)(nil), // 42: lnrpc.EstimateFeeRequest
|
|
(*EstimateFeeResponse)(nil), // 43: lnrpc.EstimateFeeResponse
|
|
(*SendManyRequest)(nil), // 44: lnrpc.SendManyRequest
|
|
(*SendManyResponse)(nil), // 45: lnrpc.SendManyResponse
|
|
(*SendCoinsRequest)(nil), // 46: lnrpc.SendCoinsRequest
|
|
(*SendCoinsResponse)(nil), // 47: lnrpc.SendCoinsResponse
|
|
(*ListUnspentRequest)(nil), // 48: lnrpc.ListUnspentRequest
|
|
(*ListUnspentResponse)(nil), // 49: lnrpc.ListUnspentResponse
|
|
(*NewAddressRequest)(nil), // 50: lnrpc.NewAddressRequest
|
|
(*NewAddressResponse)(nil), // 51: lnrpc.NewAddressResponse
|
|
(*SignMessageRequest)(nil), // 52: lnrpc.SignMessageRequest
|
|
(*SignMessageResponse)(nil), // 53: lnrpc.SignMessageResponse
|
|
(*VerifyMessageRequest)(nil), // 54: lnrpc.VerifyMessageRequest
|
|
(*VerifyMessageResponse)(nil), // 55: lnrpc.VerifyMessageResponse
|
|
(*ConnectPeerRequest)(nil), // 56: lnrpc.ConnectPeerRequest
|
|
(*ConnectPeerResponse)(nil), // 57: lnrpc.ConnectPeerResponse
|
|
(*DisconnectPeerRequest)(nil), // 58: lnrpc.DisconnectPeerRequest
|
|
(*DisconnectPeerResponse)(nil), // 59: lnrpc.DisconnectPeerResponse
|
|
(*HTLC)(nil), // 60: lnrpc.HTLC
|
|
(*ChannelConstraints)(nil), // 61: lnrpc.ChannelConstraints
|
|
(*Channel)(nil), // 62: lnrpc.Channel
|
|
(*ListChannelsRequest)(nil), // 63: lnrpc.ListChannelsRequest
|
|
(*ListChannelsResponse)(nil), // 64: lnrpc.ListChannelsResponse
|
|
(*AliasMap)(nil), // 65: lnrpc.AliasMap
|
|
(*ListAliasesRequest)(nil), // 66: lnrpc.ListAliasesRequest
|
|
(*ListAliasesResponse)(nil), // 67: lnrpc.ListAliasesResponse
|
|
(*ChannelCloseSummary)(nil), // 68: lnrpc.ChannelCloseSummary
|
|
(*Resolution)(nil), // 69: lnrpc.Resolution
|
|
(*ClosedChannelsRequest)(nil), // 70: lnrpc.ClosedChannelsRequest
|
|
(*ClosedChannelsResponse)(nil), // 71: lnrpc.ClosedChannelsResponse
|
|
(*Peer)(nil), // 72: lnrpc.Peer
|
|
(*TimestampedError)(nil), // 73: lnrpc.TimestampedError
|
|
(*ListPeersRequest)(nil), // 74: lnrpc.ListPeersRequest
|
|
(*ListPeersResponse)(nil), // 75: lnrpc.ListPeersResponse
|
|
(*PeerEventSubscription)(nil), // 76: lnrpc.PeerEventSubscription
|
|
(*PeerEvent)(nil), // 77: lnrpc.PeerEvent
|
|
(*GetInfoRequest)(nil), // 78: lnrpc.GetInfoRequest
|
|
(*GetInfoResponse)(nil), // 79: lnrpc.GetInfoResponse
|
|
(*GetDebugInfoRequest)(nil), // 80: lnrpc.GetDebugInfoRequest
|
|
(*GetDebugInfoResponse)(nil), // 81: lnrpc.GetDebugInfoResponse
|
|
(*GetRecoveryInfoRequest)(nil), // 82: lnrpc.GetRecoveryInfoRequest
|
|
(*GetRecoveryInfoResponse)(nil), // 83: lnrpc.GetRecoveryInfoResponse
|
|
(*Chain)(nil), // 84: lnrpc.Chain
|
|
(*ConfirmationUpdate)(nil), // 85: lnrpc.ConfirmationUpdate
|
|
(*ChannelOpenUpdate)(nil), // 86: lnrpc.ChannelOpenUpdate
|
|
(*ChannelCloseUpdate)(nil), // 87: lnrpc.ChannelCloseUpdate
|
|
(*CloseChannelRequest)(nil), // 88: lnrpc.CloseChannelRequest
|
|
(*CloseStatusUpdate)(nil), // 89: lnrpc.CloseStatusUpdate
|
|
(*PendingUpdate)(nil), // 90: lnrpc.PendingUpdate
|
|
(*InstantUpdate)(nil), // 91: lnrpc.InstantUpdate
|
|
(*ReadyForPsbtFunding)(nil), // 92: lnrpc.ReadyForPsbtFunding
|
|
(*BatchOpenChannelRequest)(nil), // 93: lnrpc.BatchOpenChannelRequest
|
|
(*BatchOpenChannel)(nil), // 94: lnrpc.BatchOpenChannel
|
|
(*BatchOpenChannelResponse)(nil), // 95: lnrpc.BatchOpenChannelResponse
|
|
(*OpenChannelRequest)(nil), // 96: lnrpc.OpenChannelRequest
|
|
(*OpenStatusUpdate)(nil), // 97: lnrpc.OpenStatusUpdate
|
|
(*KeyLocator)(nil), // 98: lnrpc.KeyLocator
|
|
(*KeyDescriptor)(nil), // 99: lnrpc.KeyDescriptor
|
|
(*ChanPointShim)(nil), // 100: lnrpc.ChanPointShim
|
|
(*PsbtShim)(nil), // 101: lnrpc.PsbtShim
|
|
(*FundingShim)(nil), // 102: lnrpc.FundingShim
|
|
(*FundingShimCancel)(nil), // 103: lnrpc.FundingShimCancel
|
|
(*FundingPsbtVerify)(nil), // 104: lnrpc.FundingPsbtVerify
|
|
(*FundingPsbtFinalize)(nil), // 105: lnrpc.FundingPsbtFinalize
|
|
(*FundingTransitionMsg)(nil), // 106: lnrpc.FundingTransitionMsg
|
|
(*FundingStateStepResp)(nil), // 107: lnrpc.FundingStateStepResp
|
|
(*PendingHTLC)(nil), // 108: lnrpc.PendingHTLC
|
|
(*PendingChannelsRequest)(nil), // 109: lnrpc.PendingChannelsRequest
|
|
(*PendingChannelsResponse)(nil), // 110: lnrpc.PendingChannelsResponse
|
|
(*ChannelEventSubscription)(nil), // 111: lnrpc.ChannelEventSubscription
|
|
(*ChannelEventUpdate)(nil), // 112: lnrpc.ChannelEventUpdate
|
|
(*WalletAccountBalance)(nil), // 113: lnrpc.WalletAccountBalance
|
|
(*WalletBalanceRequest)(nil), // 114: lnrpc.WalletBalanceRequest
|
|
(*WalletBalanceResponse)(nil), // 115: lnrpc.WalletBalanceResponse
|
|
(*Amount)(nil), // 116: lnrpc.Amount
|
|
(*ChannelBalanceRequest)(nil), // 117: lnrpc.ChannelBalanceRequest
|
|
(*ChannelBalanceResponse)(nil), // 118: lnrpc.ChannelBalanceResponse
|
|
(*QueryRoutesRequest)(nil), // 119: lnrpc.QueryRoutesRequest
|
|
(*NodePair)(nil), // 120: lnrpc.NodePair
|
|
(*EdgeLocator)(nil), // 121: lnrpc.EdgeLocator
|
|
(*QueryRoutesResponse)(nil), // 122: lnrpc.QueryRoutesResponse
|
|
(*Hop)(nil), // 123: lnrpc.Hop
|
|
(*MPPRecord)(nil), // 124: lnrpc.MPPRecord
|
|
(*AMPRecord)(nil), // 125: lnrpc.AMPRecord
|
|
(*Route)(nil), // 126: lnrpc.Route
|
|
(*NodeInfoRequest)(nil), // 127: lnrpc.NodeInfoRequest
|
|
(*NodeInfo)(nil), // 128: lnrpc.NodeInfo
|
|
(*LightningNode)(nil), // 129: lnrpc.LightningNode
|
|
(*NodeAddress)(nil), // 130: lnrpc.NodeAddress
|
|
(*RoutingPolicy)(nil), // 131: lnrpc.RoutingPolicy
|
|
(*ChannelEdge)(nil), // 132: lnrpc.ChannelEdge
|
|
(*ChannelGraphRequest)(nil), // 133: lnrpc.ChannelGraphRequest
|
|
(*ChannelGraph)(nil), // 134: lnrpc.ChannelGraph
|
|
(*NodeMetricsRequest)(nil), // 135: lnrpc.NodeMetricsRequest
|
|
(*NodeMetricsResponse)(nil), // 136: lnrpc.NodeMetricsResponse
|
|
(*FloatMetric)(nil), // 137: lnrpc.FloatMetric
|
|
(*ChanInfoRequest)(nil), // 138: lnrpc.ChanInfoRequest
|
|
(*NetworkInfoRequest)(nil), // 139: lnrpc.NetworkInfoRequest
|
|
(*NetworkInfo)(nil), // 140: lnrpc.NetworkInfo
|
|
(*StopRequest)(nil), // 141: lnrpc.StopRequest
|
|
(*StopResponse)(nil), // 142: lnrpc.StopResponse
|
|
(*GraphTopologySubscription)(nil), // 143: lnrpc.GraphTopologySubscription
|
|
(*GraphTopologyUpdate)(nil), // 144: lnrpc.GraphTopologyUpdate
|
|
(*NodeUpdate)(nil), // 145: lnrpc.NodeUpdate
|
|
(*ChannelEdgeUpdate)(nil), // 146: lnrpc.ChannelEdgeUpdate
|
|
(*ClosedChannelUpdate)(nil), // 147: lnrpc.ClosedChannelUpdate
|
|
(*HopHint)(nil), // 148: lnrpc.HopHint
|
|
(*SetID)(nil), // 149: lnrpc.SetID
|
|
(*RouteHint)(nil), // 150: lnrpc.RouteHint
|
|
(*BlindedPaymentPath)(nil), // 151: lnrpc.BlindedPaymentPath
|
|
(*BlindedPath)(nil), // 152: lnrpc.BlindedPath
|
|
(*BlindedHop)(nil), // 153: lnrpc.BlindedHop
|
|
(*AMPInvoiceState)(nil), // 154: lnrpc.AMPInvoiceState
|
|
(*Invoice)(nil), // 155: lnrpc.Invoice
|
|
(*BlindedPathConfig)(nil), // 156: lnrpc.BlindedPathConfig
|
|
(*InvoiceHTLC)(nil), // 157: lnrpc.InvoiceHTLC
|
|
(*AMP)(nil), // 158: lnrpc.AMP
|
|
(*AddInvoiceResponse)(nil), // 159: lnrpc.AddInvoiceResponse
|
|
(*PaymentHash)(nil), // 160: lnrpc.PaymentHash
|
|
(*ListInvoiceRequest)(nil), // 161: lnrpc.ListInvoiceRequest
|
|
(*ListInvoiceResponse)(nil), // 162: lnrpc.ListInvoiceResponse
|
|
(*InvoiceSubscription)(nil), // 163: lnrpc.InvoiceSubscription
|
|
(*Payment)(nil), // 164: lnrpc.Payment
|
|
(*HTLCAttempt)(nil), // 165: lnrpc.HTLCAttempt
|
|
(*ListPaymentsRequest)(nil), // 166: lnrpc.ListPaymentsRequest
|
|
(*ListPaymentsResponse)(nil), // 167: lnrpc.ListPaymentsResponse
|
|
(*DeletePaymentRequest)(nil), // 168: lnrpc.DeletePaymentRequest
|
|
(*DeleteAllPaymentsRequest)(nil), // 169: lnrpc.DeleteAllPaymentsRequest
|
|
(*DeletePaymentResponse)(nil), // 170: lnrpc.DeletePaymentResponse
|
|
(*DeleteAllPaymentsResponse)(nil), // 171: lnrpc.DeleteAllPaymentsResponse
|
|
(*AbandonChannelRequest)(nil), // 172: lnrpc.AbandonChannelRequest
|
|
(*AbandonChannelResponse)(nil), // 173: lnrpc.AbandonChannelResponse
|
|
(*DebugLevelRequest)(nil), // 174: lnrpc.DebugLevelRequest
|
|
(*DebugLevelResponse)(nil), // 175: lnrpc.DebugLevelResponse
|
|
(*PayReqString)(nil), // 176: lnrpc.PayReqString
|
|
(*PayReq)(nil), // 177: lnrpc.PayReq
|
|
(*Feature)(nil), // 178: lnrpc.Feature
|
|
(*FeeReportRequest)(nil), // 179: lnrpc.FeeReportRequest
|
|
(*ChannelFeeReport)(nil), // 180: lnrpc.ChannelFeeReport
|
|
(*FeeReportResponse)(nil), // 181: lnrpc.FeeReportResponse
|
|
(*InboundFee)(nil), // 182: lnrpc.InboundFee
|
|
(*PolicyUpdateRequest)(nil), // 183: lnrpc.PolicyUpdateRequest
|
|
(*FailedUpdate)(nil), // 184: lnrpc.FailedUpdate
|
|
(*PolicyUpdateResponse)(nil), // 185: lnrpc.PolicyUpdateResponse
|
|
(*ForwardingHistoryRequest)(nil), // 186: lnrpc.ForwardingHistoryRequest
|
|
(*ForwardingEvent)(nil), // 187: lnrpc.ForwardingEvent
|
|
(*ForwardingHistoryResponse)(nil), // 188: lnrpc.ForwardingHistoryResponse
|
|
(*ExportChannelBackupRequest)(nil), // 189: lnrpc.ExportChannelBackupRequest
|
|
(*ChannelBackup)(nil), // 190: lnrpc.ChannelBackup
|
|
(*MultiChanBackup)(nil), // 191: lnrpc.MultiChanBackup
|
|
(*ChanBackupExportRequest)(nil), // 192: lnrpc.ChanBackupExportRequest
|
|
(*ChanBackupSnapshot)(nil), // 193: lnrpc.ChanBackupSnapshot
|
|
(*ChannelBackups)(nil), // 194: lnrpc.ChannelBackups
|
|
(*RestoreChanBackupRequest)(nil), // 195: lnrpc.RestoreChanBackupRequest
|
|
(*RestoreBackupResponse)(nil), // 196: lnrpc.RestoreBackupResponse
|
|
(*ChannelBackupSubscription)(nil), // 197: lnrpc.ChannelBackupSubscription
|
|
(*VerifyChanBackupResponse)(nil), // 198: lnrpc.VerifyChanBackupResponse
|
|
(*MacaroonPermission)(nil), // 199: lnrpc.MacaroonPermission
|
|
(*BakeMacaroonRequest)(nil), // 200: lnrpc.BakeMacaroonRequest
|
|
(*BakeMacaroonResponse)(nil), // 201: lnrpc.BakeMacaroonResponse
|
|
(*ListMacaroonIDsRequest)(nil), // 202: lnrpc.ListMacaroonIDsRequest
|
|
(*ListMacaroonIDsResponse)(nil), // 203: lnrpc.ListMacaroonIDsResponse
|
|
(*DeleteMacaroonIDRequest)(nil), // 204: lnrpc.DeleteMacaroonIDRequest
|
|
(*DeleteMacaroonIDResponse)(nil), // 205: lnrpc.DeleteMacaroonIDResponse
|
|
(*MacaroonPermissionList)(nil), // 206: lnrpc.MacaroonPermissionList
|
|
(*ListPermissionsRequest)(nil), // 207: lnrpc.ListPermissionsRequest
|
|
(*ListPermissionsResponse)(nil), // 208: lnrpc.ListPermissionsResponse
|
|
(*Failure)(nil), // 209: lnrpc.Failure
|
|
(*ChannelUpdate)(nil), // 210: lnrpc.ChannelUpdate
|
|
(*MacaroonId)(nil), // 211: lnrpc.MacaroonId
|
|
(*Op)(nil), // 212: lnrpc.Op
|
|
(*CheckMacPermRequest)(nil), // 213: lnrpc.CheckMacPermRequest
|
|
(*CheckMacPermResponse)(nil), // 214: lnrpc.CheckMacPermResponse
|
|
(*RPCMiddlewareRequest)(nil), // 215: lnrpc.RPCMiddlewareRequest
|
|
(*StreamAuth)(nil), // 216: lnrpc.StreamAuth
|
|
(*RPCMessage)(nil), // 217: lnrpc.RPCMessage
|
|
(*RPCMiddlewareResponse)(nil), // 218: lnrpc.RPCMiddlewareResponse
|
|
(*MiddlewareRegistration)(nil), // 219: lnrpc.MiddlewareRegistration
|
|
(*InterceptFeedback)(nil), // 220: lnrpc.InterceptFeedback
|
|
nil, // 221: lnrpc.SendRequest.DestCustomRecordsEntry
|
|
nil, // 222: lnrpc.EstimateFeeRequest.AddrToAmountEntry
|
|
nil, // 223: lnrpc.SendManyRequest.AddrToAmountEntry
|
|
nil, // 224: lnrpc.Peer.FeaturesEntry
|
|
nil, // 225: lnrpc.GetInfoResponse.FeaturesEntry
|
|
nil, // 226: lnrpc.GetDebugInfoResponse.ConfigEntry
|
|
(*PendingChannelsResponse_PendingChannel)(nil), // 227: lnrpc.PendingChannelsResponse.PendingChannel
|
|
(*PendingChannelsResponse_PendingOpenChannel)(nil), // 228: lnrpc.PendingChannelsResponse.PendingOpenChannel
|
|
(*PendingChannelsResponse_WaitingCloseChannel)(nil), // 229: lnrpc.PendingChannelsResponse.WaitingCloseChannel
|
|
(*PendingChannelsResponse_Commitments)(nil), // 230: lnrpc.PendingChannelsResponse.Commitments
|
|
(*PendingChannelsResponse_ClosedChannel)(nil), // 231: lnrpc.PendingChannelsResponse.ClosedChannel
|
|
(*PendingChannelsResponse_ForceClosedChannel)(nil), // 232: lnrpc.PendingChannelsResponse.ForceClosedChannel
|
|
nil, // 233: lnrpc.WalletBalanceResponse.AccountBalanceEntry
|
|
nil, // 234: lnrpc.QueryRoutesRequest.DestCustomRecordsEntry
|
|
nil, // 235: lnrpc.Hop.CustomRecordsEntry
|
|
nil, // 236: lnrpc.LightningNode.FeaturesEntry
|
|
nil, // 237: lnrpc.LightningNode.CustomRecordsEntry
|
|
nil, // 238: lnrpc.RoutingPolicy.CustomRecordsEntry
|
|
nil, // 239: lnrpc.ChannelEdge.CustomRecordsEntry
|
|
nil, // 240: lnrpc.NodeMetricsResponse.BetweennessCentralityEntry
|
|
nil, // 241: lnrpc.NodeUpdate.FeaturesEntry
|
|
nil, // 242: lnrpc.Invoice.FeaturesEntry
|
|
nil, // 243: lnrpc.Invoice.AmpInvoiceStateEntry
|
|
nil, // 244: lnrpc.InvoiceHTLC.CustomRecordsEntry
|
|
nil, // 245: lnrpc.PayReq.FeaturesEntry
|
|
nil, // 246: lnrpc.ListPermissionsResponse.MethodPermissionsEntry
|
|
}
|
|
var file_lightning_proto_depIdxs = []int32{
|
|
2, // 0: lnrpc.Utxo.address_type:type_name -> lnrpc.AddressType
|
|
39, // 1: lnrpc.Utxo.outpoint:type_name -> lnrpc.OutPoint
|
|
0, // 2: lnrpc.OutputDetail.output_type:type_name -> lnrpc.OutputScriptType
|
|
28, // 3: lnrpc.Transaction.output_details:type_name -> lnrpc.OutputDetail
|
|
40, // 4: lnrpc.Transaction.previous_outpoints:type_name -> lnrpc.PreviousOutPoint
|
|
29, // 5: lnrpc.TransactionDetails.transactions:type_name -> lnrpc.Transaction
|
|
32, // 6: lnrpc.SendRequest.fee_limit:type_name -> lnrpc.FeeLimit
|
|
221, // 7: lnrpc.SendRequest.dest_custom_records:type_name -> lnrpc.SendRequest.DestCustomRecordsEntry
|
|
10, // 8: lnrpc.SendRequest.dest_features:type_name -> lnrpc.FeatureBit
|
|
126, // 9: lnrpc.SendResponse.payment_route:type_name -> lnrpc.Route
|
|
126, // 10: lnrpc.SendToRouteRequest.route:type_name -> lnrpc.Route
|
|
3, // 11: lnrpc.ChannelAcceptRequest.commitment_type:type_name -> lnrpc.CommitmentType
|
|
222, // 12: lnrpc.EstimateFeeRequest.AddrToAmount:type_name -> lnrpc.EstimateFeeRequest.AddrToAmountEntry
|
|
1, // 13: lnrpc.EstimateFeeRequest.coin_selection_strategy:type_name -> lnrpc.CoinSelectionStrategy
|
|
223, // 14: lnrpc.SendManyRequest.AddrToAmount:type_name -> lnrpc.SendManyRequest.AddrToAmountEntry
|
|
1, // 15: lnrpc.SendManyRequest.coin_selection_strategy:type_name -> lnrpc.CoinSelectionStrategy
|
|
1, // 16: lnrpc.SendCoinsRequest.coin_selection_strategy:type_name -> lnrpc.CoinSelectionStrategy
|
|
39, // 17: lnrpc.SendCoinsRequest.outpoints:type_name -> lnrpc.OutPoint
|
|
27, // 18: lnrpc.ListUnspentResponse.utxos:type_name -> lnrpc.Utxo
|
|
2, // 19: lnrpc.NewAddressRequest.type:type_name -> lnrpc.AddressType
|
|
41, // 20: lnrpc.ConnectPeerRequest.addr:type_name -> lnrpc.LightningAddress
|
|
60, // 21: lnrpc.Channel.pending_htlcs:type_name -> lnrpc.HTLC
|
|
3, // 22: lnrpc.Channel.commitment_type:type_name -> lnrpc.CommitmentType
|
|
61, // 23: lnrpc.Channel.local_constraints:type_name -> lnrpc.ChannelConstraints
|
|
61, // 24: lnrpc.Channel.remote_constraints:type_name -> lnrpc.ChannelConstraints
|
|
62, // 25: lnrpc.ListChannelsResponse.channels:type_name -> lnrpc.Channel
|
|
65, // 26: lnrpc.ListAliasesResponse.alias_maps:type_name -> lnrpc.AliasMap
|
|
12, // 27: lnrpc.ChannelCloseSummary.close_type:type_name -> lnrpc.ChannelCloseSummary.ClosureType
|
|
4, // 28: lnrpc.ChannelCloseSummary.open_initiator:type_name -> lnrpc.Initiator
|
|
4, // 29: lnrpc.ChannelCloseSummary.close_initiator:type_name -> lnrpc.Initiator
|
|
69, // 30: lnrpc.ChannelCloseSummary.resolutions:type_name -> lnrpc.Resolution
|
|
5, // 31: lnrpc.Resolution.resolution_type:type_name -> lnrpc.ResolutionType
|
|
6, // 32: lnrpc.Resolution.outcome:type_name -> lnrpc.ResolutionOutcome
|
|
39, // 33: lnrpc.Resolution.outpoint:type_name -> lnrpc.OutPoint
|
|
68, // 34: lnrpc.ClosedChannelsResponse.channels:type_name -> lnrpc.ChannelCloseSummary
|
|
13, // 35: lnrpc.Peer.sync_type:type_name -> lnrpc.Peer.SyncType
|
|
224, // 36: lnrpc.Peer.features:type_name -> lnrpc.Peer.FeaturesEntry
|
|
73, // 37: lnrpc.Peer.errors:type_name -> lnrpc.TimestampedError
|
|
72, // 38: lnrpc.ListPeersResponse.peers:type_name -> lnrpc.Peer
|
|
14, // 39: lnrpc.PeerEvent.type:type_name -> lnrpc.PeerEvent.EventType
|
|
84, // 40: lnrpc.GetInfoResponse.chains:type_name -> lnrpc.Chain
|
|
225, // 41: lnrpc.GetInfoResponse.features:type_name -> lnrpc.GetInfoResponse.FeaturesEntry
|
|
226, // 42: lnrpc.GetDebugInfoResponse.config:type_name -> lnrpc.GetDebugInfoResponse.ConfigEntry
|
|
38, // 43: lnrpc.ChannelOpenUpdate.channel_point:type_name -> lnrpc.ChannelPoint
|
|
38, // 44: lnrpc.CloseChannelRequest.channel_point:type_name -> lnrpc.ChannelPoint
|
|
90, // 45: lnrpc.CloseStatusUpdate.close_pending:type_name -> lnrpc.PendingUpdate
|
|
87, // 46: lnrpc.CloseStatusUpdate.chan_close:type_name -> lnrpc.ChannelCloseUpdate
|
|
91, // 47: lnrpc.CloseStatusUpdate.close_instant:type_name -> lnrpc.InstantUpdate
|
|
94, // 48: lnrpc.BatchOpenChannelRequest.channels:type_name -> lnrpc.BatchOpenChannel
|
|
1, // 49: lnrpc.BatchOpenChannelRequest.coin_selection_strategy:type_name -> lnrpc.CoinSelectionStrategy
|
|
3, // 50: lnrpc.BatchOpenChannel.commitment_type:type_name -> lnrpc.CommitmentType
|
|
90, // 51: lnrpc.BatchOpenChannelResponse.pending_channels:type_name -> lnrpc.PendingUpdate
|
|
102, // 52: lnrpc.OpenChannelRequest.funding_shim:type_name -> lnrpc.FundingShim
|
|
3, // 53: lnrpc.OpenChannelRequest.commitment_type:type_name -> lnrpc.CommitmentType
|
|
39, // 54: lnrpc.OpenChannelRequest.outpoints:type_name -> lnrpc.OutPoint
|
|
90, // 55: lnrpc.OpenStatusUpdate.chan_pending:type_name -> lnrpc.PendingUpdate
|
|
86, // 56: lnrpc.OpenStatusUpdate.chan_open:type_name -> lnrpc.ChannelOpenUpdate
|
|
92, // 57: lnrpc.OpenStatusUpdate.psbt_fund:type_name -> lnrpc.ReadyForPsbtFunding
|
|
98, // 58: lnrpc.KeyDescriptor.key_loc:type_name -> lnrpc.KeyLocator
|
|
38, // 59: lnrpc.ChanPointShim.chan_point:type_name -> lnrpc.ChannelPoint
|
|
99, // 60: lnrpc.ChanPointShim.local_key:type_name -> lnrpc.KeyDescriptor
|
|
100, // 61: lnrpc.FundingShim.chan_point_shim:type_name -> lnrpc.ChanPointShim
|
|
101, // 62: lnrpc.FundingShim.psbt_shim:type_name -> lnrpc.PsbtShim
|
|
102, // 63: lnrpc.FundingTransitionMsg.shim_register:type_name -> lnrpc.FundingShim
|
|
103, // 64: lnrpc.FundingTransitionMsg.shim_cancel:type_name -> lnrpc.FundingShimCancel
|
|
104, // 65: lnrpc.FundingTransitionMsg.psbt_verify:type_name -> lnrpc.FundingPsbtVerify
|
|
105, // 66: lnrpc.FundingTransitionMsg.psbt_finalize:type_name -> lnrpc.FundingPsbtFinalize
|
|
228, // 67: lnrpc.PendingChannelsResponse.pending_open_channels:type_name -> lnrpc.PendingChannelsResponse.PendingOpenChannel
|
|
231, // 68: lnrpc.PendingChannelsResponse.pending_closing_channels:type_name -> lnrpc.PendingChannelsResponse.ClosedChannel
|
|
232, // 69: lnrpc.PendingChannelsResponse.pending_force_closing_channels:type_name -> lnrpc.PendingChannelsResponse.ForceClosedChannel
|
|
229, // 70: lnrpc.PendingChannelsResponse.waiting_close_channels:type_name -> lnrpc.PendingChannelsResponse.WaitingCloseChannel
|
|
62, // 71: lnrpc.ChannelEventUpdate.open_channel:type_name -> lnrpc.Channel
|
|
68, // 72: lnrpc.ChannelEventUpdate.closed_channel:type_name -> lnrpc.ChannelCloseSummary
|
|
38, // 73: lnrpc.ChannelEventUpdate.active_channel:type_name -> lnrpc.ChannelPoint
|
|
38, // 74: lnrpc.ChannelEventUpdate.inactive_channel:type_name -> lnrpc.ChannelPoint
|
|
90, // 75: lnrpc.ChannelEventUpdate.pending_open_channel:type_name -> lnrpc.PendingUpdate
|
|
38, // 76: lnrpc.ChannelEventUpdate.fully_resolved_channel:type_name -> lnrpc.ChannelPoint
|
|
16, // 77: lnrpc.ChannelEventUpdate.type:type_name -> lnrpc.ChannelEventUpdate.UpdateType
|
|
233, // 78: lnrpc.WalletBalanceResponse.account_balance:type_name -> lnrpc.WalletBalanceResponse.AccountBalanceEntry
|
|
116, // 79: lnrpc.ChannelBalanceResponse.local_balance:type_name -> lnrpc.Amount
|
|
116, // 80: lnrpc.ChannelBalanceResponse.remote_balance:type_name -> lnrpc.Amount
|
|
116, // 81: lnrpc.ChannelBalanceResponse.unsettled_local_balance:type_name -> lnrpc.Amount
|
|
116, // 82: lnrpc.ChannelBalanceResponse.unsettled_remote_balance:type_name -> lnrpc.Amount
|
|
116, // 83: lnrpc.ChannelBalanceResponse.pending_open_local_balance:type_name -> lnrpc.Amount
|
|
116, // 84: lnrpc.ChannelBalanceResponse.pending_open_remote_balance:type_name -> lnrpc.Amount
|
|
32, // 85: lnrpc.QueryRoutesRequest.fee_limit:type_name -> lnrpc.FeeLimit
|
|
121, // 86: lnrpc.QueryRoutesRequest.ignored_edges:type_name -> lnrpc.EdgeLocator
|
|
120, // 87: lnrpc.QueryRoutesRequest.ignored_pairs:type_name -> lnrpc.NodePair
|
|
234, // 88: lnrpc.QueryRoutesRequest.dest_custom_records:type_name -> lnrpc.QueryRoutesRequest.DestCustomRecordsEntry
|
|
150, // 89: lnrpc.QueryRoutesRequest.route_hints:type_name -> lnrpc.RouteHint
|
|
151, // 90: lnrpc.QueryRoutesRequest.blinded_payment_paths:type_name -> lnrpc.BlindedPaymentPath
|
|
10, // 91: lnrpc.QueryRoutesRequest.dest_features:type_name -> lnrpc.FeatureBit
|
|
126, // 92: lnrpc.QueryRoutesResponse.routes:type_name -> lnrpc.Route
|
|
124, // 93: lnrpc.Hop.mpp_record:type_name -> lnrpc.MPPRecord
|
|
125, // 94: lnrpc.Hop.amp_record:type_name -> lnrpc.AMPRecord
|
|
235, // 95: lnrpc.Hop.custom_records:type_name -> lnrpc.Hop.CustomRecordsEntry
|
|
123, // 96: lnrpc.Route.hops:type_name -> lnrpc.Hop
|
|
129, // 97: lnrpc.NodeInfo.node:type_name -> lnrpc.LightningNode
|
|
132, // 98: lnrpc.NodeInfo.channels:type_name -> lnrpc.ChannelEdge
|
|
130, // 99: lnrpc.LightningNode.addresses:type_name -> lnrpc.NodeAddress
|
|
236, // 100: lnrpc.LightningNode.features:type_name -> lnrpc.LightningNode.FeaturesEntry
|
|
237, // 101: lnrpc.LightningNode.custom_records:type_name -> lnrpc.LightningNode.CustomRecordsEntry
|
|
238, // 102: lnrpc.RoutingPolicy.custom_records:type_name -> lnrpc.RoutingPolicy.CustomRecordsEntry
|
|
131, // 103: lnrpc.ChannelEdge.node1_policy:type_name -> lnrpc.RoutingPolicy
|
|
131, // 104: lnrpc.ChannelEdge.node2_policy:type_name -> lnrpc.RoutingPolicy
|
|
239, // 105: lnrpc.ChannelEdge.custom_records:type_name -> lnrpc.ChannelEdge.CustomRecordsEntry
|
|
129, // 106: lnrpc.ChannelGraph.nodes:type_name -> lnrpc.LightningNode
|
|
132, // 107: lnrpc.ChannelGraph.edges:type_name -> lnrpc.ChannelEdge
|
|
7, // 108: lnrpc.NodeMetricsRequest.types:type_name -> lnrpc.NodeMetricType
|
|
240, // 109: lnrpc.NodeMetricsResponse.betweenness_centrality:type_name -> lnrpc.NodeMetricsResponse.BetweennessCentralityEntry
|
|
145, // 110: lnrpc.GraphTopologyUpdate.node_updates:type_name -> lnrpc.NodeUpdate
|
|
146, // 111: lnrpc.GraphTopologyUpdate.channel_updates:type_name -> lnrpc.ChannelEdgeUpdate
|
|
147, // 112: lnrpc.GraphTopologyUpdate.closed_chans:type_name -> lnrpc.ClosedChannelUpdate
|
|
130, // 113: lnrpc.NodeUpdate.node_addresses:type_name -> lnrpc.NodeAddress
|
|
241, // 114: lnrpc.NodeUpdate.features:type_name -> lnrpc.NodeUpdate.FeaturesEntry
|
|
38, // 115: lnrpc.ChannelEdgeUpdate.chan_point:type_name -> lnrpc.ChannelPoint
|
|
131, // 116: lnrpc.ChannelEdgeUpdate.routing_policy:type_name -> lnrpc.RoutingPolicy
|
|
38, // 117: lnrpc.ClosedChannelUpdate.chan_point:type_name -> lnrpc.ChannelPoint
|
|
148, // 118: lnrpc.RouteHint.hop_hints:type_name -> lnrpc.HopHint
|
|
152, // 119: lnrpc.BlindedPaymentPath.blinded_path:type_name -> lnrpc.BlindedPath
|
|
10, // 120: lnrpc.BlindedPaymentPath.features:type_name -> lnrpc.FeatureBit
|
|
153, // 121: lnrpc.BlindedPath.blinded_hops:type_name -> lnrpc.BlindedHop
|
|
8, // 122: lnrpc.AMPInvoiceState.state:type_name -> lnrpc.InvoiceHTLCState
|
|
150, // 123: lnrpc.Invoice.route_hints:type_name -> lnrpc.RouteHint
|
|
17, // 124: lnrpc.Invoice.state:type_name -> lnrpc.Invoice.InvoiceState
|
|
157, // 125: lnrpc.Invoice.htlcs:type_name -> lnrpc.InvoiceHTLC
|
|
242, // 126: lnrpc.Invoice.features:type_name -> lnrpc.Invoice.FeaturesEntry
|
|
243, // 127: lnrpc.Invoice.amp_invoice_state:type_name -> lnrpc.Invoice.AmpInvoiceStateEntry
|
|
156, // 128: lnrpc.Invoice.blinded_path_config:type_name -> lnrpc.BlindedPathConfig
|
|
8, // 129: lnrpc.InvoiceHTLC.state:type_name -> lnrpc.InvoiceHTLCState
|
|
244, // 130: lnrpc.InvoiceHTLC.custom_records:type_name -> lnrpc.InvoiceHTLC.CustomRecordsEntry
|
|
158, // 131: lnrpc.InvoiceHTLC.amp:type_name -> lnrpc.AMP
|
|
155, // 132: lnrpc.ListInvoiceResponse.invoices:type_name -> lnrpc.Invoice
|
|
18, // 133: lnrpc.Payment.status:type_name -> lnrpc.Payment.PaymentStatus
|
|
165, // 134: lnrpc.Payment.htlcs:type_name -> lnrpc.HTLCAttempt
|
|
9, // 135: lnrpc.Payment.failure_reason:type_name -> lnrpc.PaymentFailureReason
|
|
19, // 136: lnrpc.HTLCAttempt.status:type_name -> lnrpc.HTLCAttempt.HTLCStatus
|
|
126, // 137: lnrpc.HTLCAttempt.route:type_name -> lnrpc.Route
|
|
209, // 138: lnrpc.HTLCAttempt.failure:type_name -> lnrpc.Failure
|
|
164, // 139: lnrpc.ListPaymentsResponse.payments:type_name -> lnrpc.Payment
|
|
38, // 140: lnrpc.AbandonChannelRequest.channel_point:type_name -> lnrpc.ChannelPoint
|
|
150, // 141: lnrpc.PayReq.route_hints:type_name -> lnrpc.RouteHint
|
|
245, // 142: lnrpc.PayReq.features:type_name -> lnrpc.PayReq.FeaturesEntry
|
|
151, // 143: lnrpc.PayReq.blinded_paths:type_name -> lnrpc.BlindedPaymentPath
|
|
180, // 144: lnrpc.FeeReportResponse.channel_fees:type_name -> lnrpc.ChannelFeeReport
|
|
38, // 145: lnrpc.PolicyUpdateRequest.chan_point:type_name -> lnrpc.ChannelPoint
|
|
182, // 146: lnrpc.PolicyUpdateRequest.inbound_fee:type_name -> lnrpc.InboundFee
|
|
39, // 147: lnrpc.FailedUpdate.outpoint:type_name -> lnrpc.OutPoint
|
|
11, // 148: lnrpc.FailedUpdate.reason:type_name -> lnrpc.UpdateFailure
|
|
184, // 149: lnrpc.PolicyUpdateResponse.failed_updates:type_name -> lnrpc.FailedUpdate
|
|
187, // 150: lnrpc.ForwardingHistoryResponse.forwarding_events:type_name -> lnrpc.ForwardingEvent
|
|
38, // 151: lnrpc.ExportChannelBackupRequest.chan_point:type_name -> lnrpc.ChannelPoint
|
|
38, // 152: lnrpc.ChannelBackup.chan_point:type_name -> lnrpc.ChannelPoint
|
|
38, // 153: lnrpc.MultiChanBackup.chan_points:type_name -> lnrpc.ChannelPoint
|
|
194, // 154: lnrpc.ChanBackupSnapshot.single_chan_backups:type_name -> lnrpc.ChannelBackups
|
|
191, // 155: lnrpc.ChanBackupSnapshot.multi_chan_backup:type_name -> lnrpc.MultiChanBackup
|
|
190, // 156: lnrpc.ChannelBackups.chan_backups:type_name -> lnrpc.ChannelBackup
|
|
194, // 157: lnrpc.RestoreChanBackupRequest.chan_backups:type_name -> lnrpc.ChannelBackups
|
|
199, // 158: lnrpc.BakeMacaroonRequest.permissions:type_name -> lnrpc.MacaroonPermission
|
|
199, // 159: lnrpc.MacaroonPermissionList.permissions:type_name -> lnrpc.MacaroonPermission
|
|
246, // 160: lnrpc.ListPermissionsResponse.method_permissions:type_name -> lnrpc.ListPermissionsResponse.MethodPermissionsEntry
|
|
20, // 161: lnrpc.Failure.code:type_name -> lnrpc.Failure.FailureCode
|
|
210, // 162: lnrpc.Failure.channel_update:type_name -> lnrpc.ChannelUpdate
|
|
212, // 163: lnrpc.MacaroonId.ops:type_name -> lnrpc.Op
|
|
199, // 164: lnrpc.CheckMacPermRequest.permissions:type_name -> lnrpc.MacaroonPermission
|
|
216, // 165: lnrpc.RPCMiddlewareRequest.stream_auth:type_name -> lnrpc.StreamAuth
|
|
217, // 166: lnrpc.RPCMiddlewareRequest.request:type_name -> lnrpc.RPCMessage
|
|
217, // 167: lnrpc.RPCMiddlewareRequest.response:type_name -> lnrpc.RPCMessage
|
|
219, // 168: lnrpc.RPCMiddlewareResponse.register:type_name -> lnrpc.MiddlewareRegistration
|
|
220, // 169: lnrpc.RPCMiddlewareResponse.feedback:type_name -> lnrpc.InterceptFeedback
|
|
178, // 170: lnrpc.Peer.FeaturesEntry.value:type_name -> lnrpc.Feature
|
|
178, // 171: lnrpc.GetInfoResponse.FeaturesEntry.value:type_name -> lnrpc.Feature
|
|
4, // 172: lnrpc.PendingChannelsResponse.PendingChannel.initiator:type_name -> lnrpc.Initiator
|
|
3, // 173: lnrpc.PendingChannelsResponse.PendingChannel.commitment_type:type_name -> lnrpc.CommitmentType
|
|
227, // 174: lnrpc.PendingChannelsResponse.PendingOpenChannel.channel:type_name -> lnrpc.PendingChannelsResponse.PendingChannel
|
|
227, // 175: lnrpc.PendingChannelsResponse.WaitingCloseChannel.channel:type_name -> lnrpc.PendingChannelsResponse.PendingChannel
|
|
230, // 176: lnrpc.PendingChannelsResponse.WaitingCloseChannel.commitments:type_name -> lnrpc.PendingChannelsResponse.Commitments
|
|
227, // 177: lnrpc.PendingChannelsResponse.ClosedChannel.channel:type_name -> lnrpc.PendingChannelsResponse.PendingChannel
|
|
227, // 178: lnrpc.PendingChannelsResponse.ForceClosedChannel.channel:type_name -> lnrpc.PendingChannelsResponse.PendingChannel
|
|
108, // 179: lnrpc.PendingChannelsResponse.ForceClosedChannel.pending_htlcs:type_name -> lnrpc.PendingHTLC
|
|
15, // 180: lnrpc.PendingChannelsResponse.ForceClosedChannel.anchor:type_name -> lnrpc.PendingChannelsResponse.ForceClosedChannel.AnchorState
|
|
113, // 181: lnrpc.WalletBalanceResponse.AccountBalanceEntry.value:type_name -> lnrpc.WalletAccountBalance
|
|
178, // 182: lnrpc.LightningNode.FeaturesEntry.value:type_name -> lnrpc.Feature
|
|
137, // 183: lnrpc.NodeMetricsResponse.BetweennessCentralityEntry.value:type_name -> lnrpc.FloatMetric
|
|
178, // 184: lnrpc.NodeUpdate.FeaturesEntry.value:type_name -> lnrpc.Feature
|
|
178, // 185: lnrpc.Invoice.FeaturesEntry.value:type_name -> lnrpc.Feature
|
|
154, // 186: lnrpc.Invoice.AmpInvoiceStateEntry.value:type_name -> lnrpc.AMPInvoiceState
|
|
178, // 187: lnrpc.PayReq.FeaturesEntry.value:type_name -> lnrpc.Feature
|
|
206, // 188: lnrpc.ListPermissionsResponse.MethodPermissionsEntry.value:type_name -> lnrpc.MacaroonPermissionList
|
|
114, // 189: lnrpc.Lightning.WalletBalance:input_type -> lnrpc.WalletBalanceRequest
|
|
117, // 190: lnrpc.Lightning.ChannelBalance:input_type -> lnrpc.ChannelBalanceRequest
|
|
30, // 191: lnrpc.Lightning.GetTransactions:input_type -> lnrpc.GetTransactionsRequest
|
|
42, // 192: lnrpc.Lightning.EstimateFee:input_type -> lnrpc.EstimateFeeRequest
|
|
46, // 193: lnrpc.Lightning.SendCoins:input_type -> lnrpc.SendCoinsRequest
|
|
48, // 194: lnrpc.Lightning.ListUnspent:input_type -> lnrpc.ListUnspentRequest
|
|
30, // 195: lnrpc.Lightning.SubscribeTransactions:input_type -> lnrpc.GetTransactionsRequest
|
|
44, // 196: lnrpc.Lightning.SendMany:input_type -> lnrpc.SendManyRequest
|
|
50, // 197: lnrpc.Lightning.NewAddress:input_type -> lnrpc.NewAddressRequest
|
|
52, // 198: lnrpc.Lightning.SignMessage:input_type -> lnrpc.SignMessageRequest
|
|
54, // 199: lnrpc.Lightning.VerifyMessage:input_type -> lnrpc.VerifyMessageRequest
|
|
56, // 200: lnrpc.Lightning.ConnectPeer:input_type -> lnrpc.ConnectPeerRequest
|
|
58, // 201: lnrpc.Lightning.DisconnectPeer:input_type -> lnrpc.DisconnectPeerRequest
|
|
74, // 202: lnrpc.Lightning.ListPeers:input_type -> lnrpc.ListPeersRequest
|
|
76, // 203: lnrpc.Lightning.SubscribePeerEvents:input_type -> lnrpc.PeerEventSubscription
|
|
78, // 204: lnrpc.Lightning.GetInfo:input_type -> lnrpc.GetInfoRequest
|
|
80, // 205: lnrpc.Lightning.GetDebugInfo:input_type -> lnrpc.GetDebugInfoRequest
|
|
82, // 206: lnrpc.Lightning.GetRecoveryInfo:input_type -> lnrpc.GetRecoveryInfoRequest
|
|
109, // 207: lnrpc.Lightning.PendingChannels:input_type -> lnrpc.PendingChannelsRequest
|
|
63, // 208: lnrpc.Lightning.ListChannels:input_type -> lnrpc.ListChannelsRequest
|
|
111, // 209: lnrpc.Lightning.SubscribeChannelEvents:input_type -> lnrpc.ChannelEventSubscription
|
|
70, // 210: lnrpc.Lightning.ClosedChannels:input_type -> lnrpc.ClosedChannelsRequest
|
|
96, // 211: lnrpc.Lightning.OpenChannelSync:input_type -> lnrpc.OpenChannelRequest
|
|
96, // 212: lnrpc.Lightning.OpenChannel:input_type -> lnrpc.OpenChannelRequest
|
|
93, // 213: lnrpc.Lightning.BatchOpenChannel:input_type -> lnrpc.BatchOpenChannelRequest
|
|
106, // 214: lnrpc.Lightning.FundingStateStep:input_type -> lnrpc.FundingTransitionMsg
|
|
37, // 215: lnrpc.Lightning.ChannelAcceptor:input_type -> lnrpc.ChannelAcceptResponse
|
|
88, // 216: lnrpc.Lightning.CloseChannel:input_type -> lnrpc.CloseChannelRequest
|
|
172, // 217: lnrpc.Lightning.AbandonChannel:input_type -> lnrpc.AbandonChannelRequest
|
|
33, // 218: lnrpc.Lightning.SendPayment:input_type -> lnrpc.SendRequest
|
|
33, // 219: lnrpc.Lightning.SendPaymentSync:input_type -> lnrpc.SendRequest
|
|
35, // 220: lnrpc.Lightning.SendToRoute:input_type -> lnrpc.SendToRouteRequest
|
|
35, // 221: lnrpc.Lightning.SendToRouteSync:input_type -> lnrpc.SendToRouteRequest
|
|
155, // 222: lnrpc.Lightning.AddInvoice:input_type -> lnrpc.Invoice
|
|
161, // 223: lnrpc.Lightning.ListInvoices:input_type -> lnrpc.ListInvoiceRequest
|
|
160, // 224: lnrpc.Lightning.LookupInvoice:input_type -> lnrpc.PaymentHash
|
|
163, // 225: lnrpc.Lightning.SubscribeInvoices:input_type -> lnrpc.InvoiceSubscription
|
|
176, // 226: lnrpc.Lightning.DecodePayReq:input_type -> lnrpc.PayReqString
|
|
166, // 227: lnrpc.Lightning.ListPayments:input_type -> lnrpc.ListPaymentsRequest
|
|
168, // 228: lnrpc.Lightning.DeletePayment:input_type -> lnrpc.DeletePaymentRequest
|
|
169, // 229: lnrpc.Lightning.DeleteAllPayments:input_type -> lnrpc.DeleteAllPaymentsRequest
|
|
133, // 230: lnrpc.Lightning.DescribeGraph:input_type -> lnrpc.ChannelGraphRequest
|
|
135, // 231: lnrpc.Lightning.GetNodeMetrics:input_type -> lnrpc.NodeMetricsRequest
|
|
138, // 232: lnrpc.Lightning.GetChanInfo:input_type -> lnrpc.ChanInfoRequest
|
|
127, // 233: lnrpc.Lightning.GetNodeInfo:input_type -> lnrpc.NodeInfoRequest
|
|
119, // 234: lnrpc.Lightning.QueryRoutes:input_type -> lnrpc.QueryRoutesRequest
|
|
139, // 235: lnrpc.Lightning.GetNetworkInfo:input_type -> lnrpc.NetworkInfoRequest
|
|
141, // 236: lnrpc.Lightning.StopDaemon:input_type -> lnrpc.StopRequest
|
|
143, // 237: lnrpc.Lightning.SubscribeChannelGraph:input_type -> lnrpc.GraphTopologySubscription
|
|
174, // 238: lnrpc.Lightning.DebugLevel:input_type -> lnrpc.DebugLevelRequest
|
|
179, // 239: lnrpc.Lightning.FeeReport:input_type -> lnrpc.FeeReportRequest
|
|
183, // 240: lnrpc.Lightning.UpdateChannelPolicy:input_type -> lnrpc.PolicyUpdateRequest
|
|
186, // 241: lnrpc.Lightning.ForwardingHistory:input_type -> lnrpc.ForwardingHistoryRequest
|
|
189, // 242: lnrpc.Lightning.ExportChannelBackup:input_type -> lnrpc.ExportChannelBackupRequest
|
|
192, // 243: lnrpc.Lightning.ExportAllChannelBackups:input_type -> lnrpc.ChanBackupExportRequest
|
|
193, // 244: lnrpc.Lightning.VerifyChanBackup:input_type -> lnrpc.ChanBackupSnapshot
|
|
195, // 245: lnrpc.Lightning.RestoreChannelBackups:input_type -> lnrpc.RestoreChanBackupRequest
|
|
197, // 246: lnrpc.Lightning.SubscribeChannelBackups:input_type -> lnrpc.ChannelBackupSubscription
|
|
200, // 247: lnrpc.Lightning.BakeMacaroon:input_type -> lnrpc.BakeMacaroonRequest
|
|
202, // 248: lnrpc.Lightning.ListMacaroonIDs:input_type -> lnrpc.ListMacaroonIDsRequest
|
|
204, // 249: lnrpc.Lightning.DeleteMacaroonID:input_type -> lnrpc.DeleteMacaroonIDRequest
|
|
207, // 250: lnrpc.Lightning.ListPermissions:input_type -> lnrpc.ListPermissionsRequest
|
|
213, // 251: lnrpc.Lightning.CheckMacaroonPermissions:input_type -> lnrpc.CheckMacPermRequest
|
|
218, // 252: lnrpc.Lightning.RegisterRPCMiddleware:input_type -> lnrpc.RPCMiddlewareResponse
|
|
25, // 253: lnrpc.Lightning.SendCustomMessage:input_type -> lnrpc.SendCustomMessageRequest
|
|
23, // 254: lnrpc.Lightning.SubscribeCustomMessages:input_type -> lnrpc.SubscribeCustomMessagesRequest
|
|
66, // 255: lnrpc.Lightning.ListAliases:input_type -> lnrpc.ListAliasesRequest
|
|
21, // 256: lnrpc.Lightning.LookupHtlcResolution:input_type -> lnrpc.LookupHtlcResolutionRequest
|
|
115, // 257: lnrpc.Lightning.WalletBalance:output_type -> lnrpc.WalletBalanceResponse
|
|
118, // 258: lnrpc.Lightning.ChannelBalance:output_type -> lnrpc.ChannelBalanceResponse
|
|
31, // 259: lnrpc.Lightning.GetTransactions:output_type -> lnrpc.TransactionDetails
|
|
43, // 260: lnrpc.Lightning.EstimateFee:output_type -> lnrpc.EstimateFeeResponse
|
|
47, // 261: lnrpc.Lightning.SendCoins:output_type -> lnrpc.SendCoinsResponse
|
|
49, // 262: lnrpc.Lightning.ListUnspent:output_type -> lnrpc.ListUnspentResponse
|
|
29, // 263: lnrpc.Lightning.SubscribeTransactions:output_type -> lnrpc.Transaction
|
|
45, // 264: lnrpc.Lightning.SendMany:output_type -> lnrpc.SendManyResponse
|
|
51, // 265: lnrpc.Lightning.NewAddress:output_type -> lnrpc.NewAddressResponse
|
|
53, // 266: lnrpc.Lightning.SignMessage:output_type -> lnrpc.SignMessageResponse
|
|
55, // 267: lnrpc.Lightning.VerifyMessage:output_type -> lnrpc.VerifyMessageResponse
|
|
57, // 268: lnrpc.Lightning.ConnectPeer:output_type -> lnrpc.ConnectPeerResponse
|
|
59, // 269: lnrpc.Lightning.DisconnectPeer:output_type -> lnrpc.DisconnectPeerResponse
|
|
75, // 270: lnrpc.Lightning.ListPeers:output_type -> lnrpc.ListPeersResponse
|
|
77, // 271: lnrpc.Lightning.SubscribePeerEvents:output_type -> lnrpc.PeerEvent
|
|
79, // 272: lnrpc.Lightning.GetInfo:output_type -> lnrpc.GetInfoResponse
|
|
81, // 273: lnrpc.Lightning.GetDebugInfo:output_type -> lnrpc.GetDebugInfoResponse
|
|
83, // 274: lnrpc.Lightning.GetRecoveryInfo:output_type -> lnrpc.GetRecoveryInfoResponse
|
|
110, // 275: lnrpc.Lightning.PendingChannels:output_type -> lnrpc.PendingChannelsResponse
|
|
64, // 276: lnrpc.Lightning.ListChannels:output_type -> lnrpc.ListChannelsResponse
|
|
112, // 277: lnrpc.Lightning.SubscribeChannelEvents:output_type -> lnrpc.ChannelEventUpdate
|
|
71, // 278: lnrpc.Lightning.ClosedChannels:output_type -> lnrpc.ClosedChannelsResponse
|
|
38, // 279: lnrpc.Lightning.OpenChannelSync:output_type -> lnrpc.ChannelPoint
|
|
97, // 280: lnrpc.Lightning.OpenChannel:output_type -> lnrpc.OpenStatusUpdate
|
|
95, // 281: lnrpc.Lightning.BatchOpenChannel:output_type -> lnrpc.BatchOpenChannelResponse
|
|
107, // 282: lnrpc.Lightning.FundingStateStep:output_type -> lnrpc.FundingStateStepResp
|
|
36, // 283: lnrpc.Lightning.ChannelAcceptor:output_type -> lnrpc.ChannelAcceptRequest
|
|
89, // 284: lnrpc.Lightning.CloseChannel:output_type -> lnrpc.CloseStatusUpdate
|
|
173, // 285: lnrpc.Lightning.AbandonChannel:output_type -> lnrpc.AbandonChannelResponse
|
|
34, // 286: lnrpc.Lightning.SendPayment:output_type -> lnrpc.SendResponse
|
|
34, // 287: lnrpc.Lightning.SendPaymentSync:output_type -> lnrpc.SendResponse
|
|
34, // 288: lnrpc.Lightning.SendToRoute:output_type -> lnrpc.SendResponse
|
|
34, // 289: lnrpc.Lightning.SendToRouteSync:output_type -> lnrpc.SendResponse
|
|
159, // 290: lnrpc.Lightning.AddInvoice:output_type -> lnrpc.AddInvoiceResponse
|
|
162, // 291: lnrpc.Lightning.ListInvoices:output_type -> lnrpc.ListInvoiceResponse
|
|
155, // 292: lnrpc.Lightning.LookupInvoice:output_type -> lnrpc.Invoice
|
|
155, // 293: lnrpc.Lightning.SubscribeInvoices:output_type -> lnrpc.Invoice
|
|
177, // 294: lnrpc.Lightning.DecodePayReq:output_type -> lnrpc.PayReq
|
|
167, // 295: lnrpc.Lightning.ListPayments:output_type -> lnrpc.ListPaymentsResponse
|
|
170, // 296: lnrpc.Lightning.DeletePayment:output_type -> lnrpc.DeletePaymentResponse
|
|
171, // 297: lnrpc.Lightning.DeleteAllPayments:output_type -> lnrpc.DeleteAllPaymentsResponse
|
|
134, // 298: lnrpc.Lightning.DescribeGraph:output_type -> lnrpc.ChannelGraph
|
|
136, // 299: lnrpc.Lightning.GetNodeMetrics:output_type -> lnrpc.NodeMetricsResponse
|
|
132, // 300: lnrpc.Lightning.GetChanInfo:output_type -> lnrpc.ChannelEdge
|
|
128, // 301: lnrpc.Lightning.GetNodeInfo:output_type -> lnrpc.NodeInfo
|
|
122, // 302: lnrpc.Lightning.QueryRoutes:output_type -> lnrpc.QueryRoutesResponse
|
|
140, // 303: lnrpc.Lightning.GetNetworkInfo:output_type -> lnrpc.NetworkInfo
|
|
142, // 304: lnrpc.Lightning.StopDaemon:output_type -> lnrpc.StopResponse
|
|
144, // 305: lnrpc.Lightning.SubscribeChannelGraph:output_type -> lnrpc.GraphTopologyUpdate
|
|
175, // 306: lnrpc.Lightning.DebugLevel:output_type -> lnrpc.DebugLevelResponse
|
|
181, // 307: lnrpc.Lightning.FeeReport:output_type -> lnrpc.FeeReportResponse
|
|
185, // 308: lnrpc.Lightning.UpdateChannelPolicy:output_type -> lnrpc.PolicyUpdateResponse
|
|
188, // 309: lnrpc.Lightning.ForwardingHistory:output_type -> lnrpc.ForwardingHistoryResponse
|
|
190, // 310: lnrpc.Lightning.ExportChannelBackup:output_type -> lnrpc.ChannelBackup
|
|
193, // 311: lnrpc.Lightning.ExportAllChannelBackups:output_type -> lnrpc.ChanBackupSnapshot
|
|
198, // 312: lnrpc.Lightning.VerifyChanBackup:output_type -> lnrpc.VerifyChanBackupResponse
|
|
196, // 313: lnrpc.Lightning.RestoreChannelBackups:output_type -> lnrpc.RestoreBackupResponse
|
|
193, // 314: lnrpc.Lightning.SubscribeChannelBackups:output_type -> lnrpc.ChanBackupSnapshot
|
|
201, // 315: lnrpc.Lightning.BakeMacaroon:output_type -> lnrpc.BakeMacaroonResponse
|
|
203, // 316: lnrpc.Lightning.ListMacaroonIDs:output_type -> lnrpc.ListMacaroonIDsResponse
|
|
205, // 317: lnrpc.Lightning.DeleteMacaroonID:output_type -> lnrpc.DeleteMacaroonIDResponse
|
|
208, // 318: lnrpc.Lightning.ListPermissions:output_type -> lnrpc.ListPermissionsResponse
|
|
214, // 319: lnrpc.Lightning.CheckMacaroonPermissions:output_type -> lnrpc.CheckMacPermResponse
|
|
215, // 320: lnrpc.Lightning.RegisterRPCMiddleware:output_type -> lnrpc.RPCMiddlewareRequest
|
|
26, // 321: lnrpc.Lightning.SendCustomMessage:output_type -> lnrpc.SendCustomMessageResponse
|
|
24, // 322: lnrpc.Lightning.SubscribeCustomMessages:output_type -> lnrpc.CustomMessage
|
|
67, // 323: lnrpc.Lightning.ListAliases:output_type -> lnrpc.ListAliasesResponse
|
|
22, // 324: lnrpc.Lightning.LookupHtlcResolution:output_type -> lnrpc.LookupHtlcResolutionResponse
|
|
257, // [257:325] is the sub-list for method output_type
|
|
189, // [189:257] is the sub-list for method input_type
|
|
189, // [189:189] is the sub-list for extension type_name
|
|
189, // [189:189] is the sub-list for extension extendee
|
|
0, // [0:189] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_lightning_proto_init() }
|
|
func file_lightning_proto_init() {
|
|
if File_lightning_proto != nil {
|
|
return
|
|
}
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_lightning_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*LookupHtlcResolutionRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*LookupHtlcResolutionResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SubscribeCustomMessagesRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CustomMessage); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SendCustomMessageRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SendCustomMessageResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Utxo); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*OutputDetail); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Transaction); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetTransactionsRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*TransactionDetails); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*FeeLimit); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SendRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SendResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SendToRouteRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ChannelAcceptRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ChannelAcceptResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ChannelPoint); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*OutPoint); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PreviousOutPoint); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*LightningAddress); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*EstimateFeeRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*EstimateFeeResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SendManyRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SendManyResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SendCoinsRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SendCoinsResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ListUnspentRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ListUnspentResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*NewAddressRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*NewAddressResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SignMessageRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SignMessageResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*VerifyMessageRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*VerifyMessageResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ConnectPeerRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ConnectPeerResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DisconnectPeerRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DisconnectPeerResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*HTLC); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ChannelConstraints); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Channel); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ListChannelsRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ListChannelsResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AliasMap); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ListAliasesRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ListAliasesResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ChannelCloseSummary); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Resolution); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ClosedChannelsRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ClosedChannelsResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Peer); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*TimestampedError); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ListPeersRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ListPeersResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PeerEventSubscription); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PeerEvent); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetInfoRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetInfoResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetDebugInfoRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetDebugInfoResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetRecoveryInfoRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetRecoveryInfoResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Chain); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ConfirmationUpdate); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ChannelOpenUpdate); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ChannelCloseUpdate); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CloseChannelRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[68].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CloseStatusUpdate); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PendingUpdate); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[70].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*InstantUpdate); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[71].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ReadyForPsbtFunding); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[72].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*BatchOpenChannelRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[73].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*BatchOpenChannel); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[74].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*BatchOpenChannelResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[75].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*OpenChannelRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[76].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*OpenStatusUpdate); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[77].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*KeyLocator); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[78].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*KeyDescriptor); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[79].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ChanPointShim); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[80].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PsbtShim); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[81].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*FundingShim); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[82].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*FundingShimCancel); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[83].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*FundingPsbtVerify); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[84].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*FundingPsbtFinalize); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[85].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*FundingTransitionMsg); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[86].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*FundingStateStepResp); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[87].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PendingHTLC); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[88].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PendingChannelsRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[89].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PendingChannelsResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[90].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ChannelEventSubscription); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[91].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ChannelEventUpdate); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[92].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*WalletAccountBalance); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[93].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*WalletBalanceRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[94].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*WalletBalanceResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[95].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Amount); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[96].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ChannelBalanceRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[97].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ChannelBalanceResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[98].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*QueryRoutesRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[99].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*NodePair); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[100].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*EdgeLocator); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[101].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*QueryRoutesResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[102].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Hop); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[103].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*MPPRecord); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[104].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AMPRecord); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[105].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Route); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[106].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*NodeInfoRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[107].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*NodeInfo); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[108].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*LightningNode); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[109].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*NodeAddress); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[110].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*RoutingPolicy); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[111].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ChannelEdge); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[112].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ChannelGraphRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[113].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ChannelGraph); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[114].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*NodeMetricsRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[115].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*NodeMetricsResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[116].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*FloatMetric); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[117].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ChanInfoRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[118].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*NetworkInfoRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[119].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*NetworkInfo); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[120].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*StopRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[121].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*StopResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[122].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GraphTopologySubscription); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[123].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GraphTopologyUpdate); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[124].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*NodeUpdate); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[125].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ChannelEdgeUpdate); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[126].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ClosedChannelUpdate); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[127].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*HopHint); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[128].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SetID); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[129].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*RouteHint); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[130].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*BlindedPaymentPath); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[131].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*BlindedPath); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[132].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*BlindedHop); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[133].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AMPInvoiceState); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[134].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Invoice); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[135].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*BlindedPathConfig); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[136].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*InvoiceHTLC); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[137].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AMP); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[138].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AddInvoiceResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[139].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PaymentHash); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[140].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ListInvoiceRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[141].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ListInvoiceResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[142].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*InvoiceSubscription); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[143].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Payment); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[144].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*HTLCAttempt); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[145].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ListPaymentsRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[146].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ListPaymentsResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[147].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DeletePaymentRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[148].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DeleteAllPaymentsRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[149].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DeletePaymentResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[150].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DeleteAllPaymentsResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[151].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AbandonChannelRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[152].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*AbandonChannelResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[153].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DebugLevelRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[154].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DebugLevelResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[155].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PayReqString); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[156].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PayReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[157].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Feature); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[158].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*FeeReportRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[159].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ChannelFeeReport); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[160].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*FeeReportResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[161].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*InboundFee); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[162].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PolicyUpdateRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[163].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*FailedUpdate); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[164].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PolicyUpdateResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[165].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ForwardingHistoryRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[166].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ForwardingEvent); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[167].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ForwardingHistoryResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[168].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ExportChannelBackupRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[169].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ChannelBackup); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[170].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*MultiChanBackup); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[171].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ChanBackupExportRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[172].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ChanBackupSnapshot); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[173].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ChannelBackups); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[174].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*RestoreChanBackupRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[175].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*RestoreBackupResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[176].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ChannelBackupSubscription); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[177].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*VerifyChanBackupResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[178].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*MacaroonPermission); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[179].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*BakeMacaroonRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[180].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*BakeMacaroonResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[181].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ListMacaroonIDsRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[182].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ListMacaroonIDsResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[183].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DeleteMacaroonIDRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[184].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DeleteMacaroonIDResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[185].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*MacaroonPermissionList); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[186].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ListPermissionsRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[187].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ListPermissionsResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[188].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Failure); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[189].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ChannelUpdate); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[190].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*MacaroonId); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[191].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Op); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[192].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CheckMacPermRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[193].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CheckMacPermResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[194].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*RPCMiddlewareRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[195].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*StreamAuth); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[196].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*RPCMessage); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[197].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*RPCMiddlewareResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[198].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*MiddlewareRegistration); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[199].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*InterceptFeedback); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[206].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PendingChannelsResponse_PendingChannel); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[207].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PendingChannelsResponse_PendingOpenChannel); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[208].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PendingChannelsResponse_WaitingCloseChannel); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[209].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PendingChannelsResponse_Commitments); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[210].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PendingChannelsResponse_ClosedChannel); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[211].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*PendingChannelsResponse_ForceClosedChannel); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
}
|
|
file_lightning_proto_msgTypes[11].OneofWrappers = []interface{}{
|
|
(*FeeLimit_Fixed)(nil),
|
|
(*FeeLimit_FixedMsat)(nil),
|
|
(*FeeLimit_Percent)(nil),
|
|
}
|
|
file_lightning_proto_msgTypes[17].OneofWrappers = []interface{}{
|
|
(*ChannelPoint_FundingTxidBytes)(nil),
|
|
(*ChannelPoint_FundingTxidStr)(nil),
|
|
}
|
|
file_lightning_proto_msgTypes[68].OneofWrappers = []interface{}{
|
|
(*CloseStatusUpdate_ClosePending)(nil),
|
|
(*CloseStatusUpdate_ChanClose)(nil),
|
|
(*CloseStatusUpdate_CloseInstant)(nil),
|
|
}
|
|
file_lightning_proto_msgTypes[76].OneofWrappers = []interface{}{
|
|
(*OpenStatusUpdate_ChanPending)(nil),
|
|
(*OpenStatusUpdate_ChanOpen)(nil),
|
|
(*OpenStatusUpdate_PsbtFund)(nil),
|
|
}
|
|
file_lightning_proto_msgTypes[81].OneofWrappers = []interface{}{
|
|
(*FundingShim_ChanPointShim)(nil),
|
|
(*FundingShim_PsbtShim)(nil),
|
|
}
|
|
file_lightning_proto_msgTypes[85].OneofWrappers = []interface{}{
|
|
(*FundingTransitionMsg_ShimRegister)(nil),
|
|
(*FundingTransitionMsg_ShimCancel)(nil),
|
|
(*FundingTransitionMsg_PsbtVerify)(nil),
|
|
(*FundingTransitionMsg_PsbtFinalize)(nil),
|
|
}
|
|
file_lightning_proto_msgTypes[91].OneofWrappers = []interface{}{
|
|
(*ChannelEventUpdate_OpenChannel)(nil),
|
|
(*ChannelEventUpdate_ClosedChannel)(nil),
|
|
(*ChannelEventUpdate_ActiveChannel)(nil),
|
|
(*ChannelEventUpdate_InactiveChannel)(nil),
|
|
(*ChannelEventUpdate_PendingOpenChannel)(nil),
|
|
(*ChannelEventUpdate_FullyResolvedChannel)(nil),
|
|
}
|
|
file_lightning_proto_msgTypes[135].OneofWrappers = []interface{}{}
|
|
file_lightning_proto_msgTypes[162].OneofWrappers = []interface{}{
|
|
(*PolicyUpdateRequest_Global)(nil),
|
|
(*PolicyUpdateRequest_ChanPoint)(nil),
|
|
}
|
|
file_lightning_proto_msgTypes[174].OneofWrappers = []interface{}{
|
|
(*RestoreChanBackupRequest_ChanBackups)(nil),
|
|
(*RestoreChanBackupRequest_MultiChanBackup)(nil),
|
|
}
|
|
file_lightning_proto_msgTypes[194].OneofWrappers = []interface{}{
|
|
(*RPCMiddlewareRequest_StreamAuth)(nil),
|
|
(*RPCMiddlewareRequest_Request)(nil),
|
|
(*RPCMiddlewareRequest_Response)(nil),
|
|
(*RPCMiddlewareRequest_RegComplete)(nil),
|
|
}
|
|
file_lightning_proto_msgTypes[197].OneofWrappers = []interface{}{
|
|
(*RPCMiddlewareResponse_Register)(nil),
|
|
(*RPCMiddlewareResponse_Feedback)(nil),
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_lightning_proto_rawDesc,
|
|
NumEnums: 21,
|
|
NumMessages: 226,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_lightning_proto_goTypes,
|
|
DependencyIndexes: file_lightning_proto_depIdxs,
|
|
EnumInfos: file_lightning_proto_enumTypes,
|
|
MessageInfos: file_lightning_proto_msgTypes,
|
|
}.Build()
|
|
File_lightning_proto = out.File
|
|
file_lightning_proto_rawDesc = nil
|
|
file_lightning_proto_goTypes = nil
|
|
file_lightning_proto_depIdxs = nil
|
|
}
|