From 44e312ace9821f751ebe5f98cbb011a21382766c Mon Sep 17 00:00:00 2001 From: Andras Banki-Horvath Date: Tue, 9 Feb 2021 17:56:42 +0100 Subject: [PATCH 01/18] etcd: remove (unused) etcd root bucket prefix This commit removes the unused prefix from the etcd backend config as etcd key space separation in LND is implemented by using namespaces instead. --- channeldb/kvdb/etcd/db.go | 17 ++++++++--------- channeldb/kvdb/kvdb_etcd.go | 5 ++--- channeldb/kvdb/kvdb_no_etcd.go | 4 ++-- config.go | 4 ---- lncfg/db.go | 9 +++------ lnd.go | 4 +--- 6 files changed, 16 insertions(+), 27 deletions(-) diff --git a/channeldb/kvdb/etcd/db.go b/channeldb/kvdb/etcd/db.go index 73a603e1b..2c31e6a2c 100644 --- a/channeldb/kvdb/etcd/db.go +++ b/channeldb/kvdb/etcd/db.go @@ -23,6 +23,10 @@ const ( // etcdLongTimeout is a timeout for longer taking etcd operatons. etcdLongTimeout = 30 * time.Second + + // etcdDefaultRootBucketId is used as the root bucket key. Note that + // the actual key is not visible, since all bucket keys are hashed. + etcdDefaultRootBucketId = "@" ) // callerStats holds commit stats for a specific caller. Currently it only @@ -152,11 +156,6 @@ type BackendConfig struct { // skip TLS verification. InsecureSkipVerify bool - // Prefix the hash of the prefix will be used as the root - // bucket id. This enables key space separation similar to - // name spaces. - Prefix string - // Namespace is the etcd namespace that we'll use for all keys. Namespace string @@ -243,7 +242,7 @@ func (db *db) getSTMOptions() []STMOptionFunc { func (db *db) View(f func(tx walletdb.ReadTx) error, reset func()) error { apply := func(stm STM) error { reset() - return f(newReadWriteTx(stm, db.config.Prefix)) + return f(newReadWriteTx(stm, etcdDefaultRootBucketId)) } return RunSTM(db.cli, apply, db.txQueue, db.getSTMOptions()...) @@ -259,7 +258,7 @@ func (db *db) View(f func(tx walletdb.ReadTx) error, reset func()) error { func (db *db) Update(f func(tx walletdb.ReadWriteTx) error, reset func()) error { apply := func(stm STM) error { reset() - return f(newReadWriteTx(stm, db.config.Prefix)) + return f(newReadWriteTx(stm, etcdDefaultRootBucketId)) } return RunSTM(db.cli, apply, db.txQueue, db.getSTMOptions()...) @@ -278,7 +277,7 @@ func (db *db) PrintStats() string { func (db *db) BeginReadWriteTx() (walletdb.ReadWriteTx, error) { return newReadWriteTx( NewSTM(db.cli, db.txQueue, db.getSTMOptions()...), - db.config.Prefix, + etcdDefaultRootBucketId, ), nil } @@ -286,7 +285,7 @@ func (db *db) BeginReadWriteTx() (walletdb.ReadWriteTx, error) { func (db *db) BeginReadTx() (walletdb.ReadTx, error) { return newReadWriteTx( NewSTM(db.cli, db.txQueue, db.getSTMOptions()...), - db.config.Prefix, + etcdDefaultRootBucketId, ), nil } diff --git a/channeldb/kvdb/kvdb_etcd.go b/channeldb/kvdb/kvdb_etcd.go index 671ce90eb..b48b0e5f8 100644 --- a/channeldb/kvdb/kvdb_etcd.go +++ b/channeldb/kvdb/kvdb_etcd.go @@ -14,8 +14,8 @@ const TestBackend = EtcdBackendName // GetEtcdBackend returns an etcd backend configured according to the // passed etcdConfig. -func GetEtcdBackend(ctx context.Context, prefix string, - etcdConfig *EtcdConfig) (Backend, error) { +func GetEtcdBackend(ctx context.Context, etcdConfig *EtcdConfig) ( + Backend, error) { // Config translation is needed here in order to keep the // etcd package fully independent from the rest of the source tree. @@ -28,7 +28,6 @@ func GetEtcdBackend(ctx context.Context, prefix string, CertFile: etcdConfig.CertFile, KeyFile: etcdConfig.KeyFile, InsecureSkipVerify: etcdConfig.InsecureSkipVerify, - Prefix: prefix, Namespace: etcdConfig.Namespace, CollectCommitStats: etcdConfig.CollectStats, } diff --git a/channeldb/kvdb/kvdb_no_etcd.go b/channeldb/kvdb/kvdb_no_etcd.go index 373daeb4d..7dfcb307f 100644 --- a/channeldb/kvdb/kvdb_no_etcd.go +++ b/channeldb/kvdb/kvdb_no_etcd.go @@ -14,8 +14,8 @@ const TestBackend = BoltBackendName var errEtcdNotAvailable = fmt.Errorf("etcd backend not available") // GetEtcdBackend is a stub returning nil and errEtcdNotAvailable error. -func GetEtcdBackend(ctx context.Context, prefix string, - etcdConfig *EtcdConfig) (Backend, error) { +func GetEtcdBackend(ctx context.Context, etcdConfig *EtcdConfig) ( + Backend, error) { return nil, errEtcdNotAvailable } diff --git a/config.go b/config.go index a9ab511d3..f96e57cd7 100644 --- a/config.go +++ b/config.go @@ -1398,10 +1398,6 @@ func (c *Config) localDatabaseDir() string { lncfg.NormalizeNetwork(c.ActiveNetParams.Name)) } -func (c *Config) networkName() string { - return lncfg.NormalizeNetwork(c.ActiveNetParams.Name) -} - // CleanAndExpandPath expands environment variables and leading ~ in the // passed path, cleans the result, and returns it. // This function is taken from https://github.com/btcsuite/btcd diff --git a/lncfg/db.go b/lncfg/db.go index ead5b20fe..9f0f7fcaf 100644 --- a/lncfg/db.go +++ b/lncfg/db.go @@ -73,8 +73,8 @@ type DatabaseBackends struct { // GetBackends returns a set of kvdb.Backends as set in the DB config. The // local database will ALWAYS be non-nil, while the remote database will only // be populated if etcd is specified. -func (db *DB) GetBackends(ctx context.Context, dbPath string, - networkName string) (*DatabaseBackends, error) { +func (db *DB) GetBackends(ctx context.Context, dbPath string) ( + *DatabaseBackends, error) { var ( localDB, remoteDB kvdb.Backend @@ -88,10 +88,7 @@ func (db *DB) GetBackends(ctx context.Context, dbPath string, db.Etcd.EmbeddedPeerPort, ) } else { - // Prefix will separate key/values in the db. - remoteDB, err = kvdb.GetEtcdBackend( - ctx, networkName, db.Etcd, - ) + remoteDB, err = kvdb.GetEtcdBackend(ctx, db.Etcd) } if err != nil { return nil, err diff --git a/lnd.go b/lnd.go index 14e76eb33..bebc8e9a6 100644 --- a/lnd.go +++ b/lnd.go @@ -1455,9 +1455,7 @@ func initializeDatabases(ctx context.Context, startOpenTime := time.Now() - databaseBackends, err := cfg.DB.GetBackends( - ctx, cfg.localDatabaseDir(), cfg.networkName(), - ) + databaseBackends, err := cfg.DB.GetBackends(ctx, cfg.localDatabaseDir()) if err != nil { return nil, nil, nil, fmt.Errorf("unable to obtain database "+ "backends: %v", err) From 6757e14998bb55f2cefd04472641eafa7f959aff Mon Sep 17 00:00:00 2001 From: Andras Banki-Horvath Date: Tue, 9 Feb 2021 20:19:31 +0100 Subject: [PATCH 02/18] etcd: refactors to simplify etcd configuration This refactor removes a redundancy where we had etcd configuration under kvdb and kvdb/etcd packages. --- channeldb/kvdb/config.go | 27 ------- channeldb/kvdb/etcd/bucket_test.go | 4 +- channeldb/kvdb/etcd/config.go | 28 +++++++ channeldb/kvdb/etcd/db.go | 78 +++++-------------- channeldb/kvdb/etcd/db_test.go | 5 +- channeldb/kvdb/etcd/driver.go | 35 ++++++--- channeldb/kvdb/etcd/embed.go | 9 +-- channeldb/kvdb/etcd/fixture_test.go | 6 +- channeldb/kvdb/etcd/readwrite_bucket_test.go | 15 ++-- channeldb/kvdb/etcd/readwrite_cursor_test.go | 9 ++- channeldb/kvdb/etcd/readwrite_tx_test.go | 9 ++- channeldb/kvdb/etcd/stm_test.go | 36 ++++++--- .../kvdb/etcd/walletdb_interface_test.go | 4 +- channeldb/kvdb/kvdb_etcd.go | 21 +---- channeldb/kvdb/kvdb_no_etcd.go | 4 +- lncfg/db.go | 3 +- 16 files changed, 136 insertions(+), 157 deletions(-) create mode 100644 channeldb/kvdb/etcd/config.go diff --git a/channeldb/kvdb/config.go b/channeldb/kvdb/config.go index aca389aeb..a156c8aa4 100644 --- a/channeldb/kvdb/config.go +++ b/channeldb/kvdb/config.go @@ -33,30 +33,3 @@ type BoltConfig struct { DBTimeout time.Duration `long:"dbtimeout" description:"Specify the timeout value used when opening the database."` } - -// EtcdConfig holds etcd configuration. -type EtcdConfig struct { - Embedded bool `long:"embedded" description:"Use embedded etcd instance instead of the external one. Note: use for testing only."` - - EmbeddedClientPort uint16 `long:"embedded_client_port" description:"Client port to use for the embedded instance. Note: use for testing only."` - - EmbeddedPeerPort uint16 `long:"embedded_peer_port" description:"Peer port to use for the embedded instance. Note: use for testing only."` - - Host string `long:"host" description:"Etcd database host."` - - User string `long:"user" description:"Etcd database user."` - - Pass string `long:"pass" description:"Password for the database user."` - - Namespace string `long:"namespace" description:"The etcd namespace to use."` - - DisableTLS bool `long:"disabletls" description:"Disable TLS for etcd connection. Caution: use for development only."` - - CertFile string `long:"cert_file" description:"Path to the TLS certificate for etcd RPC."` - - KeyFile string `long:"key_file" description:"Path to the TLS private key for etcd RPC."` - - InsecureSkipVerify bool `long:"insecure_skip_verify" description:"Whether we intend to skip TLS verification"` - - CollectStats bool `long:"collect_stats" description:"Whether to collect etcd commit stats."` -} diff --git a/channeldb/kvdb/etcd/bucket_test.go b/channeldb/kvdb/etcd/bucket_test.go index e68821f1e..6a97a9b82 100644 --- a/channeldb/kvdb/etcd/bucket_test.go +++ b/channeldb/kvdb/etcd/bucket_test.go @@ -7,7 +7,7 @@ package etcd func bkey(buckets ...string) string { var bucketKey []byte - rootID := makeBucketID([]byte("")) + rootID := makeBucketID([]byte(etcdDefaultRootBucketId)) parent := rootID[:] for _, bucketName := range buckets { @@ -29,7 +29,7 @@ func bval(buckets ...string) string { // vkey is a helper function used in tests to create a value key from the // passed key and bucket list. func vkey(key string, buckets ...string) string { - rootID := makeBucketID([]byte("")) + rootID := makeBucketID([]byte(etcdDefaultRootBucketId)) bucket := rootID[:] for _, bucketName := range buckets { diff --git a/channeldb/kvdb/etcd/config.go b/channeldb/kvdb/etcd/config.go new file mode 100644 index 000000000..5869438c3 --- /dev/null +++ b/channeldb/kvdb/etcd/config.go @@ -0,0 +1,28 @@ +package etcd + +// Config holds etcd configuration alongside with configuration related to our higher level interface. +type Config struct { + Embedded bool `long:"embedded" description:"Use embedded etcd instance instead of the external one. Note: use for testing only."` + + EmbeddedClientPort uint16 `long:"embedded_client_port" description:"Client port to use for the embedded instance. Note: use for testing only."` + + EmbeddedPeerPort uint16 `long:"embedded_peer_port" description:"Peer port to use for the embedded instance. Note: use for testing only."` + + Host string `long:"host" description:"Etcd database host."` + + User string `long:"user" description:"Etcd database user."` + + Pass string `long:"pass" description:"Password for the database user."` + + Namespace string `long:"namespace" description:"The etcd namespace to use."` + + DisableTLS bool `long:"disabletls" description:"Disable TLS for etcd connection. Caution: use for development only."` + + CertFile string `long:"cert_file" description:"Path to the TLS certificate for etcd RPC."` + + KeyFile string `long:"key_file" description:"Path to the TLS private key for etcd RPC."` + + InsecureSkipVerify bool `long:"insecure_skip_verify" description:"Whether we intend to skip TLS verification"` + + CollectStats bool `long:"collect_stats" description:"Whether to collect etcd commit stats."` +} diff --git a/channeldb/kvdb/etcd/db.go b/channeldb/kvdb/etcd/db.go index 2c31e6a2c..b2e6390e9 100644 --- a/channeldb/kvdb/etcd/db.go +++ b/channeldb/kvdb/etcd/db.go @@ -120,7 +120,8 @@ func (c *commitStatsCollector) callback(succ bool, stats CommitStats) { // db holds a reference to the etcd client connection. type db struct { - config BackendConfig + cfg Config + ctx context.Context cli *clientv3.Client commitStatsCollector *commitStatsCollector txQueue *commitQueue @@ -129,61 +130,23 @@ type db struct { // Enforce db implements the walletdb.DB interface. var _ walletdb.DB = (*db)(nil) -// BackendConfig holds and etcd backend config and connection parameters. -type BackendConfig struct { - // Ctx is the context we use to cancel operations upon exit. - Ctx context.Context - - // Host holds the peer url of the etcd instance. - Host string - - // User is the username for the etcd peer. - User string - - // Pass is the password for the etcd peer. - Pass string - - // DisableTLS disables the use of TLS for etcd connections. - DisableTLS bool - - // CertFile holds the path to the TLS certificate for etcd RPC. - CertFile string - - // KeyFile holds the path to the TLS private key for etcd RPC. - KeyFile string - - // InsecureSkipVerify should be set to true if we intend to - // skip TLS verification. - InsecureSkipVerify bool - - // Namespace is the etcd namespace that we'll use for all keys. - Namespace string - - // CollectCommitStats indicates wheter to commit commit stats. - CollectCommitStats bool -} - // newEtcdBackend returns a db object initialized with the passed backend // config. If etcd connection cannot be estabished, then returns error. -func newEtcdBackend(config BackendConfig) (*db, error) { - if config.Ctx == nil { - config.Ctx = context.Background() - } - +func newEtcdBackend(ctx context.Context, cfg Config) (*db, error) { clientCfg := clientv3.Config{ - Context: config.Ctx, - Endpoints: []string{config.Host}, + Context: ctx, + Endpoints: []string{cfg.Host}, DialTimeout: etcdConnectionTimeout, - Username: config.User, - Password: config.Pass, + Username: cfg.User, + Password: cfg.Pass, MaxCallSendMsgSize: 16384*1024 - 1, } - if !config.DisableTLS { + if !cfg.DisableTLS { tlsInfo := transport.TLSInfo{ - CertFile: config.CertFile, - KeyFile: config.KeyFile, - InsecureSkipVerify: config.InsecureSkipVerify, + CertFile: cfg.CertFile, + KeyFile: cfg.KeyFile, + InsecureSkipVerify: cfg.InsecureSkipVerify, } tlsConfig, err := tlsInfo.ClientConfig() @@ -200,17 +163,18 @@ func newEtcdBackend(config BackendConfig) (*db, error) { } // Apply the namespace. - cli.KV = namespace.NewKV(cli.KV, config.Namespace) - cli.Watcher = namespace.NewWatcher(cli.Watcher, config.Namespace) - cli.Lease = namespace.NewLease(cli.Lease, config.Namespace) + cli.KV = namespace.NewKV(cli.KV, cfg.Namespace) + cli.Watcher = namespace.NewWatcher(cli.Watcher, cfg.Namespace) + cli.Lease = namespace.NewLease(cli.Lease, cfg.Namespace) backend := &db{ + cfg: cfg, + ctx: ctx, cli: cli, - config: config, - txQueue: NewCommitQueue(config.Ctx), + txQueue: NewCommitQueue(ctx), } - if config.CollectCommitStats { + if cfg.CollectStats { backend.commitStatsCollector = newCommitStatsColletor() } @@ -220,10 +184,10 @@ func newEtcdBackend(config BackendConfig) (*db, error) { // getSTMOptions creats all STM options based on the backend config. func (db *db) getSTMOptions() []STMOptionFunc { opts := []STMOptionFunc{ - WithAbortContext(db.config.Ctx), + WithAbortContext(db.ctx), } - if db.config.CollectCommitStats { + if db.cfg.CollectStats { opts = append(opts, WithCommitStatsCallback(db.commitStatsCollector.callback), ) @@ -293,7 +257,7 @@ func (db *db) BeginReadTx() (walletdb.ReadTx, error) { // start a read-only transaction to perform all operations. // This function is part of the walletdb.Db interface implementation. func (db *db) Copy(w io.Writer) error { - ctx, cancel := context.WithTimeout(db.config.Ctx, etcdLongTimeout) + ctx, cancel := context.WithTimeout(db.ctx, etcdLongTimeout) defer cancel() readCloser, err := db.cli.Snapshot(ctx) diff --git a/channeldb/kvdb/etcd/db_test.go b/channeldb/kvdb/etcd/db_test.go index 191c35ab0..7d0c10bec 100644 --- a/channeldb/kvdb/etcd/db_test.go +++ b/channeldb/kvdb/etcd/db_test.go @@ -17,7 +17,7 @@ func TestCopy(t *testing.T) { f := NewEtcdTestFixture(t) defer f.Cleanup() - db, err := newEtcdBackend(f.BackendConfig()) + db, err := newEtcdBackend(context.TODO(), f.BackendConfig()) require.NoError(t, err) err = db.Update(func(tx walletdb.ReadWriteTx) error { @@ -53,10 +53,9 @@ func TestAbortContext(t *testing.T) { ctx, cancel := context.WithCancel(context.Background()) config := f.BackendConfig() - config.Ctx = ctx // Pass abort context and abort right away. - db, err := newEtcdBackend(config) + db, err := newEtcdBackend(ctx, config) require.NoError(t, err) cancel() diff --git a/channeldb/kvdb/etcd/driver.go b/channeldb/kvdb/etcd/driver.go index 8e313fc61..39a9deb99 100644 --- a/channeldb/kvdb/etcd/driver.go +++ b/channeldb/kvdb/etcd/driver.go @@ -3,6 +3,7 @@ package etcd import ( + "context" "fmt" "github.com/btcsuite/btcwallet/walletdb" @@ -13,45 +14,55 @@ const ( ) // parseArgs parses the arguments from the walletdb Open/Create methods. -func parseArgs(funcName string, args ...interface{}) (*BackendConfig, error) { - if len(args) != 1 { - return nil, fmt.Errorf("invalid number of arguments to %s.%s -- "+ - "expected: etcd.BackendConfig", +func parseArgs(funcName string, args ...interface{}) (context.Context, + *Config, error) { + + if len(args) != 2 { + return nil, nil, fmt.Errorf("invalid number of arguments to "+ + "%s.%s -- expected: context.Context, etcd.Config", dbType, funcName, ) } - config, ok := args[0].(BackendConfig) + ctx, ok := args[0].(context.Context) if !ok { - return nil, fmt.Errorf("argument to %s.%s is invalid -- "+ - "expected: etcd.BackendConfig", + return nil, nil, fmt.Errorf("argument 0 to %s.%s is invalid "+ + "-- expected: context.Context", dbType, funcName, ) } - return &config, nil + config, ok := args[1].(*Config) + if !ok { + return nil, nil, fmt.Errorf("argument 1 to %s.%s is invalid -- "+ + "expected: etcd.Config", + dbType, funcName, + ) + } + + return ctx, config, nil } // createDBDriver is the callback provided during driver registration that // creates, initializes, and opens a database for use. func createDBDriver(args ...interface{}) (walletdb.DB, error) { - config, err := parseArgs("Create", args...) + ctx, config, err := parseArgs("Create", args...) if err != nil { return nil, err } - return newEtcdBackend(*config) + return newEtcdBackend(ctx, *config) } // openDBDriver is the callback provided during driver registration that opens // an existing database for use. func openDBDriver(args ...interface{}) (walletdb.DB, error) { - config, err := parseArgs("Open", args...) + ctx, config, err := parseArgs("Open", args...) if err != nil { return nil, err } - return newEtcdBackend(*config) + return newEtcdBackend(ctx, *config) } func init() { diff --git a/channeldb/kvdb/etcd/embed.go b/channeldb/kvdb/etcd/embed.go index 5b744bc02..0de87c0b3 100644 --- a/channeldb/kvdb/etcd/embed.go +++ b/channeldb/kvdb/etcd/embed.go @@ -3,7 +3,6 @@ package etcd import ( - "context" "fmt" "net" "net/url" @@ -62,7 +61,7 @@ func getFreePort() int { // listening on random open ports. Returns the backend config and a cleanup // func that will stop the etcd instance. func NewEmbeddedEtcdInstance(path string, clientPort, peerPort uint16) ( - *BackendConfig, func(), error) { + *Config, func(), error) { cfg := embed.NewConfig() cfg.Dir = path @@ -98,10 +97,7 @@ func NewEmbeddedEtcdInstance(path string, clientPort, peerPort uint16) ( fmt.Errorf("etcd failed to start after: %v", readyTimeout) } - ctx, cancel := context.WithCancel(context.Background()) - - connConfig := &BackendConfig{ - Ctx: ctx, + connConfig := &Config{ Host: "http://" + peerURL, User: "user", Pass: "pass", @@ -110,7 +106,6 @@ func NewEmbeddedEtcdInstance(path string, clientPort, peerPort uint16) ( } return connConfig, func() { - cancel() etcd.Close() }, nil } diff --git a/channeldb/kvdb/etcd/fixture_test.go b/channeldb/kvdb/etcd/fixture_test.go index 2fa0045f9..797aadf6d 100644 --- a/channeldb/kvdb/etcd/fixture_test.go +++ b/channeldb/kvdb/etcd/fixture_test.go @@ -22,14 +22,14 @@ const ( type EtcdTestFixture struct { t *testing.T cli *clientv3.Client - config *BackendConfig + config *Config cleanup func() } // NewTestEtcdInstance creates an embedded etcd instance for testing, listening // on random open ports. Returns the connection config and a cleanup func that // will stop the etcd instance. -func NewTestEtcdInstance(t *testing.T, path string) (*BackendConfig, func()) { +func NewTestEtcdInstance(t *testing.T, path string) (*Config, func()) { t.Helper() config, cleanup, err := NewEmbeddedEtcdInstance(path, 0, 0) @@ -124,7 +124,7 @@ func (f *EtcdTestFixture) Dump() map[string]string { // BackendConfig returns the backend config for connecting to theembedded // etcd instance. -func (f *EtcdTestFixture) BackendConfig() BackendConfig { +func (f *EtcdTestFixture) BackendConfig() Config { return *f.config } diff --git a/channeldb/kvdb/etcd/readwrite_bucket_test.go b/channeldb/kvdb/etcd/readwrite_bucket_test.go index 085d6e6d6..b630e5ee0 100644 --- a/channeldb/kvdb/etcd/readwrite_bucket_test.go +++ b/channeldb/kvdb/etcd/readwrite_bucket_test.go @@ -3,6 +3,7 @@ package etcd import ( + "context" "fmt" "math" "testing" @@ -17,7 +18,7 @@ func TestBucketCreation(t *testing.T) { f := NewEtcdTestFixture(t) defer f.Cleanup() - db, err := newEtcdBackend(f.BackendConfig()) + db, err := newEtcdBackend(context.TODO(), f.BackendConfig()) require.NoError(t, err) err = db.Update(func(tx walletdb.ReadWriteTx) error { @@ -98,7 +99,7 @@ func TestBucketDeletion(t *testing.T) { f := NewEtcdTestFixture(t) defer f.Cleanup() - db, err := newEtcdBackend(f.BackendConfig()) + db, err := newEtcdBackend(context.TODO(), f.BackendConfig()) require.NoError(t, err) err = db.Update(func(tx walletdb.ReadWriteTx) error { @@ -208,7 +209,7 @@ func TestBucketForEach(t *testing.T) { f := NewEtcdTestFixture(t) defer f.Cleanup() - db, err := newEtcdBackend(f.BackendConfig()) + db, err := newEtcdBackend(context.TODO(), f.BackendConfig()) require.NoError(t, err) err = db.Update(func(tx walletdb.ReadWriteTx) error { @@ -284,7 +285,7 @@ func TestBucketForEachWithError(t *testing.T) { f := NewEtcdTestFixture(t) defer f.Cleanup() - db, err := newEtcdBackend(f.BackendConfig()) + db, err := newEtcdBackend(context.TODO(), f.BackendConfig()) require.NoError(t, err) err = db.Update(func(tx walletdb.ReadWriteTx) error { @@ -374,7 +375,7 @@ func TestBucketSequence(t *testing.T) { f := NewEtcdTestFixture(t) defer f.Cleanup() - db, err := newEtcdBackend(f.BackendConfig()) + db, err := newEtcdBackend(context.TODO(), f.BackendConfig()) require.NoError(t, err) err = db.Update(func(tx walletdb.ReadWriteTx) error { @@ -413,7 +414,7 @@ func TestKeyClash(t *testing.T) { f := NewEtcdTestFixture(t) defer f.Cleanup() - db, err := newEtcdBackend(f.BackendConfig()) + db, err := newEtcdBackend(context.TODO(), f.BackendConfig()) require.NoError(t, err) // First: @@ -481,7 +482,7 @@ func TestBucketCreateDelete(t *testing.T) { f := NewEtcdTestFixture(t) defer f.Cleanup() - db, err := newEtcdBackend(f.BackendConfig()) + db, err := newEtcdBackend(context.TODO(), f.BackendConfig()) require.NoError(t, err) err = db.Update(func(tx walletdb.ReadWriteTx) error { diff --git a/channeldb/kvdb/etcd/readwrite_cursor_test.go b/channeldb/kvdb/etcd/readwrite_cursor_test.go index 09d4bf7b8..ce524f803 100644 --- a/channeldb/kvdb/etcd/readwrite_cursor_test.go +++ b/channeldb/kvdb/etcd/readwrite_cursor_test.go @@ -3,6 +3,7 @@ package etcd import ( + "context" "testing" "github.com/btcsuite/btcwallet/walletdb" @@ -15,7 +16,7 @@ func TestReadCursorEmptyInterval(t *testing.T) { f := NewEtcdTestFixture(t) defer f.Cleanup() - db, err := newEtcdBackend(f.BackendConfig()) + db, err := newEtcdBackend(context.TODO(), f.BackendConfig()) require.NoError(t, err) err = db.Update(func(tx walletdb.ReadWriteTx) error { @@ -59,7 +60,7 @@ func TestReadCursorNonEmptyInterval(t *testing.T) { f := NewEtcdTestFixture(t) defer f.Cleanup() - db, err := newEtcdBackend(f.BackendConfig()) + db, err := newEtcdBackend(context.TODO(), f.BackendConfig()) require.NoError(t, err) testKeyValues := []KV{ @@ -136,7 +137,7 @@ func TestReadWriteCursor(t *testing.T) { f := NewEtcdTestFixture(t) defer f.Cleanup() - db, err := newEtcdBackend(f.BackendConfig()) + db, err := newEtcdBackend(context.TODO(), f.BackendConfig()) require.NoError(t, err) testKeyValues := []KV{ @@ -300,7 +301,7 @@ func TestReadWriteCursorWithBucketAndValue(t *testing.T) { f := NewEtcdTestFixture(t) defer f.Cleanup() - db, err := newEtcdBackend(f.BackendConfig()) + db, err := newEtcdBackend(context.TODO(), f.BackendConfig()) require.NoError(t, err) // Pre-store the first half of the interval. diff --git a/channeldb/kvdb/etcd/readwrite_tx_test.go b/channeldb/kvdb/etcd/readwrite_tx_test.go index f005b2f53..7e8c92c62 100644 --- a/channeldb/kvdb/etcd/readwrite_tx_test.go +++ b/channeldb/kvdb/etcd/readwrite_tx_test.go @@ -3,6 +3,7 @@ package etcd import ( + "context" "testing" "github.com/btcsuite/btcwallet/walletdb" @@ -15,7 +16,7 @@ func TestTxManualCommit(t *testing.T) { f := NewEtcdTestFixture(t) defer f.Cleanup() - db, err := newEtcdBackend(f.BackendConfig()) + db, err := newEtcdBackend(context.TODO(), f.BackendConfig()) require.NoError(t, err) tx, err := db.BeginReadWriteTx() @@ -55,7 +56,7 @@ func TestTxRollback(t *testing.T) { f := NewEtcdTestFixture(t) defer f.Cleanup() - db, err := newEtcdBackend(f.BackendConfig()) + db, err := newEtcdBackend(context.TODO(), f.BackendConfig()) require.NoError(t, err) tx, err := db.BeginReadWriteTx() @@ -79,7 +80,7 @@ func TestChangeDuringManualTx(t *testing.T) { f := NewEtcdTestFixture(t) defer f.Cleanup() - db, err := newEtcdBackend(f.BackendConfig()) + db, err := newEtcdBackend(context.TODO(), f.BackendConfig()) require.NoError(t, err) tx, err := db.BeginReadWriteTx() @@ -108,7 +109,7 @@ func TestChangeDuringUpdate(t *testing.T) { f := NewEtcdTestFixture(t) defer f.Cleanup() - db, err := newEtcdBackend(f.BackendConfig()) + db, err := newEtcdBackend(context.TODO(), f.BackendConfig()) require.NoError(t, err) count := 0 diff --git a/channeldb/kvdb/etcd/stm_test.go b/channeldb/kvdb/etcd/stm_test.go index cde4abf3a..a780f8626 100644 --- a/channeldb/kvdb/etcd/stm_test.go +++ b/channeldb/kvdb/etcd/stm_test.go @@ -3,6 +3,7 @@ package etcd import ( + "context" "errors" "testing" @@ -21,13 +22,16 @@ func TestPutToEmpty(t *testing.T) { t.Parallel() f := NewEtcdTestFixture(t) - txQueue := NewCommitQueue(f.config.Ctx) + ctx, cancel := context.WithCancel(context.Background()) + + txQueue := NewCommitQueue(ctx) defer func() { + cancel() f.Cleanup() txQueue.Wait() }() - db, err := newEtcdBackend(f.BackendConfig()) + db, err := newEtcdBackend(ctx, f.BackendConfig()) require.NoError(t, err) apply := func(stm STM) error { @@ -45,8 +49,11 @@ func TestGetPutDel(t *testing.T) { t.Parallel() f := NewEtcdTestFixture(t) - txQueue := NewCommitQueue(f.config.Ctx) + ctx, cancel := context.WithCancel(context.Background()) + + txQueue := NewCommitQueue(ctx) defer func() { + cancel() f.Cleanup() txQueue.Wait() }() @@ -63,7 +70,7 @@ func TestGetPutDel(t *testing.T) { f.Put(kv.key, kv.val) } - db, err := newEtcdBackend(f.BackendConfig()) + db, err := newEtcdBackend(ctx, f.BackendConfig()) require.NoError(t, err) apply := func(stm STM) error { @@ -128,8 +135,11 @@ func TestFirstLastNextPrev(t *testing.T) { t.Parallel() f := NewEtcdTestFixture(t) - txQueue := NewCommitQueue(f.config.Ctx) + ctx, cancel := context.WithCancel(context.Background()) + + txQueue := NewCommitQueue(ctx) defer func() { + cancel() f.Cleanup() txQueue.Wait() }() @@ -145,7 +155,7 @@ func TestFirstLastNextPrev(t *testing.T) { f.Put(kv.key, kv.val) } - db, err := newEtcdBackend(f.BackendConfig()) + db, err := newEtcdBackend(ctx, f.BackendConfig()) require.NoError(t, err) apply := func(stm STM) error { @@ -283,13 +293,16 @@ func TestCommitError(t *testing.T) { t.Parallel() f := NewEtcdTestFixture(t) - txQueue := NewCommitQueue(f.config.Ctx) + ctx, cancel := context.WithCancel(context.Background()) + + txQueue := NewCommitQueue(ctx) defer func() { + cancel() f.Cleanup() txQueue.Wait() }() - db, err := newEtcdBackend(f.BackendConfig()) + db, err := newEtcdBackend(ctx, f.BackendConfig()) require.NoError(t, err) // Preset DB state. @@ -328,13 +341,16 @@ func TestManualTxError(t *testing.T) { t.Parallel() f := NewEtcdTestFixture(t) - txQueue := NewCommitQueue(f.config.Ctx) + ctx, cancel := context.WithCancel(context.Background()) + + txQueue := NewCommitQueue(ctx) defer func() { + cancel() f.Cleanup() txQueue.Wait() }() - db, err := newEtcdBackend(f.BackendConfig()) + db, err := newEtcdBackend(ctx, f.BackendConfig()) require.NoError(t, err) // Preset DB state. diff --git a/channeldb/kvdb/etcd/walletdb_interface_test.go b/channeldb/kvdb/etcd/walletdb_interface_test.go index 7d4ef023a..bdf2680dd 100644 --- a/channeldb/kvdb/etcd/walletdb_interface_test.go +++ b/channeldb/kvdb/etcd/walletdb_interface_test.go @@ -3,6 +3,7 @@ package etcd import ( + "context" "testing" "github.com/btcsuite/btcwallet/walletdb/walletdbtest" @@ -13,5 +14,6 @@ import ( func TestWalletDBInterface(t *testing.T) { f := NewEtcdTestFixture(t) defer f.Cleanup() - walletdbtest.TestInterface(t, dbType, f.BackendConfig()) + cfg := f.BackendConfig() + walletdbtest.TestInterface(t, dbType, context.TODO(), &cfg) } diff --git a/channeldb/kvdb/kvdb_etcd.go b/channeldb/kvdb/kvdb_etcd.go index b48b0e5f8..95dc22a88 100644 --- a/channeldb/kvdb/kvdb_etcd.go +++ b/channeldb/kvdb/kvdb_etcd.go @@ -14,25 +14,10 @@ const TestBackend = EtcdBackendName // GetEtcdBackend returns an etcd backend configured according to the // passed etcdConfig. -func GetEtcdBackend(ctx context.Context, etcdConfig *EtcdConfig) ( +func GetEtcdBackend(ctx context.Context, etcdConfig *etcd.Config) ( Backend, error) { - // Config translation is needed here in order to keep the - // etcd package fully independent from the rest of the source tree. - backendConfig := etcd.BackendConfig{ - Ctx: ctx, - Host: etcdConfig.Host, - User: etcdConfig.User, - Pass: etcdConfig.Pass, - DisableTLS: etcdConfig.DisableTLS, - CertFile: etcdConfig.CertFile, - KeyFile: etcdConfig.KeyFile, - InsecureSkipVerify: etcdConfig.InsecureSkipVerify, - Namespace: etcdConfig.Namespace, - CollectCommitStats: etcdConfig.CollectStats, - } - - return Open(EtcdBackendName, backendConfig) + return Open(EtcdBackendName, etcdConfig) } // GetEtcdTestBackend creates an embedded etcd backend for testing @@ -49,7 +34,7 @@ func GetEtcdTestBackend(path string, clientPort, peerPort uint16) ( return nil, empty, err } - backend, err := Open(EtcdBackendName, *config) + backend, err := Open(EtcdBackendName, context.Background(), config) if err != nil { cleanup() return nil, empty, err diff --git a/channeldb/kvdb/kvdb_no_etcd.go b/channeldb/kvdb/kvdb_no_etcd.go index 7dfcb307f..4b6f8477f 100644 --- a/channeldb/kvdb/kvdb_no_etcd.go +++ b/channeldb/kvdb/kvdb_no_etcd.go @@ -5,6 +5,8 @@ package kvdb import ( "context" "fmt" + + "github.com/lightningnetwork/lnd/channeldb/kvdb/etcd" ) // TestBackend is conditionally set to bdb when the kvdb_etcd build tag is @@ -14,7 +16,7 @@ const TestBackend = BoltBackendName var errEtcdNotAvailable = fmt.Errorf("etcd backend not available") // GetEtcdBackend is a stub returning nil and errEtcdNotAvailable error. -func GetEtcdBackend(ctx context.Context, etcdConfig *EtcdConfig) ( +func GetEtcdBackend(ctx context.Context, etcdConfig *etcd.Config) ( Backend, error) { return nil, errEtcdNotAvailable diff --git a/lncfg/db.go b/lncfg/db.go index 9f0f7fcaf..3cc59f79c 100644 --- a/lncfg/db.go +++ b/lncfg/db.go @@ -6,6 +6,7 @@ import ( "time" "github.com/lightningnetwork/lnd/channeldb/kvdb" + "github.com/lightningnetwork/lnd/channeldb/kvdb/etcd" ) const ( @@ -21,7 +22,7 @@ type DB struct { BatchCommitInterval time.Duration `long:"batch-commit-interval" description:"The maximum duration the channel graph batch schedulers will wait before attempting to commit a batch of pending updates. This can be tradeoff database contenion for commit latency."` - Etcd *kvdb.EtcdConfig `group:"etcd" namespace:"etcd" description:"Etcd settings."` + Etcd *etcd.Config `group:"etcd" namespace:"etcd" description:"Etcd settings."` Bolt *kvdb.BoltConfig `group:"bolt" namespace:"bolt" description:"Bolt settings."` } From 9992e5c0b5523975f4a16893c8c1f56a1ddd9d89 Mon Sep 17 00:00:00 2001 From: Andras Banki-Horvath Date: Tue, 9 Feb 2021 17:44:43 +0100 Subject: [PATCH 03/18] etcd: decouple embedded etcd instance startup This refactor changes how we instantiate the etcd based Backend to allow separate initialization and startup for the embedded instance. --- channeldb/kvdb/backend.go | 10 +++++++++- channeldb/kvdb/kvdb_etcd.go | 29 +++-------------------------- channeldb/kvdb/kvdb_no_etcd.go | 15 +++------------ lncfg/db.go | 32 ++++++++++++++++++++++++-------- lnd.go | 7 +++++++ 5 files changed, 46 insertions(+), 47 deletions(-) diff --git a/channeldb/kvdb/backend.go b/channeldb/kvdb/backend.go index 309f75402..23dccddff 100644 --- a/channeldb/kvdb/backend.go +++ b/channeldb/kvdb/backend.go @@ -1,6 +1,7 @@ package kvdb import ( + "context" "encoding/binary" "fmt" "io/ioutil" @@ -253,7 +254,14 @@ func GetTestBackend(path, name string) (Backend, func(), error) { } return db, empty, nil } else if TestBackend == EtcdBackendName { - return GetEtcdTestBackend(path, 0, 0) + etcdConfig, cancel, err := StartEtcdTestBackend(path, 0, 0) + if err != nil { + return nil, empty, err + } + backend, err := Open( + EtcdBackendName, context.TODO(), etcdConfig, + ) + return backend, cancel, err } return nil, nil, fmt.Errorf("unknown backend") diff --git a/channeldb/kvdb/kvdb_etcd.go b/channeldb/kvdb/kvdb_etcd.go index 95dc22a88..81e2ee423 100644 --- a/channeldb/kvdb/kvdb_etcd.go +++ b/channeldb/kvdb/kvdb_etcd.go @@ -3,8 +3,6 @@ package kvdb import ( - "context" - "github.com/lightningnetwork/lnd/channeldb/kvdb/etcd" ) @@ -12,33 +10,12 @@ import ( // defined, allowing testing our database code with etcd backend. const TestBackend = EtcdBackendName -// GetEtcdBackend returns an etcd backend configured according to the -// passed etcdConfig. -func GetEtcdBackend(ctx context.Context, etcdConfig *etcd.Config) ( - Backend, error) { - - return Open(EtcdBackendName, etcdConfig) -} - // GetEtcdTestBackend creates an embedded etcd backend for testing // storig the database at the passed path. -func GetEtcdTestBackend(path string, clientPort, peerPort uint16) ( - Backend, func(), error) { +func StartEtcdTestBackend(path string, clientPort, peerPort uint16) ( + *etcd.Config, func(), error) { - empty := func() {} - - config, cleanup, err := etcd.NewEmbeddedEtcdInstance( + return etcd.NewEmbeddedEtcdInstance( path, clientPort, peerPort, ) - if err != nil { - return nil, empty, err - } - - backend, err := Open(EtcdBackendName, context.Background(), config) - if err != nil { - cleanup() - return nil, empty, err - } - - return backend, cleanup, nil } diff --git a/channeldb/kvdb/kvdb_no_etcd.go b/channeldb/kvdb/kvdb_no_etcd.go index 4b6f8477f..5e1030939 100644 --- a/channeldb/kvdb/kvdb_no_etcd.go +++ b/channeldb/kvdb/kvdb_no_etcd.go @@ -3,7 +3,6 @@ package kvdb import ( - "context" "fmt" "github.com/lightningnetwork/lnd/channeldb/kvdb/etcd" @@ -15,17 +14,9 @@ const TestBackend = BoltBackendName var errEtcdNotAvailable = fmt.Errorf("etcd backend not available") -// GetEtcdBackend is a stub returning nil and errEtcdNotAvailable error. -func GetEtcdBackend(ctx context.Context, etcdConfig *etcd.Config) ( - Backend, error) { - - return nil, errEtcdNotAvailable -} - -// GetTestEtcdBackend is a stub returning nil, an empty closure and an -// errEtcdNotAvailable error. -func GetEtcdTestBackend(path string, clientPort, peerPort uint16) ( - Backend, func(), error) { +// StartEtcdTestBackend is a stub returning nil, and errEtcdNotAvailable error. +func StartEtcdTestBackend(path string, clientPort, peerPort uint16) ( + *etcd.Config, func(), error) { return nil, func() {}, errEtcdNotAvailable } diff --git a/lncfg/db.go b/lncfg/db.go index 3cc59f79c..e349400ac 100644 --- a/lncfg/db.go +++ b/lncfg/db.go @@ -57,6 +57,27 @@ func (db *DB) Validate() error { return nil } +// Init should be called upon start to pre-initialize database access dependent +// on configuration. +func (db *DB) Init(ctx context.Context, dbPath string) error { + // Start embedded etcd server if requested. + if db.Backend == EtcdBackend && db.Etcd.Embedded { + cfg, _, err := kvdb.StartEtcdTestBackend( + dbPath, db.Etcd.EmbeddedClientPort, + db.Etcd.EmbeddedPeerPort, + ) + if err != nil { + return err + } + + // Override the original config with the config for + // the embedded instance. + db.Etcd = cfg + } + + return nil +} + // DatabaseBackends is a two-tuple that holds the set of active database // backends for the daemon. The two backends we expose are the local database // backend, and the remote backend. The LocalDB attribute will always be @@ -83,14 +104,9 @@ func (db *DB) GetBackends(ctx context.Context, dbPath string) ( ) if db.Backend == EtcdBackend { - if db.Etcd.Embedded { - remoteDB, _, err = kvdb.GetEtcdTestBackend( - dbPath, db.Etcd.EmbeddedClientPort, - db.Etcd.EmbeddedPeerPort, - ) - } else { - remoteDB, err = kvdb.GetEtcdBackend(ctx, db.Etcd) - } + remoteDB, err = kvdb.Open( + kvdb.EtcdBackendName, ctx, db.Etcd, + ) if err != nil { return nil, err } diff --git a/lnd.go b/lnd.go index bebc8e9a6..a77038580 100644 --- a/lnd.go +++ b/lnd.go @@ -234,6 +234,13 @@ func Main(cfg *Config, lisCfg ListenerCfg, interceptor signal.Interceptor) error ctx, cancel := context.WithCancel(ctx) defer cancel() + // Run configuration dependent DB pre-initialization. Note that this + // needs to be done early and once during the startup process, before + // any DB access. + if err := cfg.DB.Init(ctx, cfg.localDatabaseDir()); err != nil { + return err + } + localChanDB, remoteChanDB, cleanUp, err := initializeDatabases(ctx, cfg) switch { case err == channeldb.ErrDryRunMigrationOK: From 5441c1bb6d67a9be3ce6d82f44e90215c322b497 Mon Sep 17 00:00:00 2001 From: Andras Banki-Horvath Date: Thu, 18 Feb 2021 16:54:28 +0100 Subject: [PATCH 04/18] etcd: fix embbeded etcd connection cfg --- channeldb/kvdb/etcd/embed.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channeldb/kvdb/etcd/embed.go b/channeldb/kvdb/etcd/embed.go index 0de87c0b3..a083af278 100644 --- a/channeldb/kvdb/etcd/embed.go +++ b/channeldb/kvdb/etcd/embed.go @@ -98,7 +98,7 @@ func NewEmbeddedEtcdInstance(path string, clientPort, peerPort uint16) ( } connConfig := &Config{ - Host: "http://" + peerURL, + Host: "http://" + clientURL, User: "user", Pass: "pass", InsecureSkipVerify: true, From 282618441de64fb3c384a85fc2d5fe211630932c Mon Sep 17 00:00:00 2001 From: Andras Banki-Horvath Date: Tue, 4 May 2021 17:31:50 +0200 Subject: [PATCH 05/18] etcd: do not try authenticate when using embedded --- channeldb/kvdb/etcd/embed.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/channeldb/kvdb/etcd/embed.go b/channeldb/kvdb/etcd/embed.go index a083af278..4aacae0c1 100644 --- a/channeldb/kvdb/etcd/embed.go +++ b/channeldb/kvdb/etcd/embed.go @@ -99,8 +99,6 @@ func NewEmbeddedEtcdInstance(path string, clientPort, peerPort uint16) ( connConfig := &Config{ Host: "http://" + clientURL, - User: "user", - Pass: "pass", InsecureSkipVerify: true, Namespace: defaultNamespace, } From e62dbca11a612114f7526458441b089c1ce5b727 Mon Sep 17 00:00:00 2001 From: Andras Banki-Horvath Date: Mon, 8 Feb 2021 21:54:38 +0100 Subject: [PATCH 06/18] cluster: add cluster package skeleton and LeaderElector interface --- cluster/interface.go | 26 ++++++++++++++++++++++++++ cluster/log.go | 27 +++++++++++++++++++++++++++ log.go | 2 ++ 3 files changed, 55 insertions(+) create mode 100644 cluster/interface.go create mode 100644 cluster/log.go diff --git a/cluster/interface.go b/cluster/interface.go new file mode 100644 index 000000000..8a317095e --- /dev/null +++ b/cluster/interface.go @@ -0,0 +1,26 @@ +package cluster + +import ( + "context" +) + +const ( + // EtcdLeaderElector is the id used when constructing an + // etcdLeaderElector instance through the factory. + EtcdLeaderElector = "etcd" +) + +// LeaderElector is a general interface implementing basic leader elections +// in a clustered environment. +type LeaderElector interface { + // Campaign starts a run for leadership. Campaign will block until + // the caller is elected as the leader. + Campaign(ctx context.Context) error + + // Resign resigns from the leader role, allowing other election members + // to take on leadership. + Resign() error + + // Leader returns the leader value for the current election. + Leader(ctx context.Context) (string, error) +} diff --git a/cluster/log.go b/cluster/log.go new file mode 100644 index 000000000..11ced0871 --- /dev/null +++ b/cluster/log.go @@ -0,0 +1,27 @@ +package cluster + +import ( + "github.com/btcsuite/btclog" + "github.com/lightningnetwork/lnd/build" +) + +// Subsystem defines the logging code for this subsystem. +const Subsystem = "CLUS" + +// log is a logger that is initialized with the btclog.Disabled logger. +var log btclog.Logger + +// The default amount of logging is none. +func init() { + UseLogger(build.NewSubLogger(Subsystem, nil)) +} + +// DisableLog disables all logging output. +func DisableLog() { + UseLogger(btclog.Disabled) +} + +// UseLogger uses a specified Logger to output package logging info. +func UseLogger(logger btclog.Logger) { + log = logger +} diff --git a/log.go b/log.go index 7b8170cbd..feb961d22 100644 --- a/log.go +++ b/log.go @@ -14,6 +14,7 @@ import ( "github.com/lightningnetwork/lnd/chanfitness" "github.com/lightningnetwork/lnd/channeldb" "github.com/lightningnetwork/lnd/channelnotifier" + "github.com/lightningnetwork/lnd/cluster" "github.com/lightningnetwork/lnd/contractcourt" "github.com/lightningnetwork/lnd/discovery" "github.com/lightningnetwork/lnd/funding" @@ -157,6 +158,7 @@ func SetupLoggers(root *build.RotatingLogWriter, interceptor signal.Interceptor) AddSubLogger(root, chainreg.Subsystem, interceptor, chainreg.UseLogger) AddSubLogger(root, chanacceptor.Subsystem, interceptor, chanacceptor.UseLogger) AddSubLogger(root, funding.Subsystem, interceptor, funding.UseLogger) + AddSubLogger(root, cluster.Subsystem, interceptor, cluster.UseLogger) } // AddSubLogger is a helper method to conveniently create and register the From 41532ce6341d60c59b9c7de7fdd7521610ac9a22 Mon Sep 17 00:00:00 2001 From: Andras Banki-Horvath Date: Mon, 8 Feb 2021 21:55:52 +0100 Subject: [PATCH 07/18] cluster: add etcd based leader elector and factory --- cluster/etcd_elector.go | 112 ++++++++++++++++++++++++++++++++ cluster/etcd_elector_factory.go | 46 +++++++++++++ cluster/etcd_elector_test.go | 104 +++++++++++++++++++++++++++++ cluster/factory.go | 37 +++++++++++ lncfg/cluster.go | 38 +++++++++++ 5 files changed, 337 insertions(+) create mode 100644 cluster/etcd_elector.go create mode 100644 cluster/etcd_elector_factory.go create mode 100644 cluster/etcd_elector_test.go create mode 100644 cluster/factory.go create mode 100644 lncfg/cluster.go diff --git a/cluster/etcd_elector.go b/cluster/etcd_elector.go new file mode 100644 index 000000000..01c929753 --- /dev/null +++ b/cluster/etcd_elector.go @@ -0,0 +1,112 @@ +// +build kvdb_etcd + +package cluster + +import ( + "context" + "time" + + "github.com/coreos/etcd/clientv3" + "github.com/coreos/etcd/clientv3/concurrency" + "github.com/coreos/etcd/clientv3/namespace" + "github.com/coreos/etcd/pkg/transport" + "github.com/lightningnetwork/lnd/channeldb/kvdb/etcd" +) + +const ( + // etcdConnectionTimeout is the timeout until successful connection to + // the etcd instance. + etcdConnectionTimeout = 10 * time.Second +) + +// Enforce that etcdLeaderElector implements the LeaderElector interface. +var _ LeaderElector = (*etcdLeaderElector)(nil) + +// etcdLeaderElector is an implemetation of LeaderElector using etcd as the +// election governor. +type etcdLeaderElector struct { + id string + ctx context.Context + cli *clientv3.Client + session *concurrency.Session + election *concurrency.Election +} + +// newEtcdLeaderElector constructs a new etcdLeaderElector. +func newEtcdLeaderElector(ctx context.Context, id, electionPrefix string, + cfg *etcd.Config) (*etcdLeaderElector, error) { + + clientCfg := clientv3.Config{ + Context: ctx, + Endpoints: []string{cfg.Host}, + DialTimeout: etcdConnectionTimeout, + Username: cfg.User, + Password: cfg.Pass, + } + + if !cfg.DisableTLS { + tlsInfo := transport.TLSInfo{ + CertFile: cfg.CertFile, + KeyFile: cfg.KeyFile, + InsecureSkipVerify: cfg.InsecureSkipVerify, + } + + tlsConfig, err := tlsInfo.ClientConfig() + if err != nil { + return nil, err + } + + clientCfg.TLS = tlsConfig + } + + cli, err := clientv3.New(clientCfg) + if err != nil { + log.Errorf("Unable to connect to etcd: %v", err) + return nil, err + } + + // Apply the namespace. + cli.KV = namespace.NewKV(cli.KV, cfg.Namespace) + cli.Watcher = namespace.NewWatcher(cli.Watcher, cfg.Namespace) + cli.Lease = namespace.NewLease(cli.Lease, cfg.Namespace) + log.Infof("Applied namespace to leader elector: %v", cfg.Namespace) + + session, err := concurrency.NewSession(cli) + if err != nil { + log.Errorf("Unable to start new leader election session: %v", + err) + return nil, err + } + + return &etcdLeaderElector{ + id: id, + ctx: ctx, + cli: cli, + session: session, + election: concurrency.NewElection( + session, electionPrefix, + ), + }, nil +} + +// Leader returns the leader value for the current election. +func (e *etcdLeaderElector) Leader(ctx context.Context) (string, error) { + resp, err := e.election.Leader(ctx) + if err != nil { + return "", err + } + + return string(resp.Kvs[0].Value), nil +} + +// Campaign will start a new leader election campaign. Campaign will block until +// the elector context is canceled or the the caller is elected as the leader. +func (e *etcdLeaderElector) Campaign(ctx context.Context) error { + return e.election.Campaign(ctx, e.id) +} + +// Resign resigns the leader role allowing other election members to take +// the place. +func (e *etcdLeaderElector) Resign() error { + return e.election.Resign(context.Background()) +} diff --git a/cluster/etcd_elector_factory.go b/cluster/etcd_elector_factory.go new file mode 100644 index 000000000..b8d48030e --- /dev/null +++ b/cluster/etcd_elector_factory.go @@ -0,0 +1,46 @@ +// +build kvdb_etcd + +package cluster + +import ( + "context" + "fmt" + + "github.com/lightningnetwork/lnd/channeldb/kvdb/etcd" +) + +// makeEtcdElector will construct a new etcdLeaderElector. It expects a cancel +// context a unique (in the cluster) LND id and a *etcd.Config as arguments. +func makeEtcdElector(ctx context.Context, args ...interface{}) (LeaderElector, + error) { + + if len(args) != 3 { + return nil, fmt.Errorf("invalid number of arguments to "+ + "cluster.makeEtcdElector(): expected 3, got %v", + len(args)) + } + + id, ok := args[0].(string) + if !ok { + return nil, fmt.Errorf("invalid argument (0) to " + + "cluster.makeEtcdElector(), expected: string") + } + + electionPrefix, ok := args[1].(string) + if !ok { + return nil, fmt.Errorf("invalid argument (1) to " + + "cluster.makeEtcdElector(), expected: string") + } + + etcdCfg, ok := args[2].(*etcd.Config) + if !ok { + return nil, fmt.Errorf("invalid argument (2) to " + + "cluster.makeEtcdElector(), expected: *etcd.Config") + } + + return newEtcdLeaderElector(ctx, id, electionPrefix, etcdCfg) +} + +func init() { + RegisterLeaderElectorFactory(EtcdLeaderElector, makeEtcdElector) +} diff --git a/cluster/etcd_elector_test.go b/cluster/etcd_elector_test.go new file mode 100644 index 000000000..32688f1a3 --- /dev/null +++ b/cluster/etcd_elector_test.go @@ -0,0 +1,104 @@ +// +build kvdb_etcd + +package cluster + +import ( + "context" + "io/ioutil" + "os" + "runtime/pprof" + "sync" + "testing" + "time" + + "github.com/lightningnetwork/lnd/channeldb/kvdb/etcd" + "github.com/stretchr/testify/require" +) + +// GuardTimeout implements a test level timeout guard. +func GuardTimeout(t *testing.T, timeout time.Duration) func() { + done := make(chan struct{}) + go func() { + select { + case <-time.After(timeout): + err := pprof.Lookup("goroutine").WriteTo(os.Stdout, 1) + require.NoError(t, err) + panic("test timeout") + + case <-done: + } + }() + + return func() { + close(done) + } +} + +// TestEtcdElector tests that two candidates competing for leadership works as +// expected and that elected leader can resign and allow others to take on. +func TestEtcdElector(t *testing.T) { + guard := GuardTimeout(t, 5*time.Second) + defer guard() + + tmpDir, err := ioutil.TempDir("", "etcd") + if err != nil { + t.Fatalf("unable to create temp dir: %v", err) + } + + etcdCfg, cleanup, err := etcd.NewEmbeddedEtcdInstance(tmpDir, 0, 0) + require.NoError(t, err) + defer cleanup() + + ctx, cancel := context.WithCancel(context.Background()) + defer cancel() + + const ( + election = "/election/" + id1 = "e1" + id2 = "e2" + ) + + e1, err := newEtcdLeaderElector( + ctx, id1, election, etcdCfg, + ) + require.NoError(t, err) + + e2, err := newEtcdLeaderElector( + ctx, id2, election, etcdCfg, + ) + require.NoError(t, err) + + var wg sync.WaitGroup + ch := make(chan *etcdLeaderElector) + + wg.Add(2) + ctxb := context.Background() + + go func() { + defer wg.Done() + require.NoError(t, e1.Campaign(ctxb)) + ch <- e1 + }() + + go func() { + defer wg.Done() + require.NoError(t, e2.Campaign(ctxb)) + ch <- e2 + }() + + tmp := <-ch + first, err := tmp.Leader(ctxb) + require.NoError(t, err) + require.NoError(t, tmp.Resign()) + + tmp = <-ch + second, err := tmp.Leader(ctxb) + require.NoError(t, err) + require.NoError(t, tmp.Resign()) + + require.Contains(t, []string{id1, id2}, first) + require.Contains(t, []string{id1, id2}, second) + require.NotEqual(t, first, second) + + wg.Wait() +} diff --git a/cluster/factory.go b/cluster/factory.go new file mode 100644 index 000000000..52ae360bf --- /dev/null +++ b/cluster/factory.go @@ -0,0 +1,37 @@ +package cluster + +import ( + "context" + "fmt" +) + +// leaderElectorFactoryFunc is a LeaderElector factory method type. +type leaderElectorFactoryFunc func(context.Context, ...interface{}) ( + LeaderElector, error) + +var leaderElectorFactories map[string]leaderElectorFactoryFunc + +// RegisterLeaderElectorFactory will register a new LeaderElector factory +// method corresponding to the passed id. +func RegisterLeaderElectorFactory(id string, factory leaderElectorFactoryFunc) { + if leaderElectorFactories == nil { + leaderElectorFactories = make( + map[string]leaderElectorFactoryFunc, + ) + } + + leaderElectorFactories[id] = factory +} + +// MakeLeaderElector will constuct a LeaderElector identified by id with the +// passed arguments. +func MakeLeaderElector(ctx context.Context, id string, args ...interface{}) ( + LeaderElector, error) { + + if _, ok := leaderElectorFactories[id]; !ok { + return nil, fmt.Errorf("leader elector factory for '%v' "+ + "not found", id) + } + + return leaderElectorFactories[id](ctx, args...) +} diff --git a/lncfg/cluster.go b/lncfg/cluster.go new file mode 100644 index 000000000..61b92cc22 --- /dev/null +++ b/lncfg/cluster.go @@ -0,0 +1,38 @@ +package lncfg + +import ( + "fmt" + + "github.com/lightningnetwork/lnd/cluster" +) + +// Cluster holds configuration for clustered LND. +type Cluster struct { + LeaderElector string `long:"leader-elector" choice:"etcd" description:"Leader elector to use. Valid values: \"etcd\"."` + + EtcdElectionPrefix string `long:"etcd-election-prefix" description:"Election key prefix when using etcd leader elector."` +} + +// DefaultCluster creates and returns a new default DB config. +func DefaultCluster() *Cluster { + return &Cluster{} +} + +// Validate validates the Cluster config. +func (c *Cluster) Validate() error { + switch c.LeaderElector { + case cluster.EtcdLeaderElector: + if c.EtcdElectionPrefix == "" { + return fmt.Errorf("etcd-election-prefix must be set") + } + + default: + return fmt.Errorf("unknown leader elector, valid values are: "+ + "\"%v\"", cluster.EtcdLeaderElector) + } + + return nil +} + +// Compile-time constraint to ensure Workers implements the Validator interface. +var _ Validator = (*Cluster)(nil) From d161b34ee5d5a94e60625c96338be65cfb2e27da Mon Sep 17 00:00:00 2001 From: Andras Banki-Horvath Date: Mon, 8 Feb 2021 21:56:27 +0100 Subject: [PATCH 08/18] lnd: integrate leader elector to lnd main This commit also changes the order of DB init to be run after the RPC server is up. This will allow us to later add an RPC endpoint to be used to query leadership status. --- config.go | 4 +++ lncfg/cluster.go | 44 +++++++++++++++++++++++++++--- lnd.go | 70 ++++++++++++++++++++++++++++++++++++++++-------- sample-lnd.conf | 14 ++++++++++ 4 files changed, 117 insertions(+), 15 deletions(-) diff --git a/config.go b/config.go index f96e57cd7..0a23839c8 100644 --- a/config.go +++ b/config.go @@ -366,6 +366,8 @@ type Config struct { DB *lncfg.DB `group:"db" namespace:"db"` + Cluster *lncfg.Cluster `group:"cluster" namespace:"cluster"` + // LogWriter is the root logger that all of the daemon's subloggers are // hooked up to. LogWriter *build.RotatingLogWriter @@ -532,6 +534,7 @@ func DefaultConfig() Config { MaxCommitFeeRateAnchors: lnwallet.DefaultAnchorsCommitMaxFeeRateSatPerVByte, LogWriter: build.NewRotatingLogWriter(), DB: lncfg.DefaultDB(), + Cluster: lncfg.DefaultCluster(), registeredChains: chainreg.NewChainRegistry(), ActiveNetParams: chainreg.BitcoinTestNetParams, ChannelCommitInterval: defaultChannelCommitInterval, @@ -1372,6 +1375,7 @@ func ValidateConfig(cfg Config, usageMessage string, cfg.Caches, cfg.WtClient, cfg.DB, + cfg.Cluster, cfg.HealthChecks, ) if err != nil { diff --git a/lncfg/cluster.go b/lncfg/cluster.go index 61b92cc22..649778796 100644 --- a/lncfg/cluster.go +++ b/lncfg/cluster.go @@ -1,37 +1,73 @@ package lncfg import ( + "context" "fmt" + "os" "github.com/lightningnetwork/lnd/cluster" ) +const ( + // DefaultEtcdElectionPrefix is used as election prefix if none is provided + // through the config. + DefaultEtcdElectionPrefix = "/leader/" +) + // Cluster holds configuration for clustered LND. type Cluster struct { + EnableLeaderElection bool `long:"enable-leader-election" description:"Enables leader election if set."` + LeaderElector string `long:"leader-elector" choice:"etcd" description:"Leader elector to use. Valid values: \"etcd\"."` - EtcdElectionPrefix string `long:"etcd-election-prefix" description:"Election key prefix when using etcd leader elector."` + EtcdElectionPrefix string `long:"etcd-election-prefix" description:"Election key prefix when using etcd leader elector. Defaults to \"/leader/\"."` + + ID string `long:"id" description:"Identifier for this node inside the cluster (used in leader election). Defaults to the hostname."` } // DefaultCluster creates and returns a new default DB config. func DefaultCluster() *Cluster { - return &Cluster{} + hostname, _ := os.Hostname() + return &Cluster{ + LeaderElector: cluster.EtcdLeaderElector, + EtcdElectionPrefix: DefaultEtcdElectionPrefix, + ID: hostname, + } +} + +// MakeLeaderElector is a helper method to construct the concrete leader elector +// based on the current configuration. +func (c *Cluster) MakeLeaderElector(electionCtx context.Context, db *DB) ( + cluster.LeaderElector, error) { + + if c.LeaderElector == cluster.EtcdLeaderElector { + return cluster.MakeLeaderElector( + electionCtx, c.LeaderElector, c.ID, + c.EtcdElectionPrefix, db.Etcd, + ) + } + + return nil, fmt.Errorf("unsupported leader elector") } // Validate validates the Cluster config. func (c *Cluster) Validate() error { + if !c.EnableLeaderElection { + return nil + } + switch c.LeaderElector { + case cluster.EtcdLeaderElector: if c.EtcdElectionPrefix == "" { return fmt.Errorf("etcd-election-prefix must be set") } + return nil default: return fmt.Errorf("unknown leader elector, valid values are: "+ "\"%v\"", cluster.EtcdLeaderElector) } - - return nil } // Compile-time constraint to ensure Workers implements the Validator interface. diff --git a/lnd.go b/lnd.go index a77038580..f905ee0bb 100644 --- a/lnd.go +++ b/lnd.go @@ -241,17 +241,6 @@ func Main(cfg *Config, lisCfg ListenerCfg, interceptor signal.Interceptor) error return err } - localChanDB, remoteChanDB, cleanUp, err := initializeDatabases(ctx, cfg) - switch { - case err == channeldb.ErrDryRunMigrationOK: - ltndLog.Infof("%v, exiting", err) - return nil - case err != nil: - return fmt.Errorf("unable to open databases: %v", err) - } - - defer cleanUp() - // Only process macaroons if --no-macaroons isn't set. serverOpts, restDialOpts, restListen, cleanUp, err := getTLSConfig(cfg) if err != nil { @@ -327,6 +316,65 @@ func Main(cfg *Config, lisCfg ListenerCfg, interceptor signal.Interceptor) error } } + // Start leader election if we're running on etcd. Continuation will be + // blocked until this instance is elected as the current leader or + // shutting down. + elected := false + if cfg.Cluster.EnableLeaderElection { + electionCtx, cancelElection := context.WithCancel(ctx) + + go func() { + <-interceptor.ShutdownChannel() + cancelElection() + }() + + ltndLog.Infof("Using %v leader elector", + cfg.Cluster.LeaderElector) + + leaderElector, err := cfg.Cluster.MakeLeaderElector( + electionCtx, cfg.DB, + ) + if err != nil { + return err + } + + defer func() { + if !elected { + return + } + + ltndLog.Infof("Attempting to resign from leader role "+ + "(%v)", cfg.Cluster.ID) + + if err := leaderElector.Resign(); err != nil { + ltndLog.Errorf("Leader elector failed to "+ + "resign: %v", err) + } + }() + + ltndLog.Infof("Starting leadership campaign (%v)", + cfg.Cluster.ID) + + if err := leaderElector.Campaign(electionCtx); err != nil { + ltndLog.Errorf("Leadership campaign failed: %v", err) + return err + } + + elected = true + ltndLog.Infof("Elected as leader (%v)", cfg.Cluster.ID) + } + + localChanDB, remoteChanDB, cleanUp, err := initializeDatabases(ctx, cfg) + switch { + case err == channeldb.ErrDryRunMigrationOK: + ltndLog.Infof("%v, exiting", err) + return nil + case err != nil: + return fmt.Errorf("unable to open databases: %v", err) + } + + defer cleanUp() + // We'll create the WalletUnlockerService and check whether the wallet // already exists. pwService := createWalletUnlockerService(cfg) diff --git a/sample-lnd.conf b/sample-lnd.conf index 260c52cdb..2d63c619d 100644 --- a/sample-lnd.conf +++ b/sample-lnd.conf @@ -1066,6 +1066,20 @@ litecoin.node=ltcd ; If non zero, LND will use this as peer port for the embedded etcd instance. ; db.etcd.embedded_peer_port=1235 +[cluster] +; Enables leader election if set. +; cluster.enable-leader-election=true + +; Leader elector to use. Valid values: "etcd" (default). +; cluster.leader-elector=etcd + +; Election key prefix when using etcd leader elector. Defaults to "/leader/". +; cluster.etcd-election-prefix=/leader/ + +; Identifier for this node inside the cluster (used in leader election). +; Defaults to the hostname. +; cluster.id=example.com + [bolt] ; If true, prevents the database from syncing its freelist to disk. ; db.bolt.nofreelistsync=1 From e5f249ad51bf7dcec1861d837367fcdd82574f31 Mon Sep 17 00:00:00 2001 From: Andras Banki-Horvath Date: Wed, 28 Apr 2021 15:30:59 +0200 Subject: [PATCH 09/18] mod: integrate latest btcwallet and bump protobuf and grpc --- .github/workflows/main.yml | 4 +- go.mod | 15 +- go.sum | 57 +- lnrpc/autopilotrpc/autopilot.pb.go | 952 +- lnrpc/chainrpc/chainnotifier.pb.go | 1120 +- lnrpc/chainrpc/chainnotifier.proto | 2 + lnrpc/invoicesrpc/invoices.pb.go | 804 +- lnrpc/lnclipb/lncli.pb.go | 193 +- lnrpc/routerrpc/router.pb.go | 4504 +++-- lnrpc/rpc.pb.go | 22623 ++++++++++++++++--------- lnrpc/signrpc/signer.pb.go | 1494 +- lnrpc/stateservice.pb.go | 333 +- lnrpc/verrpc/verrpc.pb.go | 340 +- lnrpc/walletrpc/walletkit.pb.go | 4496 +++-- lnrpc/walletunlocker.pb.go | 947 +- lnrpc/watchtowerrpc/watchtower.pb.go | 290 +- lnrpc/wtclientrpc/wtclient.pb.go | 1451 +- lntest/itest/lnd_test.go | 16 +- 18 files changed, 25109 insertions(+), 14532 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 480012e71..4c22581dd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -249,8 +249,8 @@ jobs: fail-fast: false matrix: pinned_dep: - - google.golang.org/grpc v1.24.0 - - github.com/golang/protobuf v1.3.2 + - google.golang.org/grpc v1.29.1 + - github.com/golang/protobuf v1.4.3 steps: - name: git checkout diff --git a/go.mod b/go.mod index f2cd48290..4ab74e0f4 100644 --- a/go.mod +++ b/go.mod @@ -5,11 +5,11 @@ require ( github.com/NebulousLabs/fastrand v0.0.0-20181203155948-6fb6489aac4e // indirect github.com/NebulousLabs/go-upnp v0.0.0-20180202185039-29b680b06c82 github.com/Yawning/aez v0.0.0-20180114000226-4dad034d9db2 - github.com/btcsuite/btcd v0.21.0-beta.0.20210401013323-36a96f6a0025 + github.com/btcsuite/btcd v0.21.0-beta.0.20210426180113-7eba688b65e5 github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f github.com/btcsuite/btcutil v1.0.3-0.20201208143702-a53e38424cce github.com/btcsuite/btcutil/psbt v1.0.3-0.20201208143702-a53e38424cce - github.com/btcsuite/btcwallet v0.11.1-0.20210421021904-50978fcf79f8 + github.com/btcsuite/btcwallet v0.11.1-0.20210429224804-a7a9234968e8 github.com/btcsuite/btcwallet/wallet/txauthor v1.0.1-0.20210329233242-e0607006dce6 github.com/btcsuite/btcwallet/wallet/txrules v1.0.0 github.com/btcsuite/btcwallet/wallet/txsizes v1.0.1-0.20210329233242-e0607006dce6 // indirect @@ -26,7 +26,7 @@ require ( github.com/go-errors/errors v1.0.1 github.com/go-openapi/strfmt v0.19.5 // indirect github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e // indirect - github.com/golang/protobuf v1.3.2 + github.com/golang/protobuf v1.4.3 github.com/google/btree v1.0.0 // indirect github.com/gorilla/websocket v1.4.2 github.com/grpc-ecosystem/go-grpc-middleware v1.0.0 @@ -48,7 +48,7 @@ require ( github.com/juju/version v0.0.0-20180108022336-b64dbd566305 // indirect github.com/kkdai/bstream v0.0.0-20181106074824-b3251f7901ec github.com/lightninglabs/neutrino v0.11.1-0.20210429202752-e6974af1494e - github.com/lightninglabs/protobuf-hex-display v1.3.3-0.20191212020323-b444784ce75d + github.com/lightninglabs/protobuf-hex-display v1.4.3-hex-display github.com/lightningnetwork/lightning-onion v1.0.2-0.20200501022730-3c8c8d0b89ea github.com/lightningnetwork/lnd/cert v1.0.3 github.com/lightningnetwork/lnd/clock v1.0.1 @@ -68,10 +68,11 @@ require ( go.etcd.io/bbolt v1.3.5-0.20200615073812-232d8fc87f50 go.uber.org/zap v1.14.1 // indirect golang.org/x/crypto v0.0.0-20200709230013-948cd5f35899 - golang.org/x/net v0.0.0-20191002035440-2ec189313ef0 - golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5 + golang.org/x/net v0.0.0-20200520004742-59133d7f0dd7 + golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2 - google.golang.org/grpc v1.24.0 + google.golang.org/grpc v1.29.1 + google.golang.org/protobuf v1.23.0 gopkg.in/errgo.v1 v1.0.1 // indirect gopkg.in/macaroon-bakery.v2 v2.0.1 gopkg.in/macaroon.v2 v2.0.0 diff --git a/go.sum b/go.sum index d8fc8d0df..91aa1e690 100644 --- a/go.sum +++ b/go.sum @@ -26,9 +26,8 @@ github.com/btcsuite/btcd v0.0.0-20190629003639-c26ffa870fd8/go.mod h1:3J08xEfcug github.com/btcsuite/btcd v0.0.0-20190824003749-130ea5bddde3/go.mod h1:3J08xEfcugPacsc34/LKRU2yO7YmuT8yt28J8k2+rrI= github.com/btcsuite/btcd v0.20.1-beta/go.mod h1:wVuoA8VJLEcwgqHBwHmzLRazpKxTv13Px/pDuV7OomQ= github.com/btcsuite/btcd v0.21.0-beta.0.20201208033208-6bd4c64a54fa/go.mod h1:Sv4JPQ3/M+teHz9Bo5jBpkNcP0x6r7rdihlNL/7tTAs= -github.com/btcsuite/btcd v0.21.0-beta.0.20210316172410-f86ae60936d7/go.mod h1:Sv4JPQ3/M+teHz9Bo5jBpkNcP0x6r7rdihlNL/7tTAs= -github.com/btcsuite/btcd v0.21.0-beta.0.20210401013323-36a96f6a0025 h1:aoVqvZk4mLyF3WZbqEVPq+vXnwL2wekZg4P4mjYJNLs= -github.com/btcsuite/btcd v0.21.0-beta.0.20210401013323-36a96f6a0025/go.mod h1:9n5ntfhhHQBIhUvlhDvD3Qg6fRUj4jkN0VB8L8svzOA= +github.com/btcsuite/btcd v0.21.0-beta.0.20210426180113-7eba688b65e5 h1:Y0v9TA1ZLSs2TNFRSrpcGk00GWq1fenVL6FsuD3dCKI= +github.com/btcsuite/btcd v0.21.0-beta.0.20210426180113-7eba688b65e5/go.mod h1:9n5ntfhhHQBIhUvlhDvD3Qg6fRUj4jkN0VB8L8svzOA= github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f h1:bAs4lUbRJpnnkd9VhRV3jjAVU7DJVjMaK+IsvSeZvFo= github.com/btcsuite/btclog v0.0.0-20170628155309-84c8d2346e9f/go.mod h1:TdznJufoqS23FtqVCzL0ZqgP5MqXbb4fg/WgDys70nA= github.com/btcsuite/btcutil v0.0.0-20190425235716-9e5f4b9a998d/go.mod h1:+5NJ2+qvTyV9exUAL/rxXi3DcLg2Ts+ymUAY5y4NvMg= @@ -37,8 +36,8 @@ github.com/btcsuite/btcutil v1.0.3-0.20201208143702-a53e38424cce h1:YtWJF7RHm2pY github.com/btcsuite/btcutil v1.0.3-0.20201208143702-a53e38424cce/go.mod h1:0DVlHczLPewLcPGEIeUEzfOJhqGPQ0mJJRDBtD307+o= github.com/btcsuite/btcutil/psbt v1.0.3-0.20201208143702-a53e38424cce h1:3PRwz+js0AMMV1fHRrCdQ55akoomx4Q3ulozHC3BDDY= github.com/btcsuite/btcutil/psbt v1.0.3-0.20201208143702-a53e38424cce/go.mod h1:LVveMu4VaNSkIRTZu2+ut0HDBRuYjqGocxDMNS1KuGQ= -github.com/btcsuite/btcwallet v0.11.1-0.20210421021904-50978fcf79f8 h1:oNhbEF2hWQOHf8SIaUPZJH6Xq+9LQ6PMqCT9eiBVObE= -github.com/btcsuite/btcwallet v0.11.1-0.20210421021904-50978fcf79f8/go.mod h1:CevOfPKvF6kHr+JXhWD3TtqLbsJrD1CzrtDqZ+5G6ss= +github.com/btcsuite/btcwallet v0.11.1-0.20210429224804-a7a9234968e8 h1:e+sUdZhAtb40Rp0vmJQ6xBdBoi7KFn3Mg6h+SGpCrMU= +github.com/btcsuite/btcwallet v0.11.1-0.20210429224804-a7a9234968e8/go.mod h1:vpYHloeKzEe1/g+301F73iOJrcAaXQWqKaU9Rmu0HRw= github.com/btcsuite/btcwallet/wallet/txauthor v1.0.0/go.mod h1:VufDts7bd/zs3GV13f/lXc/0lXrPnvxD/NvmpG/FEKU= github.com/btcsuite/btcwallet/wallet/txauthor v1.0.1-0.20210329233242-e0607006dce6 h1:mO7NxcfgLe75paLDHx+LWNG5BskiDQigHnSVT2KvNZA= github.com/btcsuite/btcwallet/wallet/txauthor v1.0.1-0.20210329233242-e0607006dce6/go.mod h1:VufDts7bd/zs3GV13f/lXc/0lXrPnvxD/NvmpG/FEKU= @@ -68,8 +67,10 @@ github.com/btcsuite/websocket v0.0.0-20150119174127-31079b680792 h1:R8vQdOQdZ9Y3 github.com/btcsuite/websocket v0.0.0-20150119174127-31079b680792/go.mod h1:ghJtEyQwv5/p4Mg4C0fgbePVuGr935/5ddU9Z3TmDRY= github.com/btcsuite/winsvc v1.0.0 h1:J9B4L7e3oqhXOcm+2IuNApwzQec85lE+QaikUcCs+dk= github.com/btcsuite/winsvc v1.0.0/go.mod h1:jsenWakMcC0zFBFurPLEAyrnc/teJEM1O46fmI40EZs= +github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= +github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= github.com/coreos/bbolt v1.3.3 h1:n6AiVyVRKQFNb6mJlwESEvvLoDyiTzXX7ORAUlkeBdY= github.com/coreos/bbolt v1.3.3/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk= github.com/coreos/etcd v3.3.22+incompatible h1:AnRMUyVdVvh1k7lHe61YEd227+CLoNogQuAypztGSK4= @@ -91,6 +92,9 @@ github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZm github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no= github.com/dustin/go-humanize v1.0.0 h1:VSnTsYCnlFHaM2/igO1h6X3HA71jcobQuxemgkq4zYo= github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= +github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= +github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/frankban/quicktest v1.2.2 h1:xfmOhhoH5fGPgbEAlhLpJH9p0z/0Qizio9osmvn9IUY= github.com/frankban/quicktest v1.2.2/go.mod h1:Qh/WofXFeiAFII1aEBu529AtJo6Zg2VHscnEsbBnJ20= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= @@ -110,7 +114,6 @@ github.com/go-stack/stack v1.8.0 h1:5SgMzNM5HxrEjV0ww2lTmX6E2Izsfxas4+YHWRs3Lsk= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= github.com/gogo/protobuf v1.1.1 h1:72R+M5VuhED/KujmZVcIquuo8mBgX4oVda//DQb3PXo= github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= -github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b h1:VKtxabqXZkF25pY9ekfRL6a582T4P37/31XEstQ5p58= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e h1:1r7pUrabqp18hOBcwBwiTsbnFeTZHV9eER/QT5JVZxY= github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= @@ -118,14 +121,24 @@ github.com/golang/lint v0.0.0-20180702182130-06c8688daad7/go.mod h1:tluoj9z5200j github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= -github.com/golang/protobuf v1.3.2 h1:6nsPYzhq5kReh6QImI3k5qWzO4PEbvbIW2cwSfR/6xs= github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= +github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= +github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= +github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= +github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= +github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= +github.com/golang/protobuf v1.4.2/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= +github.com/golang/protobuf v1.4.3 h1:JjCZWpVbqXDqFVmTfYWEVTMIYrL/NPdPSCHPJ0T/raM= +github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= github.com/google/btree v1.0.0 h1:0udJVsspx3VBr5FwtLhQQtuAsVc79tTq0ocGIPAU6qo= github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= github.com/google/go-cmp v0.2.1-0.20190312032427-6f77996f0c42/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= -github.com/google/go-cmp v0.3.0 h1:crn/baboCvb5fXaQ0IJ1SGTsTVrWpDsCWC8EGETZijY= github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.4.0 h1:xsAVV57WRhGj6kEIi8ReJzQlHHqcBYCElAvkovg3B/4= +github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= github.com/google/uuid v1.1.1 h1:Gkbcsh/GbpXz7lPftLA3P6TYMwjCLYm83jiFQZF/3gY= @@ -187,8 +200,8 @@ github.com/lightninglabs/gozmq v0.0.0-20191113021534-d20a764486bf/go.mod h1:vxmQ github.com/lightninglabs/neutrino v0.11.0/go.mod h1:CuhF0iuzg9Sp2HO6ZgXgayviFTn1QHdSTJlMncK80wg= github.com/lightninglabs/neutrino v0.11.1-0.20210429202752-e6974af1494e h1:bu8vT4/mXk9pX/H5Z/ZPoLYqsI/vEclAu+LafBd5MHk= github.com/lightninglabs/neutrino v0.11.1-0.20210429202752-e6974af1494e/go.mod h1:d7zCVUnGmKW1L8DIgdduiCtjEziWMbTL0XhpqQs8zVY= -github.com/lightninglabs/protobuf-hex-display v1.3.3-0.20191212020323-b444784ce75d h1:QWD/5MPnaZfUVP7P8wLa4M8Td2DI7XXHXt2vhVtUgGI= -github.com/lightninglabs/protobuf-hex-display v1.3.3-0.20191212020323-b444784ce75d/go.mod h1:KDb67YMzoh4eudnzClmvs2FbiLG9vxISmLApUkCa4uI= +github.com/lightninglabs/protobuf-hex-display v1.4.3-hex-display h1:RZJ8H4ueU/aQ9pFtx5wqsuD3B/DezrewJeVwDKKYY8E= +github.com/lightninglabs/protobuf-hex-display v1.4.3-hex-display/go.mod h1:2oKOBU042GKFHrdbgGiKax4xVrFiZu51lhacUZQ9MnE= github.com/lightningnetwork/lightning-onion v1.0.2-0.20200501022730-3c8c8d0b89ea h1:oCj48NQ8u7Vz+MmzHqt0db6mxcFZo3Ho7M5gCJauY/k= github.com/lightningnetwork/lightning-onion v1.0.2-0.20200501022730-3c8c8d0b89ea/go.mod h1:rigfi6Af/KqsF7Za0hOgcyq2PNH4AN70AaMRxcJkff4= github.com/ltcsuite/ltcd v0.0.0-20190101042124-f37f8bf35796 h1:sjOGyegMIhvgfq5oaue6Td+hxZuf3tDC8lAPrFldqFw= @@ -224,8 +237,9 @@ github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXP github.com/prometheus/client_golang v0.9.3 h1:9iH4JKXLzFbOAdtqv/a+j8aewx2Y8lAjAydhbaScPF8= github.com/prometheus/client_golang v0.9.3/go.mod h1:/TN21ttK/J9q6uSwhBd54HahCDft0ttaMvbicHlPoso= github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= -github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90 h1:S/YWwWx/RA8rT8tKFRuGUZhuA90OyIBpPCXkcbwU8DE= github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4 h1:gQz4mCbXsO+nc9n1hCxHcGA3Zx3Eo+UHZoInFGUIXNM= +github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= github.com/prometheus/common v0.4.0 h1:7etb9YClo3a6HjLzfl6rIQaU+FDfi0VSX39io3aQ+DM= github.com/prometheus/common v0.4.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= @@ -300,8 +314,9 @@ golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73r golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= -golang.org/x/net v0.0.0-20191002035440-2ec189313ef0 h1:2mqDk8w/o6UmeUCu5Qiq2y7iMf6anbx+YA8d1JFoFrs= golang.org/x/net v0.0.0-20191002035440-2ec189313ef0/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20200520004742-59133d7f0dd7 h1:AeiKBIuRw3UomYXSbLy0Mc2dDLfdtbT/IVn4keq83P0= +golang.org/x/net v0.0.0-20200520004742-59133d7f0dd7/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -317,8 +332,9 @@ golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5h golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190904154756-749cb33beabd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5 h1:LfCXLvNmTYH9kEmVgqbnsWfruoXZIrh4YBgqVHtDvw0= golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd h1:xhmwyvizuTgC2qz7ZlMluP20uW+C3Rm0FD/WLDX8884= +golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2 h1:z99zHgr7hKfrUcX/KsoJk5FJfjTceCKIp96+biqP4To= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -334,17 +350,30 @@ golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c/go.mod h1:b+2E5dAYhXwXZwtn golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5 h1:hKsoRgsbwY1NafxrwTs+k64bikrLBkAgPir1TNCj3Zs= golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20190201180003-4b09977fb922/go.mod h1:L3J43x8/uS+qIUoksaLKe6OS3nUKxOKuIFz1sl2/jx4= +google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/genproto v0.0.0-20190927181202-20e1ac93f88c h1:hrpEMCZ2O7DR5gC1n2AJGVhrwiEjOi35+jxtIuZpTMo= google.golang.org/genproto v0.0.0-20190927181202-20e1ac93f88c/go.mod h1:IbNlFCBrqXvoKpeg0TB2l7cyZUmoaFKYIwrEpbDKLA8= google.golang.org/grpc v1.16.0/go.mod h1:0JHn/cJsOMiMfNA9+DeHDlAU7KAAB5GDlYFpa9MZMio= google.golang.org/grpc v1.18.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3cWCs= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= -google.golang.org/grpc v1.24.0 h1:vb/1TCsVn3DcJlQ0Gs1yB1pKI6Do2/QNwxdKqmc/b0s= +google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= google.golang.org/grpc v1.24.0/go.mod h1:XDChyiUovWa60DnaeDeZmSW86xtLtjtZbwvSiRnRtcA= +google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= +google.golang.org/grpc v1.29.1 h1:EC2SB8S04d2r73uptxphDSUG+kTKVgjRPF+N3xpxRB4= +google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk= +google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= +google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= +google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= +google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= +google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= +google.golang.org/protobuf v1.23.0 h1:4MY060fB1DLGMB/7MBTLnwQUY6+F09GEiz6SsrNqyzM= +google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY= diff --git a/lnrpc/autopilotrpc/autopilot.pb.go b/lnrpc/autopilotrpc/autopilot.pb.go index 4d59a7c48..fc15d2378 100644 --- a/lnrpc/autopilotrpc/autopilot.pb.go +++ b/lnrpc/autopilotrpc/autopilot.pb.go @@ -1,444 +1,726 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.6.1 // source: autopilotrpc/autopilot.proto package autopilotrpc import ( context "context" - fmt "fmt" proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type StatusRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *StatusRequest) Reset() { *m = StatusRequest{} } -func (m *StatusRequest) String() string { return proto.CompactTextString(m) } -func (*StatusRequest) ProtoMessage() {} +func (x *StatusRequest) Reset() { + *x = StatusRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_autopilotrpc_autopilot_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StatusRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StatusRequest) ProtoMessage() {} + +func (x *StatusRequest) ProtoReflect() protoreflect.Message { + mi := &file_autopilotrpc_autopilot_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 StatusRequest.ProtoReflect.Descriptor instead. func (*StatusRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e0b9dc347a92e084, []int{0} + return file_autopilotrpc_autopilot_proto_rawDescGZIP(), []int{0} } -func (m *StatusRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StatusRequest.Unmarshal(m, b) -} -func (m *StatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StatusRequest.Marshal(b, m, deterministic) -} -func (m *StatusRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StatusRequest.Merge(m, src) -} -func (m *StatusRequest) XXX_Size() int { - return xxx_messageInfo_StatusRequest.Size(m) -} -func (m *StatusRequest) XXX_DiscardUnknown() { - xxx_messageInfo_StatusRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_StatusRequest proto.InternalMessageInfo - type StatusResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Indicates whether the autopilot is active or not. - Active bool `protobuf:"varint,1,opt,name=active,proto3" json:"active,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Active bool `protobuf:"varint,1,opt,name=active,proto3" json:"active,omitempty"` } -func (m *StatusResponse) Reset() { *m = StatusResponse{} } -func (m *StatusResponse) String() string { return proto.CompactTextString(m) } -func (*StatusResponse) ProtoMessage() {} +func (x *StatusResponse) Reset() { + *x = StatusResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_autopilotrpc_autopilot_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StatusResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StatusResponse) ProtoMessage() {} + +func (x *StatusResponse) ProtoReflect() protoreflect.Message { + mi := &file_autopilotrpc_autopilot_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 StatusResponse.ProtoReflect.Descriptor instead. func (*StatusResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e0b9dc347a92e084, []int{1} + return file_autopilotrpc_autopilot_proto_rawDescGZIP(), []int{1} } -func (m *StatusResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StatusResponse.Unmarshal(m, b) -} -func (m *StatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StatusResponse.Marshal(b, m, deterministic) -} -func (m *StatusResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_StatusResponse.Merge(m, src) -} -func (m *StatusResponse) XXX_Size() int { - return xxx_messageInfo_StatusResponse.Size(m) -} -func (m *StatusResponse) XXX_DiscardUnknown() { - xxx_messageInfo_StatusResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_StatusResponse proto.InternalMessageInfo - -func (m *StatusResponse) GetActive() bool { - if m != nil { - return m.Active +func (x *StatusResponse) GetActive() bool { + if x != nil { + return x.Active } return false } type ModifyStatusRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Whether the autopilot agent should be enabled or not. - Enable bool `protobuf:"varint,1,opt,name=enable,proto3" json:"enable,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Enable bool `protobuf:"varint,1,opt,name=enable,proto3" json:"enable,omitempty"` } -func (m *ModifyStatusRequest) Reset() { *m = ModifyStatusRequest{} } -func (m *ModifyStatusRequest) String() string { return proto.CompactTextString(m) } -func (*ModifyStatusRequest) ProtoMessage() {} +func (x *ModifyStatusRequest) Reset() { + *x = ModifyStatusRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_autopilotrpc_autopilot_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ModifyStatusRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ModifyStatusRequest) ProtoMessage() {} + +func (x *ModifyStatusRequest) ProtoReflect() protoreflect.Message { + mi := &file_autopilotrpc_autopilot_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 ModifyStatusRequest.ProtoReflect.Descriptor instead. func (*ModifyStatusRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e0b9dc347a92e084, []int{2} + return file_autopilotrpc_autopilot_proto_rawDescGZIP(), []int{2} } -func (m *ModifyStatusRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ModifyStatusRequest.Unmarshal(m, b) -} -func (m *ModifyStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ModifyStatusRequest.Marshal(b, m, deterministic) -} -func (m *ModifyStatusRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ModifyStatusRequest.Merge(m, src) -} -func (m *ModifyStatusRequest) XXX_Size() int { - return xxx_messageInfo_ModifyStatusRequest.Size(m) -} -func (m *ModifyStatusRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ModifyStatusRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ModifyStatusRequest proto.InternalMessageInfo - -func (m *ModifyStatusRequest) GetEnable() bool { - if m != nil { - return m.Enable +func (x *ModifyStatusRequest) GetEnable() bool { + if x != nil { + return x.Enable } return false } type ModifyStatusResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ModifyStatusResponse) Reset() { *m = ModifyStatusResponse{} } -func (m *ModifyStatusResponse) String() string { return proto.CompactTextString(m) } -func (*ModifyStatusResponse) ProtoMessage() {} +func (x *ModifyStatusResponse) Reset() { + *x = ModifyStatusResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_autopilotrpc_autopilot_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ModifyStatusResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ModifyStatusResponse) ProtoMessage() {} + +func (x *ModifyStatusResponse) ProtoReflect() protoreflect.Message { + mi := &file_autopilotrpc_autopilot_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 ModifyStatusResponse.ProtoReflect.Descriptor instead. func (*ModifyStatusResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e0b9dc347a92e084, []int{3} + return file_autopilotrpc_autopilot_proto_rawDescGZIP(), []int{3} } -func (m *ModifyStatusResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ModifyStatusResponse.Unmarshal(m, b) -} -func (m *ModifyStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ModifyStatusResponse.Marshal(b, m, deterministic) -} -func (m *ModifyStatusResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ModifyStatusResponse.Merge(m, src) -} -func (m *ModifyStatusResponse) XXX_Size() int { - return xxx_messageInfo_ModifyStatusResponse.Size(m) -} -func (m *ModifyStatusResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ModifyStatusResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ModifyStatusResponse proto.InternalMessageInfo - type QueryScoresRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + Pubkeys []string `protobuf:"bytes,1,rep,name=pubkeys,proto3" json:"pubkeys,omitempty"` // If set, we will ignore the local channel state when calculating scores. - IgnoreLocalState bool `protobuf:"varint,2,opt,name=ignore_local_state,json=ignoreLocalState,proto3" json:"ignore_local_state,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + IgnoreLocalState bool `protobuf:"varint,2,opt,name=ignore_local_state,json=ignoreLocalState,proto3" json:"ignore_local_state,omitempty"` } -func (m *QueryScoresRequest) Reset() { *m = QueryScoresRequest{} } -func (m *QueryScoresRequest) String() string { return proto.CompactTextString(m) } -func (*QueryScoresRequest) ProtoMessage() {} +func (x *QueryScoresRequest) Reset() { + *x = QueryScoresRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_autopilotrpc_autopilot_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QueryScoresRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryScoresRequest) ProtoMessage() {} + +func (x *QueryScoresRequest) ProtoReflect() protoreflect.Message { + mi := &file_autopilotrpc_autopilot_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 QueryScoresRequest.ProtoReflect.Descriptor instead. func (*QueryScoresRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e0b9dc347a92e084, []int{4} + return file_autopilotrpc_autopilot_proto_rawDescGZIP(), []int{4} } -func (m *QueryScoresRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QueryScoresRequest.Unmarshal(m, b) -} -func (m *QueryScoresRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QueryScoresRequest.Marshal(b, m, deterministic) -} -func (m *QueryScoresRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryScoresRequest.Merge(m, src) -} -func (m *QueryScoresRequest) XXX_Size() int { - return xxx_messageInfo_QueryScoresRequest.Size(m) -} -func (m *QueryScoresRequest) XXX_DiscardUnknown() { - xxx_messageInfo_QueryScoresRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryScoresRequest proto.InternalMessageInfo - -func (m *QueryScoresRequest) GetPubkeys() []string { - if m != nil { - return m.Pubkeys +func (x *QueryScoresRequest) GetPubkeys() []string { + if x != nil { + return x.Pubkeys } return nil } -func (m *QueryScoresRequest) GetIgnoreLocalState() bool { - if m != nil { - return m.IgnoreLocalState +func (x *QueryScoresRequest) GetIgnoreLocalState() bool { + if x != nil { + return x.IgnoreLocalState } return false } type QueryScoresResponse struct { - Results []*QueryScoresResponse_HeuristicResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Results []*QueryScoresResponse_HeuristicResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` } -func (m *QueryScoresResponse) Reset() { *m = QueryScoresResponse{} } -func (m *QueryScoresResponse) String() string { return proto.CompactTextString(m) } -func (*QueryScoresResponse) ProtoMessage() {} +func (x *QueryScoresResponse) Reset() { + *x = QueryScoresResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_autopilotrpc_autopilot_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QueryScoresResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryScoresResponse) ProtoMessage() {} + +func (x *QueryScoresResponse) ProtoReflect() protoreflect.Message { + mi := &file_autopilotrpc_autopilot_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 QueryScoresResponse.ProtoReflect.Descriptor instead. func (*QueryScoresResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e0b9dc347a92e084, []int{5} + return file_autopilotrpc_autopilot_proto_rawDescGZIP(), []int{5} } -func (m *QueryScoresResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QueryScoresResponse.Unmarshal(m, b) -} -func (m *QueryScoresResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QueryScoresResponse.Marshal(b, m, deterministic) -} -func (m *QueryScoresResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryScoresResponse.Merge(m, src) -} -func (m *QueryScoresResponse) XXX_Size() int { - return xxx_messageInfo_QueryScoresResponse.Size(m) -} -func (m *QueryScoresResponse) XXX_DiscardUnknown() { - xxx_messageInfo_QueryScoresResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryScoresResponse proto.InternalMessageInfo - -func (m *QueryScoresResponse) GetResults() []*QueryScoresResponse_HeuristicResult { - if m != nil { - return m.Results - } - return nil -} - -type QueryScoresResponse_HeuristicResult struct { - Heuristic string `protobuf:"bytes,1,opt,name=heuristic,proto3" json:"heuristic,omitempty"` - Scores map[string]float64 `protobuf:"bytes,2,rep,name=scores,proto3" json:"scores,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *QueryScoresResponse_HeuristicResult) Reset() { *m = QueryScoresResponse_HeuristicResult{} } -func (m *QueryScoresResponse_HeuristicResult) String() string { return proto.CompactTextString(m) } -func (*QueryScoresResponse_HeuristicResult) ProtoMessage() {} -func (*QueryScoresResponse_HeuristicResult) Descriptor() ([]byte, []int) { - return fileDescriptor_e0b9dc347a92e084, []int{5, 0} -} - -func (m *QueryScoresResponse_HeuristicResult) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QueryScoresResponse_HeuristicResult.Unmarshal(m, b) -} -func (m *QueryScoresResponse_HeuristicResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QueryScoresResponse_HeuristicResult.Marshal(b, m, deterministic) -} -func (m *QueryScoresResponse_HeuristicResult) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryScoresResponse_HeuristicResult.Merge(m, src) -} -func (m *QueryScoresResponse_HeuristicResult) XXX_Size() int { - return xxx_messageInfo_QueryScoresResponse_HeuristicResult.Size(m) -} -func (m *QueryScoresResponse_HeuristicResult) XXX_DiscardUnknown() { - xxx_messageInfo_QueryScoresResponse_HeuristicResult.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryScoresResponse_HeuristicResult proto.InternalMessageInfo - -func (m *QueryScoresResponse_HeuristicResult) GetHeuristic() string { - if m != nil { - return m.Heuristic - } - return "" -} - -func (m *QueryScoresResponse_HeuristicResult) GetScores() map[string]float64 { - if m != nil { - return m.Scores +func (x *QueryScoresResponse) GetResults() []*QueryScoresResponse_HeuristicResult { + if x != nil { + return x.Results } return nil } type SetScoresRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The name of the heuristic to provide scores to. Heuristic string `protobuf:"bytes,1,opt,name=heuristic,proto3" json:"heuristic,omitempty"` // //A map from hex-encoded public keys to scores. Scores must be in the range //[0.0, 1.0]. - Scores map[string]float64 `protobuf:"bytes,2,rep,name=scores,proto3" json:"scores,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Scores map[string]float64 `protobuf:"bytes,2,rep,name=scores,proto3" json:"scores,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"` } -func (m *SetScoresRequest) Reset() { *m = SetScoresRequest{} } -func (m *SetScoresRequest) String() string { return proto.CompactTextString(m) } -func (*SetScoresRequest) ProtoMessage() {} +func (x *SetScoresRequest) Reset() { + *x = SetScoresRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_autopilotrpc_autopilot_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetScoresRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetScoresRequest) ProtoMessage() {} + +func (x *SetScoresRequest) ProtoReflect() protoreflect.Message { + mi := &file_autopilotrpc_autopilot_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 SetScoresRequest.ProtoReflect.Descriptor instead. func (*SetScoresRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_e0b9dc347a92e084, []int{6} + return file_autopilotrpc_autopilot_proto_rawDescGZIP(), []int{6} } -func (m *SetScoresRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetScoresRequest.Unmarshal(m, b) -} -func (m *SetScoresRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetScoresRequest.Marshal(b, m, deterministic) -} -func (m *SetScoresRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetScoresRequest.Merge(m, src) -} -func (m *SetScoresRequest) XXX_Size() int { - return xxx_messageInfo_SetScoresRequest.Size(m) -} -func (m *SetScoresRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetScoresRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SetScoresRequest proto.InternalMessageInfo - -func (m *SetScoresRequest) GetHeuristic() string { - if m != nil { - return m.Heuristic +func (x *SetScoresRequest) GetHeuristic() string { + if x != nil { + return x.Heuristic } return "" } -func (m *SetScoresRequest) GetScores() map[string]float64 { - if m != nil { - return m.Scores +func (x *SetScoresRequest) GetScores() map[string]float64 { + if x != nil { + return x.Scores } return nil } type SetScoresResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *SetScoresResponse) Reset() { *m = SetScoresResponse{} } -func (m *SetScoresResponse) String() string { return proto.CompactTextString(m) } -func (*SetScoresResponse) ProtoMessage() {} +func (x *SetScoresResponse) Reset() { + *x = SetScoresResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_autopilotrpc_autopilot_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetScoresResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetScoresResponse) ProtoMessage() {} + +func (x *SetScoresResponse) ProtoReflect() protoreflect.Message { + mi := &file_autopilotrpc_autopilot_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 SetScoresResponse.ProtoReflect.Descriptor instead. func (*SetScoresResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_e0b9dc347a92e084, []int{7} + return file_autopilotrpc_autopilot_proto_rawDescGZIP(), []int{7} } -func (m *SetScoresResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetScoresResponse.Unmarshal(m, b) -} -func (m *SetScoresResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetScoresResponse.Marshal(b, m, deterministic) -} -func (m *SetScoresResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetScoresResponse.Merge(m, src) -} -func (m *SetScoresResponse) XXX_Size() int { - return xxx_messageInfo_SetScoresResponse.Size(m) -} -func (m *SetScoresResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SetScoresResponse.DiscardUnknown(m) +type QueryScoresResponse_HeuristicResult struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Heuristic string `protobuf:"bytes,1,opt,name=heuristic,proto3" json:"heuristic,omitempty"` + Scores map[string]float64 `protobuf:"bytes,2,rep,name=scores,proto3" json:"scores,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"` } -var xxx_messageInfo_SetScoresResponse proto.InternalMessageInfo - -func init() { - proto.RegisterType((*StatusRequest)(nil), "autopilotrpc.StatusRequest") - proto.RegisterType((*StatusResponse)(nil), "autopilotrpc.StatusResponse") - proto.RegisterType((*ModifyStatusRequest)(nil), "autopilotrpc.ModifyStatusRequest") - proto.RegisterType((*ModifyStatusResponse)(nil), "autopilotrpc.ModifyStatusResponse") - proto.RegisterType((*QueryScoresRequest)(nil), "autopilotrpc.QueryScoresRequest") - proto.RegisterType((*QueryScoresResponse)(nil), "autopilotrpc.QueryScoresResponse") - proto.RegisterType((*QueryScoresResponse_HeuristicResult)(nil), "autopilotrpc.QueryScoresResponse.HeuristicResult") - proto.RegisterMapType((map[string]float64)(nil), "autopilotrpc.QueryScoresResponse.HeuristicResult.ScoresEntry") - proto.RegisterType((*SetScoresRequest)(nil), "autopilotrpc.SetScoresRequest") - proto.RegisterMapType((map[string]float64)(nil), "autopilotrpc.SetScoresRequest.ScoresEntry") - proto.RegisterType((*SetScoresResponse)(nil), "autopilotrpc.SetScoresResponse") +func (x *QueryScoresResponse_HeuristicResult) Reset() { + *x = QueryScoresResponse_HeuristicResult{} + if protoimpl.UnsafeEnabled { + mi := &file_autopilotrpc_autopilot_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func init() { proto.RegisterFile("autopilotrpc/autopilot.proto", fileDescriptor_e0b9dc347a92e084) } +func (x *QueryScoresResponse_HeuristicResult) String() string { + return protoimpl.X.MessageStringOf(x) +} -var fileDescriptor_e0b9dc347a92e084 = []byte{ - // 468 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x94, 0xcf, 0x8b, 0xd3, 0x40, - 0x14, 0xc7, 0x49, 0x16, 0xbb, 0xe6, 0x75, 0x75, 0xeb, 0x74, 0x59, 0x42, 0x2c, 0xda, 0xcd, 0xa9, - 0x88, 0xa6, 0x58, 0x3d, 0xa8, 0xe0, 0xc1, 0x15, 0x41, 0x70, 0x3d, 0x38, 0x65, 0x2f, 0x22, 0x2c, - 0x69, 0x76, 0x6c, 0x87, 0x8e, 0x33, 0x71, 0xe6, 0xcd, 0x4a, 0xfe, 0x21, 0xaf, 0xfe, 0x0d, 0x1e, - 0xfd, 0xaf, 0xa4, 0x99, 0xa4, 0x26, 0xa5, 0x56, 0x84, 0xbd, 0xe5, 0xbd, 0xef, 0x9b, 0xcf, 0x9b, - 0xf7, 0x23, 0x03, 0x83, 0xd4, 0xa2, 0xca, 0xb9, 0x50, 0xa8, 0xf3, 0x6c, 0xbc, 0x36, 0x92, 0x5c, - 0x2b, 0x54, 0xe4, 0xa0, 0xa9, 0xc6, 0x87, 0x70, 0x6b, 0x8a, 0x29, 0x5a, 0x43, 0xd9, 0x57, 0xcb, - 0x0c, 0xc6, 0x23, 0xb8, 0x5d, 0x3b, 0x4c, 0xae, 0xa4, 0x61, 0xe4, 0x18, 0x3a, 0x69, 0x86, 0xfc, - 0x8a, 0x85, 0xde, 0xd0, 0x1b, 0xdd, 0xa4, 0x95, 0x15, 0x3f, 0x82, 0xfe, 0x7b, 0x75, 0xc9, 0x3f, - 0x17, 0x2d, 0xc0, 0x2a, 0x9c, 0xc9, 0x74, 0x26, 0xd6, 0xe1, 0xce, 0x8a, 0x8f, 0xe1, 0xa8, 0x1d, - 0xee, 0xf0, 0xf1, 0x27, 0x20, 0x1f, 0x2c, 0xd3, 0xc5, 0x34, 0x53, 0x9a, 0xad, 0x29, 0x21, 0xec, - 0xe7, 0x76, 0xb6, 0x64, 0x85, 0x09, 0xbd, 0xe1, 0xde, 0x28, 0xa0, 0xb5, 0x49, 0x1e, 0x02, 0xe1, - 0x73, 0xa9, 0x34, 0xbb, 0x10, 0x2a, 0x4b, 0xc5, 0x85, 0xc1, 0x14, 0x59, 0xe8, 0x97, 0xb9, 0x7a, - 0x4e, 0x39, 0x5b, 0x09, 0xab, 0x34, 0x2c, 0xfe, 0xee, 0x43, 0xbf, 0x85, 0xaf, 0x8a, 0x7a, 0x07, - 0xfb, 0x9a, 0x19, 0x2b, 0xd0, 0xf1, 0xbb, 0x93, 0xc7, 0x49, 0xb3, 0x2f, 0xc9, 0x96, 0x33, 0xc9, - 0x5b, 0x66, 0x35, 0x37, 0xc8, 0x33, 0x5a, 0x9e, 0xa4, 0x35, 0x21, 0xfa, 0xe9, 0xc1, 0xe1, 0x86, - 0x48, 0x06, 0x10, 0x2c, 0x6a, 0x57, 0xd9, 0x89, 0x80, 0xfe, 0x71, 0x90, 0x73, 0xe8, 0x98, 0x12, - 0x1e, 0xfa, 0x65, 0xf6, 0x97, 0xff, 0x9d, 0x3d, 0x71, 0xf2, 0x1b, 0x89, 0xba, 0xa0, 0x15, 0x2c, - 0x7a, 0x0e, 0xdd, 0x86, 0x9b, 0xf4, 0x60, 0x6f, 0xc9, 0x8a, 0x2a, 0xfb, 0xea, 0x93, 0x1c, 0xc1, - 0x8d, 0xab, 0x54, 0x58, 0xd7, 0x2f, 0x8f, 0x3a, 0xe3, 0x85, 0xff, 0xcc, 0x8b, 0x7f, 0x78, 0xd0, - 0x9b, 0x32, 0x6c, 0x4f, 0x61, 0x77, 0x11, 0xa7, 0x1b, 0x45, 0x3c, 0x68, 0x17, 0xb1, 0x49, 0xbb, - 0xee, 0x1b, 0xf7, 0xe1, 0x4e, 0x23, 0x85, 0xeb, 0xd2, 0xe4, 0x97, 0x0f, 0xc1, 0xab, 0xfa, 0x16, - 0xe4, 0x35, 0x74, 0xdc, 0xb6, 0x91, 0xbb, 0x1b, 0x77, 0x6b, 0xae, 0x6c, 0x34, 0xd8, 0x2e, 0x56, - 0xab, 0x72, 0x0e, 0x07, 0xcd, 0xc5, 0x25, 0x27, 0xed, 0xe8, 0x2d, 0xff, 0x40, 0x14, 0xef, 0x0a, - 0xa9, 0xb0, 0x14, 0xba, 0x8d, 0x31, 0x93, 0xe1, 0x8e, 0x0d, 0x70, 0xd0, 0x93, 0x7f, 0xee, 0x08, - 0x39, 0x83, 0x60, 0xdd, 0x12, 0x72, 0x6f, 0xf7, 0x38, 0xa2, 0xfb, 0x7f, 0xd5, 0x1d, 0xed, 0xf4, - 0xe9, 0xc7, 0xc9, 0x9c, 0xe3, 0xc2, 0xce, 0x92, 0x4c, 0x7d, 0x19, 0x0b, 0x3e, 0x5f, 0xa0, 0xe4, - 0x72, 0x2e, 0x19, 0x7e, 0x53, 0x7a, 0x39, 0x16, 0xf2, 0x72, 0x2c, 0x64, 0xeb, 0x89, 0xd1, 0x79, - 0x36, 0xeb, 0x94, 0xcf, 0xcc, 0x93, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0xf8, 0xb6, 0x25, 0xd7, - 0x86, 0x04, 0x00, 0x00, +func (*QueryScoresResponse_HeuristicResult) ProtoMessage() {} + +func (x *QueryScoresResponse_HeuristicResult) ProtoReflect() protoreflect.Message { + mi := &file_autopilotrpc_autopilot_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 QueryScoresResponse_HeuristicResult.ProtoReflect.Descriptor instead. +func (*QueryScoresResponse_HeuristicResult) Descriptor() ([]byte, []int) { + return file_autopilotrpc_autopilot_proto_rawDescGZIP(), []int{5, 0} +} + +func (x *QueryScoresResponse_HeuristicResult) GetHeuristic() string { + if x != nil { + return x.Heuristic + } + return "" +} + +func (x *QueryScoresResponse_HeuristicResult) GetScores() map[string]float64 { + if x != nil { + return x.Scores + } + return nil +} + +var File_autopilotrpc_autopilot_proto protoreflect.FileDescriptor + +var file_autopilotrpc_autopilot_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x61, 0x75, 0x74, 0x6f, 0x70, 0x69, 0x6c, 0x6f, 0x74, 0x72, 0x70, 0x63, 0x2f, 0x61, + 0x75, 0x74, 0x6f, 0x70, 0x69, 0x6c, 0x6f, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, + 0x61, 0x75, 0x74, 0x6f, 0x70, 0x69, 0x6c, 0x6f, 0x74, 0x72, 0x70, 0x63, 0x22, 0x0f, 0x0a, 0x0d, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x28, 0x0a, + 0x0e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x06, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x22, 0x2d, 0x0a, 0x13, 0x4d, 0x6f, 0x64, 0x69, 0x66, + 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, + 0x0a, 0x06, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, + 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x16, 0x0a, 0x14, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5c, + 0x0a, 0x12, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x73, 0x12, 0x2c, + 0x0a, 0x12, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x5f, 0x73, + 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x69, 0x67, 0x6e, 0x6f, + 0x72, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x65, 0x22, 0xa6, 0x02, 0x0a, + 0x13, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4b, 0x0a, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x70, 0x69, 0x6c, 0x6f, + 0x74, 0x72, 0x70, 0x63, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x48, 0x65, 0x75, 0x72, 0x69, 0x73, 0x74, + 0x69, 0x63, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x73, 0x1a, 0xc1, 0x01, 0x0a, 0x0f, 0x48, 0x65, 0x75, 0x72, 0x69, 0x73, 0x74, 0x69, 0x63, 0x52, + 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x68, 0x65, 0x75, 0x72, 0x69, 0x73, 0x74, + 0x69, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x68, 0x65, 0x75, 0x72, 0x69, 0x73, + 0x74, 0x69, 0x63, 0x12, 0x55, 0x0a, 0x06, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x70, 0x69, 0x6c, 0x6f, 0x74, 0x72, + 0x70, 0x63, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x48, 0x65, 0x75, 0x72, 0x69, 0x73, 0x74, 0x69, 0x63, + 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x45, 0x6e, 0x74, + 0x72, 0x79, 0x52, 0x06, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x53, 0x63, + 0x6f, 0x72, 0x65, 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, 0x14, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xaf, 0x01, 0x0a, 0x10, 0x53, 0x65, 0x74, 0x53, 0x63, 0x6f, + 0x72, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x68, 0x65, + 0x75, 0x72, 0x69, 0x73, 0x74, 0x69, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x68, + 0x65, 0x75, 0x72, 0x69, 0x73, 0x74, 0x69, 0x63, 0x12, 0x42, 0x0a, 0x06, 0x73, 0x63, 0x6f, 0x72, + 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x70, + 0x69, 0x6c, 0x6f, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x65, 0x74, 0x53, 0x63, 0x6f, 0x72, 0x65, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x45, + 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x1a, 0x39, 0x0a, 0x0b, + 0x53, 0x63, 0x6f, 0x72, 0x65, 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, 0x14, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x13, 0x0a, 0x11, 0x53, 0x65, 0x74, 0x53, 0x63, + 0x6f, 0x72, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xc9, 0x02, 0x0a, + 0x09, 0x41, 0x75, 0x74, 0x6f, 0x70, 0x69, 0x6c, 0x6f, 0x74, 0x12, 0x43, 0x0a, 0x06, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x12, 0x1b, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x70, 0x69, 0x6c, 0x6f, 0x74, + 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x1c, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x70, 0x69, 0x6c, 0x6f, 0x74, 0x72, 0x70, 0x63, + 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x55, 0x0a, 0x0c, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, + 0x21, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x70, 0x69, 0x6c, 0x6f, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x4d, + 0x6f, 0x64, 0x69, 0x66, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x70, 0x69, 0x6c, 0x6f, 0x74, 0x72, 0x70, + 0x63, 0x2e, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, 0x0b, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, + 0x63, 0x6f, 0x72, 0x65, 0x73, 0x12, 0x20, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x70, 0x69, 0x6c, 0x6f, + 0x74, 0x72, 0x70, 0x63, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x70, 0x69, + 0x6c, 0x6f, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x53, 0x63, 0x6f, 0x72, + 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4c, 0x0a, 0x09, 0x53, 0x65, + 0x74, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73, 0x12, 0x1e, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x70, 0x69, + 0x6c, 0x6f, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x65, 0x74, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x70, 0x69, + 0x6c, 0x6f, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x65, 0x74, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x34, 0x5a, 0x32, 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, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x70, 0x69, 0x6c, 0x6f, 0x74, 0x72, 0x70, 0x63, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_autopilotrpc_autopilot_proto_rawDescOnce sync.Once + file_autopilotrpc_autopilot_proto_rawDescData = file_autopilotrpc_autopilot_proto_rawDesc +) + +func file_autopilotrpc_autopilot_proto_rawDescGZIP() []byte { + file_autopilotrpc_autopilot_proto_rawDescOnce.Do(func() { + file_autopilotrpc_autopilot_proto_rawDescData = protoimpl.X.CompressGZIP(file_autopilotrpc_autopilot_proto_rawDescData) + }) + return file_autopilotrpc_autopilot_proto_rawDescData +} + +var file_autopilotrpc_autopilot_proto_msgTypes = make([]protoimpl.MessageInfo, 11) +var file_autopilotrpc_autopilot_proto_goTypes = []interface{}{ + (*StatusRequest)(nil), // 0: autopilotrpc.StatusRequest + (*StatusResponse)(nil), // 1: autopilotrpc.StatusResponse + (*ModifyStatusRequest)(nil), // 2: autopilotrpc.ModifyStatusRequest + (*ModifyStatusResponse)(nil), // 3: autopilotrpc.ModifyStatusResponse + (*QueryScoresRequest)(nil), // 4: autopilotrpc.QueryScoresRequest + (*QueryScoresResponse)(nil), // 5: autopilotrpc.QueryScoresResponse + (*SetScoresRequest)(nil), // 6: autopilotrpc.SetScoresRequest + (*SetScoresResponse)(nil), // 7: autopilotrpc.SetScoresResponse + (*QueryScoresResponse_HeuristicResult)(nil), // 8: autopilotrpc.QueryScoresResponse.HeuristicResult + nil, // 9: autopilotrpc.QueryScoresResponse.HeuristicResult.ScoresEntry + nil, // 10: autopilotrpc.SetScoresRequest.ScoresEntry +} +var file_autopilotrpc_autopilot_proto_depIdxs = []int32{ + 8, // 0: autopilotrpc.QueryScoresResponse.results:type_name -> autopilotrpc.QueryScoresResponse.HeuristicResult + 10, // 1: autopilotrpc.SetScoresRequest.scores:type_name -> autopilotrpc.SetScoresRequest.ScoresEntry + 9, // 2: autopilotrpc.QueryScoresResponse.HeuristicResult.scores:type_name -> autopilotrpc.QueryScoresResponse.HeuristicResult.ScoresEntry + 0, // 3: autopilotrpc.Autopilot.Status:input_type -> autopilotrpc.StatusRequest + 2, // 4: autopilotrpc.Autopilot.ModifyStatus:input_type -> autopilotrpc.ModifyStatusRequest + 4, // 5: autopilotrpc.Autopilot.QueryScores:input_type -> autopilotrpc.QueryScoresRequest + 6, // 6: autopilotrpc.Autopilot.SetScores:input_type -> autopilotrpc.SetScoresRequest + 1, // 7: autopilotrpc.Autopilot.Status:output_type -> autopilotrpc.StatusResponse + 3, // 8: autopilotrpc.Autopilot.ModifyStatus:output_type -> autopilotrpc.ModifyStatusResponse + 5, // 9: autopilotrpc.Autopilot.QueryScores:output_type -> autopilotrpc.QueryScoresResponse + 7, // 10: autopilotrpc.Autopilot.SetScores:output_type -> autopilotrpc.SetScoresResponse + 7, // [7:11] is the sub-list for method output_type + 3, // [3:7] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_autopilotrpc_autopilot_proto_init() } +func file_autopilotrpc_autopilot_proto_init() { + if File_autopilotrpc_autopilot_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_autopilotrpc_autopilot_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StatusRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_autopilotrpc_autopilot_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StatusResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_autopilotrpc_autopilot_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ModifyStatusRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_autopilotrpc_autopilot_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ModifyStatusResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_autopilotrpc_autopilot_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QueryScoresRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_autopilotrpc_autopilot_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QueryScoresResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_autopilotrpc_autopilot_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetScoresRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_autopilotrpc_autopilot_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetScoresResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_autopilotrpc_autopilot_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QueryScoresResponse_HeuristicResult); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_autopilotrpc_autopilot_proto_rawDesc, + NumEnums: 0, + NumMessages: 11, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_autopilotrpc_autopilot_proto_goTypes, + DependencyIndexes: file_autopilotrpc_autopilot_proto_depIdxs, + MessageInfos: file_autopilotrpc_autopilot_proto_msgTypes, + }.Build() + File_autopilotrpc_autopilot_proto = out.File + file_autopilotrpc_autopilot_proto_rawDesc = nil + file_autopilotrpc_autopilot_proto_goTypes = nil + file_autopilotrpc_autopilot_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 +const _ = grpc.SupportPackageIsVersion6 // AutopilotClient is the client API for Autopilot service. // @@ -463,10 +745,10 @@ type AutopilotClient interface { } type autopilotClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewAutopilotClient(cc *grpc.ClientConn) AutopilotClient { +func NewAutopilotClient(cc grpc.ClientConnInterface) AutopilotClient { return &autopilotClient{cc} } @@ -530,16 +812,16 @@ type AutopilotServer interface { type UnimplementedAutopilotServer struct { } -func (*UnimplementedAutopilotServer) Status(ctx context.Context, req *StatusRequest) (*StatusResponse, error) { +func (*UnimplementedAutopilotServer) Status(context.Context, *StatusRequest) (*StatusResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Status not implemented") } -func (*UnimplementedAutopilotServer) ModifyStatus(ctx context.Context, req *ModifyStatusRequest) (*ModifyStatusResponse, error) { +func (*UnimplementedAutopilotServer) ModifyStatus(context.Context, *ModifyStatusRequest) (*ModifyStatusResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ModifyStatus not implemented") } -func (*UnimplementedAutopilotServer) QueryScores(ctx context.Context, req *QueryScoresRequest) (*QueryScoresResponse, error) { +func (*UnimplementedAutopilotServer) QueryScores(context.Context, *QueryScoresRequest) (*QueryScoresResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method QueryScores not implemented") } -func (*UnimplementedAutopilotServer) SetScores(ctx context.Context, req *SetScoresRequest) (*SetScoresResponse, error) { +func (*UnimplementedAutopilotServer) SetScores(context.Context, *SetScoresRequest) (*SetScoresResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SetScores not implemented") } diff --git a/lnrpc/chainrpc/chainnotifier.pb.go b/lnrpc/chainrpc/chainnotifier.pb.go index 746dab255..953c5211a 100644 --- a/lnrpc/chainrpc/chainnotifier.pb.go +++ b/lnrpc/chainrpc/chainnotifier.pb.go @@ -1,30 +1,39 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.6.1 // source: chainrpc/chainnotifier.proto package chainrpc import ( context "context" - fmt "fmt" proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type ConfRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //The transaction hash for which we should request a confirmation notification //for. If set to a hash of all zeros, then the confirmation notification will @@ -44,66 +53,74 @@ type ConfRequest struct { //The earliest height in the chain for which the transaction/output script //could have been included in a block. This should in most cases be set to the //broadcast height of the transaction/output script. - HeightHint uint32 `protobuf:"varint,4,opt,name=height_hint,json=heightHint,proto3" json:"height_hint,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + HeightHint uint32 `protobuf:"varint,4,opt,name=height_hint,json=heightHint,proto3" json:"height_hint,omitempty"` } -func (m *ConfRequest) Reset() { *m = ConfRequest{} } -func (m *ConfRequest) String() string { return proto.CompactTextString(m) } -func (*ConfRequest) ProtoMessage() {} +func (x *ConfRequest) Reset() { + *x = ConfRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_chainrpc_chainnotifier_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConfRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConfRequest) ProtoMessage() {} + +func (x *ConfRequest) ProtoReflect() protoreflect.Message { + mi := &file_chainrpc_chainnotifier_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 ConfRequest.ProtoReflect.Descriptor instead. func (*ConfRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b10e6f8a1c9d2638, []int{0} + return file_chainrpc_chainnotifier_proto_rawDescGZIP(), []int{0} } -func (m *ConfRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConfRequest.Unmarshal(m, b) -} -func (m *ConfRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConfRequest.Marshal(b, m, deterministic) -} -func (m *ConfRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConfRequest.Merge(m, src) -} -func (m *ConfRequest) XXX_Size() int { - return xxx_messageInfo_ConfRequest.Size(m) -} -func (m *ConfRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ConfRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ConfRequest proto.InternalMessageInfo - -func (m *ConfRequest) GetTxid() []byte { - if m != nil { - return m.Txid +func (x *ConfRequest) GetTxid() []byte { + if x != nil { + return x.Txid } return nil } -func (m *ConfRequest) GetScript() []byte { - if m != nil { - return m.Script +func (x *ConfRequest) GetScript() []byte { + if x != nil { + return x.Script } return nil } -func (m *ConfRequest) GetNumConfs() uint32 { - if m != nil { - return m.NumConfs +func (x *ConfRequest) GetNumConfs() uint32 { + if x != nil { + return x.NumConfs } return 0 } -func (m *ConfRequest) GetHeightHint() uint32 { - if m != nil { - return m.HeightHint +func (x *ConfRequest) GetHeightHint() uint32 { + if x != nil { + return x.HeightHint } return 0 } type ConfDetails struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The raw bytes of the confirmed transaction. RawTx []byte `protobuf:"bytes,1,opt,name=raw_tx,json=rawTx,proto3" json:"raw_tx,omitempty"` // The hash of the block in which the confirmed transaction was included in. @@ -112,147 +129,150 @@ type ConfDetails struct { // in. BlockHeight uint32 `protobuf:"varint,3,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` // The index of the confirmed transaction within the transaction. - TxIndex uint32 `protobuf:"varint,4,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TxIndex uint32 `protobuf:"varint,4,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"` } -func (m *ConfDetails) Reset() { *m = ConfDetails{} } -func (m *ConfDetails) String() string { return proto.CompactTextString(m) } -func (*ConfDetails) ProtoMessage() {} +func (x *ConfDetails) Reset() { + *x = ConfDetails{} + if protoimpl.UnsafeEnabled { + mi := &file_chainrpc_chainnotifier_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConfDetails) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConfDetails) ProtoMessage() {} + +func (x *ConfDetails) ProtoReflect() protoreflect.Message { + mi := &file_chainrpc_chainnotifier_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 ConfDetails.ProtoReflect.Descriptor instead. func (*ConfDetails) Descriptor() ([]byte, []int) { - return fileDescriptor_b10e6f8a1c9d2638, []int{1} + return file_chainrpc_chainnotifier_proto_rawDescGZIP(), []int{1} } -func (m *ConfDetails) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConfDetails.Unmarshal(m, b) -} -func (m *ConfDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConfDetails.Marshal(b, m, deterministic) -} -func (m *ConfDetails) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConfDetails.Merge(m, src) -} -func (m *ConfDetails) XXX_Size() int { - return xxx_messageInfo_ConfDetails.Size(m) -} -func (m *ConfDetails) XXX_DiscardUnknown() { - xxx_messageInfo_ConfDetails.DiscardUnknown(m) -} - -var xxx_messageInfo_ConfDetails proto.InternalMessageInfo - -func (m *ConfDetails) GetRawTx() []byte { - if m != nil { - return m.RawTx +func (x *ConfDetails) GetRawTx() []byte { + if x != nil { + return x.RawTx } return nil } -func (m *ConfDetails) GetBlockHash() []byte { - if m != nil { - return m.BlockHash +func (x *ConfDetails) GetBlockHash() []byte { + if x != nil { + return x.BlockHash } return nil } -func (m *ConfDetails) GetBlockHeight() uint32 { - if m != nil { - return m.BlockHeight +func (x *ConfDetails) GetBlockHeight() uint32 { + if x != nil { + return x.BlockHeight } return 0 } -func (m *ConfDetails) GetTxIndex() uint32 { - if m != nil { - return m.TxIndex +func (x *ConfDetails) GetTxIndex() uint32 { + if x != nil { + return x.TxIndex } return 0 } type Reorg struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *Reorg) Reset() { *m = Reorg{} } -func (m *Reorg) String() string { return proto.CompactTextString(m) } -func (*Reorg) ProtoMessage() {} +func (x *Reorg) Reset() { + *x = Reorg{} + if protoimpl.UnsafeEnabled { + mi := &file_chainrpc_chainnotifier_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Reorg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Reorg) ProtoMessage() {} + +func (x *Reorg) ProtoReflect() protoreflect.Message { + mi := &file_chainrpc_chainnotifier_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 Reorg.ProtoReflect.Descriptor instead. func (*Reorg) Descriptor() ([]byte, []int) { - return fileDescriptor_b10e6f8a1c9d2638, []int{2} + return file_chainrpc_chainnotifier_proto_rawDescGZIP(), []int{2} } -func (m *Reorg) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Reorg.Unmarshal(m, b) -} -func (m *Reorg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Reorg.Marshal(b, m, deterministic) -} -func (m *Reorg) XXX_Merge(src proto.Message) { - xxx_messageInfo_Reorg.Merge(m, src) -} -func (m *Reorg) XXX_Size() int { - return xxx_messageInfo_Reorg.Size(m) -} -func (m *Reorg) XXX_DiscardUnknown() { - xxx_messageInfo_Reorg.DiscardUnknown(m) -} - -var xxx_messageInfo_Reorg proto.InternalMessageInfo - type ConfEvent struct { - // Types that are valid to be assigned to Event: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Event: // *ConfEvent_Conf // *ConfEvent_Reorg - Event isConfEvent_Event `protobuf_oneof:"event"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Event isConfEvent_Event `protobuf_oneof:"event"` } -func (m *ConfEvent) Reset() { *m = ConfEvent{} } -func (m *ConfEvent) String() string { return proto.CompactTextString(m) } -func (*ConfEvent) ProtoMessage() {} +func (x *ConfEvent) Reset() { + *x = ConfEvent{} + if protoimpl.UnsafeEnabled { + mi := &file_chainrpc_chainnotifier_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ConfEvent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ConfEvent) ProtoMessage() {} + +func (x *ConfEvent) ProtoReflect() protoreflect.Message { + mi := &file_chainrpc_chainnotifier_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 ConfEvent.ProtoReflect.Descriptor instead. func (*ConfEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_b10e6f8a1c9d2638, []int{3} + return file_chainrpc_chainnotifier_proto_rawDescGZIP(), []int{3} } -func (m *ConfEvent) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConfEvent.Unmarshal(m, b) -} -func (m *ConfEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConfEvent.Marshal(b, m, deterministic) -} -func (m *ConfEvent) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConfEvent.Merge(m, src) -} -func (m *ConfEvent) XXX_Size() int { - return xxx_messageInfo_ConfEvent.Size(m) -} -func (m *ConfEvent) XXX_DiscardUnknown() { - xxx_messageInfo_ConfEvent.DiscardUnknown(m) -} - -var xxx_messageInfo_ConfEvent proto.InternalMessageInfo - -type isConfEvent_Event interface { - isConfEvent_Event() -} - -type ConfEvent_Conf struct { - Conf *ConfDetails `protobuf:"bytes,1,opt,name=conf,proto3,oneof"` -} - -type ConfEvent_Reorg struct { - Reorg *Reorg `protobuf:"bytes,2,opt,name=reorg,proto3,oneof"` -} - -func (*ConfEvent_Conf) isConfEvent_Event() {} - -func (*ConfEvent_Reorg) isConfEvent_Event() {} - func (m *ConfEvent) GetEvent() isConfEvent_Event { if m != nil { return m.Event @@ -260,78 +280,104 @@ func (m *ConfEvent) GetEvent() isConfEvent_Event { return nil } -func (m *ConfEvent) GetConf() *ConfDetails { - if x, ok := m.GetEvent().(*ConfEvent_Conf); ok { +func (x *ConfEvent) GetConf() *ConfDetails { + if x, ok := x.GetEvent().(*ConfEvent_Conf); ok { return x.Conf } return nil } -func (m *ConfEvent) GetReorg() *Reorg { - if x, ok := m.GetEvent().(*ConfEvent_Reorg); ok { +func (x *ConfEvent) GetReorg() *Reorg { + if x, ok := x.GetEvent().(*ConfEvent_Reorg); ok { return x.Reorg } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ConfEvent) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ConfEvent_Conf)(nil), - (*ConfEvent_Reorg)(nil), - } +type isConfEvent_Event interface { + isConfEvent_Event() } +type ConfEvent_Conf struct { + // + //An event that includes the confirmation details of the request + //(txid/ouput script). + Conf *ConfDetails `protobuf:"bytes,1,opt,name=conf,proto3,oneof"` +} + +type ConfEvent_Reorg struct { + // + //An event send when the transaction of the request is reorged out of the + //chain. + Reorg *Reorg `protobuf:"bytes,2,opt,name=reorg,proto3,oneof"` +} + +func (*ConfEvent_Conf) isConfEvent_Event() {} + +func (*ConfEvent_Reorg) isConfEvent_Event() {} + type Outpoint struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The hash of the transaction. Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // The index of the output within the transaction. - Index uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Index uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` } -func (m *Outpoint) Reset() { *m = Outpoint{} } -func (m *Outpoint) String() string { return proto.CompactTextString(m) } -func (*Outpoint) ProtoMessage() {} +func (x *Outpoint) Reset() { + *x = Outpoint{} + if protoimpl.UnsafeEnabled { + mi := &file_chainrpc_chainnotifier_proto_msgTypes[4] + 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_chainrpc_chainnotifier_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 Outpoint.ProtoReflect.Descriptor instead. func (*Outpoint) Descriptor() ([]byte, []int) { - return fileDescriptor_b10e6f8a1c9d2638, []int{4} + return file_chainrpc_chainnotifier_proto_rawDescGZIP(), []int{4} } -func (m *Outpoint) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Outpoint.Unmarshal(m, b) -} -func (m *Outpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Outpoint.Marshal(b, m, deterministic) -} -func (m *Outpoint) XXX_Merge(src proto.Message) { - xxx_messageInfo_Outpoint.Merge(m, src) -} -func (m *Outpoint) XXX_Size() int { - return xxx_messageInfo_Outpoint.Size(m) -} -func (m *Outpoint) XXX_DiscardUnknown() { - xxx_messageInfo_Outpoint.DiscardUnknown(m) -} - -var xxx_messageInfo_Outpoint proto.InternalMessageInfo - -func (m *Outpoint) GetHash() []byte { - if m != nil { - return m.Hash +func (x *Outpoint) GetHash() []byte { + if x != nil { + return x.Hash } return nil } -func (m *Outpoint) GetIndex() uint32 { - if m != nil { - return m.Index +func (x *Outpoint) GetIndex() uint32 { + if x != nil { + return x.Index } return 0 } type SpendRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //The outpoint for which we should request a spend notification for. If set to //a zero outpoint, then the spend notification will be requested for the @@ -346,59 +392,67 @@ type SpendRequest struct { //The earliest height in the chain for which the outpoint/output script could //have been spent. This should in most cases be set to the broadcast height of //the outpoint/output script. - HeightHint uint32 `protobuf:"varint,3,opt,name=height_hint,json=heightHint,proto3" json:"height_hint,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + HeightHint uint32 `protobuf:"varint,3,opt,name=height_hint,json=heightHint,proto3" json:"height_hint,omitempty"` } -func (m *SpendRequest) Reset() { *m = SpendRequest{} } -func (m *SpendRequest) String() string { return proto.CompactTextString(m) } -func (*SpendRequest) ProtoMessage() {} +func (x *SpendRequest) Reset() { + *x = SpendRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_chainrpc_chainnotifier_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SpendRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SpendRequest) ProtoMessage() {} + +func (x *SpendRequest) ProtoReflect() protoreflect.Message { + mi := &file_chainrpc_chainnotifier_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 SpendRequest.ProtoReflect.Descriptor instead. func (*SpendRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b10e6f8a1c9d2638, []int{5} + return file_chainrpc_chainnotifier_proto_rawDescGZIP(), []int{5} } -func (m *SpendRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SpendRequest.Unmarshal(m, b) -} -func (m *SpendRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SpendRequest.Marshal(b, m, deterministic) -} -func (m *SpendRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SpendRequest.Merge(m, src) -} -func (m *SpendRequest) XXX_Size() int { - return xxx_messageInfo_SpendRequest.Size(m) -} -func (m *SpendRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SpendRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SpendRequest proto.InternalMessageInfo - -func (m *SpendRequest) GetOutpoint() *Outpoint { - if m != nil { - return m.Outpoint +func (x *SpendRequest) GetOutpoint() *Outpoint { + if x != nil { + return x.Outpoint } return nil } -func (m *SpendRequest) GetScript() []byte { - if m != nil { - return m.Script +func (x *SpendRequest) GetScript() []byte { + if x != nil { + return x.Script } return nil } -func (m *SpendRequest) GetHeightHint() uint32 { - if m != nil { - return m.HeightHint +func (x *SpendRequest) GetHeightHint() uint32 { + if x != nil { + return x.HeightHint } return 0 } type SpendDetails struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The outpoint was that spent. SpendingOutpoint *Outpoint `protobuf:"bytes,1,opt,name=spending_outpoint,json=spendingOutpoint,proto3" json:"spending_outpoint,omitempty"` // The raw bytes of the spending transaction. @@ -408,123 +462,119 @@ type SpendDetails struct { // The input of the spending transaction that fulfilled the spend request. SpendingInputIndex uint32 `protobuf:"varint,4,opt,name=spending_input_index,json=spendingInputIndex,proto3" json:"spending_input_index,omitempty"` // The height at which the spending transaction was included in a block. - SpendingHeight uint32 `protobuf:"varint,5,opt,name=spending_height,json=spendingHeight,proto3" json:"spending_height,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SpendingHeight uint32 `protobuf:"varint,5,opt,name=spending_height,json=spendingHeight,proto3" json:"spending_height,omitempty"` } -func (m *SpendDetails) Reset() { *m = SpendDetails{} } -func (m *SpendDetails) String() string { return proto.CompactTextString(m) } -func (*SpendDetails) ProtoMessage() {} +func (x *SpendDetails) Reset() { + *x = SpendDetails{} + if protoimpl.UnsafeEnabled { + mi := &file_chainrpc_chainnotifier_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SpendDetails) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SpendDetails) ProtoMessage() {} + +func (x *SpendDetails) ProtoReflect() protoreflect.Message { + mi := &file_chainrpc_chainnotifier_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 SpendDetails.ProtoReflect.Descriptor instead. func (*SpendDetails) Descriptor() ([]byte, []int) { - return fileDescriptor_b10e6f8a1c9d2638, []int{6} + return file_chainrpc_chainnotifier_proto_rawDescGZIP(), []int{6} } -func (m *SpendDetails) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SpendDetails.Unmarshal(m, b) -} -func (m *SpendDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SpendDetails.Marshal(b, m, deterministic) -} -func (m *SpendDetails) XXX_Merge(src proto.Message) { - xxx_messageInfo_SpendDetails.Merge(m, src) -} -func (m *SpendDetails) XXX_Size() int { - return xxx_messageInfo_SpendDetails.Size(m) -} -func (m *SpendDetails) XXX_DiscardUnknown() { - xxx_messageInfo_SpendDetails.DiscardUnknown(m) -} - -var xxx_messageInfo_SpendDetails proto.InternalMessageInfo - -func (m *SpendDetails) GetSpendingOutpoint() *Outpoint { - if m != nil { - return m.SpendingOutpoint +func (x *SpendDetails) GetSpendingOutpoint() *Outpoint { + if x != nil { + return x.SpendingOutpoint } return nil } -func (m *SpendDetails) GetRawSpendingTx() []byte { - if m != nil { - return m.RawSpendingTx +func (x *SpendDetails) GetRawSpendingTx() []byte { + if x != nil { + return x.RawSpendingTx } return nil } -func (m *SpendDetails) GetSpendingTxHash() []byte { - if m != nil { - return m.SpendingTxHash +func (x *SpendDetails) GetSpendingTxHash() []byte { + if x != nil { + return x.SpendingTxHash } return nil } -func (m *SpendDetails) GetSpendingInputIndex() uint32 { - if m != nil { - return m.SpendingInputIndex +func (x *SpendDetails) GetSpendingInputIndex() uint32 { + if x != nil { + return x.SpendingInputIndex } return 0 } -func (m *SpendDetails) GetSpendingHeight() uint32 { - if m != nil { - return m.SpendingHeight +func (x *SpendDetails) GetSpendingHeight() uint32 { + if x != nil { + return x.SpendingHeight } return 0 } type SpendEvent struct { - // Types that are valid to be assigned to Event: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Event: // *SpendEvent_Spend // *SpendEvent_Reorg - Event isSpendEvent_Event `protobuf_oneof:"event"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Event isSpendEvent_Event `protobuf_oneof:"event"` } -func (m *SpendEvent) Reset() { *m = SpendEvent{} } -func (m *SpendEvent) String() string { return proto.CompactTextString(m) } -func (*SpendEvent) ProtoMessage() {} +func (x *SpendEvent) Reset() { + *x = SpendEvent{} + if protoimpl.UnsafeEnabled { + mi := &file_chainrpc_chainnotifier_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SpendEvent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SpendEvent) ProtoMessage() {} + +func (x *SpendEvent) ProtoReflect() protoreflect.Message { + mi := &file_chainrpc_chainnotifier_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 SpendEvent.ProtoReflect.Descriptor instead. func (*SpendEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_b10e6f8a1c9d2638, []int{7} + return file_chainrpc_chainnotifier_proto_rawDescGZIP(), []int{7} } -func (m *SpendEvent) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SpendEvent.Unmarshal(m, b) -} -func (m *SpendEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SpendEvent.Marshal(b, m, deterministic) -} -func (m *SpendEvent) XXX_Merge(src proto.Message) { - xxx_messageInfo_SpendEvent.Merge(m, src) -} -func (m *SpendEvent) XXX_Size() int { - return xxx_messageInfo_SpendEvent.Size(m) -} -func (m *SpendEvent) XXX_DiscardUnknown() { - xxx_messageInfo_SpendEvent.DiscardUnknown(m) -} - -var xxx_messageInfo_SpendEvent proto.InternalMessageInfo - -type isSpendEvent_Event interface { - isSpendEvent_Event() -} - -type SpendEvent_Spend struct { - Spend *SpendDetails `protobuf:"bytes,1,opt,name=spend,proto3,oneof"` -} - -type SpendEvent_Reorg struct { - Reorg *Reorg `protobuf:"bytes,2,opt,name=reorg,proto3,oneof"` -} - -func (*SpendEvent_Spend) isSpendEvent_Event() {} - -func (*SpendEvent_Reorg) isSpendEvent_Event() {} - func (m *SpendEvent) GetEvent() isSpendEvent_Event { if m != nil { return m.Event @@ -532,138 +582,380 @@ func (m *SpendEvent) GetEvent() isSpendEvent_Event { return nil } -func (m *SpendEvent) GetSpend() *SpendDetails { - if x, ok := m.GetEvent().(*SpendEvent_Spend); ok { +func (x *SpendEvent) GetSpend() *SpendDetails { + if x, ok := x.GetEvent().(*SpendEvent_Spend); ok { return x.Spend } return nil } -func (m *SpendEvent) GetReorg() *Reorg { - if x, ok := m.GetEvent().(*SpendEvent_Reorg); ok { +func (x *SpendEvent) GetReorg() *Reorg { + if x, ok := x.GetEvent().(*SpendEvent_Reorg); ok { return x.Reorg } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*SpendEvent) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*SpendEvent_Spend)(nil), - (*SpendEvent_Reorg)(nil), - } +type isSpendEvent_Event interface { + isSpendEvent_Event() } +type SpendEvent_Spend struct { + // + //An event that includes the details of the spending transaction of the + //request (outpoint/output script). + Spend *SpendDetails `protobuf:"bytes,1,opt,name=spend,proto3,oneof"` +} + +type SpendEvent_Reorg struct { + // + //An event sent when the spending transaction of the request was + //reorged out of the chain. + Reorg *Reorg `protobuf:"bytes,2,opt,name=reorg,proto3,oneof"` +} + +func (*SpendEvent_Spend) isSpendEvent_Event() {} + +func (*SpendEvent_Reorg) isSpendEvent_Event() {} + type BlockEpoch struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The hash of the block. Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // The height of the block. - Height uint32 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Height uint32 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` } -func (m *BlockEpoch) Reset() { *m = BlockEpoch{} } -func (m *BlockEpoch) String() string { return proto.CompactTextString(m) } -func (*BlockEpoch) ProtoMessage() {} +func (x *BlockEpoch) Reset() { + *x = BlockEpoch{} + if protoimpl.UnsafeEnabled { + mi := &file_chainrpc_chainnotifier_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BlockEpoch) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BlockEpoch) ProtoMessage() {} + +func (x *BlockEpoch) ProtoReflect() protoreflect.Message { + mi := &file_chainrpc_chainnotifier_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 BlockEpoch.ProtoReflect.Descriptor instead. func (*BlockEpoch) Descriptor() ([]byte, []int) { - return fileDescriptor_b10e6f8a1c9d2638, []int{8} + return file_chainrpc_chainnotifier_proto_rawDescGZIP(), []int{8} } -func (m *BlockEpoch) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BlockEpoch.Unmarshal(m, b) -} -func (m *BlockEpoch) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BlockEpoch.Marshal(b, m, deterministic) -} -func (m *BlockEpoch) XXX_Merge(src proto.Message) { - xxx_messageInfo_BlockEpoch.Merge(m, src) -} -func (m *BlockEpoch) XXX_Size() int { - return xxx_messageInfo_BlockEpoch.Size(m) -} -func (m *BlockEpoch) XXX_DiscardUnknown() { - xxx_messageInfo_BlockEpoch.DiscardUnknown(m) -} - -var xxx_messageInfo_BlockEpoch proto.InternalMessageInfo - -func (m *BlockEpoch) GetHash() []byte { - if m != nil { - return m.Hash +func (x *BlockEpoch) GetHash() []byte { + if x != nil { + return x.Hash } return nil } -func (m *BlockEpoch) GetHeight() uint32 { - if m != nil { - return m.Height +func (x *BlockEpoch) GetHeight() uint32 { + if x != nil { + return x.Height } return 0 } -func init() { - proto.RegisterType((*ConfRequest)(nil), "chainrpc.ConfRequest") - proto.RegisterType((*ConfDetails)(nil), "chainrpc.ConfDetails") - proto.RegisterType((*Reorg)(nil), "chainrpc.Reorg") - proto.RegisterType((*ConfEvent)(nil), "chainrpc.ConfEvent") - proto.RegisterType((*Outpoint)(nil), "chainrpc.Outpoint") - proto.RegisterType((*SpendRequest)(nil), "chainrpc.SpendRequest") - proto.RegisterType((*SpendDetails)(nil), "chainrpc.SpendDetails") - proto.RegisterType((*SpendEvent)(nil), "chainrpc.SpendEvent") - proto.RegisterType((*BlockEpoch)(nil), "chainrpc.BlockEpoch") +var File_chainrpc_chainnotifier_proto protoreflect.FileDescriptor + +var file_chainrpc_chainnotifier_proto_rawDesc = []byte{ + 0x0a, 0x1c, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x72, 0x70, 0x63, 0x2f, 0x63, 0x68, 0x61, 0x69, 0x6e, + 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, + 0x63, 0x68, 0x61, 0x69, 0x6e, 0x72, 0x70, 0x63, 0x22, 0x77, 0x0a, 0x0b, 0x43, 0x6f, 0x6e, 0x66, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x78, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x74, 0x78, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, + 0x63, 0x72, 0x69, 0x70, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x63, 0x72, + 0x69, 0x70, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x75, 0x6d, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x73, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6e, 0x75, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x73, + 0x12, 0x1f, 0x0a, 0x0b, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x68, 0x69, 0x6e, 0x74, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x48, 0x69, 0x6e, + 0x74, 0x22, 0x81, 0x01, 0x0a, 0x0b, 0x43, 0x6f, 0x6e, 0x66, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, + 0x73, 0x12, 0x15, 0x0a, 0x06, 0x72, 0x61, 0x77, 0x5f, 0x74, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x05, 0x72, 0x61, 0x77, 0x54, 0x78, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6c, 0x6f, 0x63, + 0x6b, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 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, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x62, + 0x6c, 0x6f, 0x63, 0x6b, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x78, + 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x74, 0x78, + 0x49, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x07, 0x0a, 0x05, 0x52, 0x65, 0x6f, 0x72, 0x67, 0x22, 0x6a, + 0x0a, 0x09, 0x43, 0x6f, 0x6e, 0x66, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x2b, 0x0a, 0x04, 0x63, + 0x6f, 0x6e, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x63, 0x68, 0x61, 0x69, + 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, + 0x48, 0x00, 0x52, 0x04, 0x63, 0x6f, 0x6e, 0x66, 0x12, 0x27, 0x0a, 0x05, 0x72, 0x65, 0x6f, 0x72, + 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x72, + 0x70, 0x63, 0x2e, 0x52, 0x65, 0x6f, 0x72, 0x67, 0x48, 0x00, 0x52, 0x05, 0x72, 0x65, 0x6f, 0x72, + 0x67, 0x42, 0x07, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x34, 0x0a, 0x08, 0x4f, 0x75, + 0x74, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, + 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, + 0x22, 0x77, 0x0a, 0x0c, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x2e, 0x0a, 0x08, 0x6f, 0x75, 0x74, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x75, + 0x74, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x08, 0x6f, 0x75, 0x74, 0x70, 0x6f, 0x69, 0x6e, 0x74, + 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x06, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x68, 0x65, 0x69, 0x67, + 0x68, 0x74, 0x5f, 0x68, 0x69, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x68, + 0x65, 0x69, 0x67, 0x68, 0x74, 0x48, 0x69, 0x6e, 0x74, 0x22, 0xfc, 0x01, 0x0a, 0x0c, 0x53, 0x70, + 0x65, 0x6e, 0x64, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x3f, 0x0a, 0x11, 0x73, 0x70, + 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x72, 0x70, 0x63, + 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x52, 0x10, 0x73, 0x70, 0x65, 0x6e, 0x64, + 0x69, 0x6e, 0x67, 0x4f, 0x75, 0x74, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x26, 0x0a, 0x0f, 0x72, + 0x61, 0x77, 0x5f, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x78, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x72, 0x61, 0x77, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, + 0x67, 0x54, 0x78, 0x12, 0x28, 0x0a, 0x10, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, + 0x74, 0x78, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x73, + 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x54, 0x78, 0x48, 0x61, 0x73, 0x68, 0x12, 0x30, 0x0a, + 0x14, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, + 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x73, 0x70, 0x65, + 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, + 0x27, 0x0a, 0x0f, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x68, 0x65, 0x69, 0x67, + 0x68, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x69, + 0x6e, 0x67, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x22, 0x6e, 0x0a, 0x0a, 0x53, 0x70, 0x65, 0x6e, + 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x2e, 0x0a, 0x05, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x72, 0x70, 0x63, + 0x2e, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x48, 0x00, 0x52, + 0x05, 0x73, 0x70, 0x65, 0x6e, 0x64, 0x12, 0x27, 0x0a, 0x05, 0x72, 0x65, 0x6f, 0x72, 0x67, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x72, 0x70, 0x63, + 0x2e, 0x52, 0x65, 0x6f, 0x72, 0x67, 0x48, 0x00, 0x52, 0x05, 0x72, 0x65, 0x6f, 0x72, 0x67, 0x42, + 0x07, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x38, 0x0a, 0x0a, 0x42, 0x6c, 0x6f, 0x63, + 0x6b, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, + 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, + 0x68, 0x74, 0x32, 0xe7, 0x01, 0x0a, 0x0d, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x4e, 0x6f, 0x74, 0x69, + 0x66, 0x69, 0x65, 0x72, 0x12, 0x49, 0x0a, 0x19, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x4e, 0x74, 0x66, + 0x6e, 0x12, 0x15, 0x2e, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x6e, + 0x66, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x63, 0x68, 0x61, 0x69, 0x6e, + 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x30, 0x01, 0x12, + 0x43, 0x0a, 0x11, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x53, 0x70, 0x65, 0x6e, 0x64, + 0x4e, 0x74, 0x66, 0x6e, 0x12, 0x16, 0x2e, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x72, 0x70, 0x63, 0x2e, + 0x53, 0x70, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x63, + 0x68, 0x61, 0x69, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x70, 0x65, 0x6e, 0x64, 0x45, 0x76, 0x65, + 0x6e, 0x74, 0x30, 0x01, 0x12, 0x46, 0x0a, 0x16, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x4e, 0x74, 0x66, 0x6e, 0x12, 0x14, + 0x2e, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x45, + 0x70, 0x6f, 0x63, 0x68, 0x1a, 0x14, 0x2e, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x72, 0x70, 0x63, 0x2e, + 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x45, 0x70, 0x6f, 0x63, 0x68, 0x30, 0x01, 0x42, 0x30, 0x5a, 0x2e, + 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, 0x2f, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x72, 0x70, 0x63, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -func init() { proto.RegisterFile("chainrpc/chainnotifier.proto", fileDescriptor_b10e6f8a1c9d2638) } +var ( + file_chainrpc_chainnotifier_proto_rawDescOnce sync.Once + file_chainrpc_chainnotifier_proto_rawDescData = file_chainrpc_chainnotifier_proto_rawDesc +) -var fileDescriptor_b10e6f8a1c9d2638 = []byte{ - // 574 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0x4f, 0x6f, 0x13, 0x3f, - 0x10, 0xed, 0xb6, 0xdd, 0xfc, 0x99, 0x24, 0xbf, 0xb4, 0xfe, 0xa5, 0x51, 0x5a, 0x40, 0x94, 0x3d, - 0xd0, 0x48, 0x48, 0x21, 0x0a, 0x1c, 0xb8, 0x21, 0x35, 0x14, 0x25, 0x97, 0x22, 0x6d, 0x7b, 0x5f, - 0x6d, 0x37, 0x4e, 0xd6, 0xd0, 0xd8, 0x8b, 0xed, 0x90, 0xbd, 0xf2, 0x69, 0xf9, 0x12, 0x1c, 0x90, - 0x67, 0xed, 0x4d, 0x1a, 0x8a, 0x84, 0xb8, 0x79, 0x66, 0xde, 0x3e, 0xbf, 0xf1, 0x7b, 0x09, 0x3c, - 0x4d, 0xd2, 0x98, 0x71, 0x99, 0x25, 0xaf, 0xf1, 0xc0, 0x85, 0x66, 0x73, 0x46, 0xe5, 0x20, 0x93, - 0x42, 0x0b, 0x52, 0x73, 0xd3, 0x60, 0x0d, 0x8d, 0xb1, 0xe0, 0xf3, 0x90, 0x7e, 0x5d, 0x51, 0xa5, - 0x09, 0x81, 0x43, 0x9d, 0xb3, 0x59, 0xcf, 0x3b, 0xf7, 0xfa, 0xcd, 0x10, 0xcf, 0xa4, 0x0b, 0x15, - 0x95, 0x48, 0x96, 0xe9, 0xde, 0x3e, 0x76, 0x6d, 0x45, 0x9e, 0x40, 0x9d, 0xaf, 0x96, 0x51, 0x22, - 0xf8, 0x5c, 0xf5, 0x0e, 0xce, 0xbd, 0x7e, 0x2b, 0xac, 0xf1, 0xd5, 0xd2, 0xd0, 0x29, 0xf2, 0x1c, - 0x1a, 0x29, 0x65, 0x8b, 0x54, 0x47, 0x29, 0xe3, 0xba, 0x77, 0x88, 0x63, 0x28, 0x5a, 0x13, 0xc6, - 0x75, 0xf0, 0xdd, 0x2b, 0x6e, 0xfe, 0x40, 0x75, 0xcc, 0xee, 0x15, 0x39, 0x81, 0x8a, 0x8c, 0xd7, - 0x91, 0xce, 0xed, 0xdd, 0xbe, 0x8c, 0xd7, 0xb7, 0x39, 0x79, 0x06, 0x70, 0x77, 0x2f, 0x92, 0x2f, - 0x51, 0x1a, 0xab, 0xd4, 0x0a, 0xa8, 0x63, 0x67, 0x12, 0xab, 0x94, 0xbc, 0x80, 0xa6, 0x1d, 0x23, - 0xb3, 0x95, 0xd1, 0x28, 0x00, 0xd8, 0x22, 0xa7, 0x50, 0xd3, 0x79, 0xc4, 0xf8, 0x8c, 0xe6, 0x56, - 0x46, 0x55, 0xe7, 0x53, 0x53, 0x06, 0x55, 0xf0, 0x43, 0x2a, 0xe4, 0x22, 0xf8, 0x0c, 0x75, 0xa3, - 0xe5, 0xea, 0x1b, 0xe5, 0x9a, 0xbc, 0x82, 0x43, 0xb3, 0x13, 0xea, 0x68, 0x8c, 0x4e, 0x06, 0xee, - 0xad, 0x06, 0x5b, 0x72, 0x27, 0x7b, 0x21, 0x82, 0xc8, 0x05, 0xf8, 0xd2, 0x50, 0xa0, 0xb4, 0xc6, - 0xa8, 0xbd, 0x41, 0x23, 0xf3, 0x64, 0x2f, 0x2c, 0xe6, 0x97, 0x55, 0xf0, 0xa9, 0xa1, 0x0f, 0xde, - 0x42, 0xed, 0xd3, 0x4a, 0x67, 0x82, 0x71, 0x7c, 0x6e, 0xdc, 0xcb, 0x3e, 0xb7, 0x39, 0x93, 0x0e, - 0xf8, 0x85, 0xd8, 0x7d, 0x14, 0x5b, 0x14, 0xc1, 0x1a, 0x9a, 0x37, 0x19, 0xe5, 0x33, 0x67, 0xd4, - 0x00, 0x6a, 0xc2, 0xb2, 0x58, 0xa1, 0x64, 0x73, 0xb5, 0xe3, 0x0f, 0x4b, 0xcc, 0x1f, 0x4d, 0xdc, - 0xf1, 0xe9, 0xe0, 0x37, 0x9f, 0x7e, 0x7a, 0xf6, 0x66, 0x67, 0xd4, 0x7b, 0x38, 0x56, 0xa6, 0x66, - 0x7c, 0x11, 0xfd, 0x85, 0x84, 0x23, 0x07, 0x2e, 0x97, 0x7e, 0x09, 0x6d, 0xe3, 0x74, 0x49, 0xa2, - 0x73, 0xab, 0xa9, 0x25, 0xe3, 0xf5, 0x8d, 0xed, 0xde, 0xe6, 0xa4, 0x0f, 0x47, 0x5b, 0x98, 0x22, - 0x00, 0x07, 0x08, 0xfc, 0x4f, 0x95, 0x28, 0x4c, 0xc1, 0x10, 0x3a, 0x25, 0x92, 0xf1, 0x6c, 0xa5, - 0x1f, 0xd8, 0x4d, 0xdc, 0x6c, 0x6a, 0x46, 0xe8, 0x3c, 0xb9, 0x80, 0x76, 0xf9, 0x85, 0x8d, 0x8e, - 0x8f, 0xe0, 0x92, 0xba, 0x48, 0x4f, 0xc0, 0x01, 0x50, 0x52, 0x11, 0x8d, 0x01, 0xf8, 0x38, 0xb7, - 0xfb, 0x76, 0x37, 0xfb, 0x6e, 0x3f, 0x91, 0x31, 0x1d, 0x61, 0xff, 0x90, 0x8e, 0x77, 0x00, 0x97, - 0x26, 0xbc, 0x57, 0x99, 0x48, 0xd2, 0x47, 0xf3, 0xd1, 0x85, 0x8a, 0x55, 0x5c, 0x04, 0xc4, 0x56, - 0xa3, 0x1f, 0x1e, 0xb4, 0xc6, 0x86, 0xfe, 0xda, 0xfe, 0xd6, 0xc9, 0x14, 0x4e, 0x43, 0xba, 0x60, - 0x4a, 0x53, 0x69, 0xa2, 0xcb, 0xe4, 0x32, 0xd6, 0x4c, 0x70, 0x75, 0xad, 0xe7, 0x9c, 0xec, 0xe4, - 0xda, 0xe6, 0xea, 0xec, 0xff, 0x87, 0x6d, 0x5c, 0x7b, 0xe8, 0x91, 0x31, 0x1c, 0x3b, 0x2a, 0xdc, - 0x14, 0x29, 0x76, 0xd7, 0x77, 0x1c, 0x9d, 0x9d, 0xbe, 0x23, 0xf9, 0x08, 0x5d, 0x47, 0xb2, 0xd9, - 0x11, 0x99, 0xb6, 0xbe, 0xd8, 0x4c, 0xce, 0x1e, 0xed, 0x0e, 0xbd, 0xbb, 0x0a, 0xfe, 0x89, 0xbd, - 0xf9, 0x15, 0x00, 0x00, 0xff, 0xff, 0x65, 0xe6, 0xc2, 0xe4, 0xe4, 0x04, 0x00, 0x00, +func file_chainrpc_chainnotifier_proto_rawDescGZIP() []byte { + file_chainrpc_chainnotifier_proto_rawDescOnce.Do(func() { + file_chainrpc_chainnotifier_proto_rawDescData = protoimpl.X.CompressGZIP(file_chainrpc_chainnotifier_proto_rawDescData) + }) + return file_chainrpc_chainnotifier_proto_rawDescData +} + +var file_chainrpc_chainnotifier_proto_msgTypes = make([]protoimpl.MessageInfo, 9) +var file_chainrpc_chainnotifier_proto_goTypes = []interface{}{ + (*ConfRequest)(nil), // 0: chainrpc.ConfRequest + (*ConfDetails)(nil), // 1: chainrpc.ConfDetails + (*Reorg)(nil), // 2: chainrpc.Reorg + (*ConfEvent)(nil), // 3: chainrpc.ConfEvent + (*Outpoint)(nil), // 4: chainrpc.Outpoint + (*SpendRequest)(nil), // 5: chainrpc.SpendRequest + (*SpendDetails)(nil), // 6: chainrpc.SpendDetails + (*SpendEvent)(nil), // 7: chainrpc.SpendEvent + (*BlockEpoch)(nil), // 8: chainrpc.BlockEpoch +} +var file_chainrpc_chainnotifier_proto_depIdxs = []int32{ + 1, // 0: chainrpc.ConfEvent.conf:type_name -> chainrpc.ConfDetails + 2, // 1: chainrpc.ConfEvent.reorg:type_name -> chainrpc.Reorg + 4, // 2: chainrpc.SpendRequest.outpoint:type_name -> chainrpc.Outpoint + 4, // 3: chainrpc.SpendDetails.spending_outpoint:type_name -> chainrpc.Outpoint + 6, // 4: chainrpc.SpendEvent.spend:type_name -> chainrpc.SpendDetails + 2, // 5: chainrpc.SpendEvent.reorg:type_name -> chainrpc.Reorg + 0, // 6: chainrpc.ChainNotifier.RegisterConfirmationsNtfn:input_type -> chainrpc.ConfRequest + 5, // 7: chainrpc.ChainNotifier.RegisterSpendNtfn:input_type -> chainrpc.SpendRequest + 8, // 8: chainrpc.ChainNotifier.RegisterBlockEpochNtfn:input_type -> chainrpc.BlockEpoch + 3, // 9: chainrpc.ChainNotifier.RegisterConfirmationsNtfn:output_type -> chainrpc.ConfEvent + 7, // 10: chainrpc.ChainNotifier.RegisterSpendNtfn:output_type -> chainrpc.SpendEvent + 8, // 11: chainrpc.ChainNotifier.RegisterBlockEpochNtfn:output_type -> chainrpc.BlockEpoch + 9, // [9:12] is the sub-list for method output_type + 6, // [6:9] is the sub-list for method input_type + 6, // [6:6] is the sub-list for extension type_name + 6, // [6:6] is the sub-list for extension extendee + 0, // [0:6] is the sub-list for field type_name +} + +func init() { file_chainrpc_chainnotifier_proto_init() } +func file_chainrpc_chainnotifier_proto_init() { + if File_chainrpc_chainnotifier_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_chainrpc_chainnotifier_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConfRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_chainrpc_chainnotifier_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConfDetails); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_chainrpc_chainnotifier_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Reorg); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_chainrpc_chainnotifier_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConfEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_chainrpc_chainnotifier_proto_msgTypes[4].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_chainrpc_chainnotifier_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SpendRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_chainrpc_chainnotifier_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SpendDetails); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_chainrpc_chainnotifier_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SpendEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_chainrpc_chainnotifier_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BlockEpoch); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_chainrpc_chainnotifier_proto_msgTypes[3].OneofWrappers = []interface{}{ + (*ConfEvent_Conf)(nil), + (*ConfEvent_Reorg)(nil), + } + file_chainrpc_chainnotifier_proto_msgTypes[7].OneofWrappers = []interface{}{ + (*SpendEvent_Spend)(nil), + (*SpendEvent_Reorg)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_chainrpc_chainnotifier_proto_rawDesc, + NumEnums: 0, + NumMessages: 9, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_chainrpc_chainnotifier_proto_goTypes, + DependencyIndexes: file_chainrpc_chainnotifier_proto_depIdxs, + MessageInfos: file_chainrpc_chainnotifier_proto_msgTypes, + }.Build() + File_chainrpc_chainnotifier_proto = out.File + file_chainrpc_chainnotifier_proto_rawDesc = nil + file_chainrpc_chainnotifier_proto_goTypes = nil + file_chainrpc_chainnotifier_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 +const _ = grpc.SupportPackageIsVersion6 // ChainNotifierClient is the client API for ChainNotifier service. // @@ -700,10 +992,10 @@ type ChainNotifierClient interface { } type chainNotifierClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewChainNotifierClient(cc *grpc.ClientConn) ChainNotifierClient { +func NewChainNotifierClient(cc grpc.ClientConnInterface) ChainNotifierClient { return &chainNotifierClient{cc} } @@ -839,13 +1131,13 @@ type ChainNotifierServer interface { type UnimplementedChainNotifierServer struct { } -func (*UnimplementedChainNotifierServer) RegisterConfirmationsNtfn(req *ConfRequest, srv ChainNotifier_RegisterConfirmationsNtfnServer) error { +func (*UnimplementedChainNotifierServer) RegisterConfirmationsNtfn(*ConfRequest, ChainNotifier_RegisterConfirmationsNtfnServer) error { return status.Errorf(codes.Unimplemented, "method RegisterConfirmationsNtfn not implemented") } -func (*UnimplementedChainNotifierServer) RegisterSpendNtfn(req *SpendRequest, srv ChainNotifier_RegisterSpendNtfnServer) error { +func (*UnimplementedChainNotifierServer) RegisterSpendNtfn(*SpendRequest, ChainNotifier_RegisterSpendNtfnServer) error { return status.Errorf(codes.Unimplemented, "method RegisterSpendNtfn not implemented") } -func (*UnimplementedChainNotifierServer) RegisterBlockEpochNtfn(req *BlockEpoch, srv ChainNotifier_RegisterBlockEpochNtfnServer) error { +func (*UnimplementedChainNotifierServer) RegisterBlockEpochNtfn(*BlockEpoch, ChainNotifier_RegisterBlockEpochNtfnServer) error { return status.Errorf(codes.Unimplemented, "method RegisterBlockEpochNtfn not implemented") } diff --git a/lnrpc/chainrpc/chainnotifier.proto b/lnrpc/chainrpc/chainnotifier.proto index e8fa03779..5c9202b2a 100644 --- a/lnrpc/chainrpc/chainnotifier.proto +++ b/lnrpc/chainrpc/chainnotifier.proto @@ -2,6 +2,8 @@ syntax = "proto3"; package chainrpc; +option go_package = "github.com/lightningnetwork/lnd/lnrpc/chainrpc"; + // ChainNotifier is a service that can be used to get information about the // chain backend by registering notifiers for chain events. service ChainNotifier { diff --git a/lnrpc/invoicesrpc/invoices.pb.go b/lnrpc/invoicesrpc/invoices.pb.go index 2dde23d1e..ca4e16f16 100644 --- a/lnrpc/invoicesrpc/invoices.pb.go +++ b/lnrpc/invoicesrpc/invoices.pb.go @@ -1,102 +1,126 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.6.1 // source: invoicesrpc/invoices.proto package invoicesrpc import ( context "context" - fmt "fmt" proto "github.com/golang/protobuf/proto" lnrpc "github.com/lightningnetwork/lnd/lnrpc" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type CancelInvoiceMsg struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Hash corresponding to the (hold) invoice to cancel. - PaymentHash []byte `protobuf:"bytes,1,opt,name=payment_hash,json=paymentHash,proto3" json:"payment_hash,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + PaymentHash []byte `protobuf:"bytes,1,opt,name=payment_hash,json=paymentHash,proto3" json:"payment_hash,omitempty"` } -func (m *CancelInvoiceMsg) Reset() { *m = CancelInvoiceMsg{} } -func (m *CancelInvoiceMsg) String() string { return proto.CompactTextString(m) } -func (*CancelInvoiceMsg) ProtoMessage() {} +func (x *CancelInvoiceMsg) Reset() { + *x = CancelInvoiceMsg{} + if protoimpl.UnsafeEnabled { + mi := &file_invoicesrpc_invoices_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CancelInvoiceMsg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CancelInvoiceMsg) ProtoMessage() {} + +func (x *CancelInvoiceMsg) ProtoReflect() protoreflect.Message { + mi := &file_invoicesrpc_invoices_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 CancelInvoiceMsg.ProtoReflect.Descriptor instead. func (*CancelInvoiceMsg) Descriptor() ([]byte, []int) { - return fileDescriptor_090ab9c4958b987d, []int{0} + return file_invoicesrpc_invoices_proto_rawDescGZIP(), []int{0} } -func (m *CancelInvoiceMsg) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CancelInvoiceMsg.Unmarshal(m, b) -} -func (m *CancelInvoiceMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CancelInvoiceMsg.Marshal(b, m, deterministic) -} -func (m *CancelInvoiceMsg) XXX_Merge(src proto.Message) { - xxx_messageInfo_CancelInvoiceMsg.Merge(m, src) -} -func (m *CancelInvoiceMsg) XXX_Size() int { - return xxx_messageInfo_CancelInvoiceMsg.Size(m) -} -func (m *CancelInvoiceMsg) XXX_DiscardUnknown() { - xxx_messageInfo_CancelInvoiceMsg.DiscardUnknown(m) -} - -var xxx_messageInfo_CancelInvoiceMsg proto.InternalMessageInfo - -func (m *CancelInvoiceMsg) GetPaymentHash() []byte { - if m != nil { - return m.PaymentHash +func (x *CancelInvoiceMsg) GetPaymentHash() []byte { + if x != nil { + return x.PaymentHash } return nil } type CancelInvoiceResp struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *CancelInvoiceResp) Reset() { *m = CancelInvoiceResp{} } -func (m *CancelInvoiceResp) String() string { return proto.CompactTextString(m) } -func (*CancelInvoiceResp) ProtoMessage() {} +func (x *CancelInvoiceResp) Reset() { + *x = CancelInvoiceResp{} + if protoimpl.UnsafeEnabled { + mi := &file_invoicesrpc_invoices_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CancelInvoiceResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CancelInvoiceResp) ProtoMessage() {} + +func (x *CancelInvoiceResp) ProtoReflect() protoreflect.Message { + mi := &file_invoicesrpc_invoices_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 CancelInvoiceResp.ProtoReflect.Descriptor instead. func (*CancelInvoiceResp) Descriptor() ([]byte, []int) { - return fileDescriptor_090ab9c4958b987d, []int{1} + return file_invoicesrpc_invoices_proto_rawDescGZIP(), []int{1} } -func (m *CancelInvoiceResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CancelInvoiceResp.Unmarshal(m, b) -} -func (m *CancelInvoiceResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CancelInvoiceResp.Marshal(b, m, deterministic) -} -func (m *CancelInvoiceResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_CancelInvoiceResp.Merge(m, src) -} -func (m *CancelInvoiceResp) XXX_Size() int { - return xxx_messageInfo_CancelInvoiceResp.Size(m) -} -func (m *CancelInvoiceResp) XXX_DiscardUnknown() { - xxx_messageInfo_CancelInvoiceResp.DiscardUnknown(m) -} - -var xxx_messageInfo_CancelInvoiceResp proto.InternalMessageInfo - type AddHoldInvoiceRequest 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 @@ -131,318 +155,528 @@ type AddHoldInvoiceRequest struct { //invoice's destination. RouteHints []*lnrpc.RouteHint `protobuf:"bytes,8,rep,name=route_hints,json=routeHints,proto3" json:"route_hints,omitempty"` // Whether this invoice should include routing hints for private channels. - Private bool `protobuf:"varint,9,opt,name=private,proto3" json:"private,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Private bool `protobuf:"varint,9,opt,name=private,proto3" json:"private,omitempty"` } -func (m *AddHoldInvoiceRequest) Reset() { *m = AddHoldInvoiceRequest{} } -func (m *AddHoldInvoiceRequest) String() string { return proto.CompactTextString(m) } -func (*AddHoldInvoiceRequest) ProtoMessage() {} +func (x *AddHoldInvoiceRequest) Reset() { + *x = AddHoldInvoiceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_invoicesrpc_invoices_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddHoldInvoiceRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddHoldInvoiceRequest) ProtoMessage() {} + +func (x *AddHoldInvoiceRequest) ProtoReflect() protoreflect.Message { + mi := &file_invoicesrpc_invoices_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 AddHoldInvoiceRequest.ProtoReflect.Descriptor instead. func (*AddHoldInvoiceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_090ab9c4958b987d, []int{2} + return file_invoicesrpc_invoices_proto_rawDescGZIP(), []int{2} } -func (m *AddHoldInvoiceRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AddHoldInvoiceRequest.Unmarshal(m, b) -} -func (m *AddHoldInvoiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AddHoldInvoiceRequest.Marshal(b, m, deterministic) -} -func (m *AddHoldInvoiceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddHoldInvoiceRequest.Merge(m, src) -} -func (m *AddHoldInvoiceRequest) XXX_Size() int { - return xxx_messageInfo_AddHoldInvoiceRequest.Size(m) -} -func (m *AddHoldInvoiceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AddHoldInvoiceRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_AddHoldInvoiceRequest proto.InternalMessageInfo - -func (m *AddHoldInvoiceRequest) GetMemo() string { - if m != nil { - return m.Memo +func (x *AddHoldInvoiceRequest) GetMemo() string { + if x != nil { + return x.Memo } return "" } -func (m *AddHoldInvoiceRequest) GetHash() []byte { - if m != nil { - return m.Hash +func (x *AddHoldInvoiceRequest) GetHash() []byte { + if x != nil { + return x.Hash } return nil } -func (m *AddHoldInvoiceRequest) GetValue() int64 { - if m != nil { - return m.Value +func (x *AddHoldInvoiceRequest) GetValue() int64 { + if x != nil { + return x.Value } return 0 } -func (m *AddHoldInvoiceRequest) GetValueMsat() int64 { - if m != nil { - return m.ValueMsat +func (x *AddHoldInvoiceRequest) GetValueMsat() int64 { + if x != nil { + return x.ValueMsat } return 0 } -func (m *AddHoldInvoiceRequest) GetDescriptionHash() []byte { - if m != nil { - return m.DescriptionHash +func (x *AddHoldInvoiceRequest) GetDescriptionHash() []byte { + if x != nil { + return x.DescriptionHash } return nil } -func (m *AddHoldInvoiceRequest) GetExpiry() int64 { - if m != nil { - return m.Expiry +func (x *AddHoldInvoiceRequest) GetExpiry() int64 { + if x != nil { + return x.Expiry } return 0 } -func (m *AddHoldInvoiceRequest) GetFallbackAddr() string { - if m != nil { - return m.FallbackAddr +func (x *AddHoldInvoiceRequest) GetFallbackAddr() string { + if x != nil { + return x.FallbackAddr } return "" } -func (m *AddHoldInvoiceRequest) GetCltvExpiry() uint64 { - if m != nil { - return m.CltvExpiry +func (x *AddHoldInvoiceRequest) GetCltvExpiry() uint64 { + if x != nil { + return x.CltvExpiry } return 0 } -func (m *AddHoldInvoiceRequest) GetRouteHints() []*lnrpc.RouteHint { - if m != nil { - return m.RouteHints +func (x *AddHoldInvoiceRequest) GetRouteHints() []*lnrpc.RouteHint { + if x != nil { + return x.RouteHints } return nil } -func (m *AddHoldInvoiceRequest) GetPrivate() bool { - if m != nil { - return m.Private +func (x *AddHoldInvoiceRequest) GetPrivate() bool { + if x != nil { + return x.Private } return false } type AddHoldInvoiceResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //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,1,opt,name=payment_request,json=paymentRequest,proto3" json:"payment_request,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + PaymentRequest string `protobuf:"bytes,1,opt,name=payment_request,json=paymentRequest,proto3" json:"payment_request,omitempty"` } -func (m *AddHoldInvoiceResp) Reset() { *m = AddHoldInvoiceResp{} } -func (m *AddHoldInvoiceResp) String() string { return proto.CompactTextString(m) } -func (*AddHoldInvoiceResp) ProtoMessage() {} +func (x *AddHoldInvoiceResp) Reset() { + *x = AddHoldInvoiceResp{} + if protoimpl.UnsafeEnabled { + mi := &file_invoicesrpc_invoices_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddHoldInvoiceResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddHoldInvoiceResp) ProtoMessage() {} + +func (x *AddHoldInvoiceResp) ProtoReflect() protoreflect.Message { + mi := &file_invoicesrpc_invoices_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 AddHoldInvoiceResp.ProtoReflect.Descriptor instead. func (*AddHoldInvoiceResp) Descriptor() ([]byte, []int) { - return fileDescriptor_090ab9c4958b987d, []int{3} + return file_invoicesrpc_invoices_proto_rawDescGZIP(), []int{3} } -func (m *AddHoldInvoiceResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AddHoldInvoiceResp.Unmarshal(m, b) -} -func (m *AddHoldInvoiceResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AddHoldInvoiceResp.Marshal(b, m, deterministic) -} -func (m *AddHoldInvoiceResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddHoldInvoiceResp.Merge(m, src) -} -func (m *AddHoldInvoiceResp) XXX_Size() int { - return xxx_messageInfo_AddHoldInvoiceResp.Size(m) -} -func (m *AddHoldInvoiceResp) XXX_DiscardUnknown() { - xxx_messageInfo_AddHoldInvoiceResp.DiscardUnknown(m) -} - -var xxx_messageInfo_AddHoldInvoiceResp proto.InternalMessageInfo - -func (m *AddHoldInvoiceResp) GetPaymentRequest() string { - if m != nil { - return m.PaymentRequest +func (x *AddHoldInvoiceResp) GetPaymentRequest() string { + if x != nil { + return x.PaymentRequest } return "" } type SettleInvoiceMsg struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Externally discovered pre-image that should be used to settle the hold // invoice. - Preimage []byte `protobuf:"bytes,1,opt,name=preimage,proto3" json:"preimage,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Preimage []byte `protobuf:"bytes,1,opt,name=preimage,proto3" json:"preimage,omitempty"` } -func (m *SettleInvoiceMsg) Reset() { *m = SettleInvoiceMsg{} } -func (m *SettleInvoiceMsg) String() string { return proto.CompactTextString(m) } -func (*SettleInvoiceMsg) ProtoMessage() {} +func (x *SettleInvoiceMsg) Reset() { + *x = SettleInvoiceMsg{} + if protoimpl.UnsafeEnabled { + mi := &file_invoicesrpc_invoices_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SettleInvoiceMsg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SettleInvoiceMsg) ProtoMessage() {} + +func (x *SettleInvoiceMsg) ProtoReflect() protoreflect.Message { + mi := &file_invoicesrpc_invoices_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 SettleInvoiceMsg.ProtoReflect.Descriptor instead. func (*SettleInvoiceMsg) Descriptor() ([]byte, []int) { - return fileDescriptor_090ab9c4958b987d, []int{4} + return file_invoicesrpc_invoices_proto_rawDescGZIP(), []int{4} } -func (m *SettleInvoiceMsg) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SettleInvoiceMsg.Unmarshal(m, b) -} -func (m *SettleInvoiceMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SettleInvoiceMsg.Marshal(b, m, deterministic) -} -func (m *SettleInvoiceMsg) XXX_Merge(src proto.Message) { - xxx_messageInfo_SettleInvoiceMsg.Merge(m, src) -} -func (m *SettleInvoiceMsg) XXX_Size() int { - return xxx_messageInfo_SettleInvoiceMsg.Size(m) -} -func (m *SettleInvoiceMsg) XXX_DiscardUnknown() { - xxx_messageInfo_SettleInvoiceMsg.DiscardUnknown(m) -} - -var xxx_messageInfo_SettleInvoiceMsg proto.InternalMessageInfo - -func (m *SettleInvoiceMsg) GetPreimage() []byte { - if m != nil { - return m.Preimage +func (x *SettleInvoiceMsg) GetPreimage() []byte { + if x != nil { + return x.Preimage } return nil } type SettleInvoiceResp struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *SettleInvoiceResp) Reset() { *m = SettleInvoiceResp{} } -func (m *SettleInvoiceResp) String() string { return proto.CompactTextString(m) } -func (*SettleInvoiceResp) ProtoMessage() {} +func (x *SettleInvoiceResp) Reset() { + *x = SettleInvoiceResp{} + if protoimpl.UnsafeEnabled { + mi := &file_invoicesrpc_invoices_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SettleInvoiceResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SettleInvoiceResp) ProtoMessage() {} + +func (x *SettleInvoiceResp) ProtoReflect() protoreflect.Message { + mi := &file_invoicesrpc_invoices_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 SettleInvoiceResp.ProtoReflect.Descriptor instead. func (*SettleInvoiceResp) Descriptor() ([]byte, []int) { - return fileDescriptor_090ab9c4958b987d, []int{5} + return file_invoicesrpc_invoices_proto_rawDescGZIP(), []int{5} } -func (m *SettleInvoiceResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SettleInvoiceResp.Unmarshal(m, b) -} -func (m *SettleInvoiceResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SettleInvoiceResp.Marshal(b, m, deterministic) -} -func (m *SettleInvoiceResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_SettleInvoiceResp.Merge(m, src) -} -func (m *SettleInvoiceResp) XXX_Size() int { - return xxx_messageInfo_SettleInvoiceResp.Size(m) -} -func (m *SettleInvoiceResp) XXX_DiscardUnknown() { - xxx_messageInfo_SettleInvoiceResp.DiscardUnknown(m) -} - -var xxx_messageInfo_SettleInvoiceResp proto.InternalMessageInfo - type SubscribeSingleInvoiceRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Hash corresponding to the (hold) invoice to subscribe to. - RHash []byte `protobuf:"bytes,2,opt,name=r_hash,json=rHash,proto3" json:"r_hash,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + RHash []byte `protobuf:"bytes,2,opt,name=r_hash,json=rHash,proto3" json:"r_hash,omitempty"` } -func (m *SubscribeSingleInvoiceRequest) Reset() { *m = SubscribeSingleInvoiceRequest{} } -func (m *SubscribeSingleInvoiceRequest) String() string { return proto.CompactTextString(m) } -func (*SubscribeSingleInvoiceRequest) ProtoMessage() {} +func (x *SubscribeSingleInvoiceRequest) Reset() { + *x = SubscribeSingleInvoiceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_invoicesrpc_invoices_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SubscribeSingleInvoiceRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SubscribeSingleInvoiceRequest) ProtoMessage() {} + +func (x *SubscribeSingleInvoiceRequest) ProtoReflect() protoreflect.Message { + mi := &file_invoicesrpc_invoices_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 SubscribeSingleInvoiceRequest.ProtoReflect.Descriptor instead. func (*SubscribeSingleInvoiceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_090ab9c4958b987d, []int{6} + return file_invoicesrpc_invoices_proto_rawDescGZIP(), []int{6} } -func (m *SubscribeSingleInvoiceRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SubscribeSingleInvoiceRequest.Unmarshal(m, b) -} -func (m *SubscribeSingleInvoiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SubscribeSingleInvoiceRequest.Marshal(b, m, deterministic) -} -func (m *SubscribeSingleInvoiceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubscribeSingleInvoiceRequest.Merge(m, src) -} -func (m *SubscribeSingleInvoiceRequest) XXX_Size() int { - return xxx_messageInfo_SubscribeSingleInvoiceRequest.Size(m) -} -func (m *SubscribeSingleInvoiceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SubscribeSingleInvoiceRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SubscribeSingleInvoiceRequest proto.InternalMessageInfo - -func (m *SubscribeSingleInvoiceRequest) GetRHash() []byte { - if m != nil { - return m.RHash +func (x *SubscribeSingleInvoiceRequest) GetRHash() []byte { + if x != nil { + return x.RHash } return nil } -func init() { - proto.RegisterType((*CancelInvoiceMsg)(nil), "invoicesrpc.CancelInvoiceMsg") - proto.RegisterType((*CancelInvoiceResp)(nil), "invoicesrpc.CancelInvoiceResp") - proto.RegisterType((*AddHoldInvoiceRequest)(nil), "invoicesrpc.AddHoldInvoiceRequest") - proto.RegisterType((*AddHoldInvoiceResp)(nil), "invoicesrpc.AddHoldInvoiceResp") - proto.RegisterType((*SettleInvoiceMsg)(nil), "invoicesrpc.SettleInvoiceMsg") - proto.RegisterType((*SettleInvoiceResp)(nil), "invoicesrpc.SettleInvoiceResp") - proto.RegisterType((*SubscribeSingleInvoiceRequest)(nil), "invoicesrpc.SubscribeSingleInvoiceRequest") +var File_invoicesrpc_invoices_proto protoreflect.FileDescriptor + +var file_invoicesrpc_invoices_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x69, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x73, 0x72, 0x70, 0x63, 0x2f, 0x69, 0x6e, + 0x76, 0x6f, 0x69, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x69, 0x6e, + 0x76, 0x6f, 0x69, 0x63, 0x65, 0x73, 0x72, 0x70, 0x63, 0x1a, 0x09, 0x72, 0x70, 0x63, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x35, 0x0a, 0x10, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x49, 0x6e, + 0x76, 0x6f, 0x69, 0x63, 0x65, 0x4d, 0x73, 0x67, 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, 0x22, 0x13, 0x0a, 0x11, 0x43, + 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x22, 0xca, 0x02, 0x0a, 0x15, 0x41, 0x64, 0x64, 0x48, 0x6f, 0x6c, 0x64, 0x49, 0x6e, 0x76, 0x6f, + 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x65, + 0x6d, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x12, 0x12, + 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x68, 0x61, + 0x73, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 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, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x4d, 0x73, 0x61, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x64, 0x65, 0x73, 0x63, 0x72, + 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x04, 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, 0x05, 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, 0x06, 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, 0x07, + 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, + 0x08, 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, 0x09, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x22, 0x3d, 0x0a, + 0x12, 0x41, 0x64, 0x64, 0x48, 0x6f, 0x6c, 0x64, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x72, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x61, + 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x2e, 0x0a, 0x10, + 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x4d, 0x73, 0x67, + 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x65, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x08, 0x70, 0x72, 0x65, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x22, 0x13, 0x0a, 0x11, + 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x22, 0x3c, 0x0a, 0x1d, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x53, 0x69, + 0x6e, 0x67, 0x6c, 0x65, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x72, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x05, 0x72, 0x48, 0x61, 0x73, 0x68, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x32, + 0xd9, 0x02, 0x0a, 0x08, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x73, 0x12, 0x56, 0x0a, 0x16, + 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x53, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x49, + 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x12, 0x2a, 0x2e, 0x69, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, + 0x73, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x53, 0x69, + 0x6e, 0x67, 0x6c, 0x65, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x49, 0x6e, 0x76, 0x6f, 0x69, + 0x63, 0x65, 0x30, 0x01, 0x12, 0x4e, 0x0a, 0x0d, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x49, 0x6e, + 0x76, 0x6f, 0x69, 0x63, 0x65, 0x12, 0x1d, 0x2e, 0x69, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x73, + 0x72, 0x70, 0x63, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, + 0x65, 0x4d, 0x73, 0x67, 0x1a, 0x1e, 0x2e, 0x69, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x73, 0x72, + 0x70, 0x63, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x12, 0x55, 0x0a, 0x0e, 0x41, 0x64, 0x64, 0x48, 0x6f, 0x6c, 0x64, 0x49, + 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x12, 0x22, 0x2e, 0x69, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, + 0x73, 0x72, 0x70, 0x63, 0x2e, 0x41, 0x64, 0x64, 0x48, 0x6f, 0x6c, 0x64, 0x49, 0x6e, 0x76, 0x6f, + 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x69, 0x6e, 0x76, + 0x6f, 0x69, 0x63, 0x65, 0x73, 0x72, 0x70, 0x63, 0x2e, 0x41, 0x64, 0x64, 0x48, 0x6f, 0x6c, 0x64, + 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x4e, 0x0a, 0x0d, 0x53, + 0x65, 0x74, 0x74, 0x6c, 0x65, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x12, 0x1d, 0x2e, 0x69, + 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x73, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x65, 0x74, 0x74, 0x6c, + 0x65, 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x4d, 0x73, 0x67, 0x1a, 0x1e, 0x2e, 0x69, 0x6e, + 0x76, 0x6f, 0x69, 0x63, 0x65, 0x73, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, + 0x49, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x42, 0x33, 0x5a, 0x31, 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, 0x2f, 0x69, 0x6e, 0x76, 0x6f, 0x69, 0x63, 0x65, 0x73, 0x72, 0x70, 0x63, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -func init() { proto.RegisterFile("invoicesrpc/invoices.proto", fileDescriptor_090ab9c4958b987d) } +var ( + file_invoicesrpc_invoices_proto_rawDescOnce sync.Once + file_invoicesrpc_invoices_proto_rawDescData = file_invoicesrpc_invoices_proto_rawDesc +) -var fileDescriptor_090ab9c4958b987d = []byte{ - // 523 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x53, 0x4d, 0x6f, 0xd3, 0x40, - 0x10, 0x95, 0xf3, 0xd5, 0x64, 0x92, 0xa6, 0x61, 0xa1, 0x95, 0x65, 0x29, 0x34, 0x98, 0x03, 0x81, - 0x83, 0x43, 0x5b, 0x71, 0x83, 0x43, 0x41, 0x48, 0x01, 0xa9, 0x1c, 0x1c, 0xc1, 0x81, 0x8b, 0xb5, - 0xb1, 0x17, 0x7b, 0xd5, 0xf5, 0x7a, 0xd9, 0xdd, 0x04, 0xfa, 0x17, 0xf9, 0x07, 0xfc, 0x1b, 0xe4, - 0xf5, 0xa6, 0xb2, 0x43, 0xdb, 0xdb, 0xcc, 0x9b, 0xd9, 0xe7, 0xa7, 0xf7, 0xc6, 0xe0, 0x51, 0xbe, - 0x2d, 0x68, 0x4c, 0x94, 0x14, 0xf1, 0x62, 0x57, 0x07, 0x42, 0x16, 0xba, 0x40, 0xc3, 0xda, 0xcc, - 0x1b, 0x48, 0x11, 0x57, 0xb8, 0xff, 0x06, 0x26, 0x1f, 0x30, 0x8f, 0x09, 0xfb, 0x54, 0xcd, 0xaf, - 0x54, 0x8a, 0x9e, 0xc1, 0x48, 0xe0, 0x9b, 0x9c, 0x70, 0x1d, 0x65, 0x58, 0x65, 0xae, 0x33, 0x73, - 0xe6, 0xa3, 0x70, 0x68, 0xb1, 0x25, 0x56, 0x99, 0xff, 0x18, 0x1e, 0x35, 0x9e, 0x85, 0x44, 0x09, - 0xff, 0x4f, 0x0b, 0x8e, 0x2f, 0x93, 0x64, 0x59, 0xb0, 0xe4, 0x16, 0xfe, 0xb9, 0x21, 0x4a, 0x23, - 0x04, 0x9d, 0x9c, 0xe4, 0x85, 0x61, 0x1a, 0x84, 0xa6, 0x2e, 0x31, 0xc3, 0xde, 0x32, 0xec, 0xa6, - 0x46, 0x4f, 0xa0, 0xbb, 0xc5, 0x6c, 0x43, 0xdc, 0xf6, 0xcc, 0x99, 0xb7, 0xc3, 0xaa, 0x41, 0x53, - 0x00, 0x53, 0x44, 0xb9, 0xc2, 0xda, 0x05, 0x33, 0x1a, 0x18, 0xe4, 0x4a, 0x61, 0x8d, 0x5e, 0xc2, - 0x24, 0x21, 0x2a, 0x96, 0x54, 0x68, 0x5a, 0xf0, 0x4a, 0x72, 0xc7, 0x90, 0x1e, 0xd5, 0xf0, 0x52, - 0x36, 0x3a, 0x81, 0x1e, 0xf9, 0x2d, 0xa8, 0xbc, 0x71, 0xbb, 0x86, 0xc5, 0x76, 0xe8, 0x39, 0x1c, - 0xfe, 0xc0, 0x8c, 0xad, 0x71, 0x7c, 0x1d, 0xe1, 0x24, 0x91, 0x6e, 0xcf, 0x08, 0x1d, 0xed, 0xc0, - 0xcb, 0x24, 0x91, 0xe8, 0x14, 0x86, 0x31, 0xd3, 0xdb, 0xc8, 0x32, 0x1c, 0xcc, 0x9c, 0x79, 0x27, - 0x84, 0x12, 0xfa, 0x58, 0xb1, 0x9c, 0xc1, 0x50, 0x16, 0x1b, 0x4d, 0xa2, 0x8c, 0x72, 0xad, 0xdc, - 0xfe, 0xac, 0x3d, 0x1f, 0x9e, 0x4f, 0x02, 0xc6, 0x4b, 0xbb, 0xc3, 0x72, 0xb2, 0xa4, 0x5c, 0x87, - 0x20, 0x77, 0xa5, 0x42, 0x2e, 0x1c, 0x08, 0x49, 0xb7, 0x58, 0x13, 0x77, 0x30, 0x73, 0xe6, 0xfd, - 0x70, 0xd7, 0xfa, 0xef, 0x00, 0xed, 0x7b, 0xa9, 0x04, 0x7a, 0x01, 0x47, 0xbb, 0x68, 0x64, 0xe5, - 0xad, 0xf5, 0x74, 0x6c, 0x61, 0xeb, 0xb8, 0x1f, 0xc0, 0x64, 0x45, 0xb4, 0x66, 0xa4, 0x96, 0xab, - 0x07, 0x7d, 0x21, 0x09, 0xcd, 0x71, 0x4a, 0x6c, 0xa6, 0xb7, 0x7d, 0x19, 0x68, 0x63, 0xdf, 0x04, - 0xfa, 0x16, 0xa6, 0xab, 0xcd, 0xba, 0xb4, 0x70, 0x4d, 0x56, 0x94, 0xa7, 0xb5, 0x69, 0x95, 0xeb, - 0x31, 0xf4, 0x64, 0x54, 0x4b, 0xb1, 0x2b, 0x4b, 0x9b, 0x3f, 0x77, 0xfa, 0xce, 0xa4, 0x75, 0xfe, - 0xb7, 0x05, 0x7d, 0xbb, 0xaf, 0xd0, 0x37, 0x38, 0xb9, 0x9b, 0x0a, 0xbd, 0x0a, 0x6a, 0xa7, 0x19, - 0x3c, 0xf8, 0x3d, 0x6f, 0x6c, 0xcd, 0xb4, 0xf0, 0x6b, 0x07, 0x7d, 0x81, 0xc3, 0xc6, 0x21, 0xa2, - 0x69, 0x83, 0x6e, 0xff, 0xb6, 0xbd, 0xa7, 0xf7, 0x8f, 0x8d, 0xc1, 0x5f, 0x61, 0xdc, 0xb4, 0x1d, - 0xf9, 0x8d, 0x17, 0x77, 0xde, 0xb7, 0x77, 0xfa, 0xe0, 0x8e, 0x12, 0xa5, 0xcc, 0x86, 0xbd, 0x7b, - 0x32, 0xf7, 0xa3, 0xda, 0x93, 0xf9, 0x5f, 0x32, 0xef, 0x2f, 0xbe, 0x9f, 0xa5, 0x54, 0x67, 0x9b, - 0x75, 0x10, 0x17, 0xf9, 0x82, 0xd1, 0x34, 0xd3, 0x9c, 0xf2, 0x94, 0x13, 0xfd, 0xab, 0x90, 0xd7, - 0x0b, 0xc6, 0x93, 0x85, 0x71, 0x6a, 0x51, 0xa3, 0x59, 0xf7, 0xcc, 0x2f, 0x7f, 0xf1, 0x2f, 0x00, - 0x00, 0xff, 0xff, 0xc3, 0xb1, 0x8c, 0x5e, 0x28, 0x04, 0x00, 0x00, +func file_invoicesrpc_invoices_proto_rawDescGZIP() []byte { + file_invoicesrpc_invoices_proto_rawDescOnce.Do(func() { + file_invoicesrpc_invoices_proto_rawDescData = protoimpl.X.CompressGZIP(file_invoicesrpc_invoices_proto_rawDescData) + }) + return file_invoicesrpc_invoices_proto_rawDescData +} + +var file_invoicesrpc_invoices_proto_msgTypes = make([]protoimpl.MessageInfo, 7) +var file_invoicesrpc_invoices_proto_goTypes = []interface{}{ + (*CancelInvoiceMsg)(nil), // 0: invoicesrpc.CancelInvoiceMsg + (*CancelInvoiceResp)(nil), // 1: invoicesrpc.CancelInvoiceResp + (*AddHoldInvoiceRequest)(nil), // 2: invoicesrpc.AddHoldInvoiceRequest + (*AddHoldInvoiceResp)(nil), // 3: invoicesrpc.AddHoldInvoiceResp + (*SettleInvoiceMsg)(nil), // 4: invoicesrpc.SettleInvoiceMsg + (*SettleInvoiceResp)(nil), // 5: invoicesrpc.SettleInvoiceResp + (*SubscribeSingleInvoiceRequest)(nil), // 6: invoicesrpc.SubscribeSingleInvoiceRequest + (*lnrpc.RouteHint)(nil), // 7: lnrpc.RouteHint + (*lnrpc.Invoice)(nil), // 8: lnrpc.Invoice +} +var file_invoicesrpc_invoices_proto_depIdxs = []int32{ + 7, // 0: invoicesrpc.AddHoldInvoiceRequest.route_hints:type_name -> lnrpc.RouteHint + 6, // 1: invoicesrpc.Invoices.SubscribeSingleInvoice:input_type -> invoicesrpc.SubscribeSingleInvoiceRequest + 0, // 2: invoicesrpc.Invoices.CancelInvoice:input_type -> invoicesrpc.CancelInvoiceMsg + 2, // 3: invoicesrpc.Invoices.AddHoldInvoice:input_type -> invoicesrpc.AddHoldInvoiceRequest + 4, // 4: invoicesrpc.Invoices.SettleInvoice:input_type -> invoicesrpc.SettleInvoiceMsg + 8, // 5: invoicesrpc.Invoices.SubscribeSingleInvoice:output_type -> lnrpc.Invoice + 1, // 6: invoicesrpc.Invoices.CancelInvoice:output_type -> invoicesrpc.CancelInvoiceResp + 3, // 7: invoicesrpc.Invoices.AddHoldInvoice:output_type -> invoicesrpc.AddHoldInvoiceResp + 5, // 8: invoicesrpc.Invoices.SettleInvoice:output_type -> invoicesrpc.SettleInvoiceResp + 5, // [5:9] is the sub-list for method output_type + 1, // [1:5] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_invoicesrpc_invoices_proto_init() } +func file_invoicesrpc_invoices_proto_init() { + if File_invoicesrpc_invoices_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_invoicesrpc_invoices_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CancelInvoiceMsg); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_invoicesrpc_invoices_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CancelInvoiceResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_invoicesrpc_invoices_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddHoldInvoiceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_invoicesrpc_invoices_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddHoldInvoiceResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_invoicesrpc_invoices_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SettleInvoiceMsg); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_invoicesrpc_invoices_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SettleInvoiceResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_invoicesrpc_invoices_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SubscribeSingleInvoiceRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_invoicesrpc_invoices_proto_rawDesc, + NumEnums: 0, + NumMessages: 7, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_invoicesrpc_invoices_proto_goTypes, + DependencyIndexes: file_invoicesrpc_invoices_proto_depIdxs, + MessageInfos: file_invoicesrpc_invoices_proto_msgTypes, + }.Build() + File_invoicesrpc_invoices_proto = out.File + file_invoicesrpc_invoices_proto_rawDesc = nil + file_invoicesrpc_invoices_proto_goTypes = nil + file_invoicesrpc_invoices_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 +const _ = grpc.SupportPackageIsVersion6 // InvoicesClient is the client API for Invoices service. // @@ -469,10 +703,10 @@ type InvoicesClient interface { } type invoicesClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewInvoicesClient(cc *grpc.ClientConn) InvoicesClient { +func NewInvoicesClient(cc grpc.ClientConnInterface) InvoicesClient { return &invoicesClient{cc} } @@ -561,16 +795,16 @@ type InvoicesServer interface { type UnimplementedInvoicesServer struct { } -func (*UnimplementedInvoicesServer) SubscribeSingleInvoice(req *SubscribeSingleInvoiceRequest, srv Invoices_SubscribeSingleInvoiceServer) error { +func (*UnimplementedInvoicesServer) SubscribeSingleInvoice(*SubscribeSingleInvoiceRequest, Invoices_SubscribeSingleInvoiceServer) error { return status.Errorf(codes.Unimplemented, "method SubscribeSingleInvoice not implemented") } -func (*UnimplementedInvoicesServer) CancelInvoice(ctx context.Context, req *CancelInvoiceMsg) (*CancelInvoiceResp, error) { +func (*UnimplementedInvoicesServer) CancelInvoice(context.Context, *CancelInvoiceMsg) (*CancelInvoiceResp, error) { return nil, status.Errorf(codes.Unimplemented, "method CancelInvoice not implemented") } -func (*UnimplementedInvoicesServer) AddHoldInvoice(ctx context.Context, req *AddHoldInvoiceRequest) (*AddHoldInvoiceResp, error) { +func (*UnimplementedInvoicesServer) AddHoldInvoice(context.Context, *AddHoldInvoiceRequest) (*AddHoldInvoiceResp, error) { return nil, status.Errorf(codes.Unimplemented, "method AddHoldInvoice not implemented") } -func (*UnimplementedInvoicesServer) SettleInvoice(ctx context.Context, req *SettleInvoiceMsg) (*SettleInvoiceResp, error) { +func (*UnimplementedInvoicesServer) SettleInvoice(context.Context, *SettleInvoiceMsg) (*SettleInvoiceResp, error) { return nil, status.Errorf(codes.Unimplemented, "method SettleInvoice not implemented") } diff --git a/lnrpc/lnclipb/lncli.pb.go b/lnrpc/lnclipb/lncli.pb.go index 87cb87546..32a632a91 100644 --- a/lnrpc/lnclipb/lncli.pb.go +++ b/lnrpc/lnclipb/lncli.pb.go @@ -1,91 +1,168 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.6.1 // source: lnclipb/lncli.proto package lnclipb import ( - fmt "fmt" proto "github.com/golang/protobuf/proto" verrpc "github.com/lightningnetwork/lnd/lnrpc/verrpc" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type VersionResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The version information for lncli. Lncli *verrpc.Version `protobuf:"bytes,1,opt,name=lncli,proto3" json:"lncli,omitempty"` // The version information for lnd. - Lnd *verrpc.Version `protobuf:"bytes,2,opt,name=lnd,proto3" json:"lnd,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Lnd *verrpc.Version `protobuf:"bytes,2,opt,name=lnd,proto3" json:"lnd,omitempty"` } -func (m *VersionResponse) Reset() { *m = VersionResponse{} } -func (m *VersionResponse) String() string { return proto.CompactTextString(m) } -func (*VersionResponse) ProtoMessage() {} +func (x *VersionResponse) Reset() { + *x = VersionResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_lnclipb_lncli_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VersionResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VersionResponse) ProtoMessage() {} + +func (x *VersionResponse) ProtoReflect() protoreflect.Message { + mi := &file_lnclipb_lncli_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 VersionResponse.ProtoReflect.Descriptor instead. func (*VersionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_88b54c9c61b986c4, []int{0} + return file_lnclipb_lncli_proto_rawDescGZIP(), []int{0} } -func (m *VersionResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VersionResponse.Unmarshal(m, b) -} -func (m *VersionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VersionResponse.Marshal(b, m, deterministic) -} -func (m *VersionResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_VersionResponse.Merge(m, src) -} -func (m *VersionResponse) XXX_Size() int { - return xxx_messageInfo_VersionResponse.Size(m) -} -func (m *VersionResponse) XXX_DiscardUnknown() { - xxx_messageInfo_VersionResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_VersionResponse proto.InternalMessageInfo - -func (m *VersionResponse) GetLncli() *verrpc.Version { - if m != nil { - return m.Lncli +func (x *VersionResponse) GetLncli() *verrpc.Version { + if x != nil { + return x.Lncli } return nil } -func (m *VersionResponse) GetLnd() *verrpc.Version { - if m != nil { - return m.Lnd +func (x *VersionResponse) GetLnd() *verrpc.Version { + if x != nil { + return x.Lnd } return nil } -func init() { - proto.RegisterType((*VersionResponse)(nil), "lnclipb.VersionResponse") +var File_lnclipb_lncli_proto protoreflect.FileDescriptor + +var file_lnclipb_lncli_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x6c, 0x6e, 0x63, 0x6c, 0x69, 0x70, 0x62, 0x2f, 0x6c, 0x6e, 0x63, 0x6c, 0x69, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6c, 0x6e, 0x63, 0x6c, 0x69, 0x70, 0x62, 0x1a, 0x13, + 0x76, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x22, 0x5b, 0x0a, 0x0f, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x05, 0x6c, 0x6e, 0x63, 0x6c, 0x69, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2e, 0x56, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x05, 0x6c, 0x6e, 0x63, 0x6c, 0x69, 0x12, 0x21, 0x0a, + 0x03, 0x6c, 0x6e, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x76, 0x65, 0x72, + 0x72, 0x70, 0x63, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x03, 0x6c, 0x6e, 0x64, + 0x42, 0x2f, 0x5a, 0x2d, 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, 0x2f, 0x6c, 0x6e, 0x63, 0x6c, 0x69, 0x70, + 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -func init() { proto.RegisterFile("lnclipb/lncli.proto", fileDescriptor_88b54c9c61b986c4) } +var ( + file_lnclipb_lncli_proto_rawDescOnce sync.Once + file_lnclipb_lncli_proto_rawDescData = file_lnclipb_lncli_proto_rawDesc +) -var fileDescriptor_88b54c9c61b986c4 = []byte{ - // 159 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0xce, 0xc9, 0x4b, 0xce, - 0xc9, 0x2c, 0x48, 0xd2, 0x07, 0xd3, 0x7a, 0x05, 0x45, 0xf9, 0x25, 0xf9, 0x42, 0xec, 0x50, 0x41, - 0x29, 0xe1, 0xb2, 0xd4, 0xa2, 0xa2, 0x82, 0x64, 0x7d, 0x08, 0x05, 0x91, 0x55, 0x8a, 0xe6, 0xe2, - 0x0f, 0x4b, 0x2d, 0x2a, 0xce, 0xcc, 0xcf, 0x0b, 0x4a, 0x2d, 0x2e, 0xc8, 0xcf, 0x2b, 0x4e, 0x15, - 0x52, 0xe5, 0x62, 0x05, 0x6b, 0x91, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x36, 0xe2, 0xd7, 0x83, 0x6a, - 0x80, 0xa9, 0x83, 0xc8, 0x0a, 0x29, 0x72, 0x31, 0xe7, 0xe4, 0xa5, 0x48, 0x30, 0x61, 0x57, 0x04, - 0x92, 0x73, 0xd2, 0x8f, 0xd2, 0x4d, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, - 0xcf, 0xc9, 0x4c, 0xcf, 0x28, 0xc9, 0xcb, 0xcc, 0x4b, 0xcf, 0x4b, 0x2d, 0x29, 0xcf, 0x2f, 0xca, - 0xd6, 0xcf, 0xc9, 0x4b, 0xd1, 0xcf, 0xc9, 0x03, 0x39, 0x09, 0xea, 0xc4, 0x24, 0x36, 0xb0, 0xa3, - 0x8c, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0x4d, 0xfc, 0x5e, 0x89, 0xc9, 0x00, 0x00, 0x00, +func file_lnclipb_lncli_proto_rawDescGZIP() []byte { + file_lnclipb_lncli_proto_rawDescOnce.Do(func() { + file_lnclipb_lncli_proto_rawDescData = protoimpl.X.CompressGZIP(file_lnclipb_lncli_proto_rawDescData) + }) + return file_lnclipb_lncli_proto_rawDescData +} + +var file_lnclipb_lncli_proto_msgTypes = make([]protoimpl.MessageInfo, 1) +var file_lnclipb_lncli_proto_goTypes = []interface{}{ + (*VersionResponse)(nil), // 0: lnclipb.VersionResponse + (*verrpc.Version)(nil), // 1: verrpc.Version +} +var file_lnclipb_lncli_proto_depIdxs = []int32{ + 1, // 0: lnclipb.VersionResponse.lncli:type_name -> verrpc.Version + 1, // 1: lnclipb.VersionResponse.lnd:type_name -> verrpc.Version + 2, // [2:2] is the sub-list for method output_type + 2, // [2:2] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_lnclipb_lncli_proto_init() } +func file_lnclipb_lncli_proto_init() { + if File_lnclipb_lncli_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_lnclipb_lncli_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VersionResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_lnclipb_lncli_proto_rawDesc, + NumEnums: 0, + NumMessages: 1, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_lnclipb_lncli_proto_goTypes, + DependencyIndexes: file_lnclipb_lncli_proto_depIdxs, + MessageInfos: file_lnclipb_lncli_proto_msgTypes, + }.Build() + File_lnclipb_lncli_proto = out.File + file_lnclipb_lncli_proto_rawDesc = nil + file_lnclipb_lncli_proto_goTypes = nil + file_lnclipb_lncli_proto_depIdxs = nil } diff --git a/lnrpc/routerrpc/router.pb.go b/lnrpc/routerrpc/router.pb.go index 552156072..912adb7a7 100644 --- a/lnrpc/routerrpc/router.pb.go +++ b/lnrpc/routerrpc/router.pb.go @@ -1,29 +1,34 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.6.1 // source: routerrpc/router.proto package routerrpc import ( context "context" - fmt "fmt" proto "github.com/golang/protobuf/proto" lnrpc "github.com/lightningnetwork/lnd/lnrpc" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type FailureDetail int32 @@ -53,64 +58,85 @@ const ( FailureDetail_CIRCULAR_ROUTE FailureDetail = 22 ) -var FailureDetail_name = map[int32]string{ - 0: "UNKNOWN", - 1: "NO_DETAIL", - 2: "ONION_DECODE", - 3: "LINK_NOT_ELIGIBLE", - 4: "ON_CHAIN_TIMEOUT", - 5: "HTLC_EXCEEDS_MAX", - 6: "INSUFFICIENT_BALANCE", - 7: "INCOMPLETE_FORWARD", - 8: "HTLC_ADD_FAILED", - 9: "FORWARDS_DISABLED", - 10: "INVOICE_CANCELED", - 11: "INVOICE_UNDERPAID", - 12: "INVOICE_EXPIRY_TOO_SOON", - 13: "INVOICE_NOT_OPEN", - 14: "MPP_INVOICE_TIMEOUT", - 15: "ADDRESS_MISMATCH", - 16: "SET_TOTAL_MISMATCH", - 17: "SET_TOTAL_TOO_LOW", - 18: "SET_OVERPAID", - 19: "UNKNOWN_INVOICE", - 20: "INVALID_KEYSEND", - 21: "MPP_IN_PROGRESS", - 22: "CIRCULAR_ROUTE", -} +// Enum value maps for FailureDetail. +var ( + FailureDetail_name = map[int32]string{ + 0: "UNKNOWN", + 1: "NO_DETAIL", + 2: "ONION_DECODE", + 3: "LINK_NOT_ELIGIBLE", + 4: "ON_CHAIN_TIMEOUT", + 5: "HTLC_EXCEEDS_MAX", + 6: "INSUFFICIENT_BALANCE", + 7: "INCOMPLETE_FORWARD", + 8: "HTLC_ADD_FAILED", + 9: "FORWARDS_DISABLED", + 10: "INVOICE_CANCELED", + 11: "INVOICE_UNDERPAID", + 12: "INVOICE_EXPIRY_TOO_SOON", + 13: "INVOICE_NOT_OPEN", + 14: "MPP_INVOICE_TIMEOUT", + 15: "ADDRESS_MISMATCH", + 16: "SET_TOTAL_MISMATCH", + 17: "SET_TOTAL_TOO_LOW", + 18: "SET_OVERPAID", + 19: "UNKNOWN_INVOICE", + 20: "INVALID_KEYSEND", + 21: "MPP_IN_PROGRESS", + 22: "CIRCULAR_ROUTE", + } + FailureDetail_value = map[string]int32{ + "UNKNOWN": 0, + "NO_DETAIL": 1, + "ONION_DECODE": 2, + "LINK_NOT_ELIGIBLE": 3, + "ON_CHAIN_TIMEOUT": 4, + "HTLC_EXCEEDS_MAX": 5, + "INSUFFICIENT_BALANCE": 6, + "INCOMPLETE_FORWARD": 7, + "HTLC_ADD_FAILED": 8, + "FORWARDS_DISABLED": 9, + "INVOICE_CANCELED": 10, + "INVOICE_UNDERPAID": 11, + "INVOICE_EXPIRY_TOO_SOON": 12, + "INVOICE_NOT_OPEN": 13, + "MPP_INVOICE_TIMEOUT": 14, + "ADDRESS_MISMATCH": 15, + "SET_TOTAL_MISMATCH": 16, + "SET_TOTAL_TOO_LOW": 17, + "SET_OVERPAID": 18, + "UNKNOWN_INVOICE": 19, + "INVALID_KEYSEND": 20, + "MPP_IN_PROGRESS": 21, + "CIRCULAR_ROUTE": 22, + } +) -var FailureDetail_value = map[string]int32{ - "UNKNOWN": 0, - "NO_DETAIL": 1, - "ONION_DECODE": 2, - "LINK_NOT_ELIGIBLE": 3, - "ON_CHAIN_TIMEOUT": 4, - "HTLC_EXCEEDS_MAX": 5, - "INSUFFICIENT_BALANCE": 6, - "INCOMPLETE_FORWARD": 7, - "HTLC_ADD_FAILED": 8, - "FORWARDS_DISABLED": 9, - "INVOICE_CANCELED": 10, - "INVOICE_UNDERPAID": 11, - "INVOICE_EXPIRY_TOO_SOON": 12, - "INVOICE_NOT_OPEN": 13, - "MPP_INVOICE_TIMEOUT": 14, - "ADDRESS_MISMATCH": 15, - "SET_TOTAL_MISMATCH": 16, - "SET_TOTAL_TOO_LOW": 17, - "SET_OVERPAID": 18, - "UNKNOWN_INVOICE": 19, - "INVALID_KEYSEND": 20, - "MPP_IN_PROGRESS": 21, - "CIRCULAR_ROUTE": 22, +func (x FailureDetail) Enum() *FailureDetail { + p := new(FailureDetail) + *p = x + return p } func (x FailureDetail) String() string { - return proto.EnumName(FailureDetail_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (FailureDetail) Descriptor() protoreflect.EnumDescriptor { + return file_routerrpc_router_proto_enumTypes[0].Descriptor() +} + +func (FailureDetail) Type() protoreflect.EnumType { + return &file_routerrpc_router_proto_enumTypes[0] +} + +func (x FailureDetail) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use FailureDetail.Descriptor instead. func (FailureDetail) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_7a0613f69d37b0a5, []int{0} + return file_routerrpc_router_proto_rawDescGZIP(), []int{0} } type PaymentState int32 @@ -141,32 +167,53 @@ const ( PaymentState_FAILED_INSUFFICIENT_BALANCE PaymentState = 6 ) -var PaymentState_name = map[int32]string{ - 0: "IN_FLIGHT", - 1: "SUCCEEDED", - 2: "FAILED_TIMEOUT", - 3: "FAILED_NO_ROUTE", - 4: "FAILED_ERROR", - 5: "FAILED_INCORRECT_PAYMENT_DETAILS", - 6: "FAILED_INSUFFICIENT_BALANCE", -} +// Enum value maps for PaymentState. +var ( + PaymentState_name = map[int32]string{ + 0: "IN_FLIGHT", + 1: "SUCCEEDED", + 2: "FAILED_TIMEOUT", + 3: "FAILED_NO_ROUTE", + 4: "FAILED_ERROR", + 5: "FAILED_INCORRECT_PAYMENT_DETAILS", + 6: "FAILED_INSUFFICIENT_BALANCE", + } + PaymentState_value = map[string]int32{ + "IN_FLIGHT": 0, + "SUCCEEDED": 1, + "FAILED_TIMEOUT": 2, + "FAILED_NO_ROUTE": 3, + "FAILED_ERROR": 4, + "FAILED_INCORRECT_PAYMENT_DETAILS": 5, + "FAILED_INSUFFICIENT_BALANCE": 6, + } +) -var PaymentState_value = map[string]int32{ - "IN_FLIGHT": 0, - "SUCCEEDED": 1, - "FAILED_TIMEOUT": 2, - "FAILED_NO_ROUTE": 3, - "FAILED_ERROR": 4, - "FAILED_INCORRECT_PAYMENT_DETAILS": 5, - "FAILED_INSUFFICIENT_BALANCE": 6, +func (x PaymentState) Enum() *PaymentState { + p := new(PaymentState) + *p = x + return p } func (x PaymentState) String() string { - return proto.EnumName(PaymentState_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (PaymentState) Descriptor() protoreflect.EnumDescriptor { + return file_routerrpc_router_proto_enumTypes[1].Descriptor() +} + +func (PaymentState) Type() protoreflect.EnumType { + return &file_routerrpc_router_proto_enumTypes[1] +} + +func (x PaymentState) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use PaymentState.Descriptor instead. func (PaymentState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_7a0613f69d37b0a5, []int{1} + return file_routerrpc_router_proto_rawDescGZIP(), []int{1} } type ResolveHoldForwardAction int32 @@ -177,24 +224,45 @@ const ( ResolveHoldForwardAction_RESUME ResolveHoldForwardAction = 2 ) -var ResolveHoldForwardAction_name = map[int32]string{ - 0: "SETTLE", - 1: "FAIL", - 2: "RESUME", -} +// Enum value maps for ResolveHoldForwardAction. +var ( + ResolveHoldForwardAction_name = map[int32]string{ + 0: "SETTLE", + 1: "FAIL", + 2: "RESUME", + } + ResolveHoldForwardAction_value = map[string]int32{ + "SETTLE": 0, + "FAIL": 1, + "RESUME": 2, + } +) -var ResolveHoldForwardAction_value = map[string]int32{ - "SETTLE": 0, - "FAIL": 1, - "RESUME": 2, +func (x ResolveHoldForwardAction) Enum() *ResolveHoldForwardAction { + p := new(ResolveHoldForwardAction) + *p = x + return p } func (x ResolveHoldForwardAction) String() string { - return proto.EnumName(ResolveHoldForwardAction_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (ResolveHoldForwardAction) Descriptor() protoreflect.EnumDescriptor { + return file_routerrpc_router_proto_enumTypes[2].Descriptor() +} + +func (ResolveHoldForwardAction) Type() protoreflect.EnumType { + return &file_routerrpc_router_proto_enumTypes[2] +} + +func (x ResolveHoldForwardAction) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ResolveHoldForwardAction.Descriptor instead. func (ResolveHoldForwardAction) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_7a0613f69d37b0a5, []int{2} + return file_routerrpc_router_proto_rawDescGZIP(), []int{2} } type ChanStatusAction int32 @@ -205,24 +273,45 @@ const ( ChanStatusAction_AUTO ChanStatusAction = 2 ) -var ChanStatusAction_name = map[int32]string{ - 0: "ENABLE", - 1: "DISABLE", - 2: "AUTO", -} +// Enum value maps for ChanStatusAction. +var ( + ChanStatusAction_name = map[int32]string{ + 0: "ENABLE", + 1: "DISABLE", + 2: "AUTO", + } + ChanStatusAction_value = map[string]int32{ + "ENABLE": 0, + "DISABLE": 1, + "AUTO": 2, + } +) -var ChanStatusAction_value = map[string]int32{ - "ENABLE": 0, - "DISABLE": 1, - "AUTO": 2, +func (x ChanStatusAction) Enum() *ChanStatusAction { + p := new(ChanStatusAction) + *p = x + return p } func (x ChanStatusAction) String() string { - return proto.EnumName(ChanStatusAction_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (ChanStatusAction) Descriptor() protoreflect.EnumDescriptor { + return file_routerrpc_router_proto_enumTypes[3].Descriptor() +} + +func (ChanStatusAction) Type() protoreflect.EnumType { + return &file_routerrpc_router_proto_enumTypes[3] +} + +func (x ChanStatusAction) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ChanStatusAction.Descriptor instead. func (ChanStatusAction) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_7a0613f69d37b0a5, []int{3} + return file_routerrpc_router_proto_rawDescGZIP(), []int{3} } type HtlcEvent_EventType int32 @@ -234,29 +323,54 @@ const ( HtlcEvent_FORWARD HtlcEvent_EventType = 3 ) -var HtlcEvent_EventType_name = map[int32]string{ - 0: "UNKNOWN", - 1: "SEND", - 2: "RECEIVE", - 3: "FORWARD", -} +// Enum value maps for HtlcEvent_EventType. +var ( + HtlcEvent_EventType_name = map[int32]string{ + 0: "UNKNOWN", + 1: "SEND", + 2: "RECEIVE", + 3: "FORWARD", + } + HtlcEvent_EventType_value = map[string]int32{ + "UNKNOWN": 0, + "SEND": 1, + "RECEIVE": 2, + "FORWARD": 3, + } +) -var HtlcEvent_EventType_value = map[string]int32{ - "UNKNOWN": 0, - "SEND": 1, - "RECEIVE": 2, - "FORWARD": 3, +func (x HtlcEvent_EventType) Enum() *HtlcEvent_EventType { + p := new(HtlcEvent_EventType) + *p = x + return p } func (x HtlcEvent_EventType) String() string { - return proto.EnumName(HtlcEvent_EventType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (HtlcEvent_EventType) Descriptor() protoreflect.EnumDescriptor { + return file_routerrpc_router_proto_enumTypes[4].Descriptor() +} + +func (HtlcEvent_EventType) Type() protoreflect.EnumType { + return &file_routerrpc_router_proto_enumTypes[4] +} + +func (x HtlcEvent_EventType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use HtlcEvent_EventType.Descriptor instead. func (HtlcEvent_EventType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_7a0613f69d37b0a5, []int{24, 0} + return file_routerrpc_router_proto_rawDescGZIP(), []int{24, 0} } type SendPaymentRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The identity pubkey of the payment recipient Dest []byte `protobuf:"bytes,1,opt,name=dest,proto3" json:"dest,omitempty"` // @@ -311,7 +425,9 @@ type SendPaymentRequest struct { //Deprecated, use outgoing_chan_ids. The channel id of the channel that must //be taken to the first hop. If zero, any channel may be used (unless //outgoing_chan_ids are set). - OutgoingChanId uint64 `protobuf:"varint,8,opt,name=outgoing_chan_id,json=outgoingChanId,proto3" json:"outgoing_chan_id,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + OutgoingChanId uint64 `protobuf:"varint,8,opt,name=outgoing_chan_id,json=outgoingChanId,proto3" json:"outgoing_chan_id,omitempty"` // //The channel ids of the channels are allowed for the first hop. If empty, //any channel may be used. @@ -359,295 +475,319 @@ type SendPaymentRequest struct { MaxShardSizeMsat uint64 `protobuf:"varint,21,opt,name=max_shard_size_msat,json=maxShardSizeMsat,proto3" json:"max_shard_size_msat,omitempty"` // //If set, an AMP-payment will be attempted. - Amp bool `protobuf:"varint,22,opt,name=amp,proto3" json:"amp,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Amp bool `protobuf:"varint,22,opt,name=amp,proto3" json:"amp,omitempty"` } -func (m *SendPaymentRequest) Reset() { *m = SendPaymentRequest{} } -func (m *SendPaymentRequest) String() string { return proto.CompactTextString(m) } -func (*SendPaymentRequest) ProtoMessage() {} +func (x *SendPaymentRequest) Reset() { + *x = SendPaymentRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_routerrpc_router_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SendPaymentRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SendPaymentRequest) ProtoMessage() {} + +func (x *SendPaymentRequest) ProtoReflect() protoreflect.Message { + mi := &file_routerrpc_router_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 SendPaymentRequest.ProtoReflect.Descriptor instead. func (*SendPaymentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7a0613f69d37b0a5, []int{0} + return file_routerrpc_router_proto_rawDescGZIP(), []int{0} } -func (m *SendPaymentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SendPaymentRequest.Unmarshal(m, b) -} -func (m *SendPaymentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SendPaymentRequest.Marshal(b, m, deterministic) -} -func (m *SendPaymentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SendPaymentRequest.Merge(m, src) -} -func (m *SendPaymentRequest) XXX_Size() int { - return xxx_messageInfo_SendPaymentRequest.Size(m) -} -func (m *SendPaymentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SendPaymentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SendPaymentRequest proto.InternalMessageInfo - -func (m *SendPaymentRequest) GetDest() []byte { - if m != nil { - return m.Dest +func (x *SendPaymentRequest) GetDest() []byte { + if x != nil { + return x.Dest } return nil } -func (m *SendPaymentRequest) GetAmt() int64 { - if m != nil { - return m.Amt +func (x *SendPaymentRequest) GetAmt() int64 { + if x != nil { + return x.Amt } return 0 } -func (m *SendPaymentRequest) GetAmtMsat() int64 { - if m != nil { - return m.AmtMsat +func (x *SendPaymentRequest) GetAmtMsat() int64 { + if x != nil { + return x.AmtMsat } return 0 } -func (m *SendPaymentRequest) GetPaymentHash() []byte { - if m != nil { - return m.PaymentHash +func (x *SendPaymentRequest) GetPaymentHash() []byte { + if x != nil { + return x.PaymentHash } return nil } -func (m *SendPaymentRequest) GetFinalCltvDelta() int32 { - if m != nil { - return m.FinalCltvDelta +func (x *SendPaymentRequest) GetFinalCltvDelta() int32 { + if x != nil { + return x.FinalCltvDelta } return 0 } -func (m *SendPaymentRequest) GetPaymentAddr() []byte { - if m != nil { - return m.PaymentAddr +func (x *SendPaymentRequest) GetPaymentAddr() []byte { + if x != nil { + return x.PaymentAddr } return nil } -func (m *SendPaymentRequest) GetPaymentRequest() string { - if m != nil { - return m.PaymentRequest +func (x *SendPaymentRequest) GetPaymentRequest() string { + if x != nil { + return x.PaymentRequest } return "" } -func (m *SendPaymentRequest) GetTimeoutSeconds() int32 { - if m != nil { - return m.TimeoutSeconds +func (x *SendPaymentRequest) GetTimeoutSeconds() int32 { + if x != nil { + return x.TimeoutSeconds } return 0 } -func (m *SendPaymentRequest) GetFeeLimitSat() int64 { - if m != nil { - return m.FeeLimitSat +func (x *SendPaymentRequest) GetFeeLimitSat() int64 { + if x != nil { + return x.FeeLimitSat } return 0 } -func (m *SendPaymentRequest) GetFeeLimitMsat() int64 { - if m != nil { - return m.FeeLimitMsat +func (x *SendPaymentRequest) GetFeeLimitMsat() int64 { + if x != nil { + return x.FeeLimitMsat } return 0 } // Deprecated: Do not use. -func (m *SendPaymentRequest) GetOutgoingChanId() uint64 { - if m != nil { - return m.OutgoingChanId +func (x *SendPaymentRequest) GetOutgoingChanId() uint64 { + if x != nil { + return x.OutgoingChanId } return 0 } -func (m *SendPaymentRequest) GetOutgoingChanIds() []uint64 { - if m != nil { - return m.OutgoingChanIds +func (x *SendPaymentRequest) GetOutgoingChanIds() []uint64 { + if x != nil { + return x.OutgoingChanIds } return nil } -func (m *SendPaymentRequest) GetLastHopPubkey() []byte { - if m != nil { - return m.LastHopPubkey +func (x *SendPaymentRequest) GetLastHopPubkey() []byte { + if x != nil { + return x.LastHopPubkey } return nil } -func (m *SendPaymentRequest) GetCltvLimit() int32 { - if m != nil { - return m.CltvLimit +func (x *SendPaymentRequest) GetCltvLimit() int32 { + if x != nil { + return x.CltvLimit } return 0 } -func (m *SendPaymentRequest) GetRouteHints() []*lnrpc.RouteHint { - if m != nil { - return m.RouteHints +func (x *SendPaymentRequest) GetRouteHints() []*lnrpc.RouteHint { + if x != nil { + return x.RouteHints } return nil } -func (m *SendPaymentRequest) GetDestCustomRecords() map[uint64][]byte { - if m != nil { - return m.DestCustomRecords +func (x *SendPaymentRequest) GetDestCustomRecords() map[uint64][]byte { + if x != nil { + return x.DestCustomRecords } return nil } -func (m *SendPaymentRequest) GetAllowSelfPayment() bool { - if m != nil { - return m.AllowSelfPayment +func (x *SendPaymentRequest) GetAllowSelfPayment() bool { + if x != nil { + return x.AllowSelfPayment } return false } -func (m *SendPaymentRequest) GetDestFeatures() []lnrpc.FeatureBit { - if m != nil { - return m.DestFeatures +func (x *SendPaymentRequest) GetDestFeatures() []lnrpc.FeatureBit { + if x != nil { + return x.DestFeatures } return nil } -func (m *SendPaymentRequest) GetMaxParts() uint32 { - if m != nil { - return m.MaxParts +func (x *SendPaymentRequest) GetMaxParts() uint32 { + if x != nil { + return x.MaxParts } return 0 } -func (m *SendPaymentRequest) GetNoInflightUpdates() bool { - if m != nil { - return m.NoInflightUpdates +func (x *SendPaymentRequest) GetNoInflightUpdates() bool { + if x != nil { + return x.NoInflightUpdates } return false } -func (m *SendPaymentRequest) GetMaxShardSizeMsat() uint64 { - if m != nil { - return m.MaxShardSizeMsat +func (x *SendPaymentRequest) GetMaxShardSizeMsat() uint64 { + if x != nil { + return x.MaxShardSizeMsat } return 0 } -func (m *SendPaymentRequest) GetAmp() bool { - if m != nil { - return m.Amp +func (x *SendPaymentRequest) GetAmp() bool { + if x != nil { + return x.Amp } return false } type TrackPaymentRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The hash of the payment to look up. PaymentHash []byte `protobuf:"bytes,1,opt,name=payment_hash,json=paymentHash,proto3" json:"payment_hash,omitempty"` // //If set, only the final payment update is streamed back. Intermediate updates //that show which htlcs are still in flight are suppressed. - NoInflightUpdates bool `protobuf:"varint,2,opt,name=no_inflight_updates,json=noInflightUpdates,proto3" json:"no_inflight_updates,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + NoInflightUpdates bool `protobuf:"varint,2,opt,name=no_inflight_updates,json=noInflightUpdates,proto3" json:"no_inflight_updates,omitempty"` } -func (m *TrackPaymentRequest) Reset() { *m = TrackPaymentRequest{} } -func (m *TrackPaymentRequest) String() string { return proto.CompactTextString(m) } -func (*TrackPaymentRequest) ProtoMessage() {} +func (x *TrackPaymentRequest) Reset() { + *x = TrackPaymentRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_routerrpc_router_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TrackPaymentRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TrackPaymentRequest) ProtoMessage() {} + +func (x *TrackPaymentRequest) ProtoReflect() protoreflect.Message { + mi := &file_routerrpc_router_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 TrackPaymentRequest.ProtoReflect.Descriptor instead. func (*TrackPaymentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7a0613f69d37b0a5, []int{1} + return file_routerrpc_router_proto_rawDescGZIP(), []int{1} } -func (m *TrackPaymentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TrackPaymentRequest.Unmarshal(m, b) -} -func (m *TrackPaymentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TrackPaymentRequest.Marshal(b, m, deterministic) -} -func (m *TrackPaymentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_TrackPaymentRequest.Merge(m, src) -} -func (m *TrackPaymentRequest) XXX_Size() int { - return xxx_messageInfo_TrackPaymentRequest.Size(m) -} -func (m *TrackPaymentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_TrackPaymentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_TrackPaymentRequest proto.InternalMessageInfo - -func (m *TrackPaymentRequest) GetPaymentHash() []byte { - if m != nil { - return m.PaymentHash +func (x *TrackPaymentRequest) GetPaymentHash() []byte { + if x != nil { + return x.PaymentHash } return nil } -func (m *TrackPaymentRequest) GetNoInflightUpdates() bool { - if m != nil { - return m.NoInflightUpdates +func (x *TrackPaymentRequest) GetNoInflightUpdates() bool { + if x != nil { + return x.NoInflightUpdates } return false } type RouteFeeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //The destination once wishes to obtain a routing fee quote to. Dest []byte `protobuf:"bytes,1,opt,name=dest,proto3" json:"dest,omitempty"` // //The amount one wishes to send to the target destination. - AmtSat int64 `protobuf:"varint,2,opt,name=amt_sat,json=amtSat,proto3" json:"amt_sat,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + AmtSat int64 `protobuf:"varint,2,opt,name=amt_sat,json=amtSat,proto3" json:"amt_sat,omitempty"` } -func (m *RouteFeeRequest) Reset() { *m = RouteFeeRequest{} } -func (m *RouteFeeRequest) String() string { return proto.CompactTextString(m) } -func (*RouteFeeRequest) ProtoMessage() {} +func (x *RouteFeeRequest) Reset() { + *x = RouteFeeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_routerrpc_router_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RouteFeeRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RouteFeeRequest) ProtoMessage() {} + +func (x *RouteFeeRequest) ProtoReflect() protoreflect.Message { + mi := &file_routerrpc_router_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 RouteFeeRequest.ProtoReflect.Descriptor instead. func (*RouteFeeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7a0613f69d37b0a5, []int{2} + return file_routerrpc_router_proto_rawDescGZIP(), []int{2} } -func (m *RouteFeeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RouteFeeRequest.Unmarshal(m, b) -} -func (m *RouteFeeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RouteFeeRequest.Marshal(b, m, deterministic) -} -func (m *RouteFeeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RouteFeeRequest.Merge(m, src) -} -func (m *RouteFeeRequest) XXX_Size() int { - return xxx_messageInfo_RouteFeeRequest.Size(m) -} -func (m *RouteFeeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RouteFeeRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_RouteFeeRequest proto.InternalMessageInfo - -func (m *RouteFeeRequest) GetDest() []byte { - if m != nil { - return m.Dest +func (x *RouteFeeRequest) GetDest() []byte { + if x != nil { + return x.Dest } return nil } -func (m *RouteFeeRequest) GetAmtSat() int64 { - if m != nil { - return m.AmtSat +func (x *RouteFeeRequest) GetAmtSat() int64 { + if x != nil { + return x.AmtSat } return 0 } type RouteFeeResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //A lower bound of the estimated fee to the target destination within the //network, expressed in milli-satoshis. @@ -656,413 +796,489 @@ type RouteFeeResponse struct { //An estimate of the worst case time delay that can occur. Note that callers //will still need to factor in the final CLTV delta of the last hop into this //value. - TimeLockDelay int64 `protobuf:"varint,2,opt,name=time_lock_delay,json=timeLockDelay,proto3" json:"time_lock_delay,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TimeLockDelay int64 `protobuf:"varint,2,opt,name=time_lock_delay,json=timeLockDelay,proto3" json:"time_lock_delay,omitempty"` } -func (m *RouteFeeResponse) Reset() { *m = RouteFeeResponse{} } -func (m *RouteFeeResponse) String() string { return proto.CompactTextString(m) } -func (*RouteFeeResponse) ProtoMessage() {} +func (x *RouteFeeResponse) Reset() { + *x = RouteFeeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_routerrpc_router_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RouteFeeResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RouteFeeResponse) ProtoMessage() {} + +func (x *RouteFeeResponse) ProtoReflect() protoreflect.Message { + mi := &file_routerrpc_router_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 RouteFeeResponse.ProtoReflect.Descriptor instead. func (*RouteFeeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_7a0613f69d37b0a5, []int{3} + return file_routerrpc_router_proto_rawDescGZIP(), []int{3} } -func (m *RouteFeeResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RouteFeeResponse.Unmarshal(m, b) -} -func (m *RouteFeeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RouteFeeResponse.Marshal(b, m, deterministic) -} -func (m *RouteFeeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RouteFeeResponse.Merge(m, src) -} -func (m *RouteFeeResponse) XXX_Size() int { - return xxx_messageInfo_RouteFeeResponse.Size(m) -} -func (m *RouteFeeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RouteFeeResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_RouteFeeResponse proto.InternalMessageInfo - -func (m *RouteFeeResponse) GetRoutingFeeMsat() int64 { - if m != nil { - return m.RoutingFeeMsat +func (x *RouteFeeResponse) GetRoutingFeeMsat() int64 { + if x != nil { + return x.RoutingFeeMsat } return 0 } -func (m *RouteFeeResponse) GetTimeLockDelay() int64 { - if m != nil { - return m.TimeLockDelay +func (x *RouteFeeResponse) GetTimeLockDelay() int64 { + if x != nil { + return x.TimeLockDelay } return 0 } type SendToRouteRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The payment hash to use for the HTLC. PaymentHash []byte `protobuf:"bytes,1,opt,name=payment_hash,json=paymentHash,proto3" json:"payment_hash,omitempty"` // Route that should be used to attempt to complete the payment. - Route *lnrpc.Route `protobuf:"bytes,2,opt,name=route,proto3" json:"route,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Route *lnrpc.Route `protobuf:"bytes,2,opt,name=route,proto3" json:"route,omitempty"` } -func (m *SendToRouteRequest) Reset() { *m = SendToRouteRequest{} } -func (m *SendToRouteRequest) String() string { return proto.CompactTextString(m) } -func (*SendToRouteRequest) ProtoMessage() {} +func (x *SendToRouteRequest) Reset() { + *x = SendToRouteRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_routerrpc_router_proto_msgTypes[4] + 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_routerrpc_router_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 SendToRouteRequest.ProtoReflect.Descriptor instead. func (*SendToRouteRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7a0613f69d37b0a5, []int{4} + return file_routerrpc_router_proto_rawDescGZIP(), []int{4} } -func (m *SendToRouteRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SendToRouteRequest.Unmarshal(m, b) -} -func (m *SendToRouteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SendToRouteRequest.Marshal(b, m, deterministic) -} -func (m *SendToRouteRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SendToRouteRequest.Merge(m, src) -} -func (m *SendToRouteRequest) XXX_Size() int { - return xxx_messageInfo_SendToRouteRequest.Size(m) -} -func (m *SendToRouteRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SendToRouteRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SendToRouteRequest proto.InternalMessageInfo - -func (m *SendToRouteRequest) GetPaymentHash() []byte { - if m != nil { - return m.PaymentHash +func (x *SendToRouteRequest) GetPaymentHash() []byte { + if x != nil { + return x.PaymentHash } return nil } -func (m *SendToRouteRequest) GetRoute() *lnrpc.Route { - if m != nil { - return m.Route +func (x *SendToRouteRequest) GetRoute() *lnrpc.Route { + if x != nil { + return x.Route } return nil } type SendToRouteResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The preimage obtained by making the payment. Preimage []byte `protobuf:"bytes,1,opt,name=preimage,proto3" json:"preimage,omitempty"` // The failure message in case the payment failed. - Failure *lnrpc.Failure `protobuf:"bytes,2,opt,name=failure,proto3" json:"failure,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Failure *lnrpc.Failure `protobuf:"bytes,2,opt,name=failure,proto3" json:"failure,omitempty"` } -func (m *SendToRouteResponse) Reset() { *m = SendToRouteResponse{} } -func (m *SendToRouteResponse) String() string { return proto.CompactTextString(m) } -func (*SendToRouteResponse) ProtoMessage() {} +func (x *SendToRouteResponse) Reset() { + *x = SendToRouteResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_routerrpc_router_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SendToRouteResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SendToRouteResponse) ProtoMessage() {} + +func (x *SendToRouteResponse) ProtoReflect() protoreflect.Message { + mi := &file_routerrpc_router_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 SendToRouteResponse.ProtoReflect.Descriptor instead. func (*SendToRouteResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_7a0613f69d37b0a5, []int{5} + return file_routerrpc_router_proto_rawDescGZIP(), []int{5} } -func (m *SendToRouteResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SendToRouteResponse.Unmarshal(m, b) -} -func (m *SendToRouteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SendToRouteResponse.Marshal(b, m, deterministic) -} -func (m *SendToRouteResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SendToRouteResponse.Merge(m, src) -} -func (m *SendToRouteResponse) XXX_Size() int { - return xxx_messageInfo_SendToRouteResponse.Size(m) -} -func (m *SendToRouteResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SendToRouteResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_SendToRouteResponse proto.InternalMessageInfo - -func (m *SendToRouteResponse) GetPreimage() []byte { - if m != nil { - return m.Preimage +func (x *SendToRouteResponse) GetPreimage() []byte { + if x != nil { + return x.Preimage } return nil } -func (m *SendToRouteResponse) GetFailure() *lnrpc.Failure { - if m != nil { - return m.Failure +func (x *SendToRouteResponse) GetFailure() *lnrpc.Failure { + if x != nil { + return x.Failure } return nil } type ResetMissionControlRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ResetMissionControlRequest) Reset() { *m = ResetMissionControlRequest{} } -func (m *ResetMissionControlRequest) String() string { return proto.CompactTextString(m) } -func (*ResetMissionControlRequest) ProtoMessage() {} +func (x *ResetMissionControlRequest) Reset() { + *x = ResetMissionControlRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_routerrpc_router_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ResetMissionControlRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ResetMissionControlRequest) ProtoMessage() {} + +func (x *ResetMissionControlRequest) ProtoReflect() protoreflect.Message { + mi := &file_routerrpc_router_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 ResetMissionControlRequest.ProtoReflect.Descriptor instead. func (*ResetMissionControlRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7a0613f69d37b0a5, []int{6} + return file_routerrpc_router_proto_rawDescGZIP(), []int{6} } -func (m *ResetMissionControlRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ResetMissionControlRequest.Unmarshal(m, b) -} -func (m *ResetMissionControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ResetMissionControlRequest.Marshal(b, m, deterministic) -} -func (m *ResetMissionControlRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResetMissionControlRequest.Merge(m, src) -} -func (m *ResetMissionControlRequest) XXX_Size() int { - return xxx_messageInfo_ResetMissionControlRequest.Size(m) -} -func (m *ResetMissionControlRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ResetMissionControlRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ResetMissionControlRequest proto.InternalMessageInfo - type ResetMissionControlResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ResetMissionControlResponse) Reset() { *m = ResetMissionControlResponse{} } -func (m *ResetMissionControlResponse) String() string { return proto.CompactTextString(m) } -func (*ResetMissionControlResponse) ProtoMessage() {} +func (x *ResetMissionControlResponse) Reset() { + *x = ResetMissionControlResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_routerrpc_router_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ResetMissionControlResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ResetMissionControlResponse) ProtoMessage() {} + +func (x *ResetMissionControlResponse) ProtoReflect() protoreflect.Message { + mi := &file_routerrpc_router_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 ResetMissionControlResponse.ProtoReflect.Descriptor instead. func (*ResetMissionControlResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_7a0613f69d37b0a5, []int{7} + return file_routerrpc_router_proto_rawDescGZIP(), []int{7} } -func (m *ResetMissionControlResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ResetMissionControlResponse.Unmarshal(m, b) -} -func (m *ResetMissionControlResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ResetMissionControlResponse.Marshal(b, m, deterministic) -} -func (m *ResetMissionControlResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ResetMissionControlResponse.Merge(m, src) -} -func (m *ResetMissionControlResponse) XXX_Size() int { - return xxx_messageInfo_ResetMissionControlResponse.Size(m) -} -func (m *ResetMissionControlResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ResetMissionControlResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ResetMissionControlResponse proto.InternalMessageInfo - type QueryMissionControlRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *QueryMissionControlRequest) Reset() { *m = QueryMissionControlRequest{} } -func (m *QueryMissionControlRequest) String() string { return proto.CompactTextString(m) } -func (*QueryMissionControlRequest) ProtoMessage() {} +func (x *QueryMissionControlRequest) Reset() { + *x = QueryMissionControlRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_routerrpc_router_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QueryMissionControlRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryMissionControlRequest) ProtoMessage() {} + +func (x *QueryMissionControlRequest) ProtoReflect() protoreflect.Message { + mi := &file_routerrpc_router_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 QueryMissionControlRequest.ProtoReflect.Descriptor instead. func (*QueryMissionControlRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7a0613f69d37b0a5, []int{8} + return file_routerrpc_router_proto_rawDescGZIP(), []int{8} } -func (m *QueryMissionControlRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QueryMissionControlRequest.Unmarshal(m, b) -} -func (m *QueryMissionControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QueryMissionControlRequest.Marshal(b, m, deterministic) -} -func (m *QueryMissionControlRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryMissionControlRequest.Merge(m, src) -} -func (m *QueryMissionControlRequest) XXX_Size() int { - return xxx_messageInfo_QueryMissionControlRequest.Size(m) -} -func (m *QueryMissionControlRequest) XXX_DiscardUnknown() { - xxx_messageInfo_QueryMissionControlRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryMissionControlRequest proto.InternalMessageInfo - // QueryMissionControlResponse contains mission control state. type QueryMissionControlResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Node pair-level mission control state. - Pairs []*PairHistory `protobuf:"bytes,2,rep,name=pairs,proto3" json:"pairs,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Pairs []*PairHistory `protobuf:"bytes,2,rep,name=pairs,proto3" json:"pairs,omitempty"` } -func (m *QueryMissionControlResponse) Reset() { *m = QueryMissionControlResponse{} } -func (m *QueryMissionControlResponse) String() string { return proto.CompactTextString(m) } -func (*QueryMissionControlResponse) ProtoMessage() {} +func (x *QueryMissionControlResponse) Reset() { + *x = QueryMissionControlResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_routerrpc_router_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QueryMissionControlResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryMissionControlResponse) ProtoMessage() {} + +func (x *QueryMissionControlResponse) ProtoReflect() protoreflect.Message { + mi := &file_routerrpc_router_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 QueryMissionControlResponse.ProtoReflect.Descriptor instead. func (*QueryMissionControlResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_7a0613f69d37b0a5, []int{9} + return file_routerrpc_router_proto_rawDescGZIP(), []int{9} } -func (m *QueryMissionControlResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QueryMissionControlResponse.Unmarshal(m, b) -} -func (m *QueryMissionControlResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QueryMissionControlResponse.Marshal(b, m, deterministic) -} -func (m *QueryMissionControlResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryMissionControlResponse.Merge(m, src) -} -func (m *QueryMissionControlResponse) XXX_Size() int { - return xxx_messageInfo_QueryMissionControlResponse.Size(m) -} -func (m *QueryMissionControlResponse) XXX_DiscardUnknown() { - xxx_messageInfo_QueryMissionControlResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryMissionControlResponse proto.InternalMessageInfo - -func (m *QueryMissionControlResponse) GetPairs() []*PairHistory { - if m != nil { - return m.Pairs +func (x *QueryMissionControlResponse) GetPairs() []*PairHistory { + if x != nil { + return x.Pairs } return nil } type XImportMissionControlRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Node pair-level mission control state to be imported. - Pairs []*PairHistory `protobuf:"bytes,1,rep,name=pairs,proto3" json:"pairs,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Pairs []*PairHistory `protobuf:"bytes,1,rep,name=pairs,proto3" json:"pairs,omitempty"` } -func (m *XImportMissionControlRequest) Reset() { *m = XImportMissionControlRequest{} } -func (m *XImportMissionControlRequest) String() string { return proto.CompactTextString(m) } -func (*XImportMissionControlRequest) ProtoMessage() {} +func (x *XImportMissionControlRequest) Reset() { + *x = XImportMissionControlRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_routerrpc_router_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *XImportMissionControlRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*XImportMissionControlRequest) ProtoMessage() {} + +func (x *XImportMissionControlRequest) ProtoReflect() protoreflect.Message { + mi := &file_routerrpc_router_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 XImportMissionControlRequest.ProtoReflect.Descriptor instead. func (*XImportMissionControlRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7a0613f69d37b0a5, []int{10} + return file_routerrpc_router_proto_rawDescGZIP(), []int{10} } -func (m *XImportMissionControlRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_XImportMissionControlRequest.Unmarshal(m, b) -} -func (m *XImportMissionControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_XImportMissionControlRequest.Marshal(b, m, deterministic) -} -func (m *XImportMissionControlRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_XImportMissionControlRequest.Merge(m, src) -} -func (m *XImportMissionControlRequest) XXX_Size() int { - return xxx_messageInfo_XImportMissionControlRequest.Size(m) -} -func (m *XImportMissionControlRequest) XXX_DiscardUnknown() { - xxx_messageInfo_XImportMissionControlRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_XImportMissionControlRequest proto.InternalMessageInfo - -func (m *XImportMissionControlRequest) GetPairs() []*PairHistory { - if m != nil { - return m.Pairs +func (x *XImportMissionControlRequest) GetPairs() []*PairHistory { + if x != nil { + return x.Pairs } return nil } type XImportMissionControlResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *XImportMissionControlResponse) Reset() { *m = XImportMissionControlResponse{} } -func (m *XImportMissionControlResponse) String() string { return proto.CompactTextString(m) } -func (*XImportMissionControlResponse) ProtoMessage() {} +func (x *XImportMissionControlResponse) Reset() { + *x = XImportMissionControlResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_routerrpc_router_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *XImportMissionControlResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*XImportMissionControlResponse) ProtoMessage() {} + +func (x *XImportMissionControlResponse) ProtoReflect() protoreflect.Message { + mi := &file_routerrpc_router_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 XImportMissionControlResponse.ProtoReflect.Descriptor instead. func (*XImportMissionControlResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_7a0613f69d37b0a5, []int{11} + return file_routerrpc_router_proto_rawDescGZIP(), []int{11} } -func (m *XImportMissionControlResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_XImportMissionControlResponse.Unmarshal(m, b) -} -func (m *XImportMissionControlResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_XImportMissionControlResponse.Marshal(b, m, deterministic) -} -func (m *XImportMissionControlResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_XImportMissionControlResponse.Merge(m, src) -} -func (m *XImportMissionControlResponse) XXX_Size() int { - return xxx_messageInfo_XImportMissionControlResponse.Size(m) -} -func (m *XImportMissionControlResponse) XXX_DiscardUnknown() { - xxx_messageInfo_XImportMissionControlResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_XImportMissionControlResponse proto.InternalMessageInfo - // PairHistory contains the mission control state for a particular node pair. type PairHistory struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The source node pubkey of the pair. NodeFrom []byte `protobuf:"bytes,1,opt,name=node_from,json=nodeFrom,proto3" json:"node_from,omitempty"` // The destination node pubkey of the pair. - NodeTo []byte `protobuf:"bytes,2,opt,name=node_to,json=nodeTo,proto3" json:"node_to,omitempty"` - History *PairData `protobuf:"bytes,7,opt,name=history,proto3" json:"history,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + NodeTo []byte `protobuf:"bytes,2,opt,name=node_to,json=nodeTo,proto3" json:"node_to,omitempty"` + History *PairData `protobuf:"bytes,7,opt,name=history,proto3" json:"history,omitempty"` } -func (m *PairHistory) Reset() { *m = PairHistory{} } -func (m *PairHistory) String() string { return proto.CompactTextString(m) } -func (*PairHistory) ProtoMessage() {} +func (x *PairHistory) Reset() { + *x = PairHistory{} + if protoimpl.UnsafeEnabled { + mi := &file_routerrpc_router_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PairHistory) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PairHistory) ProtoMessage() {} + +func (x *PairHistory) ProtoReflect() protoreflect.Message { + mi := &file_routerrpc_router_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 PairHistory.ProtoReflect.Descriptor instead. func (*PairHistory) Descriptor() ([]byte, []int) { - return fileDescriptor_7a0613f69d37b0a5, []int{12} + return file_routerrpc_router_proto_rawDescGZIP(), []int{12} } -func (m *PairHistory) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PairHistory.Unmarshal(m, b) -} -func (m *PairHistory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PairHistory.Marshal(b, m, deterministic) -} -func (m *PairHistory) XXX_Merge(src proto.Message) { - xxx_messageInfo_PairHistory.Merge(m, src) -} -func (m *PairHistory) XXX_Size() int { - return xxx_messageInfo_PairHistory.Size(m) -} -func (m *PairHistory) XXX_DiscardUnknown() { - xxx_messageInfo_PairHistory.DiscardUnknown(m) -} - -var xxx_messageInfo_PairHistory proto.InternalMessageInfo - -func (m *PairHistory) GetNodeFrom() []byte { - if m != nil { - return m.NodeFrom +func (x *PairHistory) GetNodeFrom() []byte { + if x != nil { + return x.NodeFrom } return nil } -func (m *PairHistory) GetNodeTo() []byte { - if m != nil { - return m.NodeTo +func (x *PairHistory) GetNodeTo() []byte { + if x != nil { + return x.NodeTo } return nil } -func (m *PairHistory) GetHistory() *PairData { - if m != nil { - return m.History +func (x *PairHistory) GetHistory() *PairData { + if x != nil { + return x.History } return nil } type PairData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Time of last failure. FailTime int64 `protobuf:"varint,1,opt,name=fail_time,json=failTime,proto3" json:"fail_time,omitempty"` // @@ -1078,225 +1294,263 @@ type PairData struct { // Highest amount that we could successfully forward rounded to whole sats. SuccessAmtSat int64 `protobuf:"varint,6,opt,name=success_amt_sat,json=successAmtSat,proto3" json:"success_amt_sat,omitempty"` // Highest amount that we could successfully forward in millisats. - SuccessAmtMsat int64 `protobuf:"varint,7,opt,name=success_amt_msat,json=successAmtMsat,proto3" json:"success_amt_msat,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SuccessAmtMsat int64 `protobuf:"varint,7,opt,name=success_amt_msat,json=successAmtMsat,proto3" json:"success_amt_msat,omitempty"` } -func (m *PairData) Reset() { *m = PairData{} } -func (m *PairData) String() string { return proto.CompactTextString(m) } -func (*PairData) ProtoMessage() {} +func (x *PairData) Reset() { + *x = PairData{} + if protoimpl.UnsafeEnabled { + mi := &file_routerrpc_router_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PairData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PairData) ProtoMessage() {} + +func (x *PairData) ProtoReflect() protoreflect.Message { + mi := &file_routerrpc_router_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 PairData.ProtoReflect.Descriptor instead. func (*PairData) Descriptor() ([]byte, []int) { - return fileDescriptor_7a0613f69d37b0a5, []int{13} + return file_routerrpc_router_proto_rawDescGZIP(), []int{13} } -func (m *PairData) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PairData.Unmarshal(m, b) -} -func (m *PairData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PairData.Marshal(b, m, deterministic) -} -func (m *PairData) XXX_Merge(src proto.Message) { - xxx_messageInfo_PairData.Merge(m, src) -} -func (m *PairData) XXX_Size() int { - return xxx_messageInfo_PairData.Size(m) -} -func (m *PairData) XXX_DiscardUnknown() { - xxx_messageInfo_PairData.DiscardUnknown(m) -} - -var xxx_messageInfo_PairData proto.InternalMessageInfo - -func (m *PairData) GetFailTime() int64 { - if m != nil { - return m.FailTime +func (x *PairData) GetFailTime() int64 { + if x != nil { + return x.FailTime } return 0 } -func (m *PairData) GetFailAmtSat() int64 { - if m != nil { - return m.FailAmtSat +func (x *PairData) GetFailAmtSat() int64 { + if x != nil { + return x.FailAmtSat } return 0 } -func (m *PairData) GetFailAmtMsat() int64 { - if m != nil { - return m.FailAmtMsat +func (x *PairData) GetFailAmtMsat() int64 { + if x != nil { + return x.FailAmtMsat } return 0 } -func (m *PairData) GetSuccessTime() int64 { - if m != nil { - return m.SuccessTime +func (x *PairData) GetSuccessTime() int64 { + if x != nil { + return x.SuccessTime } return 0 } -func (m *PairData) GetSuccessAmtSat() int64 { - if m != nil { - return m.SuccessAmtSat +func (x *PairData) GetSuccessAmtSat() int64 { + if x != nil { + return x.SuccessAmtSat } return 0 } -func (m *PairData) GetSuccessAmtMsat() int64 { - if m != nil { - return m.SuccessAmtMsat +func (x *PairData) GetSuccessAmtMsat() int64 { + if x != nil { + return x.SuccessAmtMsat } return 0 } type GetMissionControlConfigRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *GetMissionControlConfigRequest) Reset() { *m = GetMissionControlConfigRequest{} } -func (m *GetMissionControlConfigRequest) String() string { return proto.CompactTextString(m) } -func (*GetMissionControlConfigRequest) ProtoMessage() {} +func (x *GetMissionControlConfigRequest) Reset() { + *x = GetMissionControlConfigRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_routerrpc_router_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetMissionControlConfigRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetMissionControlConfigRequest) ProtoMessage() {} + +func (x *GetMissionControlConfigRequest) ProtoReflect() protoreflect.Message { + mi := &file_routerrpc_router_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 GetMissionControlConfigRequest.ProtoReflect.Descriptor instead. func (*GetMissionControlConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7a0613f69d37b0a5, []int{14} + return file_routerrpc_router_proto_rawDescGZIP(), []int{14} } -func (m *GetMissionControlConfigRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetMissionControlConfigRequest.Unmarshal(m, b) -} -func (m *GetMissionControlConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetMissionControlConfigRequest.Marshal(b, m, deterministic) -} -func (m *GetMissionControlConfigRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetMissionControlConfigRequest.Merge(m, src) -} -func (m *GetMissionControlConfigRequest) XXX_Size() int { - return xxx_messageInfo_GetMissionControlConfigRequest.Size(m) -} -func (m *GetMissionControlConfigRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetMissionControlConfigRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetMissionControlConfigRequest proto.InternalMessageInfo - type GetMissionControlConfigResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //Mission control's currently active config. - Config *MissionControlConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Config *MissionControlConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` } -func (m *GetMissionControlConfigResponse) Reset() { *m = GetMissionControlConfigResponse{} } -func (m *GetMissionControlConfigResponse) String() string { return proto.CompactTextString(m) } -func (*GetMissionControlConfigResponse) ProtoMessage() {} +func (x *GetMissionControlConfigResponse) Reset() { + *x = GetMissionControlConfigResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_routerrpc_router_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetMissionControlConfigResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetMissionControlConfigResponse) ProtoMessage() {} + +func (x *GetMissionControlConfigResponse) ProtoReflect() protoreflect.Message { + mi := &file_routerrpc_router_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 GetMissionControlConfigResponse.ProtoReflect.Descriptor instead. func (*GetMissionControlConfigResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_7a0613f69d37b0a5, []int{15} + return file_routerrpc_router_proto_rawDescGZIP(), []int{15} } -func (m *GetMissionControlConfigResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetMissionControlConfigResponse.Unmarshal(m, b) -} -func (m *GetMissionControlConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetMissionControlConfigResponse.Marshal(b, m, deterministic) -} -func (m *GetMissionControlConfigResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetMissionControlConfigResponse.Merge(m, src) -} -func (m *GetMissionControlConfigResponse) XXX_Size() int { - return xxx_messageInfo_GetMissionControlConfigResponse.Size(m) -} -func (m *GetMissionControlConfigResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetMissionControlConfigResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_GetMissionControlConfigResponse proto.InternalMessageInfo - -func (m *GetMissionControlConfigResponse) GetConfig() *MissionControlConfig { - if m != nil { - return m.Config +func (x *GetMissionControlConfigResponse) GetConfig() *MissionControlConfig { + if x != nil { + return x.Config } return nil } type SetMissionControlConfigRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //The config to set for mission control. Note that all values *must* be set, //because the full config will be applied. - Config *MissionControlConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Config *MissionControlConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` } -func (m *SetMissionControlConfigRequest) Reset() { *m = SetMissionControlConfigRequest{} } -func (m *SetMissionControlConfigRequest) String() string { return proto.CompactTextString(m) } -func (*SetMissionControlConfigRequest) ProtoMessage() {} +func (x *SetMissionControlConfigRequest) Reset() { + *x = SetMissionControlConfigRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_routerrpc_router_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetMissionControlConfigRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetMissionControlConfigRequest) ProtoMessage() {} + +func (x *SetMissionControlConfigRequest) ProtoReflect() protoreflect.Message { + mi := &file_routerrpc_router_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 SetMissionControlConfigRequest.ProtoReflect.Descriptor instead. func (*SetMissionControlConfigRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7a0613f69d37b0a5, []int{16} + return file_routerrpc_router_proto_rawDescGZIP(), []int{16} } -func (m *SetMissionControlConfigRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetMissionControlConfigRequest.Unmarshal(m, b) -} -func (m *SetMissionControlConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetMissionControlConfigRequest.Marshal(b, m, deterministic) -} -func (m *SetMissionControlConfigRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetMissionControlConfigRequest.Merge(m, src) -} -func (m *SetMissionControlConfigRequest) XXX_Size() int { - return xxx_messageInfo_SetMissionControlConfigRequest.Size(m) -} -func (m *SetMissionControlConfigRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SetMissionControlConfigRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SetMissionControlConfigRequest proto.InternalMessageInfo - -func (m *SetMissionControlConfigRequest) GetConfig() *MissionControlConfig { - if m != nil { - return m.Config +func (x *SetMissionControlConfigRequest) GetConfig() *MissionControlConfig { + if x != nil { + return x.Config } return nil } type SetMissionControlConfigResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *SetMissionControlConfigResponse) Reset() { *m = SetMissionControlConfigResponse{} } -func (m *SetMissionControlConfigResponse) String() string { return proto.CompactTextString(m) } -func (*SetMissionControlConfigResponse) ProtoMessage() {} +func (x *SetMissionControlConfigResponse) Reset() { + *x = SetMissionControlConfigResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_routerrpc_router_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SetMissionControlConfigResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SetMissionControlConfigResponse) ProtoMessage() {} + +func (x *SetMissionControlConfigResponse) ProtoReflect() protoreflect.Message { + mi := &file_routerrpc_router_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 SetMissionControlConfigResponse.ProtoReflect.Descriptor instead. func (*SetMissionControlConfigResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_7a0613f69d37b0a5, []int{17} + return file_routerrpc_router_proto_rawDescGZIP(), []int{17} } -func (m *SetMissionControlConfigResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetMissionControlConfigResponse.Unmarshal(m, b) -} -func (m *SetMissionControlConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetMissionControlConfigResponse.Marshal(b, m, deterministic) -} -func (m *SetMissionControlConfigResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetMissionControlConfigResponse.Merge(m, src) -} -func (m *SetMissionControlConfigResponse) XXX_Size() int { - return xxx_messageInfo_SetMissionControlConfigResponse.Size(m) -} -func (m *SetMissionControlConfigResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SetMissionControlConfigResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_SetMissionControlConfigResponse proto.InternalMessageInfo - type MissionControlConfig struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //The amount of time mission control will take to restore a penalized node //or channel back to 50% success probability, expressed in seconds. Setting @@ -1324,180 +1578,204 @@ type MissionControlConfig struct { // //The minimum time that must have passed since the previously recorded failure //before we raise the failure amount. - MinimumFailureRelaxInterval uint64 `protobuf:"varint,5,opt,name=minimum_failure_relax_interval,json=minimumFailureRelaxInterval,proto3" json:"minimum_failure_relax_interval,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + MinimumFailureRelaxInterval uint64 `protobuf:"varint,5,opt,name=minimum_failure_relax_interval,json=minimumFailureRelaxInterval,proto3" json:"minimum_failure_relax_interval,omitempty"` } -func (m *MissionControlConfig) Reset() { *m = MissionControlConfig{} } -func (m *MissionControlConfig) String() string { return proto.CompactTextString(m) } -func (*MissionControlConfig) ProtoMessage() {} +func (x *MissionControlConfig) Reset() { + *x = MissionControlConfig{} + if protoimpl.UnsafeEnabled { + mi := &file_routerrpc_router_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *MissionControlConfig) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*MissionControlConfig) ProtoMessage() {} + +func (x *MissionControlConfig) ProtoReflect() protoreflect.Message { + mi := &file_routerrpc_router_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 MissionControlConfig.ProtoReflect.Descriptor instead. func (*MissionControlConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_7a0613f69d37b0a5, []int{18} + return file_routerrpc_router_proto_rawDescGZIP(), []int{18} } -func (m *MissionControlConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MissionControlConfig.Unmarshal(m, b) -} -func (m *MissionControlConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MissionControlConfig.Marshal(b, m, deterministic) -} -func (m *MissionControlConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_MissionControlConfig.Merge(m, src) -} -func (m *MissionControlConfig) XXX_Size() int { - return xxx_messageInfo_MissionControlConfig.Size(m) -} -func (m *MissionControlConfig) XXX_DiscardUnknown() { - xxx_messageInfo_MissionControlConfig.DiscardUnknown(m) -} - -var xxx_messageInfo_MissionControlConfig proto.InternalMessageInfo - -func (m *MissionControlConfig) GetHalfLifeSeconds() uint64 { - if m != nil { - return m.HalfLifeSeconds +func (x *MissionControlConfig) GetHalfLifeSeconds() uint64 { + if x != nil { + return x.HalfLifeSeconds } return 0 } -func (m *MissionControlConfig) GetHopProbability() float32 { - if m != nil { - return m.HopProbability +func (x *MissionControlConfig) GetHopProbability() float32 { + if x != nil { + return x.HopProbability } return 0 } -func (m *MissionControlConfig) GetWeight() float32 { - if m != nil { - return m.Weight +func (x *MissionControlConfig) GetWeight() float32 { + if x != nil { + return x.Weight } return 0 } -func (m *MissionControlConfig) GetMaximumPaymentResults() uint32 { - if m != nil { - return m.MaximumPaymentResults +func (x *MissionControlConfig) GetMaximumPaymentResults() uint32 { + if x != nil { + return x.MaximumPaymentResults } return 0 } -func (m *MissionControlConfig) GetMinimumFailureRelaxInterval() uint64 { - if m != nil { - return m.MinimumFailureRelaxInterval +func (x *MissionControlConfig) GetMinimumFailureRelaxInterval() uint64 { + if x != nil { + return x.MinimumFailureRelaxInterval } return 0 } type QueryProbabilityRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The source node pubkey of the pair. FromNode []byte `protobuf:"bytes,1,opt,name=from_node,json=fromNode,proto3" json:"from_node,omitempty"` // The destination node pubkey of the pair. ToNode []byte `protobuf:"bytes,2,opt,name=to_node,json=toNode,proto3" json:"to_node,omitempty"` // The amount for which to calculate a probability. - AmtMsat int64 `protobuf:"varint,3,opt,name=amt_msat,json=amtMsat,proto3" json:"amt_msat,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + AmtMsat int64 `protobuf:"varint,3,opt,name=amt_msat,json=amtMsat,proto3" json:"amt_msat,omitempty"` } -func (m *QueryProbabilityRequest) Reset() { *m = QueryProbabilityRequest{} } -func (m *QueryProbabilityRequest) String() string { return proto.CompactTextString(m) } -func (*QueryProbabilityRequest) ProtoMessage() {} +func (x *QueryProbabilityRequest) Reset() { + *x = QueryProbabilityRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_routerrpc_router_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QueryProbabilityRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryProbabilityRequest) ProtoMessage() {} + +func (x *QueryProbabilityRequest) ProtoReflect() protoreflect.Message { + mi := &file_routerrpc_router_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 QueryProbabilityRequest.ProtoReflect.Descriptor instead. func (*QueryProbabilityRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7a0613f69d37b0a5, []int{19} + return file_routerrpc_router_proto_rawDescGZIP(), []int{19} } -func (m *QueryProbabilityRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QueryProbabilityRequest.Unmarshal(m, b) -} -func (m *QueryProbabilityRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QueryProbabilityRequest.Marshal(b, m, deterministic) -} -func (m *QueryProbabilityRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryProbabilityRequest.Merge(m, src) -} -func (m *QueryProbabilityRequest) XXX_Size() int { - return xxx_messageInfo_QueryProbabilityRequest.Size(m) -} -func (m *QueryProbabilityRequest) XXX_DiscardUnknown() { - xxx_messageInfo_QueryProbabilityRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryProbabilityRequest proto.InternalMessageInfo - -func (m *QueryProbabilityRequest) GetFromNode() []byte { - if m != nil { - return m.FromNode +func (x *QueryProbabilityRequest) GetFromNode() []byte { + if x != nil { + return x.FromNode } return nil } -func (m *QueryProbabilityRequest) GetToNode() []byte { - if m != nil { - return m.ToNode +func (x *QueryProbabilityRequest) GetToNode() []byte { + if x != nil { + return x.ToNode } return nil } -func (m *QueryProbabilityRequest) GetAmtMsat() int64 { - if m != nil { - return m.AmtMsat +func (x *QueryProbabilityRequest) GetAmtMsat() int64 { + if x != nil { + return x.AmtMsat } return 0 } type QueryProbabilityResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The success probability for the requested pair. Probability float64 `protobuf:"fixed64,1,opt,name=probability,proto3" json:"probability,omitempty"` // The historical data for the requested pair. - History *PairData `protobuf:"bytes,2,opt,name=history,proto3" json:"history,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + History *PairData `protobuf:"bytes,2,opt,name=history,proto3" json:"history,omitempty"` } -func (m *QueryProbabilityResponse) Reset() { *m = QueryProbabilityResponse{} } -func (m *QueryProbabilityResponse) String() string { return proto.CompactTextString(m) } -func (*QueryProbabilityResponse) ProtoMessage() {} +func (x *QueryProbabilityResponse) Reset() { + *x = QueryProbabilityResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_routerrpc_router_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *QueryProbabilityResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*QueryProbabilityResponse) ProtoMessage() {} + +func (x *QueryProbabilityResponse) ProtoReflect() protoreflect.Message { + mi := &file_routerrpc_router_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 QueryProbabilityResponse.ProtoReflect.Descriptor instead. func (*QueryProbabilityResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_7a0613f69d37b0a5, []int{20} + return file_routerrpc_router_proto_rawDescGZIP(), []int{20} } -func (m *QueryProbabilityResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QueryProbabilityResponse.Unmarshal(m, b) -} -func (m *QueryProbabilityResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QueryProbabilityResponse.Marshal(b, m, deterministic) -} -func (m *QueryProbabilityResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryProbabilityResponse.Merge(m, src) -} -func (m *QueryProbabilityResponse) XXX_Size() int { - return xxx_messageInfo_QueryProbabilityResponse.Size(m) -} -func (m *QueryProbabilityResponse) XXX_DiscardUnknown() { - xxx_messageInfo_QueryProbabilityResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryProbabilityResponse proto.InternalMessageInfo - -func (m *QueryProbabilityResponse) GetProbability() float64 { - if m != nil { - return m.Probability +func (x *QueryProbabilityResponse) GetProbability() float64 { + if x != nil { + return x.Probability } return 0 } -func (m *QueryProbabilityResponse) GetHistory() *PairData { - if m != nil { - return m.History +func (x *QueryProbabilityResponse) GetHistory() *PairData { + if x != nil { + return x.History } return nil } type BuildRouteRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //The amount to send expressed in msat. If set to zero, the minimum routable //amount is used. @@ -1515,144 +1793,163 @@ type BuildRouteRequest struct { //pubkey. HopPubkeys [][]byte `protobuf:"bytes,4,rep,name=hop_pubkeys,json=hopPubkeys,proto3" json:"hop_pubkeys,omitempty"` // An optional payment addr to be included within the last hop of the route. - PaymentAddr []byte `protobuf:"bytes,5,opt,name=payment_addr,json=paymentAddr,proto3" json:"payment_addr,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + PaymentAddr []byte `protobuf:"bytes,5,opt,name=payment_addr,json=paymentAddr,proto3" json:"payment_addr,omitempty"` } -func (m *BuildRouteRequest) Reset() { *m = BuildRouteRequest{} } -func (m *BuildRouteRequest) String() string { return proto.CompactTextString(m) } -func (*BuildRouteRequest) ProtoMessage() {} +func (x *BuildRouteRequest) Reset() { + *x = BuildRouteRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_routerrpc_router_proto_msgTypes[21] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BuildRouteRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BuildRouteRequest) ProtoMessage() {} + +func (x *BuildRouteRequest) ProtoReflect() protoreflect.Message { + mi := &file_routerrpc_router_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 BuildRouteRequest.ProtoReflect.Descriptor instead. func (*BuildRouteRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7a0613f69d37b0a5, []int{21} + return file_routerrpc_router_proto_rawDescGZIP(), []int{21} } -func (m *BuildRouteRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BuildRouteRequest.Unmarshal(m, b) -} -func (m *BuildRouteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BuildRouteRequest.Marshal(b, m, deterministic) -} -func (m *BuildRouteRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BuildRouteRequest.Merge(m, src) -} -func (m *BuildRouteRequest) XXX_Size() int { - return xxx_messageInfo_BuildRouteRequest.Size(m) -} -func (m *BuildRouteRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BuildRouteRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_BuildRouteRequest proto.InternalMessageInfo - -func (m *BuildRouteRequest) GetAmtMsat() int64 { - if m != nil { - return m.AmtMsat +func (x *BuildRouteRequest) GetAmtMsat() int64 { + if x != nil { + return x.AmtMsat } return 0 } -func (m *BuildRouteRequest) GetFinalCltvDelta() int32 { - if m != nil { - return m.FinalCltvDelta +func (x *BuildRouteRequest) GetFinalCltvDelta() int32 { + if x != nil { + return x.FinalCltvDelta } return 0 } -func (m *BuildRouteRequest) GetOutgoingChanId() uint64 { - if m != nil { - return m.OutgoingChanId +func (x *BuildRouteRequest) GetOutgoingChanId() uint64 { + if x != nil { + return x.OutgoingChanId } return 0 } -func (m *BuildRouteRequest) GetHopPubkeys() [][]byte { - if m != nil { - return m.HopPubkeys +func (x *BuildRouteRequest) GetHopPubkeys() [][]byte { + if x != nil { + return x.HopPubkeys } return nil } -func (m *BuildRouteRequest) GetPaymentAddr() []byte { - if m != nil { - return m.PaymentAddr +func (x *BuildRouteRequest) GetPaymentAddr() []byte { + if x != nil { + return x.PaymentAddr } return nil } type BuildRouteResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //Fully specified route that can be used to execute the payment. - Route *lnrpc.Route `protobuf:"bytes,1,opt,name=route,proto3" json:"route,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Route *lnrpc.Route `protobuf:"bytes,1,opt,name=route,proto3" json:"route,omitempty"` } -func (m *BuildRouteResponse) Reset() { *m = BuildRouteResponse{} } -func (m *BuildRouteResponse) String() string { return proto.CompactTextString(m) } -func (*BuildRouteResponse) ProtoMessage() {} +func (x *BuildRouteResponse) Reset() { + *x = BuildRouteResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_routerrpc_router_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BuildRouteResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BuildRouteResponse) ProtoMessage() {} + +func (x *BuildRouteResponse) ProtoReflect() protoreflect.Message { + mi := &file_routerrpc_router_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 BuildRouteResponse.ProtoReflect.Descriptor instead. func (*BuildRouteResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_7a0613f69d37b0a5, []int{22} + return file_routerrpc_router_proto_rawDescGZIP(), []int{22} } -func (m *BuildRouteResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BuildRouteResponse.Unmarshal(m, b) -} -func (m *BuildRouteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BuildRouteResponse.Marshal(b, m, deterministic) -} -func (m *BuildRouteResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BuildRouteResponse.Merge(m, src) -} -func (m *BuildRouteResponse) XXX_Size() int { - return xxx_messageInfo_BuildRouteResponse.Size(m) -} -func (m *BuildRouteResponse) XXX_DiscardUnknown() { - xxx_messageInfo_BuildRouteResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_BuildRouteResponse proto.InternalMessageInfo - -func (m *BuildRouteResponse) GetRoute() *lnrpc.Route { - if m != nil { - return m.Route +func (x *BuildRouteResponse) GetRoute() *lnrpc.Route { + if x != nil { + return x.Route } return nil } type SubscribeHtlcEventsRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *SubscribeHtlcEventsRequest) Reset() { *m = SubscribeHtlcEventsRequest{} } -func (m *SubscribeHtlcEventsRequest) String() string { return proto.CompactTextString(m) } -func (*SubscribeHtlcEventsRequest) ProtoMessage() {} +func (x *SubscribeHtlcEventsRequest) Reset() { + *x = SubscribeHtlcEventsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_routerrpc_router_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SubscribeHtlcEventsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SubscribeHtlcEventsRequest) ProtoMessage() {} + +func (x *SubscribeHtlcEventsRequest) ProtoReflect() protoreflect.Message { + mi := &file_routerrpc_router_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 SubscribeHtlcEventsRequest.ProtoReflect.Descriptor instead. func (*SubscribeHtlcEventsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7a0613f69d37b0a5, []int{23} + return file_routerrpc_router_proto_rawDescGZIP(), []int{23} } -func (m *SubscribeHtlcEventsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SubscribeHtlcEventsRequest.Unmarshal(m, b) -} -func (m *SubscribeHtlcEventsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SubscribeHtlcEventsRequest.Marshal(b, m, deterministic) -} -func (m *SubscribeHtlcEventsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubscribeHtlcEventsRequest.Merge(m, src) -} -func (m *SubscribeHtlcEventsRequest) XXX_Size() int { - return xxx_messageInfo_SubscribeHtlcEventsRequest.Size(m) -} -func (m *SubscribeHtlcEventsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SubscribeHtlcEventsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SubscribeHtlcEventsRequest proto.InternalMessageInfo - // //HtlcEvent contains the htlc event that was processed. These are served on a //best-effort basis; events are not persisted, delivery is not guaranteed @@ -1661,6 +1958,10 @@ var xxx_messageInfo_SubscribeHtlcEventsRequest proto.InternalMessageInfo //should be de-duplicated by the htlc's unique combination of incoming and //outgoing channel id and htlc id. [EXPERIMENTAL] type HtlcEvent struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //The short channel id that the incoming htlc arrived at our node on. This //value is zero for sends. @@ -1684,84 +1985,123 @@ type HtlcEvent struct { //The event type indicates whether the htlc was part of a send, receive or //forward. EventType HtlcEvent_EventType `protobuf:"varint,6,opt,name=event_type,json=eventType,proto3,enum=routerrpc.HtlcEvent_EventType" json:"event_type,omitempty"` - // Types that are valid to be assigned to Event: + // Types that are assignable to Event: // *HtlcEvent_ForwardEvent // *HtlcEvent_ForwardFailEvent // *HtlcEvent_SettleEvent // *HtlcEvent_LinkFailEvent - Event isHtlcEvent_Event `protobuf_oneof:"event"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Event isHtlcEvent_Event `protobuf_oneof:"event"` } -func (m *HtlcEvent) Reset() { *m = HtlcEvent{} } -func (m *HtlcEvent) String() string { return proto.CompactTextString(m) } -func (*HtlcEvent) ProtoMessage() {} +func (x *HtlcEvent) Reset() { + *x = HtlcEvent{} + if protoimpl.UnsafeEnabled { + mi := &file_routerrpc_router_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HtlcEvent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HtlcEvent) ProtoMessage() {} + +func (x *HtlcEvent) ProtoReflect() protoreflect.Message { + mi := &file_routerrpc_router_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 HtlcEvent.ProtoReflect.Descriptor instead. func (*HtlcEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_7a0613f69d37b0a5, []int{24} + return file_routerrpc_router_proto_rawDescGZIP(), []int{24} } -func (m *HtlcEvent) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HtlcEvent.Unmarshal(m, b) -} -func (m *HtlcEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HtlcEvent.Marshal(b, m, deterministic) -} -func (m *HtlcEvent) XXX_Merge(src proto.Message) { - xxx_messageInfo_HtlcEvent.Merge(m, src) -} -func (m *HtlcEvent) XXX_Size() int { - return xxx_messageInfo_HtlcEvent.Size(m) -} -func (m *HtlcEvent) XXX_DiscardUnknown() { - xxx_messageInfo_HtlcEvent.DiscardUnknown(m) -} - -var xxx_messageInfo_HtlcEvent proto.InternalMessageInfo - -func (m *HtlcEvent) GetIncomingChannelId() uint64 { - if m != nil { - return m.IncomingChannelId +func (x *HtlcEvent) GetIncomingChannelId() uint64 { + if x != nil { + return x.IncomingChannelId } return 0 } -func (m *HtlcEvent) GetOutgoingChannelId() uint64 { - if m != nil { - return m.OutgoingChannelId +func (x *HtlcEvent) GetOutgoingChannelId() uint64 { + if x != nil { + return x.OutgoingChannelId } return 0 } -func (m *HtlcEvent) GetIncomingHtlcId() uint64 { - if m != nil { - return m.IncomingHtlcId +func (x *HtlcEvent) GetIncomingHtlcId() uint64 { + if x != nil { + return x.IncomingHtlcId } return 0 } -func (m *HtlcEvent) GetOutgoingHtlcId() uint64 { - if m != nil { - return m.OutgoingHtlcId +func (x *HtlcEvent) GetOutgoingHtlcId() uint64 { + if x != nil { + return x.OutgoingHtlcId } return 0 } -func (m *HtlcEvent) GetTimestampNs() uint64 { - if m != nil { - return m.TimestampNs +func (x *HtlcEvent) GetTimestampNs() uint64 { + if x != nil { + return x.TimestampNs } return 0 } -func (m *HtlcEvent) GetEventType() HtlcEvent_EventType { - if m != nil { - return m.EventType +func (x *HtlcEvent) GetEventType() HtlcEvent_EventType { + if x != nil { + return x.EventType } return HtlcEvent_UNKNOWN } +func (m *HtlcEvent) GetEvent() isHtlcEvent_Event { + if m != nil { + return m.Event + } + return nil +} + +func (x *HtlcEvent) GetForwardEvent() *ForwardEvent { + if x, ok := x.GetEvent().(*HtlcEvent_ForwardEvent); ok { + return x.ForwardEvent + } + return nil +} + +func (x *HtlcEvent) GetForwardFailEvent() *ForwardFailEvent { + if x, ok := x.GetEvent().(*HtlcEvent_ForwardFailEvent); ok { + return x.ForwardFailEvent + } + return nil +} + +func (x *HtlcEvent) GetSettleEvent() *SettleEvent { + if x, ok := x.GetEvent().(*HtlcEvent_SettleEvent); ok { + return x.SettleEvent + } + return nil +} + +func (x *HtlcEvent) GetLinkFailEvent() *LinkFailEvent { + if x, ok := x.GetEvent().(*HtlcEvent_LinkFailEvent); ok { + return x.LinkFailEvent + } + return nil +} + type isHtlcEvent_Event interface { isHtlcEvent_Event() } @@ -1790,52 +2130,11 @@ func (*HtlcEvent_SettleEvent) isHtlcEvent_Event() {} func (*HtlcEvent_LinkFailEvent) isHtlcEvent_Event() {} -func (m *HtlcEvent) GetEvent() isHtlcEvent_Event { - if m != nil { - return m.Event - } - return nil -} - -func (m *HtlcEvent) GetForwardEvent() *ForwardEvent { - if x, ok := m.GetEvent().(*HtlcEvent_ForwardEvent); ok { - return x.ForwardEvent - } - return nil -} - -func (m *HtlcEvent) GetForwardFailEvent() *ForwardFailEvent { - if x, ok := m.GetEvent().(*HtlcEvent_ForwardFailEvent); ok { - return x.ForwardFailEvent - } - return nil -} - -func (m *HtlcEvent) GetSettleEvent() *SettleEvent { - if x, ok := m.GetEvent().(*HtlcEvent_SettleEvent); ok { - return x.SettleEvent - } - return nil -} - -func (m *HtlcEvent) GetLinkFailEvent() *LinkFailEvent { - if x, ok := m.GetEvent().(*HtlcEvent_LinkFailEvent); ok { - return x.LinkFailEvent - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*HtlcEvent) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*HtlcEvent_ForwardEvent)(nil), - (*HtlcEvent_ForwardFailEvent)(nil), - (*HtlcEvent_SettleEvent)(nil), - (*HtlcEvent_LinkFailEvent)(nil), - } -} - type HtlcInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The timelock on the incoming htlc. IncomingTimelock uint32 `protobuf:"varint,1,opt,name=incoming_timelock,json=incomingTimelock,proto3" json:"incoming_timelock,omitempty"` // The timelock on the outgoing htlc. @@ -1843,168 +2142,198 @@ type HtlcInfo struct { // The amount of the incoming htlc. IncomingAmtMsat uint64 `protobuf:"varint,3,opt,name=incoming_amt_msat,json=incomingAmtMsat,proto3" json:"incoming_amt_msat,omitempty"` // The amount of the outgoing htlc. - OutgoingAmtMsat uint64 `protobuf:"varint,4,opt,name=outgoing_amt_msat,json=outgoingAmtMsat,proto3" json:"outgoing_amt_msat,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + OutgoingAmtMsat uint64 `protobuf:"varint,4,opt,name=outgoing_amt_msat,json=outgoingAmtMsat,proto3" json:"outgoing_amt_msat,omitempty"` } -func (m *HtlcInfo) Reset() { *m = HtlcInfo{} } -func (m *HtlcInfo) String() string { return proto.CompactTextString(m) } -func (*HtlcInfo) ProtoMessage() {} +func (x *HtlcInfo) Reset() { + *x = HtlcInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_routerrpc_router_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *HtlcInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*HtlcInfo) ProtoMessage() {} + +func (x *HtlcInfo) ProtoReflect() protoreflect.Message { + mi := &file_routerrpc_router_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 HtlcInfo.ProtoReflect.Descriptor instead. func (*HtlcInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_7a0613f69d37b0a5, []int{25} + return file_routerrpc_router_proto_rawDescGZIP(), []int{25} } -func (m *HtlcInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HtlcInfo.Unmarshal(m, b) -} -func (m *HtlcInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HtlcInfo.Marshal(b, m, deterministic) -} -func (m *HtlcInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_HtlcInfo.Merge(m, src) -} -func (m *HtlcInfo) XXX_Size() int { - return xxx_messageInfo_HtlcInfo.Size(m) -} -func (m *HtlcInfo) XXX_DiscardUnknown() { - xxx_messageInfo_HtlcInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_HtlcInfo proto.InternalMessageInfo - -func (m *HtlcInfo) GetIncomingTimelock() uint32 { - if m != nil { - return m.IncomingTimelock +func (x *HtlcInfo) GetIncomingTimelock() uint32 { + if x != nil { + return x.IncomingTimelock } return 0 } -func (m *HtlcInfo) GetOutgoingTimelock() uint32 { - if m != nil { - return m.OutgoingTimelock +func (x *HtlcInfo) GetOutgoingTimelock() uint32 { + if x != nil { + return x.OutgoingTimelock } return 0 } -func (m *HtlcInfo) GetIncomingAmtMsat() uint64 { - if m != nil { - return m.IncomingAmtMsat +func (x *HtlcInfo) GetIncomingAmtMsat() uint64 { + if x != nil { + return x.IncomingAmtMsat } return 0 } -func (m *HtlcInfo) GetOutgoingAmtMsat() uint64 { - if m != nil { - return m.OutgoingAmtMsat +func (x *HtlcInfo) GetOutgoingAmtMsat() uint64 { + if x != nil { + return x.OutgoingAmtMsat } return 0 } type ForwardEvent struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Info contains details about the htlc that was forwarded. - Info *HtlcInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Info *HtlcInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` } -func (m *ForwardEvent) Reset() { *m = ForwardEvent{} } -func (m *ForwardEvent) String() string { return proto.CompactTextString(m) } -func (*ForwardEvent) ProtoMessage() {} +func (x *ForwardEvent) Reset() { + *x = ForwardEvent{} + if protoimpl.UnsafeEnabled { + mi := &file_routerrpc_router_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ForwardEvent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ForwardEvent) ProtoMessage() {} + +func (x *ForwardEvent) ProtoReflect() protoreflect.Message { + mi := &file_routerrpc_router_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 ForwardEvent.ProtoReflect.Descriptor instead. func (*ForwardEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_7a0613f69d37b0a5, []int{26} + return file_routerrpc_router_proto_rawDescGZIP(), []int{26} } -func (m *ForwardEvent) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ForwardEvent.Unmarshal(m, b) -} -func (m *ForwardEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ForwardEvent.Marshal(b, m, deterministic) -} -func (m *ForwardEvent) XXX_Merge(src proto.Message) { - xxx_messageInfo_ForwardEvent.Merge(m, src) -} -func (m *ForwardEvent) XXX_Size() int { - return xxx_messageInfo_ForwardEvent.Size(m) -} -func (m *ForwardEvent) XXX_DiscardUnknown() { - xxx_messageInfo_ForwardEvent.DiscardUnknown(m) -} - -var xxx_messageInfo_ForwardEvent proto.InternalMessageInfo - -func (m *ForwardEvent) GetInfo() *HtlcInfo { - if m != nil { - return m.Info +func (x *ForwardEvent) GetInfo() *HtlcInfo { + if x != nil { + return x.Info } return nil } type ForwardFailEvent struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ForwardFailEvent) Reset() { *m = ForwardFailEvent{} } -func (m *ForwardFailEvent) String() string { return proto.CompactTextString(m) } -func (*ForwardFailEvent) ProtoMessage() {} +func (x *ForwardFailEvent) Reset() { + *x = ForwardFailEvent{} + if protoimpl.UnsafeEnabled { + mi := &file_routerrpc_router_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ForwardFailEvent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ForwardFailEvent) ProtoMessage() {} + +func (x *ForwardFailEvent) ProtoReflect() protoreflect.Message { + mi := &file_routerrpc_router_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 ForwardFailEvent.ProtoReflect.Descriptor instead. func (*ForwardFailEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_7a0613f69d37b0a5, []int{27} + return file_routerrpc_router_proto_rawDescGZIP(), []int{27} } -func (m *ForwardFailEvent) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ForwardFailEvent.Unmarshal(m, b) -} -func (m *ForwardFailEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ForwardFailEvent.Marshal(b, m, deterministic) -} -func (m *ForwardFailEvent) XXX_Merge(src proto.Message) { - xxx_messageInfo_ForwardFailEvent.Merge(m, src) -} -func (m *ForwardFailEvent) XXX_Size() int { - return xxx_messageInfo_ForwardFailEvent.Size(m) -} -func (m *ForwardFailEvent) XXX_DiscardUnknown() { - xxx_messageInfo_ForwardFailEvent.DiscardUnknown(m) -} - -var xxx_messageInfo_ForwardFailEvent proto.InternalMessageInfo - type SettleEvent struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *SettleEvent) Reset() { *m = SettleEvent{} } -func (m *SettleEvent) String() string { return proto.CompactTextString(m) } -func (*SettleEvent) ProtoMessage() {} +func (x *SettleEvent) Reset() { + *x = SettleEvent{} + if protoimpl.UnsafeEnabled { + mi := &file_routerrpc_router_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SettleEvent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SettleEvent) ProtoMessage() {} + +func (x *SettleEvent) ProtoReflect() protoreflect.Message { + mi := &file_routerrpc_router_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 SettleEvent.ProtoReflect.Descriptor instead. func (*SettleEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_7a0613f69d37b0a5, []int{28} + return file_routerrpc_router_proto_rawDescGZIP(), []int{28} } -func (m *SettleEvent) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SettleEvent.Unmarshal(m, b) -} -func (m *SettleEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SettleEvent.Marshal(b, m, deterministic) -} -func (m *SettleEvent) XXX_Merge(src proto.Message) { - xxx_messageInfo_SettleEvent.Merge(m, src) -} -func (m *SettleEvent) XXX_Size() int { - return xxx_messageInfo_SettleEvent.Size(m) -} -func (m *SettleEvent) XXX_DiscardUnknown() { - xxx_messageInfo_SettleEvent.DiscardUnknown(m) -} - -var xxx_messageInfo_SettleEvent proto.InternalMessageInfo - type LinkFailEvent struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Info contains details about the htlc that we failed. Info *HtlcInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` // FailureCode is the BOLT error code for the failure. @@ -2015,66 +2344,74 @@ type LinkFailEvent struct { //and may be 'no detail' if the wire message requires no additional metadata. FailureDetail FailureDetail `protobuf:"varint,3,opt,name=failure_detail,json=failureDetail,proto3,enum=routerrpc.FailureDetail" json:"failure_detail,omitempty"` // A string representation of the link failure. - FailureString string `protobuf:"bytes,4,opt,name=failure_string,json=failureString,proto3" json:"failure_string,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + FailureString string `protobuf:"bytes,4,opt,name=failure_string,json=failureString,proto3" json:"failure_string,omitempty"` } -func (m *LinkFailEvent) Reset() { *m = LinkFailEvent{} } -func (m *LinkFailEvent) String() string { return proto.CompactTextString(m) } -func (*LinkFailEvent) ProtoMessage() {} +func (x *LinkFailEvent) Reset() { + *x = LinkFailEvent{} + if protoimpl.UnsafeEnabled { + mi := &file_routerrpc_router_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LinkFailEvent) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LinkFailEvent) ProtoMessage() {} + +func (x *LinkFailEvent) ProtoReflect() protoreflect.Message { + mi := &file_routerrpc_router_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 LinkFailEvent.ProtoReflect.Descriptor instead. func (*LinkFailEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_7a0613f69d37b0a5, []int{29} + return file_routerrpc_router_proto_rawDescGZIP(), []int{29} } -func (m *LinkFailEvent) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LinkFailEvent.Unmarshal(m, b) -} -func (m *LinkFailEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LinkFailEvent.Marshal(b, m, deterministic) -} -func (m *LinkFailEvent) XXX_Merge(src proto.Message) { - xxx_messageInfo_LinkFailEvent.Merge(m, src) -} -func (m *LinkFailEvent) XXX_Size() int { - return xxx_messageInfo_LinkFailEvent.Size(m) -} -func (m *LinkFailEvent) XXX_DiscardUnknown() { - xxx_messageInfo_LinkFailEvent.DiscardUnknown(m) -} - -var xxx_messageInfo_LinkFailEvent proto.InternalMessageInfo - -func (m *LinkFailEvent) GetInfo() *HtlcInfo { - if m != nil { - return m.Info +func (x *LinkFailEvent) GetInfo() *HtlcInfo { + if x != nil { + return x.Info } return nil } -func (m *LinkFailEvent) GetWireFailure() lnrpc.Failure_FailureCode { - if m != nil { - return m.WireFailure +func (x *LinkFailEvent) GetWireFailure() lnrpc.Failure_FailureCode { + if x != nil { + return x.WireFailure } return lnrpc.Failure_RESERVED } -func (m *LinkFailEvent) GetFailureDetail() FailureDetail { - if m != nil { - return m.FailureDetail +func (x *LinkFailEvent) GetFailureDetail() FailureDetail { + if x != nil { + return x.FailureDetail } return FailureDetail_UNKNOWN } -func (m *LinkFailEvent) GetFailureString() string { - if m != nil { - return m.FailureString +func (x *LinkFailEvent) GetFailureString() string { + if x != nil { + return x.FailureString } return "" } type PaymentStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Current state the payment is in. State PaymentState `protobuf:"varint,1,opt,name=state,proto3,enum=routerrpc.PaymentState" json:"state,omitempty"` // @@ -2082,108 +2419,124 @@ type PaymentStatus struct { Preimage []byte `protobuf:"bytes,2,opt,name=preimage,proto3" json:"preimage,omitempty"` // //The HTLCs made in attempt to settle the payment [EXPERIMENTAL]. - Htlcs []*lnrpc.HTLCAttempt `protobuf:"bytes,4,rep,name=htlcs,proto3" json:"htlcs,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Htlcs []*lnrpc.HTLCAttempt `protobuf:"bytes,4,rep,name=htlcs,proto3" json:"htlcs,omitempty"` } -func (m *PaymentStatus) Reset() { *m = PaymentStatus{} } -func (m *PaymentStatus) String() string { return proto.CompactTextString(m) } -func (*PaymentStatus) ProtoMessage() {} +func (x *PaymentStatus) Reset() { + *x = PaymentStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_routerrpc_router_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PaymentStatus) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PaymentStatus) ProtoMessage() {} + +func (x *PaymentStatus) ProtoReflect() protoreflect.Message { + mi := &file_routerrpc_router_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 PaymentStatus.ProtoReflect.Descriptor instead. func (*PaymentStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_7a0613f69d37b0a5, []int{30} + return file_routerrpc_router_proto_rawDescGZIP(), []int{30} } -func (m *PaymentStatus) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PaymentStatus.Unmarshal(m, b) -} -func (m *PaymentStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PaymentStatus.Marshal(b, m, deterministic) -} -func (m *PaymentStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_PaymentStatus.Merge(m, src) -} -func (m *PaymentStatus) XXX_Size() int { - return xxx_messageInfo_PaymentStatus.Size(m) -} -func (m *PaymentStatus) XXX_DiscardUnknown() { - xxx_messageInfo_PaymentStatus.DiscardUnknown(m) -} - -var xxx_messageInfo_PaymentStatus proto.InternalMessageInfo - -func (m *PaymentStatus) GetState() PaymentState { - if m != nil { - return m.State +func (x *PaymentStatus) GetState() PaymentState { + if x != nil { + return x.State } return PaymentState_IN_FLIGHT } -func (m *PaymentStatus) GetPreimage() []byte { - if m != nil { - return m.Preimage +func (x *PaymentStatus) GetPreimage() []byte { + if x != nil { + return x.Preimage } return nil } -func (m *PaymentStatus) GetHtlcs() []*lnrpc.HTLCAttempt { - if m != nil { - return m.Htlcs +func (x *PaymentStatus) GetHtlcs() []*lnrpc.HTLCAttempt { + if x != nil { + return x.Htlcs } return nil } type CircuitKey struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + /// The id of the channel that the is part of this circuit. ChanId uint64 `protobuf:"varint,1,opt,name=chan_id,json=chanId,proto3" json:"chan_id,omitempty"` /// The index of the incoming htlc in the incoming channel. - HtlcId uint64 `protobuf:"varint,2,opt,name=htlc_id,json=htlcId,proto3" json:"htlc_id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + HtlcId uint64 `protobuf:"varint,2,opt,name=htlc_id,json=htlcId,proto3" json:"htlc_id,omitempty"` } -func (m *CircuitKey) Reset() { *m = CircuitKey{} } -func (m *CircuitKey) String() string { return proto.CompactTextString(m) } -func (*CircuitKey) ProtoMessage() {} +func (x *CircuitKey) Reset() { + *x = CircuitKey{} + if protoimpl.UnsafeEnabled { + mi := &file_routerrpc_router_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CircuitKey) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CircuitKey) ProtoMessage() {} + +func (x *CircuitKey) ProtoReflect() protoreflect.Message { + mi := &file_routerrpc_router_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 CircuitKey.ProtoReflect.Descriptor instead. func (*CircuitKey) Descriptor() ([]byte, []int) { - return fileDescriptor_7a0613f69d37b0a5, []int{31} + return file_routerrpc_router_proto_rawDescGZIP(), []int{31} } -func (m *CircuitKey) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CircuitKey.Unmarshal(m, b) -} -func (m *CircuitKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CircuitKey.Marshal(b, m, deterministic) -} -func (m *CircuitKey) XXX_Merge(src proto.Message) { - xxx_messageInfo_CircuitKey.Merge(m, src) -} -func (m *CircuitKey) XXX_Size() int { - return xxx_messageInfo_CircuitKey.Size(m) -} -func (m *CircuitKey) XXX_DiscardUnknown() { - xxx_messageInfo_CircuitKey.DiscardUnknown(m) -} - -var xxx_messageInfo_CircuitKey proto.InternalMessageInfo - -func (m *CircuitKey) GetChanId() uint64 { - if m != nil { - return m.ChanId +func (x *CircuitKey) GetChanId() uint64 { + if x != nil { + return x.ChanId } return 0 } -func (m *CircuitKey) GetHtlcId() uint64 { - if m != nil { - return m.HtlcId +func (x *CircuitKey) GetHtlcId() uint64 { + if x != nil { + return x.HtlcId } return 0 } type ForwardHtlcInterceptRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //The key of this forwarded htlc. It defines the incoming channel id and //the index in this channel. @@ -2208,96 +2561,100 @@ type ForwardHtlcInterceptRequest struct { // Any custom records that were present in the payload. 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"` // The onion blob for the next hop - OnionBlob []byte `protobuf:"bytes,9,opt,name=onion_blob,json=onionBlob,proto3" json:"onion_blob,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + OnionBlob []byte `protobuf:"bytes,9,opt,name=onion_blob,json=onionBlob,proto3" json:"onion_blob,omitempty"` } -func (m *ForwardHtlcInterceptRequest) Reset() { *m = ForwardHtlcInterceptRequest{} } -func (m *ForwardHtlcInterceptRequest) String() string { return proto.CompactTextString(m) } -func (*ForwardHtlcInterceptRequest) ProtoMessage() {} +func (x *ForwardHtlcInterceptRequest) Reset() { + *x = ForwardHtlcInterceptRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_routerrpc_router_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ForwardHtlcInterceptRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ForwardHtlcInterceptRequest) ProtoMessage() {} + +func (x *ForwardHtlcInterceptRequest) ProtoReflect() protoreflect.Message { + mi := &file_routerrpc_router_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 ForwardHtlcInterceptRequest.ProtoReflect.Descriptor instead. func (*ForwardHtlcInterceptRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7a0613f69d37b0a5, []int{32} + return file_routerrpc_router_proto_rawDescGZIP(), []int{32} } -func (m *ForwardHtlcInterceptRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ForwardHtlcInterceptRequest.Unmarshal(m, b) -} -func (m *ForwardHtlcInterceptRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ForwardHtlcInterceptRequest.Marshal(b, m, deterministic) -} -func (m *ForwardHtlcInterceptRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ForwardHtlcInterceptRequest.Merge(m, src) -} -func (m *ForwardHtlcInterceptRequest) XXX_Size() int { - return xxx_messageInfo_ForwardHtlcInterceptRequest.Size(m) -} -func (m *ForwardHtlcInterceptRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ForwardHtlcInterceptRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ForwardHtlcInterceptRequest proto.InternalMessageInfo - -func (m *ForwardHtlcInterceptRequest) GetIncomingCircuitKey() *CircuitKey { - if m != nil { - return m.IncomingCircuitKey +func (x *ForwardHtlcInterceptRequest) GetIncomingCircuitKey() *CircuitKey { + if x != nil { + return x.IncomingCircuitKey } return nil } -func (m *ForwardHtlcInterceptRequest) GetIncomingAmountMsat() uint64 { - if m != nil { - return m.IncomingAmountMsat +func (x *ForwardHtlcInterceptRequest) GetIncomingAmountMsat() uint64 { + if x != nil { + return x.IncomingAmountMsat } return 0 } -func (m *ForwardHtlcInterceptRequest) GetIncomingExpiry() uint32 { - if m != nil { - return m.IncomingExpiry +func (x *ForwardHtlcInterceptRequest) GetIncomingExpiry() uint32 { + if x != nil { + return x.IncomingExpiry } return 0 } -func (m *ForwardHtlcInterceptRequest) GetPaymentHash() []byte { - if m != nil { - return m.PaymentHash +func (x *ForwardHtlcInterceptRequest) GetPaymentHash() []byte { + if x != nil { + return x.PaymentHash } return nil } -func (m *ForwardHtlcInterceptRequest) GetOutgoingRequestedChanId() uint64 { - if m != nil { - return m.OutgoingRequestedChanId +func (x *ForwardHtlcInterceptRequest) GetOutgoingRequestedChanId() uint64 { + if x != nil { + return x.OutgoingRequestedChanId } return 0 } -func (m *ForwardHtlcInterceptRequest) GetOutgoingAmountMsat() uint64 { - if m != nil { - return m.OutgoingAmountMsat +func (x *ForwardHtlcInterceptRequest) GetOutgoingAmountMsat() uint64 { + if x != nil { + return x.OutgoingAmountMsat } return 0 } -func (m *ForwardHtlcInterceptRequest) GetOutgoingExpiry() uint32 { - if m != nil { - return m.OutgoingExpiry +func (x *ForwardHtlcInterceptRequest) GetOutgoingExpiry() uint32 { + if x != nil { + return x.OutgoingExpiry } return 0 } -func (m *ForwardHtlcInterceptRequest) GetCustomRecords() map[uint64][]byte { - if m != nil { - return m.CustomRecords +func (x *ForwardHtlcInterceptRequest) GetCustomRecords() map[uint64][]byte { + if x != nil { + return x.CustomRecords } return nil } -func (m *ForwardHtlcInterceptRequest) GetOnionBlob() []byte { - if m != nil { - return m.OnionBlob +func (x *ForwardHtlcInterceptRequest) GetOnionBlob() []byte { + if x != nil { + return x.OnionBlob } return nil } @@ -2309,6 +2666,10 @@ func (m *ForwardHtlcInterceptRequest) GetOnionBlob() []byte { //- `Reject`: Fail the htlc backwards. //- `Settle`: Settle this htlc with a given preimage. type ForwardHtlcInterceptResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + //* //The key of this forwarded htlc. It defines the incoming channel id and //the index in this channel. @@ -2316,383 +2677,1262 @@ type ForwardHtlcInterceptResponse struct { // The resolve action for this intercepted htlc. Action ResolveHoldForwardAction `protobuf:"varint,2,opt,name=action,proto3,enum=routerrpc.ResolveHoldForwardAction" json:"action,omitempty"` // The preimage in case the resolve action is Settle. - Preimage []byte `protobuf:"bytes,3,opt,name=preimage,proto3" json:"preimage,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Preimage []byte `protobuf:"bytes,3,opt,name=preimage,proto3" json:"preimage,omitempty"` } -func (m *ForwardHtlcInterceptResponse) Reset() { *m = ForwardHtlcInterceptResponse{} } -func (m *ForwardHtlcInterceptResponse) String() string { return proto.CompactTextString(m) } -func (*ForwardHtlcInterceptResponse) ProtoMessage() {} +func (x *ForwardHtlcInterceptResponse) Reset() { + *x = ForwardHtlcInterceptResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_routerrpc_router_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ForwardHtlcInterceptResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ForwardHtlcInterceptResponse) ProtoMessage() {} + +func (x *ForwardHtlcInterceptResponse) ProtoReflect() protoreflect.Message { + mi := &file_routerrpc_router_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 ForwardHtlcInterceptResponse.ProtoReflect.Descriptor instead. func (*ForwardHtlcInterceptResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_7a0613f69d37b0a5, []int{33} + return file_routerrpc_router_proto_rawDescGZIP(), []int{33} } -func (m *ForwardHtlcInterceptResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ForwardHtlcInterceptResponse.Unmarshal(m, b) -} -func (m *ForwardHtlcInterceptResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ForwardHtlcInterceptResponse.Marshal(b, m, deterministic) -} -func (m *ForwardHtlcInterceptResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ForwardHtlcInterceptResponse.Merge(m, src) -} -func (m *ForwardHtlcInterceptResponse) XXX_Size() int { - return xxx_messageInfo_ForwardHtlcInterceptResponse.Size(m) -} -func (m *ForwardHtlcInterceptResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ForwardHtlcInterceptResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ForwardHtlcInterceptResponse proto.InternalMessageInfo - -func (m *ForwardHtlcInterceptResponse) GetIncomingCircuitKey() *CircuitKey { - if m != nil { - return m.IncomingCircuitKey +func (x *ForwardHtlcInterceptResponse) GetIncomingCircuitKey() *CircuitKey { + if x != nil { + return x.IncomingCircuitKey } return nil } -func (m *ForwardHtlcInterceptResponse) GetAction() ResolveHoldForwardAction { - if m != nil { - return m.Action +func (x *ForwardHtlcInterceptResponse) GetAction() ResolveHoldForwardAction { + if x != nil { + return x.Action } return ResolveHoldForwardAction_SETTLE } -func (m *ForwardHtlcInterceptResponse) GetPreimage() []byte { - if m != nil { - return m.Preimage +func (x *ForwardHtlcInterceptResponse) GetPreimage() []byte { + if x != nil { + return x.Preimage } return nil } type UpdateChanStatusRequest struct { - ChanPoint *lnrpc.ChannelPoint `protobuf:"bytes,1,opt,name=chan_point,json=chanPoint,proto3" json:"chan_point,omitempty"` - Action ChanStatusAction `protobuf:"varint,2,opt,name=action,proto3,enum=routerrpc.ChanStatusAction" json:"action,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ChanPoint *lnrpc.ChannelPoint `protobuf:"bytes,1,opt,name=chan_point,json=chanPoint,proto3" json:"chan_point,omitempty"` + Action ChanStatusAction `protobuf:"varint,2,opt,name=action,proto3,enum=routerrpc.ChanStatusAction" json:"action,omitempty"` } -func (m *UpdateChanStatusRequest) Reset() { *m = UpdateChanStatusRequest{} } -func (m *UpdateChanStatusRequest) String() string { return proto.CompactTextString(m) } -func (*UpdateChanStatusRequest) ProtoMessage() {} +func (x *UpdateChanStatusRequest) Reset() { + *x = UpdateChanStatusRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_routerrpc_router_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateChanStatusRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateChanStatusRequest) ProtoMessage() {} + +func (x *UpdateChanStatusRequest) ProtoReflect() protoreflect.Message { + mi := &file_routerrpc_router_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 UpdateChanStatusRequest.ProtoReflect.Descriptor instead. func (*UpdateChanStatusRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_7a0613f69d37b0a5, []int{34} + return file_routerrpc_router_proto_rawDescGZIP(), []int{34} } -func (m *UpdateChanStatusRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateChanStatusRequest.Unmarshal(m, b) -} -func (m *UpdateChanStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateChanStatusRequest.Marshal(b, m, deterministic) -} -func (m *UpdateChanStatusRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateChanStatusRequest.Merge(m, src) -} -func (m *UpdateChanStatusRequest) XXX_Size() int { - return xxx_messageInfo_UpdateChanStatusRequest.Size(m) -} -func (m *UpdateChanStatusRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateChanStatusRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UpdateChanStatusRequest proto.InternalMessageInfo - -func (m *UpdateChanStatusRequest) GetChanPoint() *lnrpc.ChannelPoint { - if m != nil { - return m.ChanPoint +func (x *UpdateChanStatusRequest) GetChanPoint() *lnrpc.ChannelPoint { + if x != nil { + return x.ChanPoint } return nil } -func (m *UpdateChanStatusRequest) GetAction() ChanStatusAction { - if m != nil { - return m.Action +func (x *UpdateChanStatusRequest) GetAction() ChanStatusAction { + if x != nil { + return x.Action } return ChanStatusAction_ENABLE } type UpdateChanStatusResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *UpdateChanStatusResponse) Reset() { *m = UpdateChanStatusResponse{} } -func (m *UpdateChanStatusResponse) String() string { return proto.CompactTextString(m) } -func (*UpdateChanStatusResponse) ProtoMessage() {} +func (x *UpdateChanStatusResponse) Reset() { + *x = UpdateChanStatusResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_routerrpc_router_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateChanStatusResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateChanStatusResponse) ProtoMessage() {} + +func (x *UpdateChanStatusResponse) ProtoReflect() protoreflect.Message { + mi := &file_routerrpc_router_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 UpdateChanStatusResponse.ProtoReflect.Descriptor instead. func (*UpdateChanStatusResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_7a0613f69d37b0a5, []int{35} + return file_routerrpc_router_proto_rawDescGZIP(), []int{35} } -func (m *UpdateChanStatusResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateChanStatusResponse.Unmarshal(m, b) -} -func (m *UpdateChanStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateChanStatusResponse.Marshal(b, m, deterministic) -} -func (m *UpdateChanStatusResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateChanStatusResponse.Merge(m, src) -} -func (m *UpdateChanStatusResponse) XXX_Size() int { - return xxx_messageInfo_UpdateChanStatusResponse.Size(m) -} -func (m *UpdateChanStatusResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateChanStatusResponse.DiscardUnknown(m) +var File_routerrpc_router_proto protoreflect.FileDescriptor + +var file_routerrpc_router_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2f, 0x72, 0x6f, 0x75, 0x74, + 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, + 0x72, 0x70, 0x63, 0x1a, 0x09, 0x72, 0x70, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd7, + 0x07, 0x0a, 0x12, 0x53, 0x65, 0x6e, 0x64, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 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, 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, 0x21, 0x0a, 0x0c, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, + 0x74, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x70, 0x61, + 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x61, 0x73, 0x68, 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, 0x21, 0x0a, 0x0c, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x61, + 0x64, 0x64, 0x72, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x70, 0x61, 0x79, 0x6d, 0x65, + 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, + 0x74, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0e, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x27, 0x0a, 0x0f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, + 0x64, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, + 0x74, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x22, 0x0a, 0x0d, 0x66, 0x65, 0x65, 0x5f, + 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x5f, 0x73, 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x0b, 0x66, 0x65, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x53, 0x61, 0x74, 0x12, 0x24, 0x0a, 0x0e, + 0x66, 0x65, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x5f, 0x6d, 0x73, 0x61, 0x74, 0x18, 0x0d, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x66, 0x65, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4d, 0x73, + 0x61, 0x74, 0x12, 0x2e, 0x0a, 0x10, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x63, + 0x68, 0x61, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x42, 0x04, 0x18, 0x01, + 0x30, 0x01, 0x52, 0x0e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x43, 0x68, 0x61, 0x6e, + 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x11, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x63, + 0x68, 0x61, 0x6e, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x13, 0x20, 0x03, 0x28, 0x04, 0x52, 0x0f, 0x6f, + 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x43, 0x68, 0x61, 0x6e, 0x49, 0x64, 0x73, 0x12, 0x26, + 0x0a, 0x0f, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x68, 0x6f, 0x70, 0x5f, 0x70, 0x75, 0x62, 0x6b, 0x65, + 0x79, 0x18, 0x0e, 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, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x63, 0x6c, 0x74, 0x76, + 0x4c, 0x69, 0x6d, 0x69, 0x74, 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, 0x64, 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, 0x34, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x72, 0x70, + 0x63, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 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, 0x0f, 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, 0x10, 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, 0x6d, 0x61, 0x78, 0x5f, 0x70, 0x61, 0x72, 0x74, + 0x73, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x50, 0x61, 0x72, 0x74, + 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x6e, 0x6f, 0x5f, 0x69, 0x6e, 0x66, 0x6c, 0x69, 0x67, 0x68, 0x74, + 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x18, 0x12, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, + 0x6e, 0x6f, 0x49, 0x6e, 0x66, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x73, 0x12, 0x2d, 0x0a, 0x13, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x5f, 0x73, + 0x69, 0x7a, 0x65, 0x5f, 0x6d, 0x73, 0x61, 0x74, 0x18, 0x15, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, + 0x6d, 0x61, 0x78, 0x53, 0x68, 0x61, 0x72, 0x64, 0x53, 0x69, 0x7a, 0x65, 0x4d, 0x73, 0x61, 0x74, + 0x12, 0x10, 0x0a, 0x03, 0x61, 0x6d, 0x70, 0x18, 0x16, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x61, + 0x6d, 0x70, 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, 0x68, 0x0a, 0x13, 0x54, 0x72, 0x61, 0x63, + 0x6b, 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, 0x2e, 0x0a, 0x13, 0x6e, 0x6f, 0x5f, 0x69, 0x6e, 0x66, 0x6c, 0x69, 0x67, 0x68, + 0x74, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x11, 0x6e, 0x6f, 0x49, 0x6e, 0x66, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x73, 0x22, 0x3e, 0x0a, 0x0f, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x46, 0x65, 0x65, 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, 0x17, 0x0a, 0x07, 0x61, 0x6d, 0x74, + 0x5f, 0x73, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x61, 0x6d, 0x74, 0x53, + 0x61, 0x74, 0x22, 0x64, 0x0a, 0x10, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x46, 0x65, 0x65, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x10, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, + 0x67, 0x5f, 0x66, 0x65, 0x65, 0x5f, 0x6d, 0x73, 0x61, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x0e, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x46, 0x65, 0x65, 0x4d, 0x73, 0x61, 0x74, + 0x12, 0x26, 0x0a, 0x0f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x64, 0x65, + 0x6c, 0x61, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x74, 0x69, 0x6d, 0x65, 0x4c, + 0x6f, 0x63, 0x6b, 0x44, 0x65, 0x6c, 0x61, 0x79, 0x22, 0x5b, 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, 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, 0x22, 0x5b, 0x0a, 0x13, 0x53, 0x65, 0x6e, 0x64, 0x54, 0x6f, 0x52, + 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, + 0x70, 0x72, 0x65, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, + 0x70, 0x72, 0x65, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x28, 0x0a, 0x07, 0x66, 0x61, 0x69, 0x6c, + 0x75, 0x72, 0x65, 0x18, 0x02, 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, 0x22, 0x1c, 0x0a, 0x1a, 0x52, 0x65, 0x73, 0x65, 0x74, 0x4d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x22, 0x1d, 0x0a, 0x1b, 0x52, 0x65, 0x73, 0x65, 0x74, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x1c, 0x0a, 0x1a, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x51, 0x0a, + 0x1b, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, + 0x74, 0x72, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x05, + 0x70, 0x61, 0x69, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x72, 0x6f, + 0x75, 0x74, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x61, 0x69, 0x72, 0x48, 0x69, 0x73, 0x74, + 0x6f, 0x72, 0x79, 0x52, 0x05, 0x70, 0x61, 0x69, 0x72, 0x73, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, + 0x22, 0x4c, 0x0a, 0x1c, 0x58, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x2c, 0x0a, 0x05, 0x70, 0x61, 0x69, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x16, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x61, 0x69, 0x72, + 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x05, 0x70, 0x61, 0x69, 0x72, 0x73, 0x22, 0x1f, + 0x0a, 0x1d, 0x58, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x8a, 0x01, 0x0a, 0x0b, 0x50, 0x61, 0x69, 0x72, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, + 0x1b, 0x0a, 0x09, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x46, 0x72, 0x6f, 0x6d, 0x12, 0x17, 0x0a, 0x07, + 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x74, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x6e, + 0x6f, 0x64, 0x65, 0x54, 0x6f, 0x12, 0x2d, 0x0a, 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x72, + 0x70, 0x63, 0x2e, 0x50, 0x61, 0x69, 0x72, 0x44, 0x61, 0x74, 0x61, 0x52, 0x07, 0x68, 0x69, 0x73, + 0x74, 0x6f, 0x72, 0x79, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, + 0x4a, 0x04, 0x08, 0x05, 0x10, 0x06, 0x4a, 0x04, 0x08, 0x06, 0x10, 0x07, 0x22, 0xe8, 0x01, 0x0a, + 0x08, 0x50, 0x61, 0x69, 0x72, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x61, 0x69, + 0x6c, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, 0x61, + 0x69, 0x6c, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0c, 0x66, 0x61, 0x69, 0x6c, 0x5f, 0x61, + 0x6d, 0x74, 0x5f, 0x73, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x66, 0x61, + 0x69, 0x6c, 0x41, 0x6d, 0x74, 0x53, 0x61, 0x74, 0x12, 0x22, 0x0a, 0x0d, 0x66, 0x61, 0x69, 0x6c, + 0x5f, 0x61, 0x6d, 0x74, 0x5f, 0x6d, 0x73, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x0b, 0x66, 0x61, 0x69, 0x6c, 0x41, 0x6d, 0x74, 0x4d, 0x73, 0x61, 0x74, 0x12, 0x21, 0x0a, 0x0c, + 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x03, 0x52, 0x0b, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x69, 0x6d, 0x65, 0x12, + 0x26, 0x0a, 0x0f, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x61, 0x6d, 0x74, 0x5f, 0x73, + 0x61, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, + 0x73, 0x41, 0x6d, 0x74, 0x53, 0x61, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x73, 0x75, 0x63, 0x63, 0x65, + 0x73, 0x73, 0x5f, 0x61, 0x6d, 0x74, 0x5f, 0x6d, 0x73, 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x0e, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x41, 0x6d, 0x74, 0x4d, 0x73, 0x61, + 0x74, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x22, 0x20, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x4d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x5a, 0x0a, 0x1f, 0x47, 0x65, 0x74, + 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x06, + 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x72, + 0x6f, 0x75, 0x74, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2e, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, 0x63, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x59, 0x0a, 0x1e, 0x53, 0x65, 0x74, 0x4d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, + 0x72, 0x70, 0x63, 0x2e, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, + 0x6f, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x22, 0x21, 0x0a, 0x1f, 0x53, 0x65, 0x74, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, + 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x80, 0x02, 0x0a, 0x14, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43, + 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2a, 0x0a, 0x11, + 0x68, 0x61, 0x6c, 0x66, 0x5f, 0x6c, 0x69, 0x66, 0x65, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, + 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x68, 0x61, 0x6c, 0x66, 0x4c, 0x69, 0x66, + 0x65, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x68, 0x6f, 0x70, 0x5f, + 0x70, 0x72, 0x6f, 0x62, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x02, 0x52, 0x0e, 0x68, 0x6f, 0x70, 0x50, 0x72, 0x6f, 0x62, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x79, 0x12, 0x16, 0x0a, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x02, 0x52, 0x06, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x36, 0x0a, 0x17, 0x6d, 0x61, 0x78, + 0x69, 0x6d, 0x75, 0x6d, 0x5f, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x15, 0x6d, 0x61, 0x78, 0x69, + 0x6d, 0x75, 0x6d, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x73, 0x12, 0x43, 0x0a, 0x1e, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x5f, 0x66, 0x61, 0x69, + 0x6c, 0x75, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x6c, 0x61, 0x78, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, + 0x76, 0x61, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x1b, 0x6d, 0x69, 0x6e, 0x69, 0x6d, + 0x75, 0x6d, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x52, 0x65, 0x6c, 0x61, 0x78, 0x49, 0x6e, + 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x22, 0x6a, 0x0a, 0x17, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, + 0x72, 0x6f, 0x62, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x72, 0x6f, 0x6d, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x66, 0x72, 0x6f, 0x6d, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x17, + 0x0a, 0x07, 0x74, 0x6f, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x06, 0x74, 0x6f, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x6d, 0x74, 0x5f, 0x6d, + 0x73, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x61, 0x6d, 0x74, 0x4d, 0x73, + 0x61, 0x74, 0x22, 0x6b, 0x0a, 0x18, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x72, 0x6f, 0x62, 0x61, + 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x20, + 0x0a, 0x0b, 0x70, 0x72, 0x6f, 0x62, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x01, 0x52, 0x0b, 0x70, 0x72, 0x6f, 0x62, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, + 0x12, 0x2d, 0x0a, 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x13, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x61, + 0x69, 0x72, 0x44, 0x61, 0x74, 0x61, 0x52, 0x07, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x22, + 0xca, 0x01, 0x0a, 0x11, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x6d, 0x74, 0x5f, 0x6d, 0x73, 0x61, + 0x74, 0x18, 0x01, 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, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x66, 0x69, 0x6e, 0x61, + 0x6c, 0x43, 0x6c, 0x74, 0x76, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x12, 0x2c, 0x0a, 0x10, 0x6f, 0x75, + 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x03, + 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, 0x1f, 0x0a, 0x0b, 0x68, 0x6f, 0x70, 0x5f, + 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x0a, 0x68, + 0x6f, 0x70, 0x50, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x61, 0x79, + 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x0b, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x41, 0x64, 0x64, 0x72, 0x22, 0x38, 0x0a, 0x12, + 0x42, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x22, 0x0a, 0x05, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x18, 0x01, 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, 0x22, 0x1c, 0x0a, 0x1a, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, + 0x69, 0x62, 0x65, 0x48, 0x74, 0x6c, 0x63, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x22, 0xf6, 0x04, 0x0a, 0x09, 0x48, 0x74, 0x6c, 0x63, 0x45, 0x76, 0x65, + 0x6e, 0x74, 0x12, 0x2e, 0x0a, 0x13, 0x69, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x5f, 0x63, + 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x11, 0x69, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, + 0x49, 0x64, 0x12, 0x2e, 0x0a, 0x13, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x63, + 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x11, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, + 0x49, 0x64, 0x12, 0x28, 0x0a, 0x10, 0x69, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x5f, 0x68, + 0x74, 0x6c, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x69, 0x6e, + 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x48, 0x74, 0x6c, 0x63, 0x49, 0x64, 0x12, 0x28, 0x0a, 0x10, + 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x68, 0x74, 0x6c, 0x63, 0x5f, 0x69, 0x64, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, + 0x48, 0x74, 0x6c, 0x63, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, + 0x61, 0x6d, 0x70, 0x5f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x74, 0x69, + 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x4e, 0x73, 0x12, 0x3d, 0x0a, 0x0a, 0x65, 0x76, 0x65, + 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, + 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2e, 0x48, 0x74, 0x6c, 0x63, 0x45, 0x76, + 0x65, 0x6e, 0x74, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x65, + 0x76, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3e, 0x0a, 0x0d, 0x66, 0x6f, 0x72, 0x77, + 0x61, 0x72, 0x64, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x17, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2e, 0x46, 0x6f, 0x72, 0x77, + 0x61, 0x72, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0c, 0x66, 0x6f, 0x72, 0x77, + 0x61, 0x72, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x4b, 0x0a, 0x12, 0x66, 0x6f, 0x72, 0x77, + 0x61, 0x72, 0x64, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x08, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x72, 0x70, 0x63, + 0x2e, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x46, 0x61, 0x69, 0x6c, 0x45, 0x76, 0x65, 0x6e, + 0x74, 0x48, 0x00, 0x52, 0x10, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x46, 0x61, 0x69, 0x6c, + 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x3b, 0x0a, 0x0c, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x5f, + 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x72, 0x6f, + 0x75, 0x74, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x45, 0x76, + 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0b, 0x73, 0x65, 0x74, 0x74, 0x6c, 0x65, 0x45, 0x76, 0x65, + 0x6e, 0x74, 0x12, 0x42, 0x0a, 0x0f, 0x6c, 0x69, 0x6e, 0x6b, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x5f, + 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x72, 0x6f, + 0x75, 0x74, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x6e, 0x6b, 0x46, 0x61, 0x69, 0x6c, + 0x45, 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0d, 0x6c, 0x69, 0x6e, 0x6b, 0x46, 0x61, 0x69, + 0x6c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x3c, 0x0a, 0x09, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x54, + 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, + 0x12, 0x08, 0x0a, 0x04, 0x53, 0x45, 0x4e, 0x44, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x52, 0x45, + 0x43, 0x45, 0x49, 0x56, 0x45, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x46, 0x4f, 0x52, 0x57, 0x41, + 0x52, 0x44, 0x10, 0x03, 0x42, 0x07, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x22, 0xbc, 0x01, + 0x0a, 0x08, 0x48, 0x74, 0x6c, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2b, 0x0a, 0x11, 0x69, 0x6e, + 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6c, 0x6f, 0x63, 0x6b, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x69, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x54, + 0x69, 0x6d, 0x65, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x2b, 0x0a, 0x11, 0x6f, 0x75, 0x74, 0x67, 0x6f, + 0x69, 0x6e, 0x67, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x10, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x54, 0x69, 0x6d, 0x65, + 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x2a, 0x0a, 0x11, 0x69, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, + 0x5f, 0x61, 0x6d, 0x74, 0x5f, 0x6d, 0x73, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x0f, 0x69, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x41, 0x6d, 0x74, 0x4d, 0x73, 0x61, 0x74, + 0x12, 0x2a, 0x0a, 0x11, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x6d, 0x74, + 0x5f, 0x6d, 0x73, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x6f, 0x75, 0x74, + 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x41, 0x6d, 0x74, 0x4d, 0x73, 0x61, 0x74, 0x22, 0x37, 0x0a, 0x0c, + 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x27, 0x0a, 0x04, + 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x72, 0x6f, 0x75, + 0x74, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2e, 0x48, 0x74, 0x6c, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x12, 0x0a, 0x10, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, + 0x46, 0x61, 0x69, 0x6c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x0d, 0x0a, 0x0b, 0x53, 0x65, 0x74, + 0x74, 0x6c, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0xdf, 0x01, 0x0a, 0x0d, 0x4c, 0x69, 0x6e, + 0x6b, 0x46, 0x61, 0x69, 0x6c, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x27, 0x0a, 0x04, 0x69, 0x6e, + 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, + 0x72, 0x72, 0x70, 0x63, 0x2e, 0x48, 0x74, 0x6c, 0x63, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x69, + 0x6e, 0x66, 0x6f, 0x12, 0x3d, 0x0a, 0x0c, 0x77, 0x69, 0x72, 0x65, 0x5f, 0x66, 0x61, 0x69, 0x6c, + 0x75, 0x72, 0x65, 0x18, 0x02, 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, 0x0b, 0x77, 0x69, 0x72, 0x65, 0x46, 0x61, 0x69, 0x6c, 0x75, + 0x72, 0x65, 0x12, 0x3f, 0x0a, 0x0e, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x5f, 0x64, 0x65, + 0x74, 0x61, 0x69, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x72, 0x6f, 0x75, + 0x74, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2e, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x44, 0x65, + 0x74, 0x61, 0x69, 0x6c, 0x52, 0x0d, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x44, 0x65, 0x74, + 0x61, 0x69, 0x6c, 0x12, 0x25, 0x0a, 0x0e, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x5f, 0x73, + 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x66, 0x61, 0x69, + 0x6c, 0x75, 0x72, 0x65, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0x8a, 0x01, 0x0a, 0x0d, 0x50, + 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2d, 0x0a, 0x05, + 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x72, 0x6f, + 0x75, 0x74, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, + 0x72, 0x65, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x70, + 0x72, 0x65, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x28, 0x0a, 0x05, 0x68, 0x74, 0x6c, 0x63, 0x73, + 0x18, 0x04, 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, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x22, 0x3e, 0x0a, 0x0a, 0x43, 0x69, 0x72, 0x63, 0x75, + 0x69, 0x74, 0x4b, 0x65, 0x79, 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, 0x17, + 0x0a, 0x07, 0x68, 0x74, 0x6c, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x06, 0x68, 0x74, 0x6c, 0x63, 0x49, 0x64, 0x22, 0xbf, 0x04, 0x0a, 0x1b, 0x46, 0x6f, 0x72, 0x77, + 0x61, 0x72, 0x64, 0x48, 0x74, 0x6c, 0x63, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x63, 0x65, 0x70, 0x74, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x47, 0x0a, 0x14, 0x69, 0x6e, 0x63, 0x6f, 0x6d, + 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x72, 0x70, + 0x63, 0x2e, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x12, 0x69, 0x6e, + 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x4b, 0x65, 0x79, + 0x12, 0x30, 0x0a, 0x14, 0x69, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x6d, 0x6f, + 0x75, 0x6e, 0x74, 0x5f, 0x6d, 0x73, 0x61, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x12, + 0x69, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x4d, 0x73, + 0x61, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x69, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x5f, 0x65, + 0x78, 0x70, 0x69, 0x72, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x69, 0x6e, 0x63, + 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x45, 0x78, 0x70, 0x69, 0x72, 0x79, 0x12, 0x21, 0x0a, 0x0c, 0x70, + 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x68, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x0b, 0x70, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x48, 0x61, 0x73, 0x68, 0x12, 0x3b, + 0x0a, 0x1a, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x65, 0x64, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x17, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x65, 0x64, 0x43, 0x68, 0x61, 0x6e, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x14, 0x6f, + 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6d, + 0x73, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x12, 0x6f, 0x75, 0x74, 0x67, 0x6f, + 0x69, 0x6e, 0x67, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x4d, 0x73, 0x61, 0x74, 0x12, 0x27, 0x0a, + 0x0f, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, 0x5f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x79, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0e, 0x6f, 0x75, 0x74, 0x67, 0x6f, 0x69, 0x6e, 0x67, + 0x45, 0x78, 0x70, 0x69, 0x72, 0x79, 0x12, 0x60, 0x0a, 0x0e, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, + 0x5f, 0x72, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, + 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2e, 0x46, 0x6f, 0x72, 0x77, 0x61, + 0x72, 0x64, 0x48, 0x74, 0x6c, 0x63, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x63, 0x65, 0x70, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 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, 0x1d, 0x0a, 0x0a, 0x6f, 0x6e, 0x69, 0x6f, + 0x6e, 0x5f, 0x62, 0x6c, 0x6f, 0x62, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x6f, 0x6e, + 0x69, 0x6f, 0x6e, 0x42, 0x6c, 0x6f, 0x62, 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, 0xc0, 0x01, 0x0a, 0x1c, 0x46, 0x6f, + 0x72, 0x77, 0x61, 0x72, 0x64, 0x48, 0x74, 0x6c, 0x63, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x63, 0x65, + 0x70, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x14, 0x69, 0x6e, + 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x5f, 0x6b, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, + 0x72, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, 0x4b, 0x65, 0x79, 0x52, + 0x12, 0x69, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x43, 0x69, 0x72, 0x63, 0x75, 0x69, 0x74, + 0x4b, 0x65, 0x79, 0x12, 0x3b, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2e, + 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x48, 0x6f, 0x6c, 0x64, 0x46, 0x6f, 0x72, 0x77, 0x61, + 0x72, 0x64, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x65, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x08, 0x70, 0x72, 0x65, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x22, 0x82, 0x01, 0x0a, + 0x17, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 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, 0x12, 0x33, 0x0a, 0x06, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x72, + 0x6f, 0x75, 0x74, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x22, 0x1a, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2a, 0x81, 0x04, + 0x0a, 0x0d, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, + 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, + 0x4e, 0x4f, 0x5f, 0x44, 0x45, 0x54, 0x41, 0x49, 0x4c, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x4f, + 0x4e, 0x49, 0x4f, 0x4e, 0x5f, 0x44, 0x45, 0x43, 0x4f, 0x44, 0x45, 0x10, 0x02, 0x12, 0x15, 0x0a, + 0x11, 0x4c, 0x49, 0x4e, 0x4b, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x4c, 0x49, 0x47, 0x49, 0x42, + 0x4c, 0x45, 0x10, 0x03, 0x12, 0x14, 0x0a, 0x10, 0x4f, 0x4e, 0x5f, 0x43, 0x48, 0x41, 0x49, 0x4e, + 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x4f, 0x55, 0x54, 0x10, 0x04, 0x12, 0x14, 0x0a, 0x10, 0x48, 0x54, + 0x4c, 0x43, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x53, 0x5f, 0x4d, 0x41, 0x58, 0x10, 0x05, + 0x12, 0x18, 0x0a, 0x14, 0x49, 0x4e, 0x53, 0x55, 0x46, 0x46, 0x49, 0x43, 0x49, 0x45, 0x4e, 0x54, + 0x5f, 0x42, 0x41, 0x4c, 0x41, 0x4e, 0x43, 0x45, 0x10, 0x06, 0x12, 0x16, 0x0a, 0x12, 0x49, 0x4e, + 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x5f, 0x46, 0x4f, 0x52, 0x57, 0x41, 0x52, 0x44, + 0x10, 0x07, 0x12, 0x13, 0x0a, 0x0f, 0x48, 0x54, 0x4c, 0x43, 0x5f, 0x41, 0x44, 0x44, 0x5f, 0x46, + 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x08, 0x12, 0x15, 0x0a, 0x11, 0x46, 0x4f, 0x52, 0x57, 0x41, + 0x52, 0x44, 0x53, 0x5f, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x09, 0x12, 0x14, + 0x0a, 0x10, 0x49, 0x4e, 0x56, 0x4f, 0x49, 0x43, 0x45, 0x5f, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, + 0x45, 0x44, 0x10, 0x0a, 0x12, 0x15, 0x0a, 0x11, 0x49, 0x4e, 0x56, 0x4f, 0x49, 0x43, 0x45, 0x5f, + 0x55, 0x4e, 0x44, 0x45, 0x52, 0x50, 0x41, 0x49, 0x44, 0x10, 0x0b, 0x12, 0x1b, 0x0a, 0x17, 0x49, + 0x4e, 0x56, 0x4f, 0x49, 0x43, 0x45, 0x5f, 0x45, 0x58, 0x50, 0x49, 0x52, 0x59, 0x5f, 0x54, 0x4f, + 0x4f, 0x5f, 0x53, 0x4f, 0x4f, 0x4e, 0x10, 0x0c, 0x12, 0x14, 0x0a, 0x10, 0x49, 0x4e, 0x56, 0x4f, + 0x49, 0x43, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x4f, 0x50, 0x45, 0x4e, 0x10, 0x0d, 0x12, 0x17, + 0x0a, 0x13, 0x4d, 0x50, 0x50, 0x5f, 0x49, 0x4e, 0x56, 0x4f, 0x49, 0x43, 0x45, 0x5f, 0x54, 0x49, + 0x4d, 0x45, 0x4f, 0x55, 0x54, 0x10, 0x0e, 0x12, 0x14, 0x0a, 0x10, 0x41, 0x44, 0x44, 0x52, 0x45, + 0x53, 0x53, 0x5f, 0x4d, 0x49, 0x53, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x10, 0x0f, 0x12, 0x16, 0x0a, + 0x12, 0x53, 0x45, 0x54, 0x5f, 0x54, 0x4f, 0x54, 0x41, 0x4c, 0x5f, 0x4d, 0x49, 0x53, 0x4d, 0x41, + 0x54, 0x43, 0x48, 0x10, 0x10, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x45, 0x54, 0x5f, 0x54, 0x4f, 0x54, + 0x41, 0x4c, 0x5f, 0x54, 0x4f, 0x4f, 0x5f, 0x4c, 0x4f, 0x57, 0x10, 0x11, 0x12, 0x10, 0x0a, 0x0c, + 0x53, 0x45, 0x54, 0x5f, 0x4f, 0x56, 0x45, 0x52, 0x50, 0x41, 0x49, 0x44, 0x10, 0x12, 0x12, 0x13, + 0x0a, 0x0f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x49, 0x4e, 0x56, 0x4f, 0x49, 0x43, + 0x45, 0x10, 0x13, 0x12, 0x13, 0x0a, 0x0f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x5f, 0x4b, + 0x45, 0x59, 0x53, 0x45, 0x4e, 0x44, 0x10, 0x14, 0x12, 0x13, 0x0a, 0x0f, 0x4d, 0x50, 0x50, 0x5f, + 0x49, 0x4e, 0x5f, 0x50, 0x52, 0x4f, 0x47, 0x52, 0x45, 0x53, 0x53, 0x10, 0x15, 0x12, 0x12, 0x0a, + 0x0e, 0x43, 0x49, 0x52, 0x43, 0x55, 0x4c, 0x41, 0x52, 0x5f, 0x52, 0x4f, 0x55, 0x54, 0x45, 0x10, + 0x16, 0x2a, 0xae, 0x01, 0x0a, 0x0c, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, + 0x74, 0x65, 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, 0x12, 0x0a, 0x0e, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x4f, + 0x55, 0x54, 0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x5f, 0x4e, + 0x4f, 0x5f, 0x52, 0x4f, 0x55, 0x54, 0x45, 0x10, 0x03, 0x12, 0x10, 0x0a, 0x0c, 0x46, 0x41, 0x49, + 0x4c, 0x45, 0x44, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x04, 0x12, 0x24, 0x0a, 0x20, 0x46, + 0x41, 0x49, 0x4c, 0x45, 0x44, 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, + 0x05, 0x12, 0x1f, 0x0a, 0x1b, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x5f, 0x49, 0x4e, 0x53, 0x55, + 0x46, 0x46, 0x49, 0x43, 0x49, 0x45, 0x4e, 0x54, 0x5f, 0x42, 0x41, 0x4c, 0x41, 0x4e, 0x43, 0x45, + 0x10, 0x06, 0x2a, 0x3c, 0x0a, 0x18, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x48, 0x6f, 0x6c, + 0x64, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0a, + 0x0a, 0x06, 0x53, 0x45, 0x54, 0x54, 0x4c, 0x45, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x46, 0x41, + 0x49, 0x4c, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x52, 0x45, 0x53, 0x55, 0x4d, 0x45, 0x10, 0x02, + 0x2a, 0x35, 0x0a, 0x10, 0x43, 0x68, 0x61, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x41, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0a, 0x0a, 0x06, 0x45, 0x4e, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x00, + 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x01, 0x12, 0x08, 0x0a, + 0x04, 0x41, 0x55, 0x54, 0x4f, 0x10, 0x02, 0x32, 0xf1, 0x0b, 0x0a, 0x06, 0x52, 0x6f, 0x75, 0x74, + 0x65, 0x72, 0x12, 0x40, 0x0a, 0x0d, 0x53, 0x65, 0x6e, 0x64, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, + 0x74, 0x56, 0x32, 0x12, 0x1d, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2e, + 0x53, 0x65, 0x6e, 0x64, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x61, 0x79, 0x6d, 0x65, + 0x6e, 0x74, 0x30, 0x01, 0x12, 0x42, 0x0a, 0x0e, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x50, 0x61, 0x79, + 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x32, 0x12, 0x1e, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x72, + 0x70, 0x63, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0e, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x50, + 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x30, 0x01, 0x12, 0x4b, 0x0a, 0x10, 0x45, 0x73, 0x74, 0x69, + 0x6d, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x46, 0x65, 0x65, 0x12, 0x1a, 0x2e, 0x72, + 0x6f, 0x75, 0x74, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x46, 0x65, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, + 0x72, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x46, 0x65, 0x65, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x51, 0x0a, 0x0b, 0x53, 0x65, 0x6e, 0x64, 0x54, 0x6f, 0x52, + 0x6f, 0x75, 0x74, 0x65, 0x12, 0x1d, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x72, 0x70, 0x63, + 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x54, 0x6f, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2e, + 0x53, 0x65, 0x6e, 0x64, 0x54, 0x6f, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x03, 0x88, 0x02, 0x01, 0x12, 0x42, 0x0a, 0x0d, 0x53, 0x65, 0x6e, 0x64, + 0x54, 0x6f, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x56, 0x32, 0x12, 0x1d, 0x2e, 0x72, 0x6f, 0x75, 0x74, + 0x65, 0x72, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x54, 0x6f, 0x52, 0x6f, 0x75, 0x74, + 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, + 0x2e, 0x48, 0x54, 0x4c, 0x43, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x12, 0x64, 0x0a, 0x13, + 0x52, 0x65, 0x73, 0x65, 0x74, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x12, 0x25, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2e, + 0x52, 0x65, 0x73, 0x65, 0x74, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x72, 0x6f, 0x75, + 0x74, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x74, 0x4d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x64, 0x0a, 0x13, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x12, 0x25, 0x2e, 0x72, 0x6f, 0x75, 0x74, + 0x65, 0x72, 0x72, 0x70, 0x63, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x26, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2e, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6a, 0x0a, 0x15, 0x58, 0x49, 0x6d, 0x70, + 0x6f, 0x72, 0x74, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, + 0x6c, 0x12, 0x27, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2e, 0x58, 0x49, + 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, + 0x72, 0x6f, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x72, 0x6f, 0x75, + 0x74, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2e, 0x58, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x69, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x70, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x4d, 0x69, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, + 0x29, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x4d, + 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x72, 0x6f, 0x75, + 0x74, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x70, 0x0a, 0x17, 0x53, 0x65, 0x74, 0x4d, 0x69, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x12, 0x29, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x65, + 0x74, 0x4d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x43, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x72, + 0x6f, 0x75, 0x74, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x65, 0x74, 0x4d, 0x69, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5b, 0x0a, 0x10, 0x51, 0x75, 0x65, 0x72, + 0x79, 0x50, 0x72, 0x6f, 0x62, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x22, 0x2e, 0x72, + 0x6f, 0x75, 0x74, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x72, + 0x6f, 0x62, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x23, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2e, 0x51, 0x75, 0x65, + 0x72, 0x79, 0x50, 0x72, 0x6f, 0x62, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x49, 0x0a, 0x0a, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x6f, + 0x75, 0x74, 0x65, 0x12, 0x1c, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2e, + 0x42, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x1d, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2e, 0x42, 0x75, + 0x69, 0x6c, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x54, 0x0a, 0x13, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x48, 0x74, 0x6c, + 0x63, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x25, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, + 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x48, 0x74, 0x6c, + 0x63, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, + 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2e, 0x48, 0x74, 0x6c, 0x63, 0x45, + 0x76, 0x65, 0x6e, 0x74, 0x30, 0x01, 0x12, 0x4d, 0x0a, 0x0b, 0x53, 0x65, 0x6e, 0x64, 0x50, 0x61, + 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1d, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x72, 0x70, + 0x63, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x72, 0x70, 0x63, + 0x2e, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x03, + 0x88, 0x02, 0x01, 0x30, 0x01, 0x12, 0x4f, 0x0a, 0x0c, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x50, 0x61, + 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x1e, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x72, 0x70, + 0x63, 0x2e, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x72, 0x70, + 0x63, 0x2e, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, + 0x03, 0x88, 0x02, 0x01, 0x30, 0x01, 0x12, 0x66, 0x0a, 0x0f, 0x48, 0x74, 0x6c, 0x63, 0x49, 0x6e, + 0x74, 0x65, 0x72, 0x63, 0x65, 0x70, 0x74, 0x6f, 0x72, 0x12, 0x27, 0x2e, 0x72, 0x6f, 0x75, 0x74, + 0x65, 0x72, 0x72, 0x70, 0x63, 0x2e, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x48, 0x74, 0x6c, + 0x63, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x63, 0x65, 0x70, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x1a, 0x26, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2e, 0x46, + 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x48, 0x74, 0x6c, 0x63, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x63, + 0x65, 0x70, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x28, 0x01, 0x30, 0x01, 0x12, 0x5b, + 0x0a, 0x10, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x12, 0x22, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2e, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x72, + 0x70, 0x63, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x31, 0x5a, 0x2f, 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, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x72, 0x72, 0x70, 0x63, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -var xxx_messageInfo_UpdateChanStatusResponse proto.InternalMessageInfo +var ( + file_routerrpc_router_proto_rawDescOnce sync.Once + file_routerrpc_router_proto_rawDescData = file_routerrpc_router_proto_rawDesc +) -func init() { - proto.RegisterEnum("routerrpc.FailureDetail", FailureDetail_name, FailureDetail_value) - proto.RegisterEnum("routerrpc.PaymentState", PaymentState_name, PaymentState_value) - proto.RegisterEnum("routerrpc.ResolveHoldForwardAction", ResolveHoldForwardAction_name, ResolveHoldForwardAction_value) - proto.RegisterEnum("routerrpc.ChanStatusAction", ChanStatusAction_name, ChanStatusAction_value) - proto.RegisterEnum("routerrpc.HtlcEvent_EventType", HtlcEvent_EventType_name, HtlcEvent_EventType_value) - proto.RegisterType((*SendPaymentRequest)(nil), "routerrpc.SendPaymentRequest") - proto.RegisterMapType((map[uint64][]byte)(nil), "routerrpc.SendPaymentRequest.DestCustomRecordsEntry") - proto.RegisterType((*TrackPaymentRequest)(nil), "routerrpc.TrackPaymentRequest") - proto.RegisterType((*RouteFeeRequest)(nil), "routerrpc.RouteFeeRequest") - proto.RegisterType((*RouteFeeResponse)(nil), "routerrpc.RouteFeeResponse") - proto.RegisterType((*SendToRouteRequest)(nil), "routerrpc.SendToRouteRequest") - proto.RegisterType((*SendToRouteResponse)(nil), "routerrpc.SendToRouteResponse") - proto.RegisterType((*ResetMissionControlRequest)(nil), "routerrpc.ResetMissionControlRequest") - proto.RegisterType((*ResetMissionControlResponse)(nil), "routerrpc.ResetMissionControlResponse") - proto.RegisterType((*QueryMissionControlRequest)(nil), "routerrpc.QueryMissionControlRequest") - proto.RegisterType((*QueryMissionControlResponse)(nil), "routerrpc.QueryMissionControlResponse") - proto.RegisterType((*XImportMissionControlRequest)(nil), "routerrpc.XImportMissionControlRequest") - proto.RegisterType((*XImportMissionControlResponse)(nil), "routerrpc.XImportMissionControlResponse") - proto.RegisterType((*PairHistory)(nil), "routerrpc.PairHistory") - proto.RegisterType((*PairData)(nil), "routerrpc.PairData") - proto.RegisterType((*GetMissionControlConfigRequest)(nil), "routerrpc.GetMissionControlConfigRequest") - proto.RegisterType((*GetMissionControlConfigResponse)(nil), "routerrpc.GetMissionControlConfigResponse") - proto.RegisterType((*SetMissionControlConfigRequest)(nil), "routerrpc.SetMissionControlConfigRequest") - proto.RegisterType((*SetMissionControlConfigResponse)(nil), "routerrpc.SetMissionControlConfigResponse") - proto.RegisterType((*MissionControlConfig)(nil), "routerrpc.MissionControlConfig") - proto.RegisterType((*QueryProbabilityRequest)(nil), "routerrpc.QueryProbabilityRequest") - proto.RegisterType((*QueryProbabilityResponse)(nil), "routerrpc.QueryProbabilityResponse") - proto.RegisterType((*BuildRouteRequest)(nil), "routerrpc.BuildRouteRequest") - proto.RegisterType((*BuildRouteResponse)(nil), "routerrpc.BuildRouteResponse") - proto.RegisterType((*SubscribeHtlcEventsRequest)(nil), "routerrpc.SubscribeHtlcEventsRequest") - proto.RegisterType((*HtlcEvent)(nil), "routerrpc.HtlcEvent") - proto.RegisterType((*HtlcInfo)(nil), "routerrpc.HtlcInfo") - proto.RegisterType((*ForwardEvent)(nil), "routerrpc.ForwardEvent") - proto.RegisterType((*ForwardFailEvent)(nil), "routerrpc.ForwardFailEvent") - proto.RegisterType((*SettleEvent)(nil), "routerrpc.SettleEvent") - proto.RegisterType((*LinkFailEvent)(nil), "routerrpc.LinkFailEvent") - proto.RegisterType((*PaymentStatus)(nil), "routerrpc.PaymentStatus") - proto.RegisterType((*CircuitKey)(nil), "routerrpc.CircuitKey") - proto.RegisterType((*ForwardHtlcInterceptRequest)(nil), "routerrpc.ForwardHtlcInterceptRequest") - proto.RegisterMapType((map[uint64][]byte)(nil), "routerrpc.ForwardHtlcInterceptRequest.CustomRecordsEntry") - proto.RegisterType((*ForwardHtlcInterceptResponse)(nil), "routerrpc.ForwardHtlcInterceptResponse") - proto.RegisterType((*UpdateChanStatusRequest)(nil), "routerrpc.UpdateChanStatusRequest") - proto.RegisterType((*UpdateChanStatusResponse)(nil), "routerrpc.UpdateChanStatusResponse") +func file_routerrpc_router_proto_rawDescGZIP() []byte { + file_routerrpc_router_proto_rawDescOnce.Do(func() { + file_routerrpc_router_proto_rawDescData = protoimpl.X.CompressGZIP(file_routerrpc_router_proto_rawDescData) + }) + return file_routerrpc_router_proto_rawDescData } -func init() { proto.RegisterFile("routerrpc/router.proto", fileDescriptor_7a0613f69d37b0a5) } +var file_routerrpc_router_proto_enumTypes = make([]protoimpl.EnumInfo, 5) +var file_routerrpc_router_proto_msgTypes = make([]protoimpl.MessageInfo, 38) +var file_routerrpc_router_proto_goTypes = []interface{}{ + (FailureDetail)(0), // 0: routerrpc.FailureDetail + (PaymentState)(0), // 1: routerrpc.PaymentState + (ResolveHoldForwardAction)(0), // 2: routerrpc.ResolveHoldForwardAction + (ChanStatusAction)(0), // 3: routerrpc.ChanStatusAction + (HtlcEvent_EventType)(0), // 4: routerrpc.HtlcEvent.EventType + (*SendPaymentRequest)(nil), // 5: routerrpc.SendPaymentRequest + (*TrackPaymentRequest)(nil), // 6: routerrpc.TrackPaymentRequest + (*RouteFeeRequest)(nil), // 7: routerrpc.RouteFeeRequest + (*RouteFeeResponse)(nil), // 8: routerrpc.RouteFeeResponse + (*SendToRouteRequest)(nil), // 9: routerrpc.SendToRouteRequest + (*SendToRouteResponse)(nil), // 10: routerrpc.SendToRouteResponse + (*ResetMissionControlRequest)(nil), // 11: routerrpc.ResetMissionControlRequest + (*ResetMissionControlResponse)(nil), // 12: routerrpc.ResetMissionControlResponse + (*QueryMissionControlRequest)(nil), // 13: routerrpc.QueryMissionControlRequest + (*QueryMissionControlResponse)(nil), // 14: routerrpc.QueryMissionControlResponse + (*XImportMissionControlRequest)(nil), // 15: routerrpc.XImportMissionControlRequest + (*XImportMissionControlResponse)(nil), // 16: routerrpc.XImportMissionControlResponse + (*PairHistory)(nil), // 17: routerrpc.PairHistory + (*PairData)(nil), // 18: routerrpc.PairData + (*GetMissionControlConfigRequest)(nil), // 19: routerrpc.GetMissionControlConfigRequest + (*GetMissionControlConfigResponse)(nil), // 20: routerrpc.GetMissionControlConfigResponse + (*SetMissionControlConfigRequest)(nil), // 21: routerrpc.SetMissionControlConfigRequest + (*SetMissionControlConfigResponse)(nil), // 22: routerrpc.SetMissionControlConfigResponse + (*MissionControlConfig)(nil), // 23: routerrpc.MissionControlConfig + (*QueryProbabilityRequest)(nil), // 24: routerrpc.QueryProbabilityRequest + (*QueryProbabilityResponse)(nil), // 25: routerrpc.QueryProbabilityResponse + (*BuildRouteRequest)(nil), // 26: routerrpc.BuildRouteRequest + (*BuildRouteResponse)(nil), // 27: routerrpc.BuildRouteResponse + (*SubscribeHtlcEventsRequest)(nil), // 28: routerrpc.SubscribeHtlcEventsRequest + (*HtlcEvent)(nil), // 29: routerrpc.HtlcEvent + (*HtlcInfo)(nil), // 30: routerrpc.HtlcInfo + (*ForwardEvent)(nil), // 31: routerrpc.ForwardEvent + (*ForwardFailEvent)(nil), // 32: routerrpc.ForwardFailEvent + (*SettleEvent)(nil), // 33: routerrpc.SettleEvent + (*LinkFailEvent)(nil), // 34: routerrpc.LinkFailEvent + (*PaymentStatus)(nil), // 35: routerrpc.PaymentStatus + (*CircuitKey)(nil), // 36: routerrpc.CircuitKey + (*ForwardHtlcInterceptRequest)(nil), // 37: routerrpc.ForwardHtlcInterceptRequest + (*ForwardHtlcInterceptResponse)(nil), // 38: routerrpc.ForwardHtlcInterceptResponse + (*UpdateChanStatusRequest)(nil), // 39: routerrpc.UpdateChanStatusRequest + (*UpdateChanStatusResponse)(nil), // 40: routerrpc.UpdateChanStatusResponse + nil, // 41: routerrpc.SendPaymentRequest.DestCustomRecordsEntry + nil, // 42: routerrpc.ForwardHtlcInterceptRequest.CustomRecordsEntry + (*lnrpc.RouteHint)(nil), // 43: lnrpc.RouteHint + (lnrpc.FeatureBit)(0), // 44: lnrpc.FeatureBit + (*lnrpc.Route)(nil), // 45: lnrpc.Route + (*lnrpc.Failure)(nil), // 46: lnrpc.Failure + (lnrpc.Failure_FailureCode)(0), // 47: lnrpc.Failure.FailureCode + (*lnrpc.HTLCAttempt)(nil), // 48: lnrpc.HTLCAttempt + (*lnrpc.ChannelPoint)(nil), // 49: lnrpc.ChannelPoint + (*lnrpc.Payment)(nil), // 50: lnrpc.Payment +} +var file_routerrpc_router_proto_depIdxs = []int32{ + 43, // 0: routerrpc.SendPaymentRequest.route_hints:type_name -> lnrpc.RouteHint + 41, // 1: routerrpc.SendPaymentRequest.dest_custom_records:type_name -> routerrpc.SendPaymentRequest.DestCustomRecordsEntry + 44, // 2: routerrpc.SendPaymentRequest.dest_features:type_name -> lnrpc.FeatureBit + 45, // 3: routerrpc.SendToRouteRequest.route:type_name -> lnrpc.Route + 46, // 4: routerrpc.SendToRouteResponse.failure:type_name -> lnrpc.Failure + 17, // 5: routerrpc.QueryMissionControlResponse.pairs:type_name -> routerrpc.PairHistory + 17, // 6: routerrpc.XImportMissionControlRequest.pairs:type_name -> routerrpc.PairHistory + 18, // 7: routerrpc.PairHistory.history:type_name -> routerrpc.PairData + 23, // 8: routerrpc.GetMissionControlConfigResponse.config:type_name -> routerrpc.MissionControlConfig + 23, // 9: routerrpc.SetMissionControlConfigRequest.config:type_name -> routerrpc.MissionControlConfig + 18, // 10: routerrpc.QueryProbabilityResponse.history:type_name -> routerrpc.PairData + 45, // 11: routerrpc.BuildRouteResponse.route:type_name -> lnrpc.Route + 4, // 12: routerrpc.HtlcEvent.event_type:type_name -> routerrpc.HtlcEvent.EventType + 31, // 13: routerrpc.HtlcEvent.forward_event:type_name -> routerrpc.ForwardEvent + 32, // 14: routerrpc.HtlcEvent.forward_fail_event:type_name -> routerrpc.ForwardFailEvent + 33, // 15: routerrpc.HtlcEvent.settle_event:type_name -> routerrpc.SettleEvent + 34, // 16: routerrpc.HtlcEvent.link_fail_event:type_name -> routerrpc.LinkFailEvent + 30, // 17: routerrpc.ForwardEvent.info:type_name -> routerrpc.HtlcInfo + 30, // 18: routerrpc.LinkFailEvent.info:type_name -> routerrpc.HtlcInfo + 47, // 19: routerrpc.LinkFailEvent.wire_failure:type_name -> lnrpc.Failure.FailureCode + 0, // 20: routerrpc.LinkFailEvent.failure_detail:type_name -> routerrpc.FailureDetail + 1, // 21: routerrpc.PaymentStatus.state:type_name -> routerrpc.PaymentState + 48, // 22: routerrpc.PaymentStatus.htlcs:type_name -> lnrpc.HTLCAttempt + 36, // 23: routerrpc.ForwardHtlcInterceptRequest.incoming_circuit_key:type_name -> routerrpc.CircuitKey + 42, // 24: routerrpc.ForwardHtlcInterceptRequest.custom_records:type_name -> routerrpc.ForwardHtlcInterceptRequest.CustomRecordsEntry + 36, // 25: routerrpc.ForwardHtlcInterceptResponse.incoming_circuit_key:type_name -> routerrpc.CircuitKey + 2, // 26: routerrpc.ForwardHtlcInterceptResponse.action:type_name -> routerrpc.ResolveHoldForwardAction + 49, // 27: routerrpc.UpdateChanStatusRequest.chan_point:type_name -> lnrpc.ChannelPoint + 3, // 28: routerrpc.UpdateChanStatusRequest.action:type_name -> routerrpc.ChanStatusAction + 5, // 29: routerrpc.Router.SendPaymentV2:input_type -> routerrpc.SendPaymentRequest + 6, // 30: routerrpc.Router.TrackPaymentV2:input_type -> routerrpc.TrackPaymentRequest + 7, // 31: routerrpc.Router.EstimateRouteFee:input_type -> routerrpc.RouteFeeRequest + 9, // 32: routerrpc.Router.SendToRoute:input_type -> routerrpc.SendToRouteRequest + 9, // 33: routerrpc.Router.SendToRouteV2:input_type -> routerrpc.SendToRouteRequest + 11, // 34: routerrpc.Router.ResetMissionControl:input_type -> routerrpc.ResetMissionControlRequest + 13, // 35: routerrpc.Router.QueryMissionControl:input_type -> routerrpc.QueryMissionControlRequest + 15, // 36: routerrpc.Router.XImportMissionControl:input_type -> routerrpc.XImportMissionControlRequest + 19, // 37: routerrpc.Router.GetMissionControlConfig:input_type -> routerrpc.GetMissionControlConfigRequest + 21, // 38: routerrpc.Router.SetMissionControlConfig:input_type -> routerrpc.SetMissionControlConfigRequest + 24, // 39: routerrpc.Router.QueryProbability:input_type -> routerrpc.QueryProbabilityRequest + 26, // 40: routerrpc.Router.BuildRoute:input_type -> routerrpc.BuildRouteRequest + 28, // 41: routerrpc.Router.SubscribeHtlcEvents:input_type -> routerrpc.SubscribeHtlcEventsRequest + 5, // 42: routerrpc.Router.SendPayment:input_type -> routerrpc.SendPaymentRequest + 6, // 43: routerrpc.Router.TrackPayment:input_type -> routerrpc.TrackPaymentRequest + 38, // 44: routerrpc.Router.HtlcInterceptor:input_type -> routerrpc.ForwardHtlcInterceptResponse + 39, // 45: routerrpc.Router.UpdateChanStatus:input_type -> routerrpc.UpdateChanStatusRequest + 50, // 46: routerrpc.Router.SendPaymentV2:output_type -> lnrpc.Payment + 50, // 47: routerrpc.Router.TrackPaymentV2:output_type -> lnrpc.Payment + 8, // 48: routerrpc.Router.EstimateRouteFee:output_type -> routerrpc.RouteFeeResponse + 10, // 49: routerrpc.Router.SendToRoute:output_type -> routerrpc.SendToRouteResponse + 48, // 50: routerrpc.Router.SendToRouteV2:output_type -> lnrpc.HTLCAttempt + 12, // 51: routerrpc.Router.ResetMissionControl:output_type -> routerrpc.ResetMissionControlResponse + 14, // 52: routerrpc.Router.QueryMissionControl:output_type -> routerrpc.QueryMissionControlResponse + 16, // 53: routerrpc.Router.XImportMissionControl:output_type -> routerrpc.XImportMissionControlResponse + 20, // 54: routerrpc.Router.GetMissionControlConfig:output_type -> routerrpc.GetMissionControlConfigResponse + 22, // 55: routerrpc.Router.SetMissionControlConfig:output_type -> routerrpc.SetMissionControlConfigResponse + 25, // 56: routerrpc.Router.QueryProbability:output_type -> routerrpc.QueryProbabilityResponse + 27, // 57: routerrpc.Router.BuildRoute:output_type -> routerrpc.BuildRouteResponse + 29, // 58: routerrpc.Router.SubscribeHtlcEvents:output_type -> routerrpc.HtlcEvent + 35, // 59: routerrpc.Router.SendPayment:output_type -> routerrpc.PaymentStatus + 35, // 60: routerrpc.Router.TrackPayment:output_type -> routerrpc.PaymentStatus + 37, // 61: routerrpc.Router.HtlcInterceptor:output_type -> routerrpc.ForwardHtlcInterceptRequest + 40, // 62: routerrpc.Router.UpdateChanStatus:output_type -> routerrpc.UpdateChanStatusResponse + 46, // [46:63] is the sub-list for method output_type + 29, // [29:46] is the sub-list for method input_type + 29, // [29:29] is the sub-list for extension type_name + 29, // [29:29] is the sub-list for extension extendee + 0, // [0:29] is the sub-list for field type_name +} -var fileDescriptor_7a0613f69d37b0a5 = []byte{ - // 3003 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x59, 0x4b, 0x7b, 0xdb, 0xc6, - 0xd5, 0x0e, 0x28, 0x8a, 0x22, 0x0f, 0x2f, 0x82, 0x46, 0xb2, 0xc4, 0x8f, 0xf2, 0x45, 0x41, 0x12, - 0x9b, 0x9f, 0xbf, 0x44, 0x76, 0x94, 0xaf, 0x49, 0xda, 0x5c, 0x1a, 0x8a, 0x84, 0x2c, 0xd8, 0x14, - 0xa9, 0x0c, 0x29, 0xc7, 0x8e, 0x17, 0x28, 0x44, 0x0e, 0x45, 0x44, 0xb8, 0xb0, 0xc0, 0xd0, 0xb6, - 0xb2, 0x6a, 0xbb, 0xea, 0xd3, 0x1f, 0xd3, 0x5f, 0xd0, 0xe7, 0x69, 0xd7, 0xfd, 0x03, 0x5d, 0x76, - 0xdb, 0x6d, 0x37, 0x5d, 0xf7, 0x99, 0x0b, 0x40, 0x80, 0xa2, 0x64, 0xf7, 0xb2, 0x91, 0x80, 0xf7, - 0xbc, 0x73, 0xe6, 0xcc, 0xcc, 0x39, 0x67, 0x0e, 0x0e, 0x61, 0x33, 0xf0, 0xa7, 0x94, 0x04, 0xc1, - 0x64, 0xf0, 0x40, 0x3c, 0xed, 0x4e, 0x02, 0x9f, 0xfa, 0xa8, 0x10, 0xe3, 0xb5, 0x42, 0x30, 0x19, - 0x08, 0x54, 0xfb, 0xcb, 0x0a, 0xa0, 0x1e, 0xf1, 0x86, 0xc7, 0xd6, 0x85, 0x4b, 0x3c, 0x8a, 0xc9, - 0x2f, 0xa7, 0x24, 0xa4, 0x08, 0x41, 0x76, 0x48, 0x42, 0x5a, 0x55, 0x76, 0x94, 0x7a, 0x09, 0xf3, - 0x67, 0xa4, 0xc2, 0x92, 0xe5, 0xd2, 0x6a, 0x66, 0x47, 0xa9, 0x2f, 0x61, 0xf6, 0x88, 0xfe, 0x07, - 0xf2, 0x96, 0x4b, 0x4d, 0x37, 0xb4, 0x68, 0xb5, 0xc4, 0xe1, 0x15, 0xcb, 0xa5, 0x47, 0xa1, 0x45, - 0xd1, 0xbb, 0x50, 0x9a, 0x08, 0x95, 0xe6, 0xd8, 0x0a, 0xc7, 0xd5, 0x25, 0xae, 0xa8, 0x28, 0xb1, - 0x43, 0x2b, 0x1c, 0xa3, 0x3a, 0xa8, 0x23, 0xdb, 0xb3, 0x1c, 0x73, 0xe0, 0xd0, 0x97, 0xe6, 0x90, - 0x38, 0xd4, 0xaa, 0x66, 0x77, 0x94, 0xfa, 0x32, 0xae, 0x70, 0xbc, 0xe9, 0xd0, 0x97, 0x2d, 0x86, - 0x26, 0x95, 0x59, 0xc3, 0x61, 0x50, 0xdd, 0x48, 0x29, 0x6b, 0x0c, 0x87, 0x01, 0xba, 0x07, 0xab, - 0x11, 0x25, 0x10, 0x6b, 0xa8, 0x2e, 0xef, 0x28, 0xf5, 0x02, 0xae, 0x4c, 0xd2, 0x2b, 0xbb, 0x07, - 0xab, 0xd4, 0x76, 0x89, 0x3f, 0xa5, 0x66, 0x48, 0x06, 0xbe, 0x37, 0x0c, 0xab, 0x39, 0x31, 0xa9, - 0x84, 0x7b, 0x02, 0x45, 0x1a, 0x94, 0x47, 0x84, 0x98, 0x8e, 0xed, 0xda, 0xd4, 0x64, 0x2b, 0x5c, - 0xe1, 0x2b, 0x2c, 0x8e, 0x08, 0x69, 0x33, 0xac, 0x67, 0x51, 0xf4, 0x3e, 0x54, 0x66, 0x1c, 0xbe, - 0x0d, 0x65, 0x4e, 0x2a, 0x45, 0x24, 0xbe, 0x17, 0xbb, 0xa0, 0xfa, 0x53, 0x7a, 0xe6, 0xdb, 0xde, - 0x99, 0x39, 0x18, 0x5b, 0x9e, 0x69, 0x0f, 0xab, 0xf9, 0x1d, 0xa5, 0x9e, 0xdd, 0xcf, 0x56, 0x95, - 0x87, 0x0a, 0xae, 0x44, 0xd2, 0xe6, 0xd8, 0xf2, 0x8c, 0x21, 0xba, 0x0f, 0x6b, 0xf3, 0xfc, 0xb0, - 0xba, 0xbe, 0xb3, 0x54, 0xcf, 0xe2, 0xd5, 0x34, 0x35, 0x44, 0x77, 0x61, 0xd5, 0xb1, 0x42, 0x6a, - 0x8e, 0xfd, 0x89, 0x39, 0x99, 0x9e, 0x9e, 0x93, 0x8b, 0x6a, 0x85, 0xef, 0x4e, 0x99, 0xc1, 0x87, - 0xfe, 0xe4, 0x98, 0x83, 0xe8, 0x16, 0x00, 0xdf, 0x66, 0x6e, 0x6a, 0xb5, 0xc0, 0x57, 0x5c, 0x60, - 0x08, 0x37, 0x13, 0x7d, 0x0c, 0x45, 0xee, 0x1e, 0xe6, 0xd8, 0xf6, 0x68, 0x58, 0x85, 0x9d, 0xa5, - 0x7a, 0x71, 0x4f, 0xdd, 0x75, 0x3c, 0xe6, 0x29, 0x98, 0x49, 0x0e, 0x6d, 0x8f, 0x62, 0x08, 0xa2, - 0xc7, 0x10, 0x0d, 0x61, 0x9d, 0xb9, 0x85, 0x39, 0x98, 0x86, 0xd4, 0x77, 0xcd, 0x80, 0x0c, 0xfc, - 0x60, 0x18, 0x56, 0x8b, 0x7c, 0xe8, 0xff, 0xef, 0xc6, 0xde, 0xb6, 0x7b, 0xd9, 0xbd, 0x76, 0x5b, - 0x24, 0xa4, 0x4d, 0x3e, 0x0e, 0x8b, 0x61, 0xba, 0x47, 0x83, 0x0b, 0xbc, 0x36, 0x9c, 0xc7, 0xd1, - 0x87, 0x80, 0x2c, 0xc7, 0xf1, 0x5f, 0x99, 0x21, 0x71, 0x46, 0xa6, 0x3c, 0xcb, 0xea, 0xea, 0x8e, - 0x52, 0xcf, 0x63, 0x95, 0x4b, 0x7a, 0xc4, 0x19, 0x49, 0xf5, 0xe8, 0x53, 0x28, 0x73, 0x9b, 0x46, - 0xc4, 0xa2, 0xd3, 0x80, 0x84, 0x55, 0x75, 0x67, 0xa9, 0x5e, 0xd9, 0x5b, 0x93, 0x0b, 0x39, 0x10, - 0xf0, 0xbe, 0x4d, 0x71, 0x89, 0xf1, 0xe4, 0x7b, 0x88, 0xb6, 0xa1, 0xe0, 0x5a, 0xaf, 0xcd, 0x89, - 0x15, 0xd0, 0xb0, 0xba, 0xb6, 0xa3, 0xd4, 0xcb, 0x38, 0xef, 0x5a, 0xaf, 0x8f, 0xd9, 0x3b, 0xda, - 0x85, 0x75, 0xcf, 0x37, 0x6d, 0x6f, 0xe4, 0xd8, 0x67, 0x63, 0x6a, 0x4e, 0x27, 0x43, 0x8b, 0x92, - 0xb0, 0x8a, 0xb8, 0x0d, 0x6b, 0x9e, 0x6f, 0x48, 0xc9, 0x89, 0x10, 0xa0, 0x8f, 0x60, 0x9d, 0x29, - 0x0b, 0xc7, 0x56, 0x30, 0x34, 0x43, 0xfb, 0x47, 0x22, 0x3c, 0xe3, 0x06, 0x3b, 0x71, 0xac, 0xba, - 0xd6, 0xeb, 0x1e, 0x93, 0xf4, 0xec, 0x1f, 0x09, 0xf7, 0x0e, 0x1e, 0x56, 0x93, 0xea, 0x26, 0x57, - 0xc7, 0x1e, 0x6b, 0x2d, 0xd8, 0x5c, 0xbc, 0x41, 0x8c, 0xcb, 0x4e, 0x58, 0xe1, 0xaa, 0xd8, 0x23, - 0xda, 0x80, 0xe5, 0x97, 0x96, 0x33, 0x25, 0x3c, 0x2c, 0x4b, 0x58, 0xbc, 0xfc, 0x2c, 0xf3, 0xb9, - 0xa2, 0x8d, 0x61, 0xbd, 0x1f, 0x58, 0x83, 0xf3, 0xb9, 0xc8, 0x9e, 0x0f, 0x4c, 0xe5, 0x72, 0x60, - 0x5e, 0xb1, 0xe0, 0xcc, 0x15, 0x0b, 0xd6, 0xbe, 0x86, 0x55, 0xee, 0x22, 0x07, 0x84, 0x5c, 0x97, - 0x3f, 0xb6, 0x80, 0x65, 0x07, 0x1e, 0x4a, 0x22, 0x87, 0xe4, 0x2c, 0x97, 0x45, 0x91, 0x36, 0x04, - 0x75, 0x36, 0x3e, 0x9c, 0xf8, 0x5e, 0x48, 0x58, 0x72, 0x60, 0x1e, 0xc4, 0x42, 0x80, 0x45, 0x18, - 0xdf, 0x41, 0x85, 0x8f, 0xaa, 0x48, 0xfc, 0x80, 0x88, 0xfd, 0xbb, 0x2b, 0x02, 0xda, 0x74, 0xfc, - 0xc1, 0x39, 0xcb, 0x22, 0xd6, 0x85, 0x54, 0x5f, 0x66, 0x70, 0xdb, 0x1f, 0x9c, 0xb7, 0x18, 0xa8, - 0xbd, 0x10, 0x89, 0xae, 0xef, 0xf3, 0xb9, 0xfe, 0x85, 0xed, 0xd0, 0x60, 0x99, 0x3b, 0x33, 0x57, - 0x5b, 0xdc, 0x2b, 0x25, 0xa3, 0x02, 0x0b, 0x91, 0xf6, 0x02, 0xd6, 0x53, 0xca, 0xe5, 0x2a, 0x6a, - 0x90, 0x9f, 0x04, 0xc4, 0x76, 0xad, 0x33, 0x22, 0x35, 0xc7, 0xef, 0xa8, 0x0e, 0x2b, 0x23, 0xcb, - 0x76, 0xa6, 0x41, 0xa4, 0xb8, 0x12, 0x79, 0xa9, 0x40, 0x71, 0x24, 0xd6, 0x6e, 0x42, 0x0d, 0x93, - 0x90, 0xd0, 0x23, 0x3b, 0x0c, 0x6d, 0xdf, 0x6b, 0xfa, 0x1e, 0x0d, 0x7c, 0x47, 0xae, 0x40, 0xbb, - 0x05, 0xdb, 0x0b, 0xa5, 0xc2, 0x04, 0x36, 0xf8, 0xdb, 0x29, 0x09, 0x2e, 0x16, 0x0f, 0xfe, 0x16, - 0xb6, 0x17, 0x4a, 0xa5, 0xfd, 0x1f, 0xc2, 0xf2, 0xc4, 0xb2, 0x03, 0x76, 0xf6, 0x2c, 0xaa, 0x37, - 0x13, 0x51, 0x7d, 0x6c, 0xd9, 0xc1, 0xa1, 0x1d, 0x52, 0x3f, 0xb8, 0xc0, 0x82, 0xf4, 0x38, 0x9b, - 0x57, 0xd4, 0x8c, 0xd6, 0x86, 0x9b, 0xcf, 0x0c, 0x77, 0xe2, 0x07, 0x8b, 0xed, 0x9d, 0xe9, 0x54, - 0xde, 0x42, 0xa7, 0x76, 0x07, 0x6e, 0x5d, 0xa1, 0x4d, 0xae, 0xef, 0x77, 0x0a, 0x14, 0x13, 0xe3, - 0x58, 0x28, 0x7b, 0xfe, 0x90, 0x98, 0xa3, 0xc0, 0x77, 0xa3, 0x3d, 0x67, 0xc0, 0x41, 0xe0, 0xbb, - 0xcc, 0x05, 0xb9, 0x90, 0xfa, 0x32, 0x5e, 0x72, 0xec, 0xb5, 0xef, 0xa3, 0x8f, 0x60, 0x65, 0x2c, - 0x14, 0xf0, 0x34, 0x5f, 0xdc, 0x5b, 0x9f, 0x33, 0xab, 0x65, 0x51, 0x0b, 0x47, 0x9c, 0xc7, 0xd9, - 0xfc, 0x92, 0x9a, 0x7d, 0x9c, 0xcd, 0x67, 0xd5, 0xe5, 0xc7, 0xd9, 0xfc, 0xb2, 0x9a, 0x7b, 0x9c, - 0xcd, 0xe7, 0xd4, 0x15, 0xed, 0x6f, 0x0a, 0xe4, 0x23, 0x36, 0xb3, 0x84, 0x9d, 0xa0, 0xc9, 0xdc, - 0x50, 0xfa, 0x6e, 0x9e, 0x01, 0x7d, 0xdb, 0x25, 0x68, 0x07, 0x4a, 0x5c, 0x98, 0x8e, 0x08, 0x60, - 0x58, 0x83, 0x47, 0x05, 0xbf, 0x7f, 0x22, 0x06, 0x77, 0xff, 0xac, 0xbc, 0x7f, 0x04, 0x25, 0xba, - 0x65, 0xc3, 0xe9, 0x60, 0x40, 0xc2, 0x50, 0xcc, 0xb2, 0x2c, 0x28, 0x12, 0xe3, 0x13, 0xdd, 0x85, - 0xd5, 0x88, 0x12, 0xcd, 0x95, 0x13, 0xe1, 0x21, 0x61, 0x39, 0x5d, 0x1d, 0xd4, 0x24, 0xcf, 0x9d, - 0xdd, 0x78, 0x95, 0x19, 0x91, 0x4d, 0x2a, 0x16, 0xaf, 0xed, 0xc0, 0xed, 0x47, 0xf3, 0x4e, 0xd7, - 0xf4, 0xbd, 0x91, 0x7d, 0x16, 0xf9, 0xd6, 0xf7, 0x70, 0xe7, 0x4a, 0x86, 0xf4, 0xaf, 0xcf, 0x20, - 0x37, 0xe0, 0x08, 0xdf, 0x9f, 0xe2, 0xde, 0x9d, 0xc4, 0xae, 0x2f, 0x1c, 0x28, 0xe9, 0xda, 0x73, - 0xb8, 0xdd, 0xbb, 0x76, 0xf6, 0x7f, 0x5f, 0xf5, 0xbb, 0x70, 0xa7, 0x77, 0xbd, 0xd9, 0xda, 0xaf, - 0x32, 0xb0, 0xb1, 0x88, 0xc0, 0x6e, 0xee, 0xb1, 0xe5, 0x8c, 0x4c, 0xc7, 0x1e, 0x91, 0xb8, 0xbc, - 0x10, 0xd9, 0x7a, 0x95, 0x09, 0xda, 0xf6, 0x88, 0x44, 0xf5, 0xc5, 0x3d, 0x58, 0xe5, 0x97, 0x76, - 0xe0, 0x9f, 0x5a, 0xa7, 0xb6, 0x63, 0x53, 0x91, 0xb7, 0x32, 0xb8, 0x32, 0xf6, 0x27, 0xc7, 0x33, - 0x14, 0x6d, 0x42, 0xee, 0x15, 0x61, 0xf9, 0x96, 0x17, 0x51, 0x19, 0x2c, 0xdf, 0xd0, 0xa7, 0xb0, - 0xe5, 0x5a, 0xaf, 0x6d, 0x77, 0xea, 0x9a, 0xb3, 0xd2, 0x27, 0x9c, 0x3a, 0x34, 0xe4, 0xae, 0x52, - 0xc6, 0x37, 0xa4, 0x38, 0xbe, 0x01, 0xb8, 0x10, 0x35, 0xe1, 0xb6, 0x6b, 0x7b, 0x7c, 0x9c, 0xcc, - 0x30, 0x66, 0x40, 0x1c, 0xeb, 0xb5, 0x69, 0x7b, 0x94, 0x04, 0x2f, 0x2d, 0x87, 0xbb, 0x51, 0x16, - 0x6f, 0x4b, 0x56, 0x94, 0x8f, 0x18, 0xc7, 0x90, 0x14, 0xed, 0x07, 0xd8, 0xe2, 0x89, 0x23, 0x61, - 0x68, 0xb4, 0xf3, 0xcc, 0xef, 0x03, 0xdf, 0x35, 0x59, 0x68, 0x45, 0x11, 0xc8, 0x80, 0x8e, 0x3f, - 0x24, 0x2c, 0x02, 0xa9, 0x2f, 0x44, 0x32, 0x02, 0xa9, 0xcf, 0x05, 0xc9, 0x5a, 0x72, 0x29, 0x55, - 0x4b, 0x6a, 0xe7, 0x50, 0xbd, 0x3c, 0x97, 0xf4, 0xa0, 0x1d, 0x28, 0x26, 0x77, 0x90, 0x4d, 0xa7, - 0xe0, 0x24, 0x94, 0x0c, 0xed, 0xcc, 0x9b, 0x43, 0x5b, 0xfb, 0xb3, 0x02, 0x6b, 0xfb, 0x53, 0xdb, - 0x19, 0xa6, 0xae, 0x89, 0xa4, 0x75, 0x4a, 0xba, 0xd2, 0x5d, 0x54, 0xc6, 0x66, 0x16, 0x96, 0xb1, - 0x1f, 0x2e, 0xa8, 0x03, 0x97, 0x78, 0x1d, 0x98, 0x59, 0x50, 0x05, 0xde, 0x81, 0xe2, 0xac, 0xa8, - 0x63, 0x47, 0xba, 0x54, 0x2f, 0x61, 0x18, 0x47, 0x15, 0x5d, 0x78, 0xa9, 0x2a, 0x5e, 0xbe, 0x54, - 0x15, 0x6b, 0x9f, 0x03, 0x4a, 0xae, 0x45, 0xee, 0x59, 0x7c, 0xa1, 0x29, 0x57, 0x5f, 0x68, 0x37, - 0xa1, 0xd6, 0x9b, 0x9e, 0x86, 0x83, 0xc0, 0x3e, 0x25, 0x87, 0xd4, 0x19, 0xe8, 0x2f, 0x89, 0x47, - 0xc3, 0x28, 0xb4, 0xff, 0x91, 0x85, 0x42, 0x8c, 0xb2, 0x7a, 0xc1, 0xf6, 0x06, 0xbe, 0x1b, 0xad, - 0xcb, 0x23, 0x0e, 0x5b, 0x9a, 0xf0, 0xfb, 0xb5, 0x48, 0xd4, 0x14, 0x12, 0x63, 0xc8, 0xf8, 0xa9, - 0x7d, 0x90, 0xfc, 0x8c, 0xe0, 0x27, 0xb7, 0x41, 0xf0, 0xeb, 0xa0, 0xc6, 0xfa, 0xc7, 0xd4, 0x19, - 0xc4, 0xfb, 0x86, 0x2b, 0x11, 0xce, 0x8c, 0x11, 0xcc, 0x58, 0x73, 0xc4, 0xcc, 0x0a, 0x66, 0x84, - 0x4b, 0xe6, 0xbb, 0x50, 0x62, 0x19, 0x33, 0xa4, 0x96, 0x3b, 0x31, 0xbd, 0x50, 0xba, 0x7c, 0x31, - 0xc6, 0x3a, 0x21, 0xfa, 0x0a, 0x80, 0xb0, 0xf5, 0x99, 0xf4, 0x62, 0x42, 0x78, 0xd2, 0xac, 0xec, - 0xdd, 0x4e, 0xf8, 0x4e, 0xbc, 0x01, 0xbb, 0xfc, 0x6f, 0xff, 0x62, 0x42, 0x70, 0x81, 0x44, 0x8f, - 0xe8, 0x6b, 0x28, 0x8f, 0xfc, 0xe0, 0x15, 0x2b, 0x02, 0x39, 0x28, 0x2f, 0x96, 0xad, 0x84, 0x86, - 0x03, 0x21, 0xe7, 0xc3, 0x0f, 0xdf, 0xc1, 0xa5, 0x51, 0xe2, 0x1d, 0x3d, 0x01, 0x14, 0x8d, 0xe7, - 0xf7, 0x80, 0x50, 0x92, 0xe7, 0x4a, 0xb6, 0x2f, 0x2b, 0x61, 0x51, 0x1a, 0x29, 0x52, 0x47, 0x73, - 0x18, 0xfa, 0x02, 0x4a, 0x21, 0xa1, 0xd4, 0x21, 0x52, 0x4d, 0x81, 0xab, 0xd9, 0x4c, 0x55, 0xe9, - 0x4c, 0x1c, 0x69, 0x28, 0x86, 0xb3, 0x57, 0xb4, 0x0f, 0xab, 0x8e, 0xed, 0x9d, 0x27, 0xcd, 0x00, - 0x3e, 0xbe, 0x9a, 0x18, 0xdf, 0xb6, 0xbd, 0xf3, 0xa4, 0x0d, 0x65, 0x27, 0x09, 0x68, 0x5f, 0x42, - 0x21, 0xde, 0x25, 0x54, 0x84, 0x95, 0x93, 0xce, 0x93, 0x4e, 0xf7, 0xbb, 0x8e, 0xfa, 0x0e, 0xca, - 0x43, 0xb6, 0xa7, 0x77, 0x5a, 0xaa, 0xc2, 0x60, 0xac, 0x37, 0x75, 0xe3, 0xa9, 0xae, 0x66, 0xd8, - 0xcb, 0x41, 0x17, 0x7f, 0xd7, 0xc0, 0x2d, 0x75, 0x69, 0x7f, 0x05, 0x96, 0xf9, 0xbc, 0xda, 0x1f, - 0x14, 0xc8, 0xf3, 0x13, 0xf4, 0x46, 0x3e, 0xfa, 0x3f, 0x88, 0x9d, 0x8b, 0x5f, 0x7f, 0xac, 0x02, - 0xe4, 0x5e, 0x57, 0xc6, 0xb1, 0xc3, 0xf4, 0x25, 0xce, 0xc8, 0xb1, 0x6b, 0xc4, 0xe4, 0x8c, 0x20, - 0x47, 0x82, 0x98, 0x7c, 0x3f, 0xa1, 0x39, 0x95, 0x95, 0xb2, 0x78, 0x35, 0x12, 0x44, 0x77, 0x70, - 0xf2, 0x6b, 0x2d, 0x75, 0x57, 0x27, 0xbe, 0xd6, 0x24, 0x57, 0xfb, 0x0c, 0x4a, 0xc9, 0x33, 0x47, - 0xf7, 0x20, 0x6b, 0x7b, 0x23, 0x5f, 0x06, 0xe2, 0xfa, 0x9c, 0x73, 0xb1, 0x45, 0x62, 0x4e, 0xd0, - 0x10, 0xa8, 0xf3, 0xe7, 0xac, 0x95, 0xa1, 0x98, 0x38, 0x34, 0xed, 0xaf, 0x0a, 0x94, 0x53, 0x87, - 0xf0, 0xd6, 0xda, 0xd1, 0x57, 0x50, 0x7a, 0x65, 0x07, 0xc4, 0x4c, 0xd6, 0xa3, 0x95, 0xbd, 0x5a, - 0xba, 0x1e, 0x8d, 0xfe, 0x37, 0xfd, 0x21, 0xc1, 0x45, 0xc6, 0x97, 0x00, 0xfa, 0x39, 0x54, 0xa2, - 0x8b, 0x64, 0x48, 0xa8, 0x65, 0x3b, 0x7c, 0xab, 0x2a, 0x29, 0xf7, 0x90, 0xdc, 0x16, 0x97, 0xe3, - 0xf2, 0x28, 0xf9, 0x8a, 0x3e, 0x98, 0x29, 0x08, 0x69, 0x60, 0x7b, 0x67, 0x7c, 0xff, 0x0a, 0x31, - 0xad, 0xc7, 0x41, 0x56, 0xea, 0x95, 0xe5, 0x5d, 0xd6, 0xa3, 0x16, 0x9d, 0xb2, 0x4f, 0xad, 0xe5, - 0x90, 0x5a, 0x32, 0x93, 0x55, 0x52, 0xb1, 0x95, 0x20, 0x12, 0x2c, 0x58, 0xa9, 0x72, 0x3c, 0x73, - 0xa9, 0x1c, 0x5f, 0x66, 0x19, 0x43, 0x24, 0xda, 0xe2, 0x1e, 0x92, 0x8b, 0x3f, 0xec, 0xb7, 0x9b, - 0x0d, 0x4a, 0x89, 0x3b, 0xa1, 0x58, 0x10, 0x64, 0xfd, 0xf3, 0x35, 0x40, 0xd3, 0x0e, 0x06, 0x53, - 0x9b, 0x3e, 0x21, 0x17, 0xec, 0x5a, 0x8b, 0x32, 0xba, 0x48, 0x7b, 0xb9, 0x81, 0xc8, 0xe2, 0x5b, - 0xb0, 0x12, 0x25, 0x22, 0x91, 0xdf, 0x72, 0x63, 0x9e, 0x80, 0xb4, 0x3f, 0x66, 0x61, 0x5b, 0x1e, - 0xa9, 0x38, 0x0d, 0x4a, 0x82, 0x01, 0x99, 0xc4, 0xdf, 0x69, 0x8f, 0x60, 0x63, 0x96, 0x54, 0xc5, - 0x44, 0x66, 0xf4, 0xed, 0x57, 0xdc, 0xbb, 0x91, 0x58, 0xe9, 0xcc, 0x0c, 0x8c, 0xe2, 0x64, 0x3b, - 0x33, 0xed, 0x61, 0x42, 0x91, 0xe5, 0xfa, 0x53, 0x4f, 0xba, 0xa8, 0xc8, 0x78, 0x68, 0xe6, 0xce, - 0x4c, 0xc4, 0x3d, 0xfa, 0x1e, 0xc4, 0x4e, 0x6e, 0x92, 0xd7, 0x13, 0x3b, 0xb8, 0xe0, 0xd9, 0xaf, - 0x3c, 0x4b, 0xb7, 0x3a, 0x47, 0x2f, 0x7d, 0x3c, 0x65, 0x2e, 0x7f, 0x3c, 0x7d, 0x01, 0xb5, 0x38, - 0x3a, 0x64, 0x63, 0x86, 0x0c, 0xe3, 0xdb, 0x6f, 0x85, 0xdb, 0xb0, 0x15, 0x31, 0x70, 0x44, 0x90, - 0x57, 0xe0, 0x43, 0xd8, 0x48, 0x84, 0xd6, 0xcc, 0x74, 0x11, 0x89, 0x68, 0x16, 0x5d, 0x49, 0xd3, - 0xe3, 0x11, 0xd2, 0x74, 0x51, 0x0b, 0xc5, 0xf9, 0x5f, 0x9a, 0xfe, 0x0b, 0xa8, 0xcc, 0x35, 0x2e, - 0xf2, 0xfc, 0xdc, 0x7f, 0x7a, 0x39, 0xb3, 0x2e, 0x3a, 0x9e, 0xdd, 0x05, 0xdd, 0x8b, 0xf2, 0x20, - 0xd5, 0xb9, 0xb8, 0x05, 0xe0, 0x7b, 0xb6, 0xef, 0x99, 0xa7, 0x8e, 0x7f, 0xca, 0x13, 0x6e, 0x09, - 0x17, 0x38, 0xb2, 0xef, 0xf8, 0xa7, 0xb5, 0x6f, 0x00, 0xfd, 0x87, 0x1f, 0xf8, 0x7f, 0x52, 0xe0, - 0xe6, 0x62, 0x13, 0xe5, 0x3d, 0xff, 0x5f, 0x73, 0xa1, 0x2f, 0x20, 0x67, 0x0d, 0xa8, 0xed, 0x7b, - 0x32, 0x33, 0xbc, 0x97, 0x18, 0x8a, 0x49, 0xe8, 0x3b, 0x2f, 0xc9, 0xa1, 0xef, 0x0c, 0xa5, 0x31, - 0x0d, 0x4e, 0xc5, 0x72, 0x48, 0x2a, 0xe8, 0x96, 0xd2, 0x41, 0xa7, 0xfd, 0x46, 0x81, 0x2d, 0xd1, - 0x45, 0x60, 0x27, 0x2e, 0x82, 0x3a, 0x0a, 0x80, 0x3d, 0x00, 0xee, 0x26, 0x13, 0xdf, 0xf6, 0x68, - 0x9c, 0xc3, 0x44, 0x54, 0xca, 0xda, 0xe0, 0x98, 0x89, 0x70, 0x81, 0xd1, 0xf8, 0x23, 0xfa, 0x64, - 0xce, 0xd0, 0xe4, 0x3d, 0x39, 0x9b, 0x21, 0x6d, 0xa0, 0x56, 0x83, 0xea, 0x65, 0x1b, 0xc4, 0x16, - 0xde, 0xff, 0x75, 0x16, 0xca, 0xa9, 0xd4, 0x95, 0xbe, 0xbb, 0xca, 0x50, 0xe8, 0x74, 0xcd, 0x96, - 0xde, 0x6f, 0x18, 0x6d, 0x55, 0x41, 0x2a, 0x94, 0xba, 0x1d, 0xa3, 0xdb, 0x31, 0x5b, 0x7a, 0xb3, - 0xdb, 0x62, 0xb7, 0xd8, 0x0d, 0x58, 0x6b, 0x1b, 0x9d, 0x27, 0x66, 0xa7, 0xdb, 0x37, 0xf5, 0xb6, - 0xf1, 0xc8, 0xd8, 0x6f, 0xeb, 0xea, 0x12, 0xda, 0x00, 0xb5, 0xdb, 0x31, 0x9b, 0x87, 0x0d, 0xa3, - 0x63, 0xf6, 0x8d, 0x23, 0xbd, 0x7b, 0xd2, 0x57, 0xb3, 0x0c, 0x65, 0xe9, 0xc6, 0xd4, 0x9f, 0x35, - 0x75, 0xbd, 0xd5, 0x33, 0x8f, 0x1a, 0xcf, 0xd4, 0x65, 0x54, 0x85, 0x0d, 0xa3, 0xd3, 0x3b, 0x39, - 0x38, 0x30, 0x9a, 0x86, 0xde, 0xe9, 0x9b, 0xfb, 0x8d, 0x76, 0xa3, 0xd3, 0xd4, 0xd5, 0x1c, 0xda, - 0x04, 0x64, 0x74, 0x9a, 0xdd, 0xa3, 0xe3, 0xb6, 0xde, 0xd7, 0xcd, 0xe8, 0xb6, 0x5c, 0x41, 0xeb, - 0xb0, 0xca, 0xf5, 0x34, 0x5a, 0x2d, 0xf3, 0xa0, 0x61, 0xb4, 0xf5, 0x96, 0x9a, 0x67, 0x96, 0x48, - 0x46, 0xcf, 0x6c, 0x19, 0xbd, 0xc6, 0x3e, 0x83, 0x0b, 0x6c, 0x4e, 0xa3, 0xf3, 0xb4, 0x6b, 0x34, - 0x75, 0xb3, 0xc9, 0xd4, 0x32, 0x14, 0x18, 0x39, 0x42, 0x4f, 0x3a, 0x2d, 0x1d, 0x1f, 0x37, 0x8c, - 0x96, 0x5a, 0x44, 0xdb, 0xb0, 0x15, 0xc1, 0xfa, 0xb3, 0x63, 0x03, 0x3f, 0x37, 0xfb, 0xdd, 0xae, - 0xd9, 0xeb, 0x76, 0x3b, 0x6a, 0x29, 0xa9, 0x89, 0xad, 0xb6, 0x7b, 0xac, 0x77, 0xd4, 0x32, 0xda, - 0x82, 0xf5, 0xa3, 0xe3, 0x63, 0x33, 0x92, 0x44, 0x8b, 0xad, 0x30, 0x7a, 0xa3, 0xd5, 0xc2, 0x7a, - 0xaf, 0x67, 0x1e, 0x19, 0xbd, 0xa3, 0x46, 0xbf, 0x79, 0xa8, 0xae, 0xb2, 0x25, 0xf5, 0xf4, 0xbe, - 0xd9, 0xef, 0xf6, 0x1b, 0xed, 0x19, 0xae, 0x32, 0x83, 0x66, 0x38, 0x9b, 0xb4, 0xdd, 0xfd, 0x4e, - 0x5d, 0x63, 0x1b, 0xce, 0xe0, 0xee, 0x53, 0x69, 0x22, 0x62, 0x6b, 0x97, 0xc7, 0x13, 0xcd, 0xa9, - 0xae, 0x33, 0xd0, 0xe8, 0x3c, 0x6d, 0xb4, 0x8d, 0x96, 0xf9, 0x44, 0x7f, 0xce, 0xab, 0x8d, 0x0d, - 0x06, 0x0a, 0xcb, 0xcc, 0x63, 0xdc, 0x7d, 0xc4, 0x0c, 0x51, 0x6f, 0x20, 0x04, 0x95, 0xa6, 0x81, - 0x9b, 0x27, 0xed, 0x06, 0x36, 0x71, 0xf7, 0xa4, 0xaf, 0xab, 0x9b, 0xf7, 0x7f, 0xaf, 0x40, 0x29, - 0x79, 0x9b, 0xb0, 0x53, 0x37, 0x3a, 0xe6, 0x41, 0xdb, 0x78, 0x74, 0xd8, 0x17, 0x4e, 0xd0, 0x3b, - 0x69, 0xb2, 0x23, 0xd3, 0x59, 0x15, 0x83, 0xa0, 0x22, 0x36, 0x3d, 0x5e, 0x6c, 0x86, 0xcd, 0x25, - 0xb1, 0x4e, 0x57, 0xea, 0x5d, 0x62, 0xc6, 0x4b, 0x50, 0xc7, 0xb8, 0x8b, 0xd5, 0x2c, 0x7a, 0x1f, - 0x76, 0x24, 0xc2, 0xce, 0x15, 0x63, 0xbd, 0xd9, 0x37, 0x8f, 0x1b, 0xcf, 0x8f, 0xd8, 0xb1, 0x0b, - 0x27, 0xeb, 0xa9, 0xcb, 0xe8, 0x0e, 0x6c, 0xc7, 0xac, 0x45, 0x7e, 0x71, 0xff, 0x4b, 0xa8, 0x5e, - 0x15, 0x95, 0x08, 0x20, 0xd7, 0xd3, 0xfb, 0xfd, 0xb6, 0x2e, 0x2a, 0xaf, 0x03, 0xe1, 0xb8, 0x00, - 0x39, 0xac, 0xf7, 0x4e, 0x8e, 0x74, 0x35, 0x73, 0xff, 0x27, 0xa0, 0xce, 0x87, 0x0a, 0x93, 0xeb, - 0x1d, 0xe6, 0x32, 0xea, 0x3b, 0x2c, 0x00, 0xa4, 0xff, 0xa8, 0x0a, 0x53, 0xd1, 0x38, 0xe9, 0x77, - 0xd5, 0xcc, 0xde, 0xdf, 0x8b, 0x90, 0xe3, 0x5f, 0x10, 0x01, 0xfa, 0x06, 0xca, 0x89, 0x9e, 0xef, - 0xd3, 0x3d, 0x74, 0xeb, 0xda, 0x6e, 0x70, 0x2d, 0x6a, 0x7c, 0x49, 0xf8, 0xa1, 0x82, 0xf6, 0xa1, - 0x92, 0xec, 0x5d, 0x3e, 0xdd, 0x43, 0xc9, 0xc2, 0x7b, 0x41, 0x5b, 0x73, 0x81, 0x8e, 0x27, 0xa0, - 0xea, 0x21, 0xb5, 0x5d, 0x76, 0xff, 0xcb, 0xee, 0x22, 0xaa, 0x25, 0x13, 0x57, 0xba, 0x65, 0x59, - 0xdb, 0x5e, 0x28, 0x93, 0xa9, 0xf4, 0x5b, 0x56, 0x6b, 0xc5, 0xfd, 0xbd, 0x4b, 0x0b, 0x4a, 0x37, - 0x15, 0x6b, 0xb7, 0xaf, 0x12, 0xcb, 0xfe, 0xc1, 0xd2, 0x6f, 0x33, 0x6c, 0x8d, 0xe5, 0x84, 0x6c, - 0xc1, 0x2e, 0xcd, 0x29, 0x5d, 0x50, 0x91, 0xa0, 0x21, 0xac, 0x2f, 0xe8, 0xfd, 0xa1, 0x0f, 0xd2, - 0xf9, 0xf9, 0x8a, 0xce, 0x61, 0xed, 0xee, 0x9b, 0x68, 0x72, 0xf1, 0x43, 0x58, 0x5f, 0xd0, 0x24, - 0x4c, 0xcd, 0x72, 0x75, 0x8b, 0x31, 0x35, 0xcb, 0x75, 0xbd, 0xc6, 0x1f, 0xe0, 0xc6, 0xc2, 0x4e, - 0x1f, 0xba, 0x97, 0x50, 0x70, 0x5d, 0x67, 0xb1, 0x56, 0x7f, 0x33, 0x51, 0xce, 0x35, 0x81, 0xad, - 0x2b, 0x5a, 0x53, 0xe8, 0x7f, 0x13, 0x4a, 0xae, 0x6f, 0x70, 0xd5, 0xee, 0xbf, 0x0d, 0x75, 0x36, - 0x63, 0xef, 0x2d, 0x66, 0xec, 0xbd, 0xfd, 0x8c, 0x6f, 0x68, 0x52, 0xa1, 0x17, 0xa0, 0xce, 0x77, - 0x4d, 0x90, 0x36, 0x7f, 0x16, 0x97, 0xdb, 0x37, 0xb5, 0xf7, 0xae, 0xe5, 0x48, 0xe5, 0x06, 0xc0, - 0xac, 0xb1, 0x80, 0x6e, 0x26, 0x86, 0x5c, 0xea, 0x9d, 0xd4, 0x6e, 0x5d, 0x21, 0x95, 0xaa, 0xfa, - 0xb0, 0xbe, 0xa0, 0xd3, 0x90, 0xf2, 0xae, 0xab, 0x3b, 0x11, 0xb5, 0x8d, 0x45, 0x1f, 0xe4, 0x0f, - 0x15, 0x74, 0x24, 0x02, 0x36, 0xfa, 0x61, 0xe8, 0x0d, 0x19, 0xa8, 0xba, 0xf8, 0xc3, 0x61, 0x1a, - 0xf2, 0x50, 0x7d, 0xa8, 0xa0, 0x2e, 0x94, 0x92, 0x59, 0xe7, 0x8d, 0xe9, 0xe8, 0x8d, 0x0a, 0x47, - 0xb0, 0x9a, 0x2a, 0xda, 0xfc, 0x20, 0xe5, 0xe7, 0xd7, 0xd5, 0x75, 0xa9, 0x88, 0xba, 0xa6, 0x46, - 0xad, 0xb3, 0x79, 0x5e, 0x80, 0x3a, 0x5f, 0xdc, 0xa4, 0xbc, 0xe0, 0x8a, 0xea, 0x2b, 0xe5, 0x05, - 0x57, 0x55, 0x47, 0xfb, 0x1f, 0x7f, 0xff, 0xe0, 0xcc, 0xa6, 0xe3, 0xe9, 0xe9, 0xee, 0xc0, 0x77, - 0x1f, 0xf0, 0xdf, 0x84, 0x3c, 0xdb, 0x3b, 0xf3, 0x08, 0x7d, 0xe5, 0x07, 0xe7, 0x0f, 0x1c, 0x6f, - 0xf8, 0x80, 0xe7, 0xac, 0x07, 0xb1, 0xae, 0xd3, 0x1c, 0xff, 0xd9, 0xf9, 0x93, 0x7f, 0x06, 0x00, - 0x00, 0xff, 0xff, 0x59, 0xf4, 0x3e, 0x26, 0xa6, 0x1e, 0x00, 0x00, +func init() { file_routerrpc_router_proto_init() } +func file_routerrpc_router_proto_init() { + if File_routerrpc_router_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_routerrpc_router_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SendPaymentRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_routerrpc_router_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TrackPaymentRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_routerrpc_router_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RouteFeeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_routerrpc_router_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RouteFeeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_routerrpc_router_proto_msgTypes[4].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_routerrpc_router_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SendToRouteResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_routerrpc_router_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResetMissionControlRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_routerrpc_router_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResetMissionControlResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_routerrpc_router_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QueryMissionControlRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_routerrpc_router_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QueryMissionControlResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_routerrpc_router_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*XImportMissionControlRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_routerrpc_router_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*XImportMissionControlResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_routerrpc_router_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PairHistory); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_routerrpc_router_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PairData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_routerrpc_router_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetMissionControlConfigRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_routerrpc_router_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetMissionControlConfigResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_routerrpc_router_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetMissionControlConfigRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_routerrpc_router_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetMissionControlConfigResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_routerrpc_router_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MissionControlConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_routerrpc_router_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QueryProbabilityRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_routerrpc_router_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*QueryProbabilityResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_routerrpc_router_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BuildRouteRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_routerrpc_router_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BuildRouteResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_routerrpc_router_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SubscribeHtlcEventsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_routerrpc_router_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HtlcEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_routerrpc_router_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*HtlcInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_routerrpc_router_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ForwardEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_routerrpc_router_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ForwardFailEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_routerrpc_router_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SettleEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_routerrpc_router_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LinkFailEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_routerrpc_router_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PaymentStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_routerrpc_router_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CircuitKey); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_routerrpc_router_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ForwardHtlcInterceptRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_routerrpc_router_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ForwardHtlcInterceptResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_routerrpc_router_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateChanStatusRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_routerrpc_router_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateChanStatusResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_routerrpc_router_proto_msgTypes[24].OneofWrappers = []interface{}{ + (*HtlcEvent_ForwardEvent)(nil), + (*HtlcEvent_ForwardFailEvent)(nil), + (*HtlcEvent_SettleEvent)(nil), + (*HtlcEvent_LinkFailEvent)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_routerrpc_router_proto_rawDesc, + NumEnums: 5, + NumMessages: 38, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_routerrpc_router_proto_goTypes, + DependencyIndexes: file_routerrpc_router_proto_depIdxs, + EnumInfos: file_routerrpc_router_proto_enumTypes, + MessageInfos: file_routerrpc_router_proto_msgTypes, + }.Build() + File_routerrpc_router_proto = out.File + file_routerrpc_router_proto_rawDesc = nil + file_routerrpc_router_proto_goTypes = nil + file_routerrpc_router_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 +const _ = grpc.SupportPackageIsVersion6 // RouterClient is the client API for Router service. // @@ -2711,6 +3951,7 @@ type RouterClient interface { //EstimateRouteFee allows callers to obtain a lower bound w.r.t how much it //may cost to send an HTLC to the target end destination. EstimateRouteFee(ctx context.Context, in *RouteFeeRequest, opts ...grpc.CallOption) (*RouteFeeResponse, error) + // Deprecated: Do not use. // //Deprecated, use SendToRouteV2. SendToRoute attempts to make a payment via //the specified route. This method differs from SendPayment in that it @@ -2758,11 +3999,13 @@ type RouterClient interface { //SubscribeHtlcEvents creates a uni-directional stream from the server to //the client which delivers a stream of htlc events. SubscribeHtlcEvents(ctx context.Context, in *SubscribeHtlcEventsRequest, opts ...grpc.CallOption) (Router_SubscribeHtlcEventsClient, error) + // Deprecated: Do not use. // //Deprecated, use SendPaymentV2. SendPayment attempts to route a payment //described by the passed PaymentRequest to the final destination. The call //returns a stream of payment status updates. SendPayment(ctx context.Context, in *SendPaymentRequest, opts ...grpc.CallOption) (Router_SendPaymentClient, error) + // Deprecated: Do not use. // //Deprecated, use TrackPaymentV2. TrackPayment returns an update stream for //the payment identified by the payment hash. @@ -2783,10 +4026,10 @@ type RouterClient interface { } type routerClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewRouterClient(cc *grpc.ClientConn) RouterClient { +func NewRouterClient(cc grpc.ClientConnInterface) RouterClient { return &routerClient{cc} } @@ -3098,6 +4341,7 @@ type RouterServer interface { //EstimateRouteFee allows callers to obtain a lower bound w.r.t how much it //may cost to send an HTLC to the target end destination. EstimateRouteFee(context.Context, *RouteFeeRequest) (*RouteFeeResponse, error) + // Deprecated: Do not use. // //Deprecated, use SendToRouteV2. SendToRoute attempts to make a payment via //the specified route. This method differs from SendPayment in that it @@ -3145,11 +4389,13 @@ type RouterServer interface { //SubscribeHtlcEvents creates a uni-directional stream from the server to //the client which delivers a stream of htlc events. SubscribeHtlcEvents(*SubscribeHtlcEventsRequest, Router_SubscribeHtlcEventsServer) error + // Deprecated: Do not use. // //Deprecated, use SendPaymentV2. SendPayment attempts to route a payment //described by the passed PaymentRequest to the final destination. The call //returns a stream of payment status updates. SendPayment(*SendPaymentRequest, Router_SendPaymentServer) error + // Deprecated: Do not use. // //Deprecated, use TrackPaymentV2. TrackPayment returns an update stream for //the payment identified by the payment hash. @@ -3173,55 +4419,55 @@ type RouterServer interface { type UnimplementedRouterServer struct { } -func (*UnimplementedRouterServer) SendPaymentV2(req *SendPaymentRequest, srv Router_SendPaymentV2Server) error { +func (*UnimplementedRouterServer) SendPaymentV2(*SendPaymentRequest, Router_SendPaymentV2Server) error { return status.Errorf(codes.Unimplemented, "method SendPaymentV2 not implemented") } -func (*UnimplementedRouterServer) TrackPaymentV2(req *TrackPaymentRequest, srv Router_TrackPaymentV2Server) error { +func (*UnimplementedRouterServer) TrackPaymentV2(*TrackPaymentRequest, Router_TrackPaymentV2Server) error { return status.Errorf(codes.Unimplemented, "method TrackPaymentV2 not implemented") } -func (*UnimplementedRouterServer) EstimateRouteFee(ctx context.Context, req *RouteFeeRequest) (*RouteFeeResponse, error) { +func (*UnimplementedRouterServer) EstimateRouteFee(context.Context, *RouteFeeRequest) (*RouteFeeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method EstimateRouteFee not implemented") } -func (*UnimplementedRouterServer) SendToRoute(ctx context.Context, req *SendToRouteRequest) (*SendToRouteResponse, error) { +func (*UnimplementedRouterServer) SendToRoute(context.Context, *SendToRouteRequest) (*SendToRouteResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SendToRoute not implemented") } -func (*UnimplementedRouterServer) SendToRouteV2(ctx context.Context, req *SendToRouteRequest) (*lnrpc.HTLCAttempt, error) { +func (*UnimplementedRouterServer) SendToRouteV2(context.Context, *SendToRouteRequest) (*lnrpc.HTLCAttempt, error) { return nil, status.Errorf(codes.Unimplemented, "method SendToRouteV2 not implemented") } -func (*UnimplementedRouterServer) ResetMissionControl(ctx context.Context, req *ResetMissionControlRequest) (*ResetMissionControlResponse, error) { +func (*UnimplementedRouterServer) ResetMissionControl(context.Context, *ResetMissionControlRequest) (*ResetMissionControlResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ResetMissionControl not implemented") } -func (*UnimplementedRouterServer) QueryMissionControl(ctx context.Context, req *QueryMissionControlRequest) (*QueryMissionControlResponse, error) { +func (*UnimplementedRouterServer) QueryMissionControl(context.Context, *QueryMissionControlRequest) (*QueryMissionControlResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method QueryMissionControl not implemented") } -func (*UnimplementedRouterServer) XImportMissionControl(ctx context.Context, req *XImportMissionControlRequest) (*XImportMissionControlResponse, error) { +func (*UnimplementedRouterServer) XImportMissionControl(context.Context, *XImportMissionControlRequest) (*XImportMissionControlResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method XImportMissionControl not implemented") } -func (*UnimplementedRouterServer) GetMissionControlConfig(ctx context.Context, req *GetMissionControlConfigRequest) (*GetMissionControlConfigResponse, error) { +func (*UnimplementedRouterServer) GetMissionControlConfig(context.Context, *GetMissionControlConfigRequest) (*GetMissionControlConfigResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetMissionControlConfig not implemented") } -func (*UnimplementedRouterServer) SetMissionControlConfig(ctx context.Context, req *SetMissionControlConfigRequest) (*SetMissionControlConfigResponse, error) { +func (*UnimplementedRouterServer) SetMissionControlConfig(context.Context, *SetMissionControlConfigRequest) (*SetMissionControlConfigResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SetMissionControlConfig not implemented") } -func (*UnimplementedRouterServer) QueryProbability(ctx context.Context, req *QueryProbabilityRequest) (*QueryProbabilityResponse, error) { +func (*UnimplementedRouterServer) QueryProbability(context.Context, *QueryProbabilityRequest) (*QueryProbabilityResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method QueryProbability not implemented") } -func (*UnimplementedRouterServer) BuildRoute(ctx context.Context, req *BuildRouteRequest) (*BuildRouteResponse, error) { +func (*UnimplementedRouterServer) BuildRoute(context.Context, *BuildRouteRequest) (*BuildRouteResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method BuildRoute not implemented") } -func (*UnimplementedRouterServer) SubscribeHtlcEvents(req *SubscribeHtlcEventsRequest, srv Router_SubscribeHtlcEventsServer) error { +func (*UnimplementedRouterServer) SubscribeHtlcEvents(*SubscribeHtlcEventsRequest, Router_SubscribeHtlcEventsServer) error { return status.Errorf(codes.Unimplemented, "method SubscribeHtlcEvents not implemented") } -func (*UnimplementedRouterServer) SendPayment(req *SendPaymentRequest, srv Router_SendPaymentServer) error { +func (*UnimplementedRouterServer) SendPayment(*SendPaymentRequest, Router_SendPaymentServer) error { return status.Errorf(codes.Unimplemented, "method SendPayment not implemented") } -func (*UnimplementedRouterServer) TrackPayment(req *TrackPaymentRequest, srv Router_TrackPaymentServer) error { +func (*UnimplementedRouterServer) TrackPayment(*TrackPaymentRequest, Router_TrackPaymentServer) error { return status.Errorf(codes.Unimplemented, "method TrackPayment not implemented") } -func (*UnimplementedRouterServer) HtlcInterceptor(srv Router_HtlcInterceptorServer) error { +func (*UnimplementedRouterServer) HtlcInterceptor(Router_HtlcInterceptorServer) error { return status.Errorf(codes.Unimplemented, "method HtlcInterceptor not implemented") } -func (*UnimplementedRouterServer) UpdateChanStatus(ctx context.Context, req *UpdateChanStatusRequest) (*UpdateChanStatusResponse, error) { +func (*UnimplementedRouterServer) UpdateChanStatus(context.Context, *UpdateChanStatusRequest) (*UpdateChanStatusResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateChanStatus not implemented") } diff --git a/lnrpc/rpc.pb.go b/lnrpc/rpc.pb.go index c120c1642..a6f22177b 100644 --- a/lnrpc/rpc.pb.go +++ b/lnrpc/rpc.pb.go @@ -1,28 +1,33 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.6.1 // source: rpc.proto package lnrpc import ( context "context" - fmt "fmt" proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 // //`AddressType` has to be one of: @@ -38,26 +43,47 @@ const ( AddressType_UNUSED_NESTED_PUBKEY_HASH AddressType = 3 ) -var AddressType_name = map[int32]string{ - 0: "WITNESS_PUBKEY_HASH", - 1: "NESTED_PUBKEY_HASH", - 2: "UNUSED_WITNESS_PUBKEY_HASH", - 3: "UNUSED_NESTED_PUBKEY_HASH", -} +// 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", + } + AddressType_value = map[string]int32{ + "WITNESS_PUBKEY_HASH": 0, + "NESTED_PUBKEY_HASH": 1, + "UNUSED_WITNESS_PUBKEY_HASH": 2, + "UNUSED_NESTED_PUBKEY_HASH": 3, + } +) -var AddressType_value = map[string]int32{ - "WITNESS_PUBKEY_HASH": 0, - "NESTED_PUBKEY_HASH": 1, - "UNUSED_WITNESS_PUBKEY_HASH": 2, - "UNUSED_NESTED_PUBKEY_HASH": 3, +func (x AddressType) Enum() *AddressType { + p := new(AddressType) + *p = x + return p } func (x AddressType) String() string { - return proto.EnumName(AddressType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (AddressType) Descriptor() protoreflect.EnumDescriptor { + return file_rpc_proto_enumTypes[0].Descriptor() +} + +func (AddressType) Type() protoreflect.EnumType { + return &file_rpc_proto_enumTypes[0] +} + +func (x AddressType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use AddressType.Descriptor instead. func (AddressType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{0} + return file_rpc_proto_rawDescGZIP(), []int{0} } type CommitmentType int32 @@ -83,26 +109,47 @@ const ( CommitmentType_UNKNOWN_COMMITMENT_TYPE CommitmentType = 999 ) -var CommitmentType_name = map[int32]string{ - 0: "LEGACY", - 1: "STATIC_REMOTE_KEY", - 2: "ANCHORS", - 999: "UNKNOWN_COMMITMENT_TYPE", -} +// Enum value maps for CommitmentType. +var ( + CommitmentType_name = map[int32]string{ + 0: "LEGACY", + 1: "STATIC_REMOTE_KEY", + 2: "ANCHORS", + 999: "UNKNOWN_COMMITMENT_TYPE", + } + CommitmentType_value = map[string]int32{ + "LEGACY": 0, + "STATIC_REMOTE_KEY": 1, + "ANCHORS": 2, + "UNKNOWN_COMMITMENT_TYPE": 999, + } +) -var CommitmentType_value = map[string]int32{ - "LEGACY": 0, - "STATIC_REMOTE_KEY": 1, - "ANCHORS": 2, - "UNKNOWN_COMMITMENT_TYPE": 999, +func (x CommitmentType) Enum() *CommitmentType { + p := new(CommitmentType) + *p = x + return p } func (x CommitmentType) String() string { - return proto.EnumName(CommitmentType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (CommitmentType) Descriptor() protoreflect.EnumDescriptor { + return file_rpc_proto_enumTypes[1].Descriptor() +} + +func (CommitmentType) Type() protoreflect.EnumType { + return &file_rpc_proto_enumTypes[1] +} + +func (x CommitmentType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use CommitmentType.Descriptor instead. func (CommitmentType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{1} + return file_rpc_proto_rawDescGZIP(), []int{1} } type Initiator int32 @@ -114,26 +161,47 @@ const ( Initiator_INITIATOR_BOTH Initiator = 3 ) -var Initiator_name = map[int32]string{ - 0: "INITIATOR_UNKNOWN", - 1: "INITIATOR_LOCAL", - 2: "INITIATOR_REMOTE", - 3: "INITIATOR_BOTH", -} +// 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, + } +) -var 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 proto.EnumName(Initiator_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (Initiator) Descriptor() protoreflect.EnumDescriptor { + return file_rpc_proto_enumTypes[2].Descriptor() +} + +func (Initiator) Type() protoreflect.EnumType { + return &file_rpc_proto_enumTypes[2] +} + +func (x Initiator) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Initiator.Descriptor instead. func (Initiator) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{2} + return file_rpc_proto_rawDescGZIP(), []int{2} } type ResolutionType int32 @@ -156,28 +224,49 @@ const ( ResolutionType_COMMIT ResolutionType = 4 ) -var ResolutionType_name = map[int32]string{ - 0: "TYPE_UNKNOWN", - 1: "ANCHOR", - 2: "INCOMING_HTLC", - 3: "OUTGOING_HTLC", - 4: "COMMIT", -} +// 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, + } +) -var 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 proto.EnumName(ResolutionType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (ResolutionType) Descriptor() protoreflect.EnumDescriptor { + return file_rpc_proto_enumTypes[3].Descriptor() +} + +func (ResolutionType) Type() protoreflect.EnumType { + return &file_rpc_proto_enumTypes[3] +} + +func (x ResolutionType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ResolutionType.Descriptor instead. func (ResolutionType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{3} + return file_rpc_proto_rawDescGZIP(), []int{3} } type ResolutionOutcome int32 @@ -204,30 +293,51 @@ const ( ResolutionOutcome_TIMEOUT ResolutionOutcome = 5 ) -var ResolutionOutcome_name = map[int32]string{ - 0: "OUTCOME_UNKNOWN", - 1: "CLAIMED", - 2: "UNCLAIMED", - 3: "ABANDONED", - 4: "FIRST_STAGE", - 5: "TIMEOUT", -} +// 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, + } +) -var 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 proto.EnumName(ResolutionOutcome_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (ResolutionOutcome) Descriptor() protoreflect.EnumDescriptor { + return file_rpc_proto_enumTypes[4].Descriptor() +} + +func (ResolutionOutcome) Type() protoreflect.EnumType { + return &file_rpc_proto_enumTypes[4] +} + +func (x ResolutionOutcome) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ResolutionOutcome.Descriptor instead. func (ResolutionOutcome) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{4} + return file_rpc_proto_rawDescGZIP(), []int{4} } type NodeMetricType int32 @@ -237,22 +347,43 @@ const ( NodeMetricType_BETWEENNESS_CENTRALITY NodeMetricType = 1 ) -var NodeMetricType_name = map[int32]string{ - 0: "UNKNOWN", - 1: "BETWEENNESS_CENTRALITY", -} +// 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, + } +) -var 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 proto.EnumName(NodeMetricType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (NodeMetricType) Descriptor() protoreflect.EnumDescriptor { + return file_rpc_proto_enumTypes[5].Descriptor() +} + +func (NodeMetricType) Type() protoreflect.EnumType { + return &file_rpc_proto_enumTypes[5] +} + +func (x NodeMetricType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use NodeMetricType.Descriptor instead. func (NodeMetricType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{5} + return file_rpc_proto_rawDescGZIP(), []int{5} } type InvoiceHTLCState int32 @@ -263,24 +394,45 @@ const ( InvoiceHTLCState_CANCELED InvoiceHTLCState = 2 ) -var InvoiceHTLCState_name = map[int32]string{ - 0: "ACCEPTED", - 1: "SETTLED", - 2: "CANCELED", -} +// 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, + } +) -var 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 proto.EnumName(InvoiceHTLCState_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (InvoiceHTLCState) Descriptor() protoreflect.EnumDescriptor { + return file_rpc_proto_enumTypes[6].Descriptor() +} + +func (InvoiceHTLCState) Type() protoreflect.EnumType { + return &file_rpc_proto_enumTypes[6] +} + +func (x InvoiceHTLCState) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use InvoiceHTLCState.Descriptor instead. func (InvoiceHTLCState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{6} + return file_rpc_proto_rawDescGZIP(), []int{6} } type PaymentFailureReason int32 @@ -308,30 +460,51 @@ const ( PaymentFailureReason_FAILURE_REASON_INSUFFICIENT_BALANCE PaymentFailureReason = 5 ) -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", -} +// 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", + } + 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, + } +) -var 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, +func (x PaymentFailureReason) Enum() *PaymentFailureReason { + p := new(PaymentFailureReason) + *p = x + return p } func (x PaymentFailureReason) String() string { - return proto.EnumName(PaymentFailureReason_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (PaymentFailureReason) Descriptor() protoreflect.EnumDescriptor { + return file_rpc_proto_enumTypes[7].Descriptor() +} + +func (PaymentFailureReason) Type() protoreflect.EnumType { + return &file_rpc_proto_enumTypes[7] +} + +func (x PaymentFailureReason) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use PaymentFailureReason.Descriptor instead. func (PaymentFailureReason) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{7} + return file_rpc_proto_rawDescGZIP(), []int{7} } type FeatureBit int32 @@ -364,68 +537,89 @@ const ( FeatureBit_AMP_OPT FeatureBit = 31 ) -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", - 30: "AMP_REQ", - 31: "AMP_OPT", -} +// 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", + 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, + "AMP_REQ": 30, + "AMP_OPT": 31, + } +) -var 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, - "AMP_REQ": 30, - "AMP_OPT": 31, +func (x FeatureBit) Enum() *FeatureBit { + p := new(FeatureBit) + *p = x + return p } func (x FeatureBit) String() string { - return proto.EnumName(FeatureBit_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (FeatureBit) Descriptor() protoreflect.EnumDescriptor { + return file_rpc_proto_enumTypes[8].Descriptor() +} + +func (FeatureBit) Type() protoreflect.EnumType { + return &file_rpc_proto_enumTypes[8] +} + +func (x FeatureBit) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use FeatureBit.Descriptor instead. func (FeatureBit) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{8} + return file_rpc_proto_rawDescGZIP(), []int{8} } type ChannelCloseSummary_ClosureType int32 @@ -439,30 +633,51 @@ const ( ChannelCloseSummary_ABANDONED ChannelCloseSummary_ClosureType = 5 ) -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", -} +// 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, + } +) -var 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 proto.EnumName(ChannelCloseSummary_ClosureType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (ChannelCloseSummary_ClosureType) Descriptor() protoreflect.EnumDescriptor { + return file_rpc_proto_enumTypes[9].Descriptor() +} + +func (ChannelCloseSummary_ClosureType) Type() protoreflect.EnumType { + return &file_rpc_proto_enumTypes[9] +} + +func (x ChannelCloseSummary_ClosureType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ChannelCloseSummary_ClosureType.Descriptor instead. func (ChannelCloseSummary_ClosureType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{36, 0} + return file_rpc_proto_rawDescGZIP(), []int{36, 0} } type Peer_SyncType int32 @@ -482,26 +697,47 @@ const ( Peer_PINNED_SYNC Peer_SyncType = 3 ) -var Peer_SyncType_name = map[int32]string{ - 0: "UNKNOWN_SYNC", - 1: "ACTIVE_SYNC", - 2: "PASSIVE_SYNC", - 3: "PINNED_SYNC", -} +// 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, + } +) -var 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 proto.EnumName(Peer_SyncType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (Peer_SyncType) Descriptor() protoreflect.EnumDescriptor { + return file_rpc_proto_enumTypes[10].Descriptor() +} + +func (Peer_SyncType) Type() protoreflect.EnumType { + return &file_rpc_proto_enumTypes[10] +} + +func (x Peer_SyncType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Peer_SyncType.Descriptor instead. func (Peer_SyncType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{40, 0} + return file_rpc_proto_rawDescGZIP(), []int{40, 0} } type PeerEvent_EventType int32 @@ -511,22 +747,43 @@ const ( PeerEvent_PEER_OFFLINE PeerEvent_EventType = 1 ) -var PeerEvent_EventType_name = map[int32]string{ - 0: "PEER_ONLINE", - 1: "PEER_OFFLINE", -} +// 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, + } +) -var 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 proto.EnumName(PeerEvent_EventType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (PeerEvent_EventType) Descriptor() protoreflect.EnumDescriptor { + return file_rpc_proto_enumTypes[11].Descriptor() +} + +func (PeerEvent_EventType) Type() protoreflect.EnumType { + return &file_rpc_proto_enumTypes[11] +} + +func (x PeerEvent_EventType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use PeerEvent_EventType.Descriptor instead. func (PeerEvent_EventType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{45, 0} + return file_rpc_proto_rawDescGZIP(), []int{45, 0} } type PendingChannelsResponse_ForceClosedChannel_AnchorState int32 @@ -537,24 +794,45 @@ const ( PendingChannelsResponse_ForceClosedChannel_LOST PendingChannelsResponse_ForceClosedChannel_AnchorState = 2 ) -var PendingChannelsResponse_ForceClosedChannel_AnchorState_name = map[int32]string{ - 0: "LIMBO", - 1: "RECOVERED", - 2: "LOST", -} +// 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, + } +) -var 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 proto.EnumName(PendingChannelsResponse_ForceClosedChannel_AnchorState_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (PendingChannelsResponse_ForceClosedChannel_AnchorState) Descriptor() protoreflect.EnumDescriptor { + return file_rpc_proto_enumTypes[12].Descriptor() +} + +func (PendingChannelsResponse_ForceClosedChannel_AnchorState) Type() protoreflect.EnumType { + return &file_rpc_proto_enumTypes[12] +} + +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 fileDescriptor_77a6da22d6a3feb1, []int{72, 5, 0} + return file_rpc_proto_rawDescGZIP(), []int{72, 5, 0} } type ChannelEventUpdate_UpdateType int32 @@ -567,28 +845,49 @@ const ( ChannelEventUpdate_PENDING_OPEN_CHANNEL ChannelEventUpdate_UpdateType = 4 ) -var ChannelEventUpdate_UpdateType_name = map[int32]string{ - 0: "OPEN_CHANNEL", - 1: "CLOSED_CHANNEL", - 2: "ACTIVE_CHANNEL", - 3: "INACTIVE_CHANNEL", - 4: "PENDING_OPEN_CHANNEL", -} +// 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", + } + ChannelEventUpdate_UpdateType_value = map[string]int32{ + "OPEN_CHANNEL": 0, + "CLOSED_CHANNEL": 1, + "ACTIVE_CHANNEL": 2, + "INACTIVE_CHANNEL": 3, + "PENDING_OPEN_CHANNEL": 4, + } +) -var ChannelEventUpdate_UpdateType_value = map[string]int32{ - "OPEN_CHANNEL": 0, - "CLOSED_CHANNEL": 1, - "ACTIVE_CHANNEL": 2, - "INACTIVE_CHANNEL": 3, - "PENDING_OPEN_CHANNEL": 4, +func (x ChannelEventUpdate_UpdateType) Enum() *ChannelEventUpdate_UpdateType { + p := new(ChannelEventUpdate_UpdateType) + *p = x + return p } func (x ChannelEventUpdate_UpdateType) String() string { - return proto.EnumName(ChannelEventUpdate_UpdateType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (ChannelEventUpdate_UpdateType) Descriptor() protoreflect.EnumDescriptor { + return file_rpc_proto_enumTypes[13].Descriptor() +} + +func (ChannelEventUpdate_UpdateType) Type() protoreflect.EnumType { + return &file_rpc_proto_enumTypes[13] +} + +func (x ChannelEventUpdate_UpdateType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ChannelEventUpdate_UpdateType.Descriptor instead. func (ChannelEventUpdate_UpdateType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{74, 0} + return file_rpc_proto_rawDescGZIP(), []int{74, 0} } type Invoice_InvoiceState int32 @@ -600,26 +899,47 @@ const ( Invoice_ACCEPTED Invoice_InvoiceState = 3 ) -var Invoice_InvoiceState_name = map[int32]string{ - 0: "OPEN", - 1: "SETTLED", - 2: "CANCELED", - 3: "ACCEPTED", -} +// 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, + } +) -var 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 proto.EnumName(Invoice_InvoiceState_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (Invoice_InvoiceState) Descriptor() protoreflect.EnumDescriptor { + return file_rpc_proto_enumTypes[14].Descriptor() +} + +func (Invoice_InvoiceState) Type() protoreflect.EnumType { + return &file_rpc_proto_enumTypes[14] +} + +func (x Invoice_InvoiceState) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Invoice_InvoiceState.Descriptor instead. func (Invoice_InvoiceState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{112, 0} + return file_rpc_proto_rawDescGZIP(), []int{112, 0} } type Payment_PaymentStatus int32 @@ -631,26 +951,47 @@ const ( Payment_FAILED Payment_PaymentStatus = 3 ) -var Payment_PaymentStatus_name = map[int32]string{ - 0: "UNKNOWN", - 1: "IN_FLIGHT", - 2: "SUCCEEDED", - 3: "FAILED", -} +// Enum value maps for Payment_PaymentStatus. +var ( + Payment_PaymentStatus_name = map[int32]string{ + 0: "UNKNOWN", + 1: "IN_FLIGHT", + 2: "SUCCEEDED", + 3: "FAILED", + } + Payment_PaymentStatus_value = map[string]int32{ + "UNKNOWN": 0, + "IN_FLIGHT": 1, + "SUCCEEDED": 2, + "FAILED": 3, + } +) -var Payment_PaymentStatus_value = map[string]int32{ - "UNKNOWN": 0, - "IN_FLIGHT": 1, - "SUCCEEDED": 2, - "FAILED": 3, +func (x Payment_PaymentStatus) Enum() *Payment_PaymentStatus { + p := new(Payment_PaymentStatus) + *p = x + return p } func (x Payment_PaymentStatus) String() string { - return proto.EnumName(Payment_PaymentStatus_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (Payment_PaymentStatus) Descriptor() protoreflect.EnumDescriptor { + return file_rpc_proto_enumTypes[15].Descriptor() +} + +func (Payment_PaymentStatus) Type() protoreflect.EnumType { + return &file_rpc_proto_enumTypes[15] +} + +func (x Payment_PaymentStatus) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Payment_PaymentStatus.Descriptor instead. func (Payment_PaymentStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{120, 0} + return file_rpc_proto_rawDescGZIP(), []int{120, 0} } type HTLCAttempt_HTLCStatus int32 @@ -661,24 +1002,45 @@ const ( HTLCAttempt_FAILED HTLCAttempt_HTLCStatus = 2 ) -var HTLCAttempt_HTLCStatus_name = map[int32]string{ - 0: "IN_FLIGHT", - 1: "SUCCEEDED", - 2: "FAILED", -} +// 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, + } +) -var 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 proto.EnumName(HTLCAttempt_HTLCStatus_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (HTLCAttempt_HTLCStatus) Descriptor() protoreflect.EnumDescriptor { + return file_rpc_proto_enumTypes[16].Descriptor() +} + +func (HTLCAttempt_HTLCStatus) Type() protoreflect.EnumType { + return &file_rpc_proto_enumTypes[16] +} + +func (x HTLCAttempt_HTLCStatus) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use HTLCAttempt_HTLCStatus.Descriptor instead. func (HTLCAttempt_HTLCStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{121, 0} + return file_rpc_proto_rawDescGZIP(), []int{121, 0} } type Failure_FailureCode int32 @@ -725,77 +1087,102 @@ const ( Failure_UNREADABLE_FAILURE Failure_FailureCode = 999 ) -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", - 997: "INTERNAL_FAILURE", - 998: "UNKNOWN_FAILURE", - 999: "UNREADABLE_FAILURE", -} +// 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", + 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, + "INTERNAL_FAILURE": 997, + "UNKNOWN_FAILURE": 998, + "UNREADABLE_FAILURE": 999, + } +) -var 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, - "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 proto.EnumName(Failure_FailureCode_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (Failure_FailureCode) Descriptor() protoreflect.EnumDescriptor { + return file_rpc_proto_enumTypes[17].Descriptor() +} + +func (Failure_FailureCode) Type() protoreflect.EnumType { + return &file_rpc_proto_enumTypes[17] +} + +func (x Failure_FailureCode) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use Failure_FailureCode.Descriptor instead. func (Failure_FailureCode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{161, 0} + return file_rpc_proto_rawDescGZIP(), []int{161, 0} } 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 @@ -807,80 +1194,88 @@ type Utxo struct { // 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Confirmations int64 `protobuf:"varint,6,opt,name=confirmations,proto3" json:"confirmations,omitempty"` } -func (m *Utxo) Reset() { *m = Utxo{} } -func (m *Utxo) String() string { return proto.CompactTextString(m) } -func (*Utxo) ProtoMessage() {} +func (x *Utxo) Reset() { + *x = Utxo{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[0] + 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_rpc_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 Utxo.ProtoReflect.Descriptor instead. func (*Utxo) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{0} + return file_rpc_proto_rawDescGZIP(), []int{0} } -func (m *Utxo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Utxo.Unmarshal(m, b) -} -func (m *Utxo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Utxo.Marshal(b, m, deterministic) -} -func (m *Utxo) XXX_Merge(src proto.Message) { - xxx_messageInfo_Utxo.Merge(m, src) -} -func (m *Utxo) XXX_Size() int { - return xxx_messageInfo_Utxo.Size(m) -} -func (m *Utxo) XXX_DiscardUnknown() { - xxx_messageInfo_Utxo.DiscardUnknown(m) -} - -var xxx_messageInfo_Utxo proto.InternalMessageInfo - -func (m *Utxo) GetAddressType() AddressType { - if m != nil { - return m.AddressType +func (x *Utxo) GetAddressType() AddressType { + if x != nil { + return x.AddressType } return AddressType_WITNESS_PUBKEY_HASH } -func (m *Utxo) GetAddress() string { - if m != nil { - return m.Address +func (x *Utxo) GetAddress() string { + if x != nil { + return x.Address } return "" } -func (m *Utxo) GetAmountSat() int64 { - if m != nil { - return m.AmountSat +func (x *Utxo) GetAmountSat() int64 { + if x != nil { + return x.AmountSat } return 0 } -func (m *Utxo) GetPkScript() string { - if m != nil { - return m.PkScript +func (x *Utxo) GetPkScript() string { + if x != nil { + return x.PkScript } return "" } -func (m *Utxo) GetOutpoint() *OutPoint { - if m != nil { - return m.Outpoint +func (x *Utxo) GetOutpoint() *OutPoint { + if x != nil { + return x.Outpoint } return nil } -func (m *Utxo) GetConfirmations() int64 { - if m != nil { - return m.Confirmations +func (x *Utxo) GetConfirmations() int64 { + if x != nil { + return x.Confirmations } return 0 } 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 @@ -900,108 +1295,116 @@ type Transaction struct { // 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Label string `protobuf:"bytes,10,opt,name=label,proto3" json:"label,omitempty"` } -func (m *Transaction) Reset() { *m = Transaction{} } -func (m *Transaction) String() string { return proto.CompactTextString(m) } -func (*Transaction) ProtoMessage() {} +func (x *Transaction) Reset() { + *x = Transaction{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[1] + 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_rpc_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 Transaction.ProtoReflect.Descriptor instead. func (*Transaction) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{1} + return file_rpc_proto_rawDescGZIP(), []int{1} } -func (m *Transaction) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Transaction.Unmarshal(m, b) -} -func (m *Transaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Transaction.Marshal(b, m, deterministic) -} -func (m *Transaction) XXX_Merge(src proto.Message) { - xxx_messageInfo_Transaction.Merge(m, src) -} -func (m *Transaction) XXX_Size() int { - return xxx_messageInfo_Transaction.Size(m) -} -func (m *Transaction) XXX_DiscardUnknown() { - xxx_messageInfo_Transaction.DiscardUnknown(m) -} - -var xxx_messageInfo_Transaction proto.InternalMessageInfo - -func (m *Transaction) GetTxHash() string { - if m != nil { - return m.TxHash +func (x *Transaction) GetTxHash() string { + if x != nil { + return x.TxHash } return "" } -func (m *Transaction) GetAmount() int64 { - if m != nil { - return m.Amount +func (x *Transaction) GetAmount() int64 { + if x != nil { + return x.Amount } return 0 } -func (m *Transaction) GetNumConfirmations() int32 { - if m != nil { - return m.NumConfirmations +func (x *Transaction) GetNumConfirmations() int32 { + if x != nil { + return x.NumConfirmations } return 0 } -func (m *Transaction) GetBlockHash() string { - if m != nil { - return m.BlockHash +func (x *Transaction) GetBlockHash() string { + if x != nil { + return x.BlockHash } return "" } -func (m *Transaction) GetBlockHeight() int32 { - if m != nil { - return m.BlockHeight +func (x *Transaction) GetBlockHeight() int32 { + if x != nil { + return x.BlockHeight } return 0 } -func (m *Transaction) GetTimeStamp() int64 { - if m != nil { - return m.TimeStamp +func (x *Transaction) GetTimeStamp() int64 { + if x != nil { + return x.TimeStamp } return 0 } -func (m *Transaction) GetTotalFees() int64 { - if m != nil { - return m.TotalFees +func (x *Transaction) GetTotalFees() int64 { + if x != nil { + return x.TotalFees } return 0 } -func (m *Transaction) GetDestAddresses() []string { - if m != nil { - return m.DestAddresses +func (x *Transaction) GetDestAddresses() []string { + if x != nil { + return x.DestAddresses } return nil } -func (m *Transaction) GetRawTxHex() string { - if m != nil { - return m.RawTxHex +func (x *Transaction) GetRawTxHex() string { + if x != nil { + return x.RawTxHex } return "" } -func (m *Transaction) GetLabel() string { - if m != nil { - return m.Label +func (x *Transaction) GetLabel() string { + if x != nil { + return x.Label } return "" } 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. @@ -1014,147 +1417,204 @@ type GetTransactionsRequest struct { //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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Account string `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"` } -func (m *GetTransactionsRequest) Reset() { *m = GetTransactionsRequest{} } -func (m *GetTransactionsRequest) String() string { return proto.CompactTextString(m) } -func (*GetTransactionsRequest) ProtoMessage() {} +func (x *GetTransactionsRequest) Reset() { + *x = GetTransactionsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[2] + 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_rpc_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 GetTransactionsRequest.ProtoReflect.Descriptor instead. func (*GetTransactionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{2} + return file_rpc_proto_rawDescGZIP(), []int{2} } -func (m *GetTransactionsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTransactionsRequest.Unmarshal(m, b) -} -func (m *GetTransactionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTransactionsRequest.Marshal(b, m, deterministic) -} -func (m *GetTransactionsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTransactionsRequest.Merge(m, src) -} -func (m *GetTransactionsRequest) XXX_Size() int { - return xxx_messageInfo_GetTransactionsRequest.Size(m) -} -func (m *GetTransactionsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetTransactionsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetTransactionsRequest proto.InternalMessageInfo - -func (m *GetTransactionsRequest) GetStartHeight() int32 { - if m != nil { - return m.StartHeight +func (x *GetTransactionsRequest) GetStartHeight() int32 { + if x != nil { + return x.StartHeight } return 0 } -func (m *GetTransactionsRequest) GetEndHeight() int32 { - if m != nil { - return m.EndHeight +func (x *GetTransactionsRequest) GetEndHeight() int32 { + if x != nil { + return x.EndHeight } return 0 } -func (m *GetTransactionsRequest) GetAccount() string { - if m != nil { - return m.Account +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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Transactions []*Transaction `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"` } -func (m *TransactionDetails) Reset() { *m = TransactionDetails{} } -func (m *TransactionDetails) String() string { return proto.CompactTextString(m) } -func (*TransactionDetails) ProtoMessage() {} +func (x *TransactionDetails) Reset() { + *x = TransactionDetails{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[3] + 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_rpc_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 TransactionDetails.ProtoReflect.Descriptor instead. func (*TransactionDetails) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{3} + return file_rpc_proto_rawDescGZIP(), []int{3} } -func (m *TransactionDetails) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TransactionDetails.Unmarshal(m, b) -} -func (m *TransactionDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TransactionDetails.Marshal(b, m, deterministic) -} -func (m *TransactionDetails) XXX_Merge(src proto.Message) { - xxx_messageInfo_TransactionDetails.Merge(m, src) -} -func (m *TransactionDetails) XXX_Size() int { - return xxx_messageInfo_TransactionDetails.Size(m) -} -func (m *TransactionDetails) XXX_DiscardUnknown() { - xxx_messageInfo_TransactionDetails.DiscardUnknown(m) -} - -var xxx_messageInfo_TransactionDetails proto.InternalMessageInfo - -func (m *TransactionDetails) GetTransactions() []*Transaction { - if m != nil { - return m.Transactions +func (x *TransactionDetails) GetTransactions() []*Transaction { + if x != nil { + return x.Transactions } return nil } type FeeLimit struct { - // Types that are valid to be assigned to Limit: + 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Limit isFeeLimit_Limit `protobuf_oneof:"limit"` } -func (m *FeeLimit) Reset() { *m = FeeLimit{} } -func (m *FeeLimit) String() string { return proto.CompactTextString(m) } -func (*FeeLimit) ProtoMessage() {} +func (x *FeeLimit) Reset() { + *x = FeeLimit{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[4] + 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_rpc_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 FeeLimit.ProtoReflect.Descriptor instead. func (*FeeLimit) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{4} + return file_rpc_proto_rawDescGZIP(), []int{4} } -func (m *FeeLimit) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FeeLimit.Unmarshal(m, b) -} -func (m *FeeLimit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FeeLimit.Marshal(b, m, deterministic) -} -func (m *FeeLimit) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeeLimit.Merge(m, src) -} -func (m *FeeLimit) XXX_Size() int { - return xxx_messageInfo_FeeLimit.Size(m) -} -func (m *FeeLimit) XXX_DiscardUnknown() { - xxx_messageInfo_FeeLimit.DiscardUnknown(m) +func (m *FeeLimit) GetLimit() isFeeLimit_Limit { + if m != nil { + return m.Limit + } + return nil } -var xxx_messageInfo_FeeLimit proto.InternalMessageInfo +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"` } @@ -1164,44 +1624,11 @@ func (*FeeLimit_FixedMsat) isFeeLimit_Limit() {} func (*FeeLimit_Percent) isFeeLimit_Limit() {} -func (m *FeeLimit) GetLimit() isFeeLimit_Limit { - if m != nil { - return m.Limit - } - return nil -} - -func (m *FeeLimit) GetFixed() int64 { - if x, ok := m.GetLimit().(*FeeLimit_Fixed); ok { - return x.Fixed - } - return 0 -} - -func (m *FeeLimit) GetFixedMsat() int64 { - if x, ok := m.GetLimit().(*FeeLimit_FixedMsat); ok { - return x.FixedMsat - } - return 0 -} - -func (m *FeeLimit) GetPercent() int64 { - if x, ok := m.GetLimit().(*FeeLimit_Percent); ok { - return x.Percent - } - return 0 -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*FeeLimit) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*FeeLimit_Fixed)(nil), - (*FeeLimit_FixedMsat)(nil), - (*FeeLimit_Percent)(nil), - } -} - 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. @@ -1209,7 +1636,9 @@ type SendRequest struct { // //The hex-encoded identity pubkey of the payment recipient. Deprecated now //that the REST gateway supports base64 encoding of bytes fields. - DestString string `protobuf:"bytes,2,opt,name=dest_string,json=destString,proto3" json:"dest_string,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + DestString string `protobuf:"bytes,2,opt,name=dest_string,json=destString,proto3" json:"dest_string,omitempty"` // //The amount to send expressed in satoshis. // @@ -1227,7 +1656,9 @@ type SendRequest struct { // //The hex-encoded hash to use within the payment's HTLC. Deprecated now //that the REST gateway supports base64 encoding of bytes fields. - PaymentHashString string `protobuf:"bytes,5,opt,name=payment_hash_string,json=paymentHashString,proto3" json:"payment_hash_string,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + 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 @@ -1273,215 +1704,231 @@ type SendRequest struct { 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. - PaymentAddr []byte `protobuf:"bytes,16,opt,name=payment_addr,json=paymentAddr,proto3" json:"payment_addr,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + PaymentAddr []byte `protobuf:"bytes,16,opt,name=payment_addr,json=paymentAddr,proto3" json:"payment_addr,omitempty"` } -func (m *SendRequest) Reset() { *m = SendRequest{} } -func (m *SendRequest) String() string { return proto.CompactTextString(m) } -func (*SendRequest) ProtoMessage() {} +func (x *SendRequest) Reset() { + *x = SendRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[5] + 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_rpc_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 SendRequest.ProtoReflect.Descriptor instead. func (*SendRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{5} + return file_rpc_proto_rawDescGZIP(), []int{5} } -func (m *SendRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SendRequest.Unmarshal(m, b) -} -func (m *SendRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SendRequest.Marshal(b, m, deterministic) -} -func (m *SendRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SendRequest.Merge(m, src) -} -func (m *SendRequest) XXX_Size() int { - return xxx_messageInfo_SendRequest.Size(m) -} -func (m *SendRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SendRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SendRequest proto.InternalMessageInfo - -func (m *SendRequest) GetDest() []byte { - if m != nil { - return m.Dest +func (x *SendRequest) GetDest() []byte { + if x != nil { + return x.Dest } return nil } // Deprecated: Do not use. -func (m *SendRequest) GetDestString() string { - if m != nil { - return m.DestString +func (x *SendRequest) GetDestString() string { + if x != nil { + return x.DestString } return "" } -func (m *SendRequest) GetAmt() int64 { - if m != nil { - return m.Amt +func (x *SendRequest) GetAmt() int64 { + if x != nil { + return x.Amt } return 0 } -func (m *SendRequest) GetAmtMsat() int64 { - if m != nil { - return m.AmtMsat +func (x *SendRequest) GetAmtMsat() int64 { + if x != nil { + return x.AmtMsat } return 0 } -func (m *SendRequest) GetPaymentHash() []byte { - if m != nil { - return m.PaymentHash +func (x *SendRequest) GetPaymentHash() []byte { + if x != nil { + return x.PaymentHash } return nil } // Deprecated: Do not use. -func (m *SendRequest) GetPaymentHashString() string { - if m != nil { - return m.PaymentHashString +func (x *SendRequest) GetPaymentHashString() string { + if x != nil { + return x.PaymentHashString } return "" } -func (m *SendRequest) GetPaymentRequest() string { - if m != nil { - return m.PaymentRequest +func (x *SendRequest) GetPaymentRequest() string { + if x != nil { + return x.PaymentRequest } return "" } -func (m *SendRequest) GetFinalCltvDelta() int32 { - if m != nil { - return m.FinalCltvDelta +func (x *SendRequest) GetFinalCltvDelta() int32 { + if x != nil { + return x.FinalCltvDelta } return 0 } -func (m *SendRequest) GetFeeLimit() *FeeLimit { - if m != nil { - return m.FeeLimit +func (x *SendRequest) GetFeeLimit() *FeeLimit { + if x != nil { + return x.FeeLimit } return nil } -func (m *SendRequest) GetOutgoingChanId() uint64 { - if m != nil { - return m.OutgoingChanId +func (x *SendRequest) GetOutgoingChanId() uint64 { + if x != nil { + return x.OutgoingChanId } return 0 } -func (m *SendRequest) GetLastHopPubkey() []byte { - if m != nil { - return m.LastHopPubkey +func (x *SendRequest) GetLastHopPubkey() []byte { + if x != nil { + return x.LastHopPubkey } return nil } -func (m *SendRequest) GetCltvLimit() uint32 { - if m != nil { - return m.CltvLimit +func (x *SendRequest) GetCltvLimit() uint32 { + if x != nil { + return x.CltvLimit } return 0 } -func (m *SendRequest) GetDestCustomRecords() map[uint64][]byte { - if m != nil { - return m.DestCustomRecords +func (x *SendRequest) GetDestCustomRecords() map[uint64][]byte { + if x != nil { + return x.DestCustomRecords } return nil } -func (m *SendRequest) GetAllowSelfPayment() bool { - if m != nil { - return m.AllowSelfPayment +func (x *SendRequest) GetAllowSelfPayment() bool { + if x != nil { + return x.AllowSelfPayment } return false } -func (m *SendRequest) GetDestFeatures() []FeatureBit { - if m != nil { - return m.DestFeatures +func (x *SendRequest) GetDestFeatures() []FeatureBit { + if x != nil { + return x.DestFeatures } return nil } -func (m *SendRequest) GetPaymentAddr() []byte { - if m != nil { - return m.PaymentAddr +func (x *SendRequest) GetPaymentAddr() []byte { + if x != nil { + return x.PaymentAddr } return nil } type SendResponse struct { - 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + 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 (m *SendResponse) Reset() { *m = SendResponse{} } -func (m *SendResponse) String() string { return proto.CompactTextString(m) } -func (*SendResponse) ProtoMessage() {} +func (x *SendResponse) Reset() { + *x = SendResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[6] + 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_rpc_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 SendResponse.ProtoReflect.Descriptor instead. func (*SendResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{6} + return file_rpc_proto_rawDescGZIP(), []int{6} } -func (m *SendResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SendResponse.Unmarshal(m, b) -} -func (m *SendResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SendResponse.Marshal(b, m, deterministic) -} -func (m *SendResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SendResponse.Merge(m, src) -} -func (m *SendResponse) XXX_Size() int { - return xxx_messageInfo_SendResponse.Size(m) -} -func (m *SendResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SendResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_SendResponse proto.InternalMessageInfo - -func (m *SendResponse) GetPaymentError() string { - if m != nil { - return m.PaymentError +func (x *SendResponse) GetPaymentError() string { + if x != nil { + return x.PaymentError } return "" } -func (m *SendResponse) GetPaymentPreimage() []byte { - if m != nil { - return m.PaymentPreimage +func (x *SendResponse) GetPaymentPreimage() []byte { + if x != nil { + return x.PaymentPreimage } return nil } -func (m *SendResponse) GetPaymentRoute() *Route { - if m != nil { - return m.PaymentRoute +func (x *SendResponse) GetPaymentRoute() *Route { + if x != nil { + return x.PaymentRoute } return nil } -func (m *SendResponse) GetPaymentHash() []byte { - if m != nil { - return m.PaymentHash +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. @@ -1489,62 +1936,72 @@ type SendToRouteRequest struct { // //An optional hex-encoded payment hash to be used for the HTLC. Deprecated now //that the REST gateway supports base64 encoding of bytes fields. - PaymentHashString string `protobuf:"bytes,2,opt,name=payment_hash_string,json=paymentHashString,proto3" json:"payment_hash_string,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Route *Route `protobuf:"bytes,4,opt,name=route,proto3" json:"route,omitempty"` } -func (m *SendToRouteRequest) Reset() { *m = SendToRouteRequest{} } -func (m *SendToRouteRequest) String() string { return proto.CompactTextString(m) } -func (*SendToRouteRequest) ProtoMessage() {} +func (x *SendToRouteRequest) Reset() { + *x = SendToRouteRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[7] + 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_rpc_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 SendToRouteRequest.ProtoReflect.Descriptor instead. func (*SendToRouteRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{7} + return file_rpc_proto_rawDescGZIP(), []int{7} } -func (m *SendToRouteRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SendToRouteRequest.Unmarshal(m, b) -} -func (m *SendToRouteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SendToRouteRequest.Marshal(b, m, deterministic) -} -func (m *SendToRouteRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SendToRouteRequest.Merge(m, src) -} -func (m *SendToRouteRequest) XXX_Size() int { - return xxx_messageInfo_SendToRouteRequest.Size(m) -} -func (m *SendToRouteRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SendToRouteRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SendToRouteRequest proto.InternalMessageInfo - -func (m *SendToRouteRequest) GetPaymentHash() []byte { - if m != nil { - return m.PaymentHash +func (x *SendToRouteRequest) GetPaymentHash() []byte { + if x != nil { + return x.PaymentHash } return nil } // Deprecated: Do not use. -func (m *SendToRouteRequest) GetPaymentHashString() string { - if m != nil { - return m.PaymentHashString +func (x *SendToRouteRequest) GetPaymentHashString() string { + if x != nil { + return x.PaymentHashString } return "" } -func (m *SendToRouteRequest) GetRoute() *Route { - if m != nil { - return m.Route +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. @@ -1577,129 +2034,137 @@ type ChannelAcceptRequest struct { 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ChannelFlags uint32 `protobuf:"varint,13,opt,name=channel_flags,json=channelFlags,proto3" json:"channel_flags,omitempty"` } -func (m *ChannelAcceptRequest) Reset() { *m = ChannelAcceptRequest{} } -func (m *ChannelAcceptRequest) String() string { return proto.CompactTextString(m) } -func (*ChannelAcceptRequest) ProtoMessage() {} +func (x *ChannelAcceptRequest) Reset() { + *x = ChannelAcceptRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[8] + 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_rpc_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 ChannelAcceptRequest.ProtoReflect.Descriptor instead. func (*ChannelAcceptRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{8} + return file_rpc_proto_rawDescGZIP(), []int{8} } -func (m *ChannelAcceptRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ChannelAcceptRequest.Unmarshal(m, b) -} -func (m *ChannelAcceptRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ChannelAcceptRequest.Marshal(b, m, deterministic) -} -func (m *ChannelAcceptRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChannelAcceptRequest.Merge(m, src) -} -func (m *ChannelAcceptRequest) XXX_Size() int { - return xxx_messageInfo_ChannelAcceptRequest.Size(m) -} -func (m *ChannelAcceptRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ChannelAcceptRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ChannelAcceptRequest proto.InternalMessageInfo - -func (m *ChannelAcceptRequest) GetNodePubkey() []byte { - if m != nil { - return m.NodePubkey +func (x *ChannelAcceptRequest) GetNodePubkey() []byte { + if x != nil { + return x.NodePubkey } return nil } -func (m *ChannelAcceptRequest) GetChainHash() []byte { - if m != nil { - return m.ChainHash +func (x *ChannelAcceptRequest) GetChainHash() []byte { + if x != nil { + return x.ChainHash } return nil } -func (m *ChannelAcceptRequest) GetPendingChanId() []byte { - if m != nil { - return m.PendingChanId +func (x *ChannelAcceptRequest) GetPendingChanId() []byte { + if x != nil { + return x.PendingChanId } return nil } -func (m *ChannelAcceptRequest) GetFundingAmt() uint64 { - if m != nil { - return m.FundingAmt +func (x *ChannelAcceptRequest) GetFundingAmt() uint64 { + if x != nil { + return x.FundingAmt } return 0 } -func (m *ChannelAcceptRequest) GetPushAmt() uint64 { - if m != nil { - return m.PushAmt +func (x *ChannelAcceptRequest) GetPushAmt() uint64 { + if x != nil { + return x.PushAmt } return 0 } -func (m *ChannelAcceptRequest) GetDustLimit() uint64 { - if m != nil { - return m.DustLimit +func (x *ChannelAcceptRequest) GetDustLimit() uint64 { + if x != nil { + return x.DustLimit } return 0 } -func (m *ChannelAcceptRequest) GetMaxValueInFlight() uint64 { - if m != nil { - return m.MaxValueInFlight +func (x *ChannelAcceptRequest) GetMaxValueInFlight() uint64 { + if x != nil { + return x.MaxValueInFlight } return 0 } -func (m *ChannelAcceptRequest) GetChannelReserve() uint64 { - if m != nil { - return m.ChannelReserve +func (x *ChannelAcceptRequest) GetChannelReserve() uint64 { + if x != nil { + return x.ChannelReserve } return 0 } -func (m *ChannelAcceptRequest) GetMinHtlc() uint64 { - if m != nil { - return m.MinHtlc +func (x *ChannelAcceptRequest) GetMinHtlc() uint64 { + if x != nil { + return x.MinHtlc } return 0 } -func (m *ChannelAcceptRequest) GetFeePerKw() uint64 { - if m != nil { - return m.FeePerKw +func (x *ChannelAcceptRequest) GetFeePerKw() uint64 { + if x != nil { + return x.FeePerKw } return 0 } -func (m *ChannelAcceptRequest) GetCsvDelay() uint32 { - if m != nil { - return m.CsvDelay +func (x *ChannelAcceptRequest) GetCsvDelay() uint32 { + if x != nil { + return x.CsvDelay } return 0 } -func (m *ChannelAcceptRequest) GetMaxAcceptedHtlcs() uint32 { - if m != nil { - return m.MaxAcceptedHtlcs +func (x *ChannelAcceptRequest) GetMaxAcceptedHtlcs() uint32 { + if x != nil { + return x.MaxAcceptedHtlcs } return 0 } -func (m *ChannelAcceptRequest) GetChannelFlags() uint32 { - if m != nil { - return m.ChannelFlags +func (x *ChannelAcceptRequest) GetChannelFlags() uint32 { + if x != nil { + return x.ChannelFlags } return 0 } 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. @@ -1739,160 +2204,156 @@ type ChannelAcceptResponse struct { 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + MinAcceptDepth uint32 `protobuf:"varint,10,opt,name=min_accept_depth,json=minAcceptDepth,proto3" json:"min_accept_depth,omitempty"` } -func (m *ChannelAcceptResponse) Reset() { *m = ChannelAcceptResponse{} } -func (m *ChannelAcceptResponse) String() string { return proto.CompactTextString(m) } -func (*ChannelAcceptResponse) ProtoMessage() {} +func (x *ChannelAcceptResponse) Reset() { + *x = ChannelAcceptResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[9] + 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_rpc_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 ChannelAcceptResponse.ProtoReflect.Descriptor instead. func (*ChannelAcceptResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{9} + return file_rpc_proto_rawDescGZIP(), []int{9} } -func (m *ChannelAcceptResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ChannelAcceptResponse.Unmarshal(m, b) -} -func (m *ChannelAcceptResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ChannelAcceptResponse.Marshal(b, m, deterministic) -} -func (m *ChannelAcceptResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChannelAcceptResponse.Merge(m, src) -} -func (m *ChannelAcceptResponse) XXX_Size() int { - return xxx_messageInfo_ChannelAcceptResponse.Size(m) -} -func (m *ChannelAcceptResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ChannelAcceptResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ChannelAcceptResponse proto.InternalMessageInfo - -func (m *ChannelAcceptResponse) GetAccept() bool { - if m != nil { - return m.Accept +func (x *ChannelAcceptResponse) GetAccept() bool { + if x != nil { + return x.Accept } return false } -func (m *ChannelAcceptResponse) GetPendingChanId() []byte { - if m != nil { - return m.PendingChanId +func (x *ChannelAcceptResponse) GetPendingChanId() []byte { + if x != nil { + return x.PendingChanId } return nil } -func (m *ChannelAcceptResponse) GetError() string { - if m != nil { - return m.Error +func (x *ChannelAcceptResponse) GetError() string { + if x != nil { + return x.Error } return "" } -func (m *ChannelAcceptResponse) GetUpfrontShutdown() string { - if m != nil { - return m.UpfrontShutdown +func (x *ChannelAcceptResponse) GetUpfrontShutdown() string { + if x != nil { + return x.UpfrontShutdown } return "" } -func (m *ChannelAcceptResponse) GetCsvDelay() uint32 { - if m != nil { - return m.CsvDelay +func (x *ChannelAcceptResponse) GetCsvDelay() uint32 { + if x != nil { + return x.CsvDelay } return 0 } -func (m *ChannelAcceptResponse) GetReserveSat() uint64 { - if m != nil { - return m.ReserveSat +func (x *ChannelAcceptResponse) GetReserveSat() uint64 { + if x != nil { + return x.ReserveSat } return 0 } -func (m *ChannelAcceptResponse) GetInFlightMaxMsat() uint64 { - if m != nil { - return m.InFlightMaxMsat +func (x *ChannelAcceptResponse) GetInFlightMaxMsat() uint64 { + if x != nil { + return x.InFlightMaxMsat } return 0 } -func (m *ChannelAcceptResponse) GetMaxHtlcCount() uint32 { - if m != nil { - return m.MaxHtlcCount +func (x *ChannelAcceptResponse) GetMaxHtlcCount() uint32 { + if x != nil { + return x.MaxHtlcCount } return 0 } -func (m *ChannelAcceptResponse) GetMinHtlcIn() uint64 { - if m != nil { - return m.MinHtlcIn +func (x *ChannelAcceptResponse) GetMinHtlcIn() uint64 { + if x != nil { + return x.MinHtlcIn } return 0 } -func (m *ChannelAcceptResponse) GetMinAcceptDepth() uint32 { - if m != nil { - return m.MinAcceptDepth +func (x *ChannelAcceptResponse) GetMinAcceptDepth() uint32 { + if x != nil { + return x.MinAcceptDepth } return 0 } type ChannelPoint struct { - // Types that are valid to be assigned to FundingTxid: + 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + OutputIndex uint32 `protobuf:"varint,3,opt,name=output_index,json=outputIndex,proto3" json:"output_index,omitempty"` } -func (m *ChannelPoint) Reset() { *m = ChannelPoint{} } -func (m *ChannelPoint) String() string { return proto.CompactTextString(m) } -func (*ChannelPoint) ProtoMessage() {} +func (x *ChannelPoint) Reset() { + *x = ChannelPoint{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[10] + 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_rpc_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 ChannelPoint.ProtoReflect.Descriptor instead. func (*ChannelPoint) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{10} + return file_rpc_proto_rawDescGZIP(), []int{10} } -func (m *ChannelPoint) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ChannelPoint.Unmarshal(m, b) -} -func (m *ChannelPoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ChannelPoint.Marshal(b, m, deterministic) -} -func (m *ChannelPoint) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChannelPoint.Merge(m, src) -} -func (m *ChannelPoint) XXX_Size() int { - return xxx_messageInfo_ChannelPoint.Size(m) -} -func (m *ChannelPoint) XXX_DiscardUnknown() { - xxx_messageInfo_ChannelPoint.DiscardUnknown(m) -} - -var xxx_messageInfo_ChannelPoint proto.InternalMessageInfo - -type isChannelPoint_FundingTxid interface { - isChannelPoint_FundingTxid() -} - -type ChannelPoint_FundingTxidBytes struct { - FundingTxidBytes []byte `protobuf:"bytes,1,opt,name=funding_txid_bytes,json=fundingTxidBytes,proto3,oneof"` -} - -type ChannelPoint_FundingTxidStr struct { - FundingTxidStr string `protobuf:"bytes,2,opt,name=funding_txid_str,json=fundingTxidStr,proto3,oneof"` -} - -func (*ChannelPoint_FundingTxidBytes) isChannelPoint_FundingTxid() {} - -func (*ChannelPoint_FundingTxidStr) isChannelPoint_FundingTxid() {} - func (m *ChannelPoint) GetFundingTxid() isChannelPoint_FundingTxid { if m != nil { return m.FundingTxid @@ -1900,144 +2361,178 @@ func (m *ChannelPoint) GetFundingTxid() isChannelPoint_FundingTxid { return nil } -func (m *ChannelPoint) GetFundingTxidBytes() []byte { - if x, ok := m.GetFundingTxid().(*ChannelPoint_FundingTxidBytes); ok { +func (x *ChannelPoint) GetFundingTxidBytes() []byte { + if x, ok := x.GetFundingTxid().(*ChannelPoint_FundingTxidBytes); ok { return x.FundingTxidBytes } return nil } -func (m *ChannelPoint) GetFundingTxidStr() string { - if x, ok := m.GetFundingTxid().(*ChannelPoint_FundingTxidStr); ok { +func (x *ChannelPoint) GetFundingTxidStr() string { + if x, ok := x.GetFundingTxid().(*ChannelPoint_FundingTxidStr); ok { return x.FundingTxidStr } return "" } -func (m *ChannelPoint) GetOutputIndex() uint32 { - if m != nil { - return m.OutputIndex +func (x *ChannelPoint) GetOutputIndex() uint32 { + if x != nil { + return x.OutputIndex } return 0 } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ChannelPoint) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ChannelPoint_FundingTxidBytes)(nil), - (*ChannelPoint_FundingTxidStr)(nil), - } +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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + OutputIndex uint32 `protobuf:"varint,3,opt,name=output_index,json=outputIndex,proto3" json:"output_index,omitempty"` } -func (m *OutPoint) Reset() { *m = OutPoint{} } -func (m *OutPoint) String() string { return proto.CompactTextString(m) } -func (*OutPoint) ProtoMessage() {} +func (x *OutPoint) Reset() { + *x = OutPoint{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[11] + 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_rpc_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 OutPoint.ProtoReflect.Descriptor instead. func (*OutPoint) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{11} + return file_rpc_proto_rawDescGZIP(), []int{11} } -func (m *OutPoint) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OutPoint.Unmarshal(m, b) -} -func (m *OutPoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OutPoint.Marshal(b, m, deterministic) -} -func (m *OutPoint) XXX_Merge(src proto.Message) { - xxx_messageInfo_OutPoint.Merge(m, src) -} -func (m *OutPoint) XXX_Size() int { - return xxx_messageInfo_OutPoint.Size(m) -} -func (m *OutPoint) XXX_DiscardUnknown() { - xxx_messageInfo_OutPoint.DiscardUnknown(m) -} - -var xxx_messageInfo_OutPoint proto.InternalMessageInfo - -func (m *OutPoint) GetTxidBytes() []byte { - if m != nil { - return m.TxidBytes +func (x *OutPoint) GetTxidBytes() []byte { + if x != nil { + return x.TxidBytes } return nil } -func (m *OutPoint) GetTxidStr() string { - if m != nil { - return m.TxidStr +func (x *OutPoint) GetTxidStr() string { + if x != nil { + return x.TxidStr } return "" } -func (m *OutPoint) GetOutputIndex() uint32 { - if m != nil { - return m.OutputIndex +func (x *OutPoint) GetOutputIndex() uint32 { + if x != nil { + return x.OutputIndex } return 0 } 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"` } -func (m *LightningAddress) Reset() { *m = LightningAddress{} } -func (m *LightningAddress) String() string { return proto.CompactTextString(m) } -func (*LightningAddress) ProtoMessage() {} +func (x *LightningAddress) Reset() { + *x = LightningAddress{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[12] + 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_rpc_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 LightningAddress.ProtoReflect.Descriptor instead. func (*LightningAddress) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{12} + return file_rpc_proto_rawDescGZIP(), []int{12} } -func (m *LightningAddress) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LightningAddress.Unmarshal(m, b) -} -func (m *LightningAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LightningAddress.Marshal(b, m, deterministic) -} -func (m *LightningAddress) XXX_Merge(src proto.Message) { - xxx_messageInfo_LightningAddress.Merge(m, src) -} -func (m *LightningAddress) XXX_Size() int { - return xxx_messageInfo_LightningAddress.Size(m) -} -func (m *LightningAddress) XXX_DiscardUnknown() { - xxx_messageInfo_LightningAddress.DiscardUnknown(m) -} - -var xxx_messageInfo_LightningAddress proto.InternalMessageInfo - -func (m *LightningAddress) GetPubkey() string { - if m != nil { - return m.Pubkey +func (x *LightningAddress) GetPubkey() string { + if x != nil { + return x.Pubkey } return "" } -func (m *LightningAddress) GetHost() string { - if m != nil { - return m.Host +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 @@ -2047,126 +2542,144 @@ type EstimateFeeRequest struct { // 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SpendUnconfirmed bool `protobuf:"varint,4,opt,name=spend_unconfirmed,json=spendUnconfirmed,proto3" json:"spend_unconfirmed,omitempty"` } -func (m *EstimateFeeRequest) Reset() { *m = EstimateFeeRequest{} } -func (m *EstimateFeeRequest) String() string { return proto.CompactTextString(m) } -func (*EstimateFeeRequest) ProtoMessage() {} +func (x *EstimateFeeRequest) Reset() { + *x = EstimateFeeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[13] + 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_rpc_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 EstimateFeeRequest.ProtoReflect.Descriptor instead. func (*EstimateFeeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{13} + return file_rpc_proto_rawDescGZIP(), []int{13} } -func (m *EstimateFeeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EstimateFeeRequest.Unmarshal(m, b) -} -func (m *EstimateFeeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EstimateFeeRequest.Marshal(b, m, deterministic) -} -func (m *EstimateFeeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_EstimateFeeRequest.Merge(m, src) -} -func (m *EstimateFeeRequest) XXX_Size() int { - return xxx_messageInfo_EstimateFeeRequest.Size(m) -} -func (m *EstimateFeeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_EstimateFeeRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_EstimateFeeRequest proto.InternalMessageInfo - -func (m *EstimateFeeRequest) GetAddrToAmount() map[string]int64 { - if m != nil { - return m.AddrToAmount +func (x *EstimateFeeRequest) GetAddrToAmount() map[string]int64 { + if x != nil { + return x.AddrToAmount } return nil } -func (m *EstimateFeeRequest) GetTargetConf() int32 { - if m != nil { - return m.TargetConf +func (x *EstimateFeeRequest) GetTargetConf() int32 { + if x != nil { + return x.TargetConf } return 0 } -func (m *EstimateFeeRequest) GetMinConfs() int32 { - if m != nil { - return m.MinConfs +func (x *EstimateFeeRequest) GetMinConfs() int32 { + if x != nil { + return x.MinConfs } return 0 } -func (m *EstimateFeeRequest) GetSpendUnconfirmed() bool { - if m != nil { - return m.SpendUnconfirmed +func (x *EstimateFeeRequest) GetSpendUnconfirmed() bool { + if x != nil { + return x.SpendUnconfirmed } return false } 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. - FeerateSatPerByte int64 `protobuf:"varint,2,opt,name=feerate_sat_per_byte,json=feerateSatPerByte,proto3" json:"feerate_sat_per_byte,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SatPerVbyte uint64 `protobuf:"varint,3,opt,name=sat_per_vbyte,json=satPerVbyte,proto3" json:"sat_per_vbyte,omitempty"` } -func (m *EstimateFeeResponse) Reset() { *m = EstimateFeeResponse{} } -func (m *EstimateFeeResponse) String() string { return proto.CompactTextString(m) } -func (*EstimateFeeResponse) ProtoMessage() {} +func (x *EstimateFeeResponse) Reset() { + *x = EstimateFeeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[14] + 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_rpc_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 EstimateFeeResponse.ProtoReflect.Descriptor instead. func (*EstimateFeeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{14} + return file_rpc_proto_rawDescGZIP(), []int{14} } -func (m *EstimateFeeResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EstimateFeeResponse.Unmarshal(m, b) -} -func (m *EstimateFeeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EstimateFeeResponse.Marshal(b, m, deterministic) -} -func (m *EstimateFeeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_EstimateFeeResponse.Merge(m, src) -} -func (m *EstimateFeeResponse) XXX_Size() int { - return xxx_messageInfo_EstimateFeeResponse.Size(m) -} -func (m *EstimateFeeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_EstimateFeeResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_EstimateFeeResponse proto.InternalMessageInfo - -func (m *EstimateFeeResponse) GetFeeSat() int64 { - if m != nil { - return m.FeeSat +func (x *EstimateFeeResponse) GetFeeSat() int64 { + if x != nil { + return x.FeeSat } return 0 } // Deprecated: Do not use. -func (m *EstimateFeeResponse) GetFeerateSatPerByte() int64 { - if m != nil { - return m.FeerateSatPerByte +func (x *EstimateFeeResponse) GetFeerateSatPerByte() int64 { + if x != nil { + return x.FeerateSatPerByte } return 0 } -func (m *EstimateFeeResponse) GetSatPerVbyte() uint64 { - if m != nil { - return m.SatPerVbyte +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 @@ -2178,135 +2691,153 @@ type SendManyRequest struct { // Deprecated, use sat_per_vbyte. // A manual fee rate set in sat/vbyte that should be used when crafting the // transaction. - SatPerByte int64 `protobuf:"varint,5,opt,name=sat_per_byte,json=satPerByte,proto3" json:"sat_per_byte,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SpendUnconfirmed bool `protobuf:"varint,8,opt,name=spend_unconfirmed,json=spendUnconfirmed,proto3" json:"spend_unconfirmed,omitempty"` } -func (m *SendManyRequest) Reset() { *m = SendManyRequest{} } -func (m *SendManyRequest) String() string { return proto.CompactTextString(m) } -func (*SendManyRequest) ProtoMessage() {} +func (x *SendManyRequest) Reset() { + *x = SendManyRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[15] + 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_rpc_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 SendManyRequest.ProtoReflect.Descriptor instead. func (*SendManyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{15} + return file_rpc_proto_rawDescGZIP(), []int{15} } -func (m *SendManyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SendManyRequest.Unmarshal(m, b) -} -func (m *SendManyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SendManyRequest.Marshal(b, m, deterministic) -} -func (m *SendManyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SendManyRequest.Merge(m, src) -} -func (m *SendManyRequest) XXX_Size() int { - return xxx_messageInfo_SendManyRequest.Size(m) -} -func (m *SendManyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SendManyRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SendManyRequest proto.InternalMessageInfo - -func (m *SendManyRequest) GetAddrToAmount() map[string]int64 { - if m != nil { - return m.AddrToAmount +func (x *SendManyRequest) GetAddrToAmount() map[string]int64 { + if x != nil { + return x.AddrToAmount } return nil } -func (m *SendManyRequest) GetTargetConf() int32 { - if m != nil { - return m.TargetConf +func (x *SendManyRequest) GetTargetConf() int32 { + if x != nil { + return x.TargetConf } return 0 } -func (m *SendManyRequest) GetSatPerVbyte() uint64 { - if m != nil { - return m.SatPerVbyte +func (x *SendManyRequest) GetSatPerVbyte() uint64 { + if x != nil { + return x.SatPerVbyte } return 0 } // Deprecated: Do not use. -func (m *SendManyRequest) GetSatPerByte() int64 { - if m != nil { - return m.SatPerByte +func (x *SendManyRequest) GetSatPerByte() int64 { + if x != nil { + return x.SatPerByte } return 0 } -func (m *SendManyRequest) GetLabel() string { - if m != nil { - return m.Label +func (x *SendManyRequest) GetLabel() string { + if x != nil { + return x.Label } return "" } -func (m *SendManyRequest) GetMinConfs() int32 { - if m != nil { - return m.MinConfs +func (x *SendManyRequest) GetMinConfs() int32 { + if x != nil { + return x.MinConfs } return 0 } -func (m *SendManyRequest) GetSpendUnconfirmed() bool { - if m != nil { - return m.SpendUnconfirmed +func (x *SendManyRequest) GetSpendUnconfirmed() bool { + if x != nil { + return x.SpendUnconfirmed } return false } 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Txid string `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"` } -func (m *SendManyResponse) Reset() { *m = SendManyResponse{} } -func (m *SendManyResponse) String() string { return proto.CompactTextString(m) } -func (*SendManyResponse) ProtoMessage() {} +func (x *SendManyResponse) Reset() { + *x = SendManyResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[16] + 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_rpc_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 SendManyResponse.ProtoReflect.Descriptor instead. func (*SendManyResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{16} + return file_rpc_proto_rawDescGZIP(), []int{16} } -func (m *SendManyResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SendManyResponse.Unmarshal(m, b) -} -func (m *SendManyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SendManyResponse.Marshal(b, m, deterministic) -} -func (m *SendManyResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SendManyResponse.Merge(m, src) -} -func (m *SendManyResponse) XXX_Size() int { - return xxx_messageInfo_SendManyResponse.Size(m) -} -func (m *SendManyResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SendManyResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_SendManyResponse proto.InternalMessageInfo - -func (m *SendManyResponse) GetTxid() string { - if m != nil { - return m.Txid +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 @@ -2320,7 +2851,9 @@ type SendCoinsRequest struct { // Deprecated, use sat_per_vbyte. // A manual fee rate set in sat/vbyte that should be used when crafting the // transaction. - SatPerByte int64 `protobuf:"varint,5,opt,name=sat_per_byte,json=satPerByte,proto3" json:"sat_per_byte,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + SatPerByte int64 `protobuf:"varint,5,opt,name=sat_per_byte,json=satPerByte,proto3" json:"sat_per_byte,omitempty"` // //If set, then the amount field will be ignored, and lnd will attempt to //send all the coins under control of the internal wallet to the specified @@ -2332,513 +2865,593 @@ type SendCoinsRequest struct { // 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SpendUnconfirmed bool `protobuf:"varint,9,opt,name=spend_unconfirmed,json=spendUnconfirmed,proto3" json:"spend_unconfirmed,omitempty"` } -func (m *SendCoinsRequest) Reset() { *m = SendCoinsRequest{} } -func (m *SendCoinsRequest) String() string { return proto.CompactTextString(m) } -func (*SendCoinsRequest) ProtoMessage() {} +func (x *SendCoinsRequest) Reset() { + *x = SendCoinsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[17] + 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_rpc_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 SendCoinsRequest.ProtoReflect.Descriptor instead. func (*SendCoinsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{17} + return file_rpc_proto_rawDescGZIP(), []int{17} } -func (m *SendCoinsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SendCoinsRequest.Unmarshal(m, b) -} -func (m *SendCoinsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SendCoinsRequest.Marshal(b, m, deterministic) -} -func (m *SendCoinsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SendCoinsRequest.Merge(m, src) -} -func (m *SendCoinsRequest) XXX_Size() int { - return xxx_messageInfo_SendCoinsRequest.Size(m) -} -func (m *SendCoinsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SendCoinsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SendCoinsRequest proto.InternalMessageInfo - -func (m *SendCoinsRequest) GetAddr() string { - if m != nil { - return m.Addr +func (x *SendCoinsRequest) GetAddr() string { + if x != nil { + return x.Addr } return "" } -func (m *SendCoinsRequest) GetAmount() int64 { - if m != nil { - return m.Amount +func (x *SendCoinsRequest) GetAmount() int64 { + if x != nil { + return x.Amount } return 0 } -func (m *SendCoinsRequest) GetTargetConf() int32 { - if m != nil { - return m.TargetConf +func (x *SendCoinsRequest) GetTargetConf() int32 { + if x != nil { + return x.TargetConf } return 0 } -func (m *SendCoinsRequest) GetSatPerVbyte() uint64 { - if m != nil { - return m.SatPerVbyte +func (x *SendCoinsRequest) GetSatPerVbyte() uint64 { + if x != nil { + return x.SatPerVbyte } return 0 } // Deprecated: Do not use. -func (m *SendCoinsRequest) GetSatPerByte() int64 { - if m != nil { - return m.SatPerByte +func (x *SendCoinsRequest) GetSatPerByte() int64 { + if x != nil { + return x.SatPerByte } return 0 } -func (m *SendCoinsRequest) GetSendAll() bool { - if m != nil { - return m.SendAll +func (x *SendCoinsRequest) GetSendAll() bool { + if x != nil { + return x.SendAll } return false } -func (m *SendCoinsRequest) GetLabel() string { - if m != nil { - return m.Label +func (x *SendCoinsRequest) GetLabel() string { + if x != nil { + return x.Label } return "" } -func (m *SendCoinsRequest) GetMinConfs() int32 { - if m != nil { - return m.MinConfs +func (x *SendCoinsRequest) GetMinConfs() int32 { + if x != nil { + return x.MinConfs } return 0 } -func (m *SendCoinsRequest) GetSpendUnconfirmed() bool { - if m != nil { - return m.SpendUnconfirmed +func (x *SendCoinsRequest) GetSpendUnconfirmed() bool { + if x != nil { + return x.SpendUnconfirmed } return false } 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Txid string `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"` } -func (m *SendCoinsResponse) Reset() { *m = SendCoinsResponse{} } -func (m *SendCoinsResponse) String() string { return proto.CompactTextString(m) } -func (*SendCoinsResponse) ProtoMessage() {} +func (x *SendCoinsResponse) Reset() { + *x = SendCoinsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[18] + 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_rpc_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 SendCoinsResponse.ProtoReflect.Descriptor instead. func (*SendCoinsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{18} + return file_rpc_proto_rawDescGZIP(), []int{18} } -func (m *SendCoinsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SendCoinsResponse.Unmarshal(m, b) -} -func (m *SendCoinsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SendCoinsResponse.Marshal(b, m, deterministic) -} -func (m *SendCoinsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SendCoinsResponse.Merge(m, src) -} -func (m *SendCoinsResponse) XXX_Size() int { - return xxx_messageInfo_SendCoinsResponse.Size(m) -} -func (m *SendCoinsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SendCoinsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_SendCoinsResponse proto.InternalMessageInfo - -func (m *SendCoinsResponse) GetTxid() string { - if m != nil { - return m.Txid +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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Account string `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"` } -func (m *ListUnspentRequest) Reset() { *m = ListUnspentRequest{} } -func (m *ListUnspentRequest) String() string { return proto.CompactTextString(m) } -func (*ListUnspentRequest) ProtoMessage() {} +func (x *ListUnspentRequest) Reset() { + *x = ListUnspentRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[19] + 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_rpc_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 ListUnspentRequest.ProtoReflect.Descriptor instead. func (*ListUnspentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{19} + return file_rpc_proto_rawDescGZIP(), []int{19} } -func (m *ListUnspentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListUnspentRequest.Unmarshal(m, b) -} -func (m *ListUnspentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListUnspentRequest.Marshal(b, m, deterministic) -} -func (m *ListUnspentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListUnspentRequest.Merge(m, src) -} -func (m *ListUnspentRequest) XXX_Size() int { - return xxx_messageInfo_ListUnspentRequest.Size(m) -} -func (m *ListUnspentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListUnspentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListUnspentRequest proto.InternalMessageInfo - -func (m *ListUnspentRequest) GetMinConfs() int32 { - if m != nil { - return m.MinConfs +func (x *ListUnspentRequest) GetMinConfs() int32 { + if x != nil { + return x.MinConfs } return 0 } -func (m *ListUnspentRequest) GetMaxConfs() int32 { - if m != nil { - return m.MaxConfs +func (x *ListUnspentRequest) GetMaxConfs() int32 { + if x != nil { + return x.MaxConfs } return 0 } -func (m *ListUnspentRequest) GetAccount() string { - if m != nil { - return m.Account +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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Utxos []*Utxo `protobuf:"bytes,1,rep,name=utxos,proto3" json:"utxos,omitempty"` } -func (m *ListUnspentResponse) Reset() { *m = ListUnspentResponse{} } -func (m *ListUnspentResponse) String() string { return proto.CompactTextString(m) } -func (*ListUnspentResponse) ProtoMessage() {} +func (x *ListUnspentResponse) Reset() { + *x = ListUnspentResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[20] + 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_rpc_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 ListUnspentResponse.ProtoReflect.Descriptor instead. func (*ListUnspentResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{20} + return file_rpc_proto_rawDescGZIP(), []int{20} } -func (m *ListUnspentResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListUnspentResponse.Unmarshal(m, b) -} -func (m *ListUnspentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListUnspentResponse.Marshal(b, m, deterministic) -} -func (m *ListUnspentResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListUnspentResponse.Merge(m, src) -} -func (m *ListUnspentResponse) XXX_Size() int { - return xxx_messageInfo_ListUnspentResponse.Size(m) -} -func (m *ListUnspentResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListUnspentResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListUnspentResponse proto.InternalMessageInfo - -func (m *ListUnspentResponse) GetUtxos() []*Utxo { - if m != nil { - return m.Utxos +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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Account string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"` } -func (m *NewAddressRequest) Reset() { *m = NewAddressRequest{} } -func (m *NewAddressRequest) String() string { return proto.CompactTextString(m) } -func (*NewAddressRequest) ProtoMessage() {} +func (x *NewAddressRequest) Reset() { + *x = NewAddressRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[21] + 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_rpc_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 NewAddressRequest.ProtoReflect.Descriptor instead. func (*NewAddressRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{21} + return file_rpc_proto_rawDescGZIP(), []int{21} } -func (m *NewAddressRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NewAddressRequest.Unmarshal(m, b) -} -func (m *NewAddressRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NewAddressRequest.Marshal(b, m, deterministic) -} -func (m *NewAddressRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_NewAddressRequest.Merge(m, src) -} -func (m *NewAddressRequest) XXX_Size() int { - return xxx_messageInfo_NewAddressRequest.Size(m) -} -func (m *NewAddressRequest) XXX_DiscardUnknown() { - xxx_messageInfo_NewAddressRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_NewAddressRequest proto.InternalMessageInfo - -func (m *NewAddressRequest) GetType() AddressType { - if m != nil { - return m.Type +func (x *NewAddressRequest) GetType() AddressType { + if x != nil { + return x.Type } return AddressType_WITNESS_PUBKEY_HASH } -func (m *NewAddressRequest) GetAccount() string { - if m != nil { - return m.Account +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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` } -func (m *NewAddressResponse) Reset() { *m = NewAddressResponse{} } -func (m *NewAddressResponse) String() string { return proto.CompactTextString(m) } -func (*NewAddressResponse) ProtoMessage() {} +func (x *NewAddressResponse) Reset() { + *x = NewAddressResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[22] + 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_rpc_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 NewAddressResponse.ProtoReflect.Descriptor instead. func (*NewAddressResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{22} + return file_rpc_proto_rawDescGZIP(), []int{22} } -func (m *NewAddressResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NewAddressResponse.Unmarshal(m, b) -} -func (m *NewAddressResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NewAddressResponse.Marshal(b, m, deterministic) -} -func (m *NewAddressResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_NewAddressResponse.Merge(m, src) -} -func (m *NewAddressResponse) XXX_Size() int { - return xxx_messageInfo_NewAddressResponse.Size(m) -} -func (m *NewAddressResponse) XXX_DiscardUnknown() { - xxx_messageInfo_NewAddressResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_NewAddressResponse proto.InternalMessageInfo - -func (m *NewAddressResponse) GetAddress() string { - if m != nil { - return m.Address +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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Msg []byte `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` } -func (m *SignMessageRequest) Reset() { *m = SignMessageRequest{} } -func (m *SignMessageRequest) String() string { return proto.CompactTextString(m) } -func (*SignMessageRequest) ProtoMessage() {} +func (x *SignMessageRequest) Reset() { + *x = SignMessageRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[23] + 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_rpc_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 SignMessageRequest.ProtoReflect.Descriptor instead. func (*SignMessageRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{23} + return file_rpc_proto_rawDescGZIP(), []int{23} } -func (m *SignMessageRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SignMessageRequest.Unmarshal(m, b) -} -func (m *SignMessageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SignMessageRequest.Marshal(b, m, deterministic) -} -func (m *SignMessageRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignMessageRequest.Merge(m, src) -} -func (m *SignMessageRequest) XXX_Size() int { - return xxx_messageInfo_SignMessageRequest.Size(m) -} -func (m *SignMessageRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SignMessageRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SignMessageRequest proto.InternalMessageInfo - -func (m *SignMessageRequest) GetMsg() []byte { - if m != nil { - return m.Msg +func (x *SignMessageRequest) GetMsg() []byte { + if x != nil { + return x.Msg } return nil } 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Signature string `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"` } -func (m *SignMessageResponse) Reset() { *m = SignMessageResponse{} } -func (m *SignMessageResponse) String() string { return proto.CompactTextString(m) } -func (*SignMessageResponse) ProtoMessage() {} +func (x *SignMessageResponse) Reset() { + *x = SignMessageResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[24] + 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_rpc_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 SignMessageResponse.ProtoReflect.Descriptor instead. func (*SignMessageResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{24} + return file_rpc_proto_rawDescGZIP(), []int{24} } -func (m *SignMessageResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SignMessageResponse.Unmarshal(m, b) -} -func (m *SignMessageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SignMessageResponse.Marshal(b, m, deterministic) -} -func (m *SignMessageResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignMessageResponse.Merge(m, src) -} -func (m *SignMessageResponse) XXX_Size() int { - return xxx_messageInfo_SignMessageResponse.Size(m) -} -func (m *SignMessageResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SignMessageResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_SignMessageResponse proto.InternalMessageInfo - -func (m *SignMessageResponse) GetSignature() string { - if m != nil { - return m.Signature +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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Signature string `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` } -func (m *VerifyMessageRequest) Reset() { *m = VerifyMessageRequest{} } -func (m *VerifyMessageRequest) String() string { return proto.CompactTextString(m) } -func (*VerifyMessageRequest) ProtoMessage() {} +func (x *VerifyMessageRequest) Reset() { + *x = VerifyMessageRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[25] + 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_rpc_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 VerifyMessageRequest.ProtoReflect.Descriptor instead. func (*VerifyMessageRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{25} + return file_rpc_proto_rawDescGZIP(), []int{25} } -func (m *VerifyMessageRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VerifyMessageRequest.Unmarshal(m, b) -} -func (m *VerifyMessageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VerifyMessageRequest.Marshal(b, m, deterministic) -} -func (m *VerifyMessageRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_VerifyMessageRequest.Merge(m, src) -} -func (m *VerifyMessageRequest) XXX_Size() int { - return xxx_messageInfo_VerifyMessageRequest.Size(m) -} -func (m *VerifyMessageRequest) XXX_DiscardUnknown() { - xxx_messageInfo_VerifyMessageRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_VerifyMessageRequest proto.InternalMessageInfo - -func (m *VerifyMessageRequest) GetMsg() []byte { - if m != nil { - return m.Msg +func (x *VerifyMessageRequest) GetMsg() []byte { + if x != nil { + return x.Msg } return nil } -func (m *VerifyMessageRequest) GetSignature() string { - if m != nil { - return m.Signature +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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Pubkey string `protobuf:"bytes,2,opt,name=pubkey,proto3" json:"pubkey,omitempty"` } -func (m *VerifyMessageResponse) Reset() { *m = VerifyMessageResponse{} } -func (m *VerifyMessageResponse) String() string { return proto.CompactTextString(m) } -func (*VerifyMessageResponse) ProtoMessage() {} +func (x *VerifyMessageResponse) Reset() { + *x = VerifyMessageResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[26] + 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_rpc_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 VerifyMessageResponse.ProtoReflect.Descriptor instead. func (*VerifyMessageResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{26} + return file_rpc_proto_rawDescGZIP(), []int{26} } -func (m *VerifyMessageResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VerifyMessageResponse.Unmarshal(m, b) -} -func (m *VerifyMessageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VerifyMessageResponse.Marshal(b, m, deterministic) -} -func (m *VerifyMessageResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_VerifyMessageResponse.Merge(m, src) -} -func (m *VerifyMessageResponse) XXX_Size() int { - return xxx_messageInfo_VerifyMessageResponse.Size(m) -} -func (m *VerifyMessageResponse) XXX_DiscardUnknown() { - xxx_messageInfo_VerifyMessageResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_VerifyMessageResponse proto.InternalMessageInfo - -func (m *VerifyMessageResponse) GetValid() bool { - if m != nil { - return m.Valid +func (x *VerifyMessageResponse) GetValid() bool { + if x != nil { + return x.Valid } return false } -func (m *VerifyMessageResponse) GetPubkey() string { - if m != nil { - return m.Pubkey +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, in the format `@host` Addr *LightningAddress `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` // If set, the daemon will attempt to persistently connect to the target @@ -2847,161 +3460,191 @@ type ConnectPeerRequest struct { // //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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Timeout uint64 `protobuf:"varint,3,opt,name=timeout,proto3" json:"timeout,omitempty"` } -func (m *ConnectPeerRequest) Reset() { *m = ConnectPeerRequest{} } -func (m *ConnectPeerRequest) String() string { return proto.CompactTextString(m) } -func (*ConnectPeerRequest) ProtoMessage() {} +func (x *ConnectPeerRequest) Reset() { + *x = ConnectPeerRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[27] + 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_rpc_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 ConnectPeerRequest.ProtoReflect.Descriptor instead. func (*ConnectPeerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{27} + return file_rpc_proto_rawDescGZIP(), []int{27} } -func (m *ConnectPeerRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConnectPeerRequest.Unmarshal(m, b) -} -func (m *ConnectPeerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConnectPeerRequest.Marshal(b, m, deterministic) -} -func (m *ConnectPeerRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConnectPeerRequest.Merge(m, src) -} -func (m *ConnectPeerRequest) XXX_Size() int { - return xxx_messageInfo_ConnectPeerRequest.Size(m) -} -func (m *ConnectPeerRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ConnectPeerRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ConnectPeerRequest proto.InternalMessageInfo - -func (m *ConnectPeerRequest) GetAddr() *LightningAddress { - if m != nil { - return m.Addr +func (x *ConnectPeerRequest) GetAddr() *LightningAddress { + if x != nil { + return x.Addr } return nil } -func (m *ConnectPeerRequest) GetPerm() bool { - if m != nil { - return m.Perm +func (x *ConnectPeerRequest) GetPerm() bool { + if x != nil { + return x.Perm } return false } -func (m *ConnectPeerRequest) GetTimeout() uint64 { - if m != nil { - return m.Timeout +func (x *ConnectPeerRequest) GetTimeout() uint64 { + if x != nil { + return x.Timeout } return 0 } type ConnectPeerResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ConnectPeerResponse) Reset() { *m = ConnectPeerResponse{} } -func (m *ConnectPeerResponse) String() string { return proto.CompactTextString(m) } -func (*ConnectPeerResponse) ProtoMessage() {} +func (x *ConnectPeerResponse) Reset() { + *x = ConnectPeerResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[28] + 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_rpc_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 ConnectPeerResponse.ProtoReflect.Descriptor instead. func (*ConnectPeerResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{28} + return file_rpc_proto_rawDescGZIP(), []int{28} } -func (m *ConnectPeerResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConnectPeerResponse.Unmarshal(m, b) -} -func (m *ConnectPeerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConnectPeerResponse.Marshal(b, m, deterministic) -} -func (m *ConnectPeerResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConnectPeerResponse.Merge(m, src) -} -func (m *ConnectPeerResponse) XXX_Size() int { - return xxx_messageInfo_ConnectPeerResponse.Size(m) -} -func (m *ConnectPeerResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ConnectPeerResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ConnectPeerResponse proto.InternalMessageInfo - 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + PubKey string `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"` } -func (m *DisconnectPeerRequest) Reset() { *m = DisconnectPeerRequest{} } -func (m *DisconnectPeerRequest) String() string { return proto.CompactTextString(m) } -func (*DisconnectPeerRequest) ProtoMessage() {} +func (x *DisconnectPeerRequest) Reset() { + *x = DisconnectPeerRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[29] + 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_rpc_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 DisconnectPeerRequest.ProtoReflect.Descriptor instead. func (*DisconnectPeerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{29} + return file_rpc_proto_rawDescGZIP(), []int{29} } -func (m *DisconnectPeerRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DisconnectPeerRequest.Unmarshal(m, b) -} -func (m *DisconnectPeerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DisconnectPeerRequest.Marshal(b, m, deterministic) -} -func (m *DisconnectPeerRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DisconnectPeerRequest.Merge(m, src) -} -func (m *DisconnectPeerRequest) XXX_Size() int { - return xxx_messageInfo_DisconnectPeerRequest.Size(m) -} -func (m *DisconnectPeerRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DisconnectPeerRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DisconnectPeerRequest proto.InternalMessageInfo - -func (m *DisconnectPeerRequest) GetPubKey() string { - if m != nil { - return m.PubKey +func (x *DisconnectPeerRequest) GetPubKey() string { + if x != nil { + return x.PubKey } return "" } type DisconnectPeerResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *DisconnectPeerResponse) Reset() { *m = DisconnectPeerResponse{} } -func (m *DisconnectPeerResponse) String() string { return proto.CompactTextString(m) } -func (*DisconnectPeerResponse) ProtoMessage() {} +func (x *DisconnectPeerResponse) Reset() { + *x = DisconnectPeerResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[30] + 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_rpc_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 DisconnectPeerResponse.ProtoReflect.Descriptor instead. func (*DisconnectPeerResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{30} + return file_rpc_proto_rawDescGZIP(), []int{30} } -func (m *DisconnectPeerResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DisconnectPeerResponse.Unmarshal(m, b) -} -func (m *DisconnectPeerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DisconnectPeerResponse.Marshal(b, m, deterministic) -} -func (m *DisconnectPeerResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DisconnectPeerResponse.Merge(m, src) -} -func (m *DisconnectPeerResponse) XXX_Size() int { - return xxx_messageInfo_DisconnectPeerResponse.Size(m) -} -func (m *DisconnectPeerResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DisconnectPeerResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_DisconnectPeerResponse proto.InternalMessageInfo - 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"` @@ -3017,87 +3660,95 @@ type HTLC struct { // 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ForwardingHtlcIndex uint64 `protobuf:"varint,7,opt,name=forwarding_htlc_index,json=forwardingHtlcIndex,proto3" json:"forwarding_htlc_index,omitempty"` } -func (m *HTLC) Reset() { *m = HTLC{} } -func (m *HTLC) String() string { return proto.CompactTextString(m) } -func (*HTLC) ProtoMessage() {} +func (x *HTLC) Reset() { + *x = HTLC{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[31] + 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_rpc_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 HTLC.ProtoReflect.Descriptor instead. func (*HTLC) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{31} + return file_rpc_proto_rawDescGZIP(), []int{31} } -func (m *HTLC) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HTLC.Unmarshal(m, b) -} -func (m *HTLC) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HTLC.Marshal(b, m, deterministic) -} -func (m *HTLC) XXX_Merge(src proto.Message) { - xxx_messageInfo_HTLC.Merge(m, src) -} -func (m *HTLC) XXX_Size() int { - return xxx_messageInfo_HTLC.Size(m) -} -func (m *HTLC) XXX_DiscardUnknown() { - xxx_messageInfo_HTLC.DiscardUnknown(m) -} - -var xxx_messageInfo_HTLC proto.InternalMessageInfo - -func (m *HTLC) GetIncoming() bool { - if m != nil { - return m.Incoming +func (x *HTLC) GetIncoming() bool { + if x != nil { + return x.Incoming } return false } -func (m *HTLC) GetAmount() int64 { - if m != nil { - return m.Amount +func (x *HTLC) GetAmount() int64 { + if x != nil { + return x.Amount } return 0 } -func (m *HTLC) GetHashLock() []byte { - if m != nil { - return m.HashLock +func (x *HTLC) GetHashLock() []byte { + if x != nil { + return x.HashLock } return nil } -func (m *HTLC) GetExpirationHeight() uint32 { - if m != nil { - return m.ExpirationHeight +func (x *HTLC) GetExpirationHeight() uint32 { + if x != nil { + return x.ExpirationHeight } return 0 } -func (m *HTLC) GetHtlcIndex() uint64 { - if m != nil { - return m.HtlcIndex +func (x *HTLC) GetHtlcIndex() uint64 { + if x != nil { + return x.HtlcIndex } return 0 } -func (m *HTLC) GetForwardingChannel() uint64 { - if m != nil { - return m.ForwardingChannel +func (x *HTLC) GetForwardingChannel() uint64 { + if x != nil { + return x.ForwardingChannel } return 0 } -func (m *HTLC) GetForwardingHtlcIndex() uint64 { - if m != nil { - return m.ForwardingHtlcIndex +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. @@ -3112,80 +3763,88 @@ type ChannelConstraints struct { // 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + MaxAcceptedHtlcs uint32 `protobuf:"varint,6,opt,name=max_accepted_htlcs,json=maxAcceptedHtlcs,proto3" json:"max_accepted_htlcs,omitempty"` } -func (m *ChannelConstraints) Reset() { *m = ChannelConstraints{} } -func (m *ChannelConstraints) String() string { return proto.CompactTextString(m) } -func (*ChannelConstraints) ProtoMessage() {} +func (x *ChannelConstraints) Reset() { + *x = ChannelConstraints{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[32] + 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_rpc_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 ChannelConstraints.ProtoReflect.Descriptor instead. func (*ChannelConstraints) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{32} + return file_rpc_proto_rawDescGZIP(), []int{32} } -func (m *ChannelConstraints) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ChannelConstraints.Unmarshal(m, b) -} -func (m *ChannelConstraints) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ChannelConstraints.Marshal(b, m, deterministic) -} -func (m *ChannelConstraints) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChannelConstraints.Merge(m, src) -} -func (m *ChannelConstraints) XXX_Size() int { - return xxx_messageInfo_ChannelConstraints.Size(m) -} -func (m *ChannelConstraints) XXX_DiscardUnknown() { - xxx_messageInfo_ChannelConstraints.DiscardUnknown(m) -} - -var xxx_messageInfo_ChannelConstraints proto.InternalMessageInfo - -func (m *ChannelConstraints) GetCsvDelay() uint32 { - if m != nil { - return m.CsvDelay +func (x *ChannelConstraints) GetCsvDelay() uint32 { + if x != nil { + return x.CsvDelay } return 0 } -func (m *ChannelConstraints) GetChanReserveSat() uint64 { - if m != nil { - return m.ChanReserveSat +func (x *ChannelConstraints) GetChanReserveSat() uint64 { + if x != nil { + return x.ChanReserveSat } return 0 } -func (m *ChannelConstraints) GetDustLimitSat() uint64 { - if m != nil { - return m.DustLimitSat +func (x *ChannelConstraints) GetDustLimitSat() uint64 { + if x != nil { + return x.DustLimitSat } return 0 } -func (m *ChannelConstraints) GetMaxPendingAmtMsat() uint64 { - if m != nil { - return m.MaxPendingAmtMsat +func (x *ChannelConstraints) GetMaxPendingAmtMsat() uint64 { + if x != nil { + return x.MaxPendingAmtMsat } return 0 } -func (m *ChannelConstraints) GetMinHtlcMsat() uint64 { - if m != nil { - return m.MinHtlcMsat +func (x *ChannelConstraints) GetMinHtlcMsat() uint64 { + if x != nil { + return x.MinHtlcMsat } return 0 } -func (m *ChannelConstraints) GetMaxAcceptedHtlcs() uint32 { - if m != nil { - return m.MaxAcceptedHtlcs +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 @@ -3237,7 +3896,9 @@ type Channel struct { //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. - CsvDelay uint32 `protobuf:"varint,16,opt,name=csv_delay,json=csvDelay,proto3" json:"csv_delay,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + 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. @@ -3246,13 +3907,19 @@ type Channel struct { 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. - LocalChanReserveSat int64 `protobuf:"varint,20,opt,name=local_chan_reserve_sat,json=localChanReserveSat,proto3" json:"local_chan_reserve_sat,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + 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. - RemoteChanReserveSat int64 `protobuf:"varint,21,opt,name=remote_chan_reserve_sat,json=remoteChanReserveSat,proto3" json:"remote_chan_reserve_sat,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + RemoteChanReserveSat int64 `protobuf:"varint,21,opt,name=remote_chan_reserve_sat,json=remoteChanReserveSat,proto3" json:"remote_chan_reserve_sat,omitempty"` // Deprecated. Use commitment_type. - StaticRemoteKey bool `protobuf:"varint,22,opt,name=static_remote_key,json=staticRemoteKey,proto3" json:"static_remote_key,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + 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"` // @@ -3291,252 +3958,260 @@ type Channel struct { // 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + RemoteConstraints *ChannelConstraints `protobuf:"bytes,30,opt,name=remote_constraints,json=remoteConstraints,proto3" json:"remote_constraints,omitempty"` } -func (m *Channel) Reset() { *m = Channel{} } -func (m *Channel) String() string { return proto.CompactTextString(m) } -func (*Channel) ProtoMessage() {} +func (x *Channel) Reset() { + *x = Channel{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[33] + 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_rpc_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 Channel.ProtoReflect.Descriptor instead. func (*Channel) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{33} + return file_rpc_proto_rawDescGZIP(), []int{33} } -func (m *Channel) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Channel.Unmarshal(m, b) -} -func (m *Channel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Channel.Marshal(b, m, deterministic) -} -func (m *Channel) XXX_Merge(src proto.Message) { - xxx_messageInfo_Channel.Merge(m, src) -} -func (m *Channel) XXX_Size() int { - return xxx_messageInfo_Channel.Size(m) -} -func (m *Channel) XXX_DiscardUnknown() { - xxx_messageInfo_Channel.DiscardUnknown(m) -} - -var xxx_messageInfo_Channel proto.InternalMessageInfo - -func (m *Channel) GetActive() bool { - if m != nil { - return m.Active +func (x *Channel) GetActive() bool { + if x != nil { + return x.Active } return false } -func (m *Channel) GetRemotePubkey() string { - if m != nil { - return m.RemotePubkey +func (x *Channel) GetRemotePubkey() string { + if x != nil { + return x.RemotePubkey } return "" } -func (m *Channel) GetChannelPoint() string { - if m != nil { - return m.ChannelPoint +func (x *Channel) GetChannelPoint() string { + if x != nil { + return x.ChannelPoint } return "" } -func (m *Channel) GetChanId() uint64 { - if m != nil { - return m.ChanId +func (x *Channel) GetChanId() uint64 { + if x != nil { + return x.ChanId } return 0 } -func (m *Channel) GetCapacity() int64 { - if m != nil { - return m.Capacity +func (x *Channel) GetCapacity() int64 { + if x != nil { + return x.Capacity } return 0 } -func (m *Channel) GetLocalBalance() int64 { - if m != nil { - return m.LocalBalance +func (x *Channel) GetLocalBalance() int64 { + if x != nil { + return x.LocalBalance } return 0 } -func (m *Channel) GetRemoteBalance() int64 { - if m != nil { - return m.RemoteBalance +func (x *Channel) GetRemoteBalance() int64 { + if x != nil { + return x.RemoteBalance } return 0 } -func (m *Channel) GetCommitFee() int64 { - if m != nil { - return m.CommitFee +func (x *Channel) GetCommitFee() int64 { + if x != nil { + return x.CommitFee } return 0 } -func (m *Channel) GetCommitWeight() int64 { - if m != nil { - return m.CommitWeight +func (x *Channel) GetCommitWeight() int64 { + if x != nil { + return x.CommitWeight } return 0 } -func (m *Channel) GetFeePerKw() int64 { - if m != nil { - return m.FeePerKw +func (x *Channel) GetFeePerKw() int64 { + if x != nil { + return x.FeePerKw } return 0 } -func (m *Channel) GetUnsettledBalance() int64 { - if m != nil { - return m.UnsettledBalance +func (x *Channel) GetUnsettledBalance() int64 { + if x != nil { + return x.UnsettledBalance } return 0 } -func (m *Channel) GetTotalSatoshisSent() int64 { - if m != nil { - return m.TotalSatoshisSent +func (x *Channel) GetTotalSatoshisSent() int64 { + if x != nil { + return x.TotalSatoshisSent } return 0 } -func (m *Channel) GetTotalSatoshisReceived() int64 { - if m != nil { - return m.TotalSatoshisReceived +func (x *Channel) GetTotalSatoshisReceived() int64 { + if x != nil { + return x.TotalSatoshisReceived } return 0 } -func (m *Channel) GetNumUpdates() uint64 { - if m != nil { - return m.NumUpdates +func (x *Channel) GetNumUpdates() uint64 { + if x != nil { + return x.NumUpdates } return 0 } -func (m *Channel) GetPendingHtlcs() []*HTLC { - if m != nil { - return m.PendingHtlcs +func (x *Channel) GetPendingHtlcs() []*HTLC { + if x != nil { + return x.PendingHtlcs } return nil } // Deprecated: Do not use. -func (m *Channel) GetCsvDelay() uint32 { - if m != nil { - return m.CsvDelay +func (x *Channel) GetCsvDelay() uint32 { + if x != nil { + return x.CsvDelay } return 0 } -func (m *Channel) GetPrivate() bool { - if m != nil { - return m.Private +func (x *Channel) GetPrivate() bool { + if x != nil { + return x.Private } return false } -func (m *Channel) GetInitiator() bool { - if m != nil { - return m.Initiator +func (x *Channel) GetInitiator() bool { + if x != nil { + return x.Initiator } return false } -func (m *Channel) GetChanStatusFlags() string { - if m != nil { - return m.ChanStatusFlags +func (x *Channel) GetChanStatusFlags() string { + if x != nil { + return x.ChanStatusFlags } return "" } // Deprecated: Do not use. -func (m *Channel) GetLocalChanReserveSat() int64 { - if m != nil { - return m.LocalChanReserveSat +func (x *Channel) GetLocalChanReserveSat() int64 { + if x != nil { + return x.LocalChanReserveSat } return 0 } // Deprecated: Do not use. -func (m *Channel) GetRemoteChanReserveSat() int64 { - if m != nil { - return m.RemoteChanReserveSat +func (x *Channel) GetRemoteChanReserveSat() int64 { + if x != nil { + return x.RemoteChanReserveSat } return 0 } // Deprecated: Do not use. -func (m *Channel) GetStaticRemoteKey() bool { - if m != nil { - return m.StaticRemoteKey +func (x *Channel) GetStaticRemoteKey() bool { + if x != nil { + return x.StaticRemoteKey } return false } -func (m *Channel) GetCommitmentType() CommitmentType { - if m != nil { - return m.CommitmentType +func (x *Channel) GetCommitmentType() CommitmentType { + if x != nil { + return x.CommitmentType } return CommitmentType_LEGACY } -func (m *Channel) GetLifetime() int64 { - if m != nil { - return m.Lifetime +func (x *Channel) GetLifetime() int64 { + if x != nil { + return x.Lifetime } return 0 } -func (m *Channel) GetUptime() int64 { - if m != nil { - return m.Uptime +func (x *Channel) GetUptime() int64 { + if x != nil { + return x.Uptime } return 0 } -func (m *Channel) GetCloseAddress() string { - if m != nil { - return m.CloseAddress +func (x *Channel) GetCloseAddress() string { + if x != nil { + return x.CloseAddress } return "" } -func (m *Channel) GetPushAmountSat() uint64 { - if m != nil { - return m.PushAmountSat +func (x *Channel) GetPushAmountSat() uint64 { + if x != nil { + return x.PushAmountSat } return 0 } -func (m *Channel) GetThawHeight() uint32 { - if m != nil { - return m.ThawHeight +func (x *Channel) GetThawHeight() uint32 { + if x != nil { + return x.ThawHeight } return 0 } -func (m *Channel) GetLocalConstraints() *ChannelConstraints { - if m != nil { - return m.LocalConstraints +func (x *Channel) GetLocalConstraints() *ChannelConstraints { + if x != nil { + return x.LocalConstraints } return nil } -func (m *Channel) GetRemoteConstraints() *ChannelConstraints { - if m != nil { - return m.RemoteConstraints +func (x *Channel) GetRemoteConstraints() *ChannelConstraints { + if x != nil { + return x.RemoteConstraints } return nil } 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"` @@ -3544,113 +4219,129 @@ type ListChannelsRequest struct { // //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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Peer []byte `protobuf:"bytes,5,opt,name=peer,proto3" json:"peer,omitempty"` } -func (m *ListChannelsRequest) Reset() { *m = ListChannelsRequest{} } -func (m *ListChannelsRequest) String() string { return proto.CompactTextString(m) } -func (*ListChannelsRequest) ProtoMessage() {} +func (x *ListChannelsRequest) Reset() { + *x = ListChannelsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[34] + 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_rpc_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 ListChannelsRequest.ProtoReflect.Descriptor instead. func (*ListChannelsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{34} + return file_rpc_proto_rawDescGZIP(), []int{34} } -func (m *ListChannelsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListChannelsRequest.Unmarshal(m, b) -} -func (m *ListChannelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListChannelsRequest.Marshal(b, m, deterministic) -} -func (m *ListChannelsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListChannelsRequest.Merge(m, src) -} -func (m *ListChannelsRequest) XXX_Size() int { - return xxx_messageInfo_ListChannelsRequest.Size(m) -} -func (m *ListChannelsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListChannelsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListChannelsRequest proto.InternalMessageInfo - -func (m *ListChannelsRequest) GetActiveOnly() bool { - if m != nil { - return m.ActiveOnly +func (x *ListChannelsRequest) GetActiveOnly() bool { + if x != nil { + return x.ActiveOnly } return false } -func (m *ListChannelsRequest) GetInactiveOnly() bool { - if m != nil { - return m.InactiveOnly +func (x *ListChannelsRequest) GetInactiveOnly() bool { + if x != nil { + return x.InactiveOnly } return false } -func (m *ListChannelsRequest) GetPublicOnly() bool { - if m != nil { - return m.PublicOnly +func (x *ListChannelsRequest) GetPublicOnly() bool { + if x != nil { + return x.PublicOnly } return false } -func (m *ListChannelsRequest) GetPrivateOnly() bool { - if m != nil { - return m.PrivateOnly +func (x *ListChannelsRequest) GetPrivateOnly() bool { + if x != nil { + return x.PrivateOnly } return false } -func (m *ListChannelsRequest) GetPeer() []byte { - if m != nil { - return m.Peer +func (x *ListChannelsRequest) GetPeer() []byte { + if x != nil { + return x.Peer } return nil } 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Channels []*Channel `protobuf:"bytes,11,rep,name=channels,proto3" json:"channels,omitempty"` } -func (m *ListChannelsResponse) Reset() { *m = ListChannelsResponse{} } -func (m *ListChannelsResponse) String() string { return proto.CompactTextString(m) } -func (*ListChannelsResponse) ProtoMessage() {} +func (x *ListChannelsResponse) Reset() { + *x = ListChannelsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[35] + 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_rpc_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 ListChannelsResponse.ProtoReflect.Descriptor instead. func (*ListChannelsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{35} + return file_rpc_proto_rawDescGZIP(), []int{35} } -func (m *ListChannelsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListChannelsResponse.Unmarshal(m, b) -} -func (m *ListChannelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListChannelsResponse.Marshal(b, m, deterministic) -} -func (m *ListChannelsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListChannelsResponse.Merge(m, src) -} -func (m *ListChannelsResponse) XXX_Size() int { - return xxx_messageInfo_ListChannelsResponse.Size(m) -} -func (m *ListChannelsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListChannelsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListChannelsResponse proto.InternalMessageInfo - -func (m *ListChannelsResponse) GetChannels() []*Channel { - if m != nil { - return m.Channels +func (x *ListChannelsResponse) GetChannels() []*Channel { + if x != nil { + return x.Channels } 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. @@ -3682,130 +4373,138 @@ type ChannelCloseSummary struct { //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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + 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"` } -func (m *ChannelCloseSummary) Reset() { *m = ChannelCloseSummary{} } -func (m *ChannelCloseSummary) String() string { return proto.CompactTextString(m) } -func (*ChannelCloseSummary) ProtoMessage() {} +func (x *ChannelCloseSummary) Reset() { + *x = ChannelCloseSummary{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[36] + 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_rpc_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 ChannelCloseSummary.ProtoReflect.Descriptor instead. func (*ChannelCloseSummary) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{36} + return file_rpc_proto_rawDescGZIP(), []int{36} } -func (m *ChannelCloseSummary) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ChannelCloseSummary.Unmarshal(m, b) -} -func (m *ChannelCloseSummary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ChannelCloseSummary.Marshal(b, m, deterministic) -} -func (m *ChannelCloseSummary) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChannelCloseSummary.Merge(m, src) -} -func (m *ChannelCloseSummary) XXX_Size() int { - return xxx_messageInfo_ChannelCloseSummary.Size(m) -} -func (m *ChannelCloseSummary) XXX_DiscardUnknown() { - xxx_messageInfo_ChannelCloseSummary.DiscardUnknown(m) -} - -var xxx_messageInfo_ChannelCloseSummary proto.InternalMessageInfo - -func (m *ChannelCloseSummary) GetChannelPoint() string { - if m != nil { - return m.ChannelPoint +func (x *ChannelCloseSummary) GetChannelPoint() string { + if x != nil { + return x.ChannelPoint } return "" } -func (m *ChannelCloseSummary) GetChanId() uint64 { - if m != nil { - return m.ChanId +func (x *ChannelCloseSummary) GetChanId() uint64 { + if x != nil { + return x.ChanId } return 0 } -func (m *ChannelCloseSummary) GetChainHash() string { - if m != nil { - return m.ChainHash +func (x *ChannelCloseSummary) GetChainHash() string { + if x != nil { + return x.ChainHash } return "" } -func (m *ChannelCloseSummary) GetClosingTxHash() string { - if m != nil { - return m.ClosingTxHash +func (x *ChannelCloseSummary) GetClosingTxHash() string { + if x != nil { + return x.ClosingTxHash } return "" } -func (m *ChannelCloseSummary) GetRemotePubkey() string { - if m != nil { - return m.RemotePubkey +func (x *ChannelCloseSummary) GetRemotePubkey() string { + if x != nil { + return x.RemotePubkey } return "" } -func (m *ChannelCloseSummary) GetCapacity() int64 { - if m != nil { - return m.Capacity +func (x *ChannelCloseSummary) GetCapacity() int64 { + if x != nil { + return x.Capacity } return 0 } -func (m *ChannelCloseSummary) GetCloseHeight() uint32 { - if m != nil { - return m.CloseHeight +func (x *ChannelCloseSummary) GetCloseHeight() uint32 { + if x != nil { + return x.CloseHeight } return 0 } -func (m *ChannelCloseSummary) GetSettledBalance() int64 { - if m != nil { - return m.SettledBalance +func (x *ChannelCloseSummary) GetSettledBalance() int64 { + if x != nil { + return x.SettledBalance } return 0 } -func (m *ChannelCloseSummary) GetTimeLockedBalance() int64 { - if m != nil { - return m.TimeLockedBalance +func (x *ChannelCloseSummary) GetTimeLockedBalance() int64 { + if x != nil { + return x.TimeLockedBalance } return 0 } -func (m *ChannelCloseSummary) GetCloseType() ChannelCloseSummary_ClosureType { - if m != nil { - return m.CloseType +func (x *ChannelCloseSummary) GetCloseType() ChannelCloseSummary_ClosureType { + if x != nil { + return x.CloseType } return ChannelCloseSummary_COOPERATIVE_CLOSE } -func (m *ChannelCloseSummary) GetOpenInitiator() Initiator { - if m != nil { - return m.OpenInitiator +func (x *ChannelCloseSummary) GetOpenInitiator() Initiator { + if x != nil { + return x.OpenInitiator } return Initiator_INITIATOR_UNKNOWN } -func (m *ChannelCloseSummary) GetCloseInitiator() Initiator { - if m != nil { - return m.CloseInitiator +func (x *ChannelCloseSummary) GetCloseInitiator() Initiator { + if x != nil { + return x.CloseInitiator } return Initiator_INITIATOR_UNKNOWN } -func (m *ChannelCloseSummary) GetResolutions() []*Resolution { - if m != nil { - return m.Resolutions +func (x *ChannelCloseSummary) GetResolutions() []*Resolution { + if x != nil { + return x.Resolutions } return nil } 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. @@ -3816,191 +4515,215 @@ type Resolution struct { 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SweepTxid string `protobuf:"bytes,5,opt,name=sweep_txid,json=sweepTxid,proto3" json:"sweep_txid,omitempty"` } -func (m *Resolution) Reset() { *m = Resolution{} } -func (m *Resolution) String() string { return proto.CompactTextString(m) } -func (*Resolution) ProtoMessage() {} +func (x *Resolution) Reset() { + *x = Resolution{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[37] + 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_rpc_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 Resolution.ProtoReflect.Descriptor instead. func (*Resolution) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{37} + return file_rpc_proto_rawDescGZIP(), []int{37} } -func (m *Resolution) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Resolution.Unmarshal(m, b) -} -func (m *Resolution) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Resolution.Marshal(b, m, deterministic) -} -func (m *Resolution) XXX_Merge(src proto.Message) { - xxx_messageInfo_Resolution.Merge(m, src) -} -func (m *Resolution) XXX_Size() int { - return xxx_messageInfo_Resolution.Size(m) -} -func (m *Resolution) XXX_DiscardUnknown() { - xxx_messageInfo_Resolution.DiscardUnknown(m) -} - -var xxx_messageInfo_Resolution proto.InternalMessageInfo - -func (m *Resolution) GetResolutionType() ResolutionType { - if m != nil { - return m.ResolutionType +func (x *Resolution) GetResolutionType() ResolutionType { + if x != nil { + return x.ResolutionType } return ResolutionType_TYPE_UNKNOWN } -func (m *Resolution) GetOutcome() ResolutionOutcome { - if m != nil { - return m.Outcome +func (x *Resolution) GetOutcome() ResolutionOutcome { + if x != nil { + return x.Outcome } return ResolutionOutcome_OUTCOME_UNKNOWN } -func (m *Resolution) GetOutpoint() *OutPoint { - if m != nil { - return m.Outpoint +func (x *Resolution) GetOutpoint() *OutPoint { + if x != nil { + return x.Outpoint } return nil } -func (m *Resolution) GetAmountSat() uint64 { - if m != nil { - return m.AmountSat +func (x *Resolution) GetAmountSat() uint64 { + if x != nil { + return x.AmountSat } return 0 } -func (m *Resolution) GetSweepTxid() string { - if m != nil { - return m.SweepTxid +func (x *Resolution) GetSweepTxid() string { + if x != nil { + return x.SweepTxid } return "" } type ClosedChannelsRequest struct { - 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + 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 (m *ClosedChannelsRequest) Reset() { *m = ClosedChannelsRequest{} } -func (m *ClosedChannelsRequest) String() string { return proto.CompactTextString(m) } -func (*ClosedChannelsRequest) ProtoMessage() {} +func (x *ClosedChannelsRequest) Reset() { + *x = ClosedChannelsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[38] + 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_rpc_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 ClosedChannelsRequest.ProtoReflect.Descriptor instead. func (*ClosedChannelsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{38} + return file_rpc_proto_rawDescGZIP(), []int{38} } -func (m *ClosedChannelsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClosedChannelsRequest.Unmarshal(m, b) -} -func (m *ClosedChannelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClosedChannelsRequest.Marshal(b, m, deterministic) -} -func (m *ClosedChannelsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClosedChannelsRequest.Merge(m, src) -} -func (m *ClosedChannelsRequest) XXX_Size() int { - return xxx_messageInfo_ClosedChannelsRequest.Size(m) -} -func (m *ClosedChannelsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ClosedChannelsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ClosedChannelsRequest proto.InternalMessageInfo - -func (m *ClosedChannelsRequest) GetCooperative() bool { - if m != nil { - return m.Cooperative +func (x *ClosedChannelsRequest) GetCooperative() bool { + if x != nil { + return x.Cooperative } return false } -func (m *ClosedChannelsRequest) GetLocalForce() bool { - if m != nil { - return m.LocalForce +func (x *ClosedChannelsRequest) GetLocalForce() bool { + if x != nil { + return x.LocalForce } return false } -func (m *ClosedChannelsRequest) GetRemoteForce() bool { - if m != nil { - return m.RemoteForce +func (x *ClosedChannelsRequest) GetRemoteForce() bool { + if x != nil { + return x.RemoteForce } return false } -func (m *ClosedChannelsRequest) GetBreach() bool { - if m != nil { - return m.Breach +func (x *ClosedChannelsRequest) GetBreach() bool { + if x != nil { + return x.Breach } return false } -func (m *ClosedChannelsRequest) GetFundingCanceled() bool { - if m != nil { - return m.FundingCanceled +func (x *ClosedChannelsRequest) GetFundingCanceled() bool { + if x != nil { + return x.FundingCanceled } return false } -func (m *ClosedChannelsRequest) GetAbandoned() bool { - if m != nil { - return m.Abandoned +func (x *ClosedChannelsRequest) GetAbandoned() bool { + if x != nil { + return x.Abandoned } return false } type ClosedChannelsResponse struct { - Channels []*ChannelCloseSummary `protobuf:"bytes,1,rep,name=channels,proto3" json:"channels,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Channels []*ChannelCloseSummary `protobuf:"bytes,1,rep,name=channels,proto3" json:"channels,omitempty"` } -func (m *ClosedChannelsResponse) Reset() { *m = ClosedChannelsResponse{} } -func (m *ClosedChannelsResponse) String() string { return proto.CompactTextString(m) } -func (*ClosedChannelsResponse) ProtoMessage() {} +func (x *ClosedChannelsResponse) Reset() { + *x = ClosedChannelsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[39] + 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_rpc_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 ClosedChannelsResponse.ProtoReflect.Descriptor instead. func (*ClosedChannelsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{39} + return file_rpc_proto_rawDescGZIP(), []int{39} } -func (m *ClosedChannelsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClosedChannelsResponse.Unmarshal(m, b) -} -func (m *ClosedChannelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClosedChannelsResponse.Marshal(b, m, deterministic) -} -func (m *ClosedChannelsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClosedChannelsResponse.Merge(m, src) -} -func (m *ClosedChannelsResponse) XXX_Size() int { - return xxx_messageInfo_ClosedChannelsResponse.Size(m) -} -func (m *ClosedChannelsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ClosedChannelsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ClosedChannelsResponse proto.InternalMessageInfo - -func (m *ClosedChannelsResponse) GetChannels() []*ChannelCloseSummary { - if m != nil { - return m.Channels +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` @@ -4037,371 +4760,425 @@ type Peer struct { // //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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + LastFlapNs int64 `protobuf:"varint,14,opt,name=last_flap_ns,json=lastFlapNs,proto3" json:"last_flap_ns,omitempty"` } -func (m *Peer) Reset() { *m = Peer{} } -func (m *Peer) String() string { return proto.CompactTextString(m) } -func (*Peer) ProtoMessage() {} +func (x *Peer) Reset() { + *x = Peer{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[40] + 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_rpc_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 Peer.ProtoReflect.Descriptor instead. func (*Peer) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{40} + return file_rpc_proto_rawDescGZIP(), []int{40} } -func (m *Peer) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Peer.Unmarshal(m, b) -} -func (m *Peer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Peer.Marshal(b, m, deterministic) -} -func (m *Peer) XXX_Merge(src proto.Message) { - xxx_messageInfo_Peer.Merge(m, src) -} -func (m *Peer) XXX_Size() int { - return xxx_messageInfo_Peer.Size(m) -} -func (m *Peer) XXX_DiscardUnknown() { - xxx_messageInfo_Peer.DiscardUnknown(m) -} - -var xxx_messageInfo_Peer proto.InternalMessageInfo - -func (m *Peer) GetPubKey() string { - if m != nil { - return m.PubKey +func (x *Peer) GetPubKey() string { + if x != nil { + return x.PubKey } return "" } -func (m *Peer) GetAddress() string { - if m != nil { - return m.Address +func (x *Peer) GetAddress() string { + if x != nil { + return x.Address } return "" } -func (m *Peer) GetBytesSent() uint64 { - if m != nil { - return m.BytesSent +func (x *Peer) GetBytesSent() uint64 { + if x != nil { + return x.BytesSent } return 0 } -func (m *Peer) GetBytesRecv() uint64 { - if m != nil { - return m.BytesRecv +func (x *Peer) GetBytesRecv() uint64 { + if x != nil { + return x.BytesRecv } return 0 } -func (m *Peer) GetSatSent() int64 { - if m != nil { - return m.SatSent +func (x *Peer) GetSatSent() int64 { + if x != nil { + return x.SatSent } return 0 } -func (m *Peer) GetSatRecv() int64 { - if m != nil { - return m.SatRecv +func (x *Peer) GetSatRecv() int64 { + if x != nil { + return x.SatRecv } return 0 } -func (m *Peer) GetInbound() bool { - if m != nil { - return m.Inbound +func (x *Peer) GetInbound() bool { + if x != nil { + return x.Inbound } return false } -func (m *Peer) GetPingTime() int64 { - if m != nil { - return m.PingTime +func (x *Peer) GetPingTime() int64 { + if x != nil { + return x.PingTime } return 0 } -func (m *Peer) GetSyncType() Peer_SyncType { - if m != nil { - return m.SyncType +func (x *Peer) GetSyncType() Peer_SyncType { + if x != nil { + return x.SyncType } return Peer_UNKNOWN_SYNC } -func (m *Peer) GetFeatures() map[uint32]*Feature { - if m != nil { - return m.Features +func (x *Peer) GetFeatures() map[uint32]*Feature { + if x != nil { + return x.Features } return nil } -func (m *Peer) GetErrors() []*TimestampedError { - if m != nil { - return m.Errors +func (x *Peer) GetErrors() []*TimestampedError { + if x != nil { + return x.Errors } return nil } -func (m *Peer) GetFlapCount() int32 { - if m != nil { - return m.FlapCount +func (x *Peer) GetFlapCount() int32 { + if x != nil { + return x.FlapCount } return 0 } -func (m *Peer) GetLastFlapNs() int64 { - if m != nil { - return m.LastFlapNs +func (x *Peer) GetLastFlapNs() int64 { + if x != nil { + return x.LastFlapNs } return 0 } 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` } -func (m *TimestampedError) Reset() { *m = TimestampedError{} } -func (m *TimestampedError) String() string { return proto.CompactTextString(m) } -func (*TimestampedError) ProtoMessage() {} +func (x *TimestampedError) Reset() { + *x = TimestampedError{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[41] + 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_rpc_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 TimestampedError.ProtoReflect.Descriptor instead. func (*TimestampedError) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{41} + return file_rpc_proto_rawDescGZIP(), []int{41} } -func (m *TimestampedError) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TimestampedError.Unmarshal(m, b) -} -func (m *TimestampedError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TimestampedError.Marshal(b, m, deterministic) -} -func (m *TimestampedError) XXX_Merge(src proto.Message) { - xxx_messageInfo_TimestampedError.Merge(m, src) -} -func (m *TimestampedError) XXX_Size() int { - return xxx_messageInfo_TimestampedError.Size(m) -} -func (m *TimestampedError) XXX_DiscardUnknown() { - xxx_messageInfo_TimestampedError.DiscardUnknown(m) -} - -var xxx_messageInfo_TimestampedError proto.InternalMessageInfo - -func (m *TimestampedError) GetTimestamp() uint64 { - if m != nil { - return m.Timestamp +func (x *TimestampedError) GetTimestamp() uint64 { + if x != nil { + return x.Timestamp } return 0 } -func (m *TimestampedError) GetError() string { - if m != nil { - return m.Error +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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + LatestError bool `protobuf:"varint,1,opt,name=latest_error,json=latestError,proto3" json:"latest_error,omitempty"` } -func (m *ListPeersRequest) Reset() { *m = ListPeersRequest{} } -func (m *ListPeersRequest) String() string { return proto.CompactTextString(m) } -func (*ListPeersRequest) ProtoMessage() {} +func (x *ListPeersRequest) Reset() { + *x = ListPeersRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[42] + 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_rpc_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 ListPeersRequest.ProtoReflect.Descriptor instead. func (*ListPeersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{42} + return file_rpc_proto_rawDescGZIP(), []int{42} } -func (m *ListPeersRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListPeersRequest.Unmarshal(m, b) -} -func (m *ListPeersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListPeersRequest.Marshal(b, m, deterministic) -} -func (m *ListPeersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListPeersRequest.Merge(m, src) -} -func (m *ListPeersRequest) XXX_Size() int { - return xxx_messageInfo_ListPeersRequest.Size(m) -} -func (m *ListPeersRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListPeersRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListPeersRequest proto.InternalMessageInfo - -func (m *ListPeersRequest) GetLatestError() bool { - if m != nil { - return m.LatestError +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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Peers []*Peer `protobuf:"bytes,1,rep,name=peers,proto3" json:"peers,omitempty"` } -func (m *ListPeersResponse) Reset() { *m = ListPeersResponse{} } -func (m *ListPeersResponse) String() string { return proto.CompactTextString(m) } -func (*ListPeersResponse) ProtoMessage() {} +func (x *ListPeersResponse) Reset() { + *x = ListPeersResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[43] + 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_rpc_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 ListPeersResponse.ProtoReflect.Descriptor instead. func (*ListPeersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{43} + return file_rpc_proto_rawDescGZIP(), []int{43} } -func (m *ListPeersResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListPeersResponse.Unmarshal(m, b) -} -func (m *ListPeersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListPeersResponse.Marshal(b, m, deterministic) -} -func (m *ListPeersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListPeersResponse.Merge(m, src) -} -func (m *ListPeersResponse) XXX_Size() int { - return xxx_messageInfo_ListPeersResponse.Size(m) -} -func (m *ListPeersResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListPeersResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListPeersResponse proto.InternalMessageInfo - -func (m *ListPeersResponse) GetPeers() []*Peer { - if m != nil { - return m.Peers +func (x *ListPeersResponse) GetPeers() []*Peer { + if x != nil { + return x.Peers } return nil } type PeerEventSubscription struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *PeerEventSubscription) Reset() { *m = PeerEventSubscription{} } -func (m *PeerEventSubscription) String() string { return proto.CompactTextString(m) } -func (*PeerEventSubscription) ProtoMessage() {} +func (x *PeerEventSubscription) Reset() { + *x = PeerEventSubscription{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[44] + 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_rpc_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 PeerEventSubscription.ProtoReflect.Descriptor instead. func (*PeerEventSubscription) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{44} + return file_rpc_proto_rawDescGZIP(), []int{44} } -func (m *PeerEventSubscription) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PeerEventSubscription.Unmarshal(m, b) -} -func (m *PeerEventSubscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PeerEventSubscription.Marshal(b, m, deterministic) -} -func (m *PeerEventSubscription) XXX_Merge(src proto.Message) { - xxx_messageInfo_PeerEventSubscription.Merge(m, src) -} -func (m *PeerEventSubscription) XXX_Size() int { - return xxx_messageInfo_PeerEventSubscription.Size(m) -} -func (m *PeerEventSubscription) XXX_DiscardUnknown() { - xxx_messageInfo_PeerEventSubscription.DiscardUnknown(m) -} - -var xxx_messageInfo_PeerEventSubscription proto.InternalMessageInfo - 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + 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 (m *PeerEvent) Reset() { *m = PeerEvent{} } -func (m *PeerEvent) String() string { return proto.CompactTextString(m) } -func (*PeerEvent) ProtoMessage() {} +func (x *PeerEvent) Reset() { + *x = PeerEvent{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[45] + 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_rpc_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 PeerEvent.ProtoReflect.Descriptor instead. func (*PeerEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{45} + return file_rpc_proto_rawDescGZIP(), []int{45} } -func (m *PeerEvent) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PeerEvent.Unmarshal(m, b) -} -func (m *PeerEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PeerEvent.Marshal(b, m, deterministic) -} -func (m *PeerEvent) XXX_Merge(src proto.Message) { - xxx_messageInfo_PeerEvent.Merge(m, src) -} -func (m *PeerEvent) XXX_Size() int { - return xxx_messageInfo_PeerEvent.Size(m) -} -func (m *PeerEvent) XXX_DiscardUnknown() { - xxx_messageInfo_PeerEvent.DiscardUnknown(m) -} - -var xxx_messageInfo_PeerEvent proto.InternalMessageInfo - -func (m *PeerEvent) GetPubKey() string { - if m != nil { - return m.PubKey +func (x *PeerEvent) GetPubKey() string { + if x != nil { + return x.PubKey } return "" } -func (m *PeerEvent) GetType() PeerEvent_EventType { - if m != nil { - return m.Type +func (x *PeerEvent) GetType() PeerEvent_EventType { + if x != nil { + return x.Type } return PeerEvent_PEER_ONLINE } type GetInfoRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *GetInfoRequest) Reset() { *m = GetInfoRequest{} } -func (m *GetInfoRequest) String() string { return proto.CompactTextString(m) } -func (*GetInfoRequest) ProtoMessage() {} +func (x *GetInfoRequest) Reset() { + *x = GetInfoRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[46] + 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_rpc_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 GetInfoRequest.ProtoReflect.Descriptor instead. func (*GetInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{46} + return file_rpc_proto_rawDescGZIP(), []int{46} } -func (m *GetInfoRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetInfoRequest.Unmarshal(m, b) -} -func (m *GetInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetInfoRequest.Marshal(b, m, deterministic) -} -func (m *GetInfoRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetInfoRequest.Merge(m, src) -} -func (m *GetInfoRequest) XXX_Size() int { - return xxx_messageInfo_GetInfoRequest.Size(m) -} -func (m *GetInfoRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetInfoRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetInfoRequest proto.InternalMessageInfo - 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. @@ -4433,7 +5210,9 @@ type GetInfoResponse struct { // //Whether the current node is connected to testnet. This field is //deprecated and the network field should be used instead - Testnet bool `protobuf:"varint,10,opt,name=testnet,proto3" json:"testnet,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + Testnet bool `protobuf:"varint,10,opt,name=testnet,proto3" json:"testnet,omitempty"` // A list of active chains the node is connected to Chains []*Chain `protobuf:"bytes,16,rep,name=chains,proto3" json:"chains,omitempty"` // The URIs of the current node. @@ -4441,444 +5220,499 @@ type GetInfoResponse struct { // //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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + 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"` } -func (m *GetInfoResponse) Reset() { *m = GetInfoResponse{} } -func (m *GetInfoResponse) String() string { return proto.CompactTextString(m) } -func (*GetInfoResponse) ProtoMessage() {} +func (x *GetInfoResponse) Reset() { + *x = GetInfoResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[47] + 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_rpc_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 GetInfoResponse.ProtoReflect.Descriptor instead. func (*GetInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{47} + return file_rpc_proto_rawDescGZIP(), []int{47} } -func (m *GetInfoResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetInfoResponse.Unmarshal(m, b) -} -func (m *GetInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetInfoResponse.Marshal(b, m, deterministic) -} -func (m *GetInfoResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetInfoResponse.Merge(m, src) -} -func (m *GetInfoResponse) XXX_Size() int { - return xxx_messageInfo_GetInfoResponse.Size(m) -} -func (m *GetInfoResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetInfoResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_GetInfoResponse proto.InternalMessageInfo - -func (m *GetInfoResponse) GetVersion() string { - if m != nil { - return m.Version +func (x *GetInfoResponse) GetVersion() string { + if x != nil { + return x.Version } return "" } -func (m *GetInfoResponse) GetCommitHash() string { - if m != nil { - return m.CommitHash +func (x *GetInfoResponse) GetCommitHash() string { + if x != nil { + return x.CommitHash } return "" } -func (m *GetInfoResponse) GetIdentityPubkey() string { - if m != nil { - return m.IdentityPubkey +func (x *GetInfoResponse) GetIdentityPubkey() string { + if x != nil { + return x.IdentityPubkey } return "" } -func (m *GetInfoResponse) GetAlias() string { - if m != nil { - return m.Alias +func (x *GetInfoResponse) GetAlias() string { + if x != nil { + return x.Alias } return "" } -func (m *GetInfoResponse) GetColor() string { - if m != nil { - return m.Color +func (x *GetInfoResponse) GetColor() string { + if x != nil { + return x.Color } return "" } -func (m *GetInfoResponse) GetNumPendingChannels() uint32 { - if m != nil { - return m.NumPendingChannels +func (x *GetInfoResponse) GetNumPendingChannels() uint32 { + if x != nil { + return x.NumPendingChannels } return 0 } -func (m *GetInfoResponse) GetNumActiveChannels() uint32 { - if m != nil { - return m.NumActiveChannels +func (x *GetInfoResponse) GetNumActiveChannels() uint32 { + if x != nil { + return x.NumActiveChannels } return 0 } -func (m *GetInfoResponse) GetNumInactiveChannels() uint32 { - if m != nil { - return m.NumInactiveChannels +func (x *GetInfoResponse) GetNumInactiveChannels() uint32 { + if x != nil { + return x.NumInactiveChannels } return 0 } -func (m *GetInfoResponse) GetNumPeers() uint32 { - if m != nil { - return m.NumPeers +func (x *GetInfoResponse) GetNumPeers() uint32 { + if x != nil { + return x.NumPeers } return 0 } -func (m *GetInfoResponse) GetBlockHeight() uint32 { - if m != nil { - return m.BlockHeight +func (x *GetInfoResponse) GetBlockHeight() uint32 { + if x != nil { + return x.BlockHeight } return 0 } -func (m *GetInfoResponse) GetBlockHash() string { - if m != nil { - return m.BlockHash +func (x *GetInfoResponse) GetBlockHash() string { + if x != nil { + return x.BlockHash } return "" } -func (m *GetInfoResponse) GetBestHeaderTimestamp() int64 { - if m != nil { - return m.BestHeaderTimestamp +func (x *GetInfoResponse) GetBestHeaderTimestamp() int64 { + if x != nil { + return x.BestHeaderTimestamp } return 0 } -func (m *GetInfoResponse) GetSyncedToChain() bool { - if m != nil { - return m.SyncedToChain +func (x *GetInfoResponse) GetSyncedToChain() bool { + if x != nil { + return x.SyncedToChain } return false } -func (m *GetInfoResponse) GetSyncedToGraph() bool { - if m != nil { - return m.SyncedToGraph +func (x *GetInfoResponse) GetSyncedToGraph() bool { + if x != nil { + return x.SyncedToGraph } return false } // Deprecated: Do not use. -func (m *GetInfoResponse) GetTestnet() bool { - if m != nil { - return m.Testnet +func (x *GetInfoResponse) GetTestnet() bool { + if x != nil { + return x.Testnet } return false } -func (m *GetInfoResponse) GetChains() []*Chain { - if m != nil { - return m.Chains +func (x *GetInfoResponse) GetChains() []*Chain { + if x != nil { + return x.Chains } return nil } -func (m *GetInfoResponse) GetUris() []string { - if m != nil { - return m.Uris +func (x *GetInfoResponse) GetUris() []string { + if x != nil { + return x.Uris } return nil } -func (m *GetInfoResponse) GetFeatures() map[uint32]*Feature { - if m != nil { - return m.Features +func (x *GetInfoResponse) GetFeatures() map[uint32]*Feature { + if x != nil { + return x.Features } return nil } type GetRecoveryInfoRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *GetRecoveryInfoRequest) Reset() { *m = GetRecoveryInfoRequest{} } -func (m *GetRecoveryInfoRequest) String() string { return proto.CompactTextString(m) } -func (*GetRecoveryInfoRequest) ProtoMessage() {} +func (x *GetRecoveryInfoRequest) Reset() { + *x = GetRecoveryInfoRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[48] + 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_rpc_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 GetRecoveryInfoRequest.ProtoReflect.Descriptor instead. func (*GetRecoveryInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{48} + return file_rpc_proto_rawDescGZIP(), []int{48} } -func (m *GetRecoveryInfoRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetRecoveryInfoRequest.Unmarshal(m, b) -} -func (m *GetRecoveryInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetRecoveryInfoRequest.Marshal(b, m, deterministic) -} -func (m *GetRecoveryInfoRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetRecoveryInfoRequest.Merge(m, src) -} -func (m *GetRecoveryInfoRequest) XXX_Size() int { - return xxx_messageInfo_GetRecoveryInfoRequest.Size(m) -} -func (m *GetRecoveryInfoRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetRecoveryInfoRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetRecoveryInfoRequest proto.InternalMessageInfo - 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Progress float64 `protobuf:"fixed64,3,opt,name=progress,proto3" json:"progress,omitempty"` } -func (m *GetRecoveryInfoResponse) Reset() { *m = GetRecoveryInfoResponse{} } -func (m *GetRecoveryInfoResponse) String() string { return proto.CompactTextString(m) } -func (*GetRecoveryInfoResponse) ProtoMessage() {} +func (x *GetRecoveryInfoResponse) Reset() { + *x = GetRecoveryInfoResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[49] + 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_rpc_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 GetRecoveryInfoResponse.ProtoReflect.Descriptor instead. func (*GetRecoveryInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{49} + return file_rpc_proto_rawDescGZIP(), []int{49} } -func (m *GetRecoveryInfoResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetRecoveryInfoResponse.Unmarshal(m, b) -} -func (m *GetRecoveryInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetRecoveryInfoResponse.Marshal(b, m, deterministic) -} -func (m *GetRecoveryInfoResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetRecoveryInfoResponse.Merge(m, src) -} -func (m *GetRecoveryInfoResponse) XXX_Size() int { - return xxx_messageInfo_GetRecoveryInfoResponse.Size(m) -} -func (m *GetRecoveryInfoResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetRecoveryInfoResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_GetRecoveryInfoResponse proto.InternalMessageInfo - -func (m *GetRecoveryInfoResponse) GetRecoveryMode() bool { - if m != nil { - return m.RecoveryMode +func (x *GetRecoveryInfoResponse) GetRecoveryMode() bool { + if x != nil { + return x.RecoveryMode } return false } -func (m *GetRecoveryInfoResponse) GetRecoveryFinished() bool { - if m != nil { - return m.RecoveryFinished +func (x *GetRecoveryInfoResponse) GetRecoveryFinished() bool { + if x != nil { + return x.RecoveryFinished } return false } -func (m *GetRecoveryInfoResponse) GetProgress() float64 { - if m != nil { - return m.Progress +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 + // The blockchain the node is on (eg bitcoin, litecoin) 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Network string `protobuf:"bytes,2,opt,name=network,proto3" json:"network,omitempty"` } -func (m *Chain) Reset() { *m = Chain{} } -func (m *Chain) String() string { return proto.CompactTextString(m) } -func (*Chain) ProtoMessage() {} +func (x *Chain) Reset() { + *x = Chain{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[50] + 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_rpc_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 Chain.ProtoReflect.Descriptor instead. func (*Chain) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{50} + return file_rpc_proto_rawDescGZIP(), []int{50} } -func (m *Chain) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Chain.Unmarshal(m, b) -} -func (m *Chain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Chain.Marshal(b, m, deterministic) -} -func (m *Chain) XXX_Merge(src proto.Message) { - xxx_messageInfo_Chain.Merge(m, src) -} -func (m *Chain) XXX_Size() int { - return xxx_messageInfo_Chain.Size(m) -} -func (m *Chain) XXX_DiscardUnknown() { - xxx_messageInfo_Chain.DiscardUnknown(m) -} - -var xxx_messageInfo_Chain proto.InternalMessageInfo - -func (m *Chain) GetChain() string { - if m != nil { - return m.Chain +func (x *Chain) GetChain() string { + if x != nil { + return x.Chain } return "" } -func (m *Chain) GetNetwork() string { - if m != nil { - return m.Network +func (x *Chain) GetNetwork() string { + if x != nil { + return x.Network } return "" } type ConfirmationUpdate struct { - 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + 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 (m *ConfirmationUpdate) Reset() { *m = ConfirmationUpdate{} } -func (m *ConfirmationUpdate) String() string { return proto.CompactTextString(m) } -func (*ConfirmationUpdate) ProtoMessage() {} +func (x *ConfirmationUpdate) Reset() { + *x = ConfirmationUpdate{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[51] + 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_rpc_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 ConfirmationUpdate.ProtoReflect.Descriptor instead. func (*ConfirmationUpdate) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{51} + return file_rpc_proto_rawDescGZIP(), []int{51} } -func (m *ConfirmationUpdate) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConfirmationUpdate.Unmarshal(m, b) -} -func (m *ConfirmationUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConfirmationUpdate.Marshal(b, m, deterministic) -} -func (m *ConfirmationUpdate) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConfirmationUpdate.Merge(m, src) -} -func (m *ConfirmationUpdate) XXX_Size() int { - return xxx_messageInfo_ConfirmationUpdate.Size(m) -} -func (m *ConfirmationUpdate) XXX_DiscardUnknown() { - xxx_messageInfo_ConfirmationUpdate.DiscardUnknown(m) -} - -var xxx_messageInfo_ConfirmationUpdate proto.InternalMessageInfo - -func (m *ConfirmationUpdate) GetBlockSha() []byte { - if m != nil { - return m.BlockSha +func (x *ConfirmationUpdate) GetBlockSha() []byte { + if x != nil { + return x.BlockSha } return nil } -func (m *ConfirmationUpdate) GetBlockHeight() int32 { - if m != nil { - return m.BlockHeight +func (x *ConfirmationUpdate) GetBlockHeight() int32 { + if x != nil { + return x.BlockHeight } return 0 } -func (m *ConfirmationUpdate) GetNumConfsLeft() uint32 { - if m != nil { - return m.NumConfsLeft +func (x *ConfirmationUpdate) GetNumConfsLeft() uint32 { + if x != nil { + return x.NumConfsLeft } return 0 } type ChannelOpenUpdate struct { - ChannelPoint *ChannelPoint `protobuf:"bytes,1,opt,name=channel_point,json=channelPoint,proto3" json:"channel_point,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + 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 (m *ChannelOpenUpdate) Reset() { *m = ChannelOpenUpdate{} } -func (m *ChannelOpenUpdate) String() string { return proto.CompactTextString(m) } -func (*ChannelOpenUpdate) ProtoMessage() {} +func (x *ChannelOpenUpdate) Reset() { + *x = ChannelOpenUpdate{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[52] + 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_rpc_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 ChannelOpenUpdate.ProtoReflect.Descriptor instead. func (*ChannelOpenUpdate) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{52} + return file_rpc_proto_rawDescGZIP(), []int{52} } -func (m *ChannelOpenUpdate) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ChannelOpenUpdate.Unmarshal(m, b) -} -func (m *ChannelOpenUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ChannelOpenUpdate.Marshal(b, m, deterministic) -} -func (m *ChannelOpenUpdate) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChannelOpenUpdate.Merge(m, src) -} -func (m *ChannelOpenUpdate) XXX_Size() int { - return xxx_messageInfo_ChannelOpenUpdate.Size(m) -} -func (m *ChannelOpenUpdate) XXX_DiscardUnknown() { - xxx_messageInfo_ChannelOpenUpdate.DiscardUnknown(m) -} - -var xxx_messageInfo_ChannelOpenUpdate proto.InternalMessageInfo - -func (m *ChannelOpenUpdate) GetChannelPoint() *ChannelPoint { - if m != nil { - return m.ChannelPoint +func (x *ChannelOpenUpdate) GetChannelPoint() *ChannelPoint { + if x != nil { + return x.ChannelPoint } return nil } type ChannelCloseUpdate struct { - 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + 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 (m *ChannelCloseUpdate) Reset() { *m = ChannelCloseUpdate{} } -func (m *ChannelCloseUpdate) String() string { return proto.CompactTextString(m) } -func (*ChannelCloseUpdate) ProtoMessage() {} +func (x *ChannelCloseUpdate) Reset() { + *x = ChannelCloseUpdate{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[53] + 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_rpc_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 ChannelCloseUpdate.ProtoReflect.Descriptor instead. func (*ChannelCloseUpdate) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{53} + return file_rpc_proto_rawDescGZIP(), []int{53} } -func (m *ChannelCloseUpdate) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ChannelCloseUpdate.Unmarshal(m, b) -} -func (m *ChannelCloseUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ChannelCloseUpdate.Marshal(b, m, deterministic) -} -func (m *ChannelCloseUpdate) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChannelCloseUpdate.Merge(m, src) -} -func (m *ChannelCloseUpdate) XXX_Size() int { - return xxx_messageInfo_ChannelCloseUpdate.Size(m) -} -func (m *ChannelCloseUpdate) XXX_DiscardUnknown() { - xxx_messageInfo_ChannelCloseUpdate.DiscardUnknown(m) -} - -var xxx_messageInfo_ChannelCloseUpdate proto.InternalMessageInfo - -func (m *ChannelCloseUpdate) GetClosingTxid() []byte { - if m != nil { - return m.ClosingTxid +func (x *ChannelCloseUpdate) GetClosingTxid() []byte { + if x != nil { + return x.ClosingTxid } return nil } -func (m *ChannelCloseUpdate) GetSuccess() bool { - if m != nil { - return m.Success +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 @@ -4893,7 +5727,9 @@ type CloseChannelRequest struct { // Deprecated, use sat_per_vbyte. // A manual fee rate set in sat/vbyte that should be used when crafting the // closure transaction. - SatPerByte int64 `protobuf:"varint,4,opt,name=sat_per_byte,json=satPerByte,proto3" json:"sat_per_byte,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + 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 @@ -4902,114 +5738,147 @@ type CloseChannelRequest struct { 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SatPerVbyte uint64 `protobuf:"varint,6,opt,name=sat_per_vbyte,json=satPerVbyte,proto3" json:"sat_per_vbyte,omitempty"` } -func (m *CloseChannelRequest) Reset() { *m = CloseChannelRequest{} } -func (m *CloseChannelRequest) String() string { return proto.CompactTextString(m) } -func (*CloseChannelRequest) ProtoMessage() {} +func (x *CloseChannelRequest) Reset() { + *x = CloseChannelRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[54] + 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_rpc_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 CloseChannelRequest.ProtoReflect.Descriptor instead. func (*CloseChannelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{54} + return file_rpc_proto_rawDescGZIP(), []int{54} } -func (m *CloseChannelRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CloseChannelRequest.Unmarshal(m, b) -} -func (m *CloseChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CloseChannelRequest.Marshal(b, m, deterministic) -} -func (m *CloseChannelRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_CloseChannelRequest.Merge(m, src) -} -func (m *CloseChannelRequest) XXX_Size() int { - return xxx_messageInfo_CloseChannelRequest.Size(m) -} -func (m *CloseChannelRequest) XXX_DiscardUnknown() { - xxx_messageInfo_CloseChannelRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_CloseChannelRequest proto.InternalMessageInfo - -func (m *CloseChannelRequest) GetChannelPoint() *ChannelPoint { - if m != nil { - return m.ChannelPoint +func (x *CloseChannelRequest) GetChannelPoint() *ChannelPoint { + if x != nil { + return x.ChannelPoint } return nil } -func (m *CloseChannelRequest) GetForce() bool { - if m != nil { - return m.Force +func (x *CloseChannelRequest) GetForce() bool { + if x != nil { + return x.Force } return false } -func (m *CloseChannelRequest) GetTargetConf() int32 { - if m != nil { - return m.TargetConf +func (x *CloseChannelRequest) GetTargetConf() int32 { + if x != nil { + return x.TargetConf } return 0 } // Deprecated: Do not use. -func (m *CloseChannelRequest) GetSatPerByte() int64 { - if m != nil { - return m.SatPerByte +func (x *CloseChannelRequest) GetSatPerByte() int64 { + if x != nil { + return x.SatPerByte } return 0 } -func (m *CloseChannelRequest) GetDeliveryAddress() string { - if m != nil { - return m.DeliveryAddress +func (x *CloseChannelRequest) GetDeliveryAddress() string { + if x != nil { + return x.DeliveryAddress } return "" } -func (m *CloseChannelRequest) GetSatPerVbyte() uint64 { - if m != nil { - return m.SatPerVbyte +func (x *CloseChannelRequest) GetSatPerVbyte() uint64 { + if x != nil { + return x.SatPerVbyte } return 0 } type CloseStatusUpdate struct { - // Types that are valid to be assigned to Update: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Update: // *CloseStatusUpdate_ClosePending // *CloseStatusUpdate_ChanClose - Update isCloseStatusUpdate_Update `protobuf_oneof:"update"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Update isCloseStatusUpdate_Update `protobuf_oneof:"update"` } -func (m *CloseStatusUpdate) Reset() { *m = CloseStatusUpdate{} } -func (m *CloseStatusUpdate) String() string { return proto.CompactTextString(m) } -func (*CloseStatusUpdate) ProtoMessage() {} +func (x *CloseStatusUpdate) Reset() { + *x = CloseStatusUpdate{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[55] + 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_rpc_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 CloseStatusUpdate.ProtoReflect.Descriptor instead. func (*CloseStatusUpdate) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{55} + return file_rpc_proto_rawDescGZIP(), []int{55} } -func (m *CloseStatusUpdate) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CloseStatusUpdate.Unmarshal(m, b) -} -func (m *CloseStatusUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CloseStatusUpdate.Marshal(b, m, deterministic) -} -func (m *CloseStatusUpdate) XXX_Merge(src proto.Message) { - xxx_messageInfo_CloseStatusUpdate.Merge(m, src) -} -func (m *CloseStatusUpdate) XXX_Size() int { - return xxx_messageInfo_CloseStatusUpdate.Size(m) -} -func (m *CloseStatusUpdate) XXX_DiscardUnknown() { - xxx_messageInfo_CloseStatusUpdate.DiscardUnknown(m) +func (m *CloseStatusUpdate) GetUpdate() isCloseStatusUpdate_Update { + if m != nil { + return m.Update + } + return nil } -var xxx_messageInfo_CloseStatusUpdate proto.InternalMessageInfo +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 +} type isCloseStatusUpdate_Update interface { isCloseStatusUpdate_Update() @@ -5027,83 +5896,66 @@ func (*CloseStatusUpdate_ClosePending) isCloseStatusUpdate_Update() {} func (*CloseStatusUpdate_ChanClose) isCloseStatusUpdate_Update() {} -func (m *CloseStatusUpdate) GetUpdate() isCloseStatusUpdate_Update { - if m != nil { - return m.Update - } - return nil -} - -func (m *CloseStatusUpdate) GetClosePending() *PendingUpdate { - if x, ok := m.GetUpdate().(*CloseStatusUpdate_ClosePending); ok { - return x.ClosePending - } - return nil -} - -func (m *CloseStatusUpdate) GetChanClose() *ChannelCloseUpdate { - if x, ok := m.GetUpdate().(*CloseStatusUpdate_ChanClose); ok { - return x.ChanClose - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*CloseStatusUpdate) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*CloseStatusUpdate_ClosePending)(nil), - (*CloseStatusUpdate_ChanClose)(nil), - } -} - type PendingUpdate struct { - 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + 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 (m *PendingUpdate) Reset() { *m = PendingUpdate{} } -func (m *PendingUpdate) String() string { return proto.CompactTextString(m) } -func (*PendingUpdate) ProtoMessage() {} +func (x *PendingUpdate) Reset() { + *x = PendingUpdate{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[56] + 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_rpc_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 PendingUpdate.ProtoReflect.Descriptor instead. func (*PendingUpdate) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{56} + return file_rpc_proto_rawDescGZIP(), []int{56} } -func (m *PendingUpdate) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PendingUpdate.Unmarshal(m, b) -} -func (m *PendingUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PendingUpdate.Marshal(b, m, deterministic) -} -func (m *PendingUpdate) XXX_Merge(src proto.Message) { - xxx_messageInfo_PendingUpdate.Merge(m, src) -} -func (m *PendingUpdate) XXX_Size() int { - return xxx_messageInfo_PendingUpdate.Size(m) -} -func (m *PendingUpdate) XXX_DiscardUnknown() { - xxx_messageInfo_PendingUpdate.DiscardUnknown(m) -} - -var xxx_messageInfo_PendingUpdate proto.InternalMessageInfo - -func (m *PendingUpdate) GetTxid() []byte { - if m != nil { - return m.Txid +func (x *PendingUpdate) GetTxid() []byte { + if x != nil { + return x.Txid } return nil } -func (m *PendingUpdate) GetOutputIndex() uint32 { - if m != nil { - return m.OutputIndex +func (x *PendingUpdate) GetOutputIndex() uint32 { + if x != nil { + return x.OutputIndex } return 0 } 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. @@ -5117,59 +5969,67 @@ type ReadyForPsbtFunding struct { //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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Psbt []byte `protobuf:"bytes,3,opt,name=psbt,proto3" json:"psbt,omitempty"` } -func (m *ReadyForPsbtFunding) Reset() { *m = ReadyForPsbtFunding{} } -func (m *ReadyForPsbtFunding) String() string { return proto.CompactTextString(m) } -func (*ReadyForPsbtFunding) ProtoMessage() {} +func (x *ReadyForPsbtFunding) Reset() { + *x = ReadyForPsbtFunding{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[57] + 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_rpc_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 ReadyForPsbtFunding.ProtoReflect.Descriptor instead. func (*ReadyForPsbtFunding) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{57} + return file_rpc_proto_rawDescGZIP(), []int{57} } -func (m *ReadyForPsbtFunding) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReadyForPsbtFunding.Unmarshal(m, b) -} -func (m *ReadyForPsbtFunding) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReadyForPsbtFunding.Marshal(b, m, deterministic) -} -func (m *ReadyForPsbtFunding) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReadyForPsbtFunding.Merge(m, src) -} -func (m *ReadyForPsbtFunding) XXX_Size() int { - return xxx_messageInfo_ReadyForPsbtFunding.Size(m) -} -func (m *ReadyForPsbtFunding) XXX_DiscardUnknown() { - xxx_messageInfo_ReadyForPsbtFunding.DiscardUnknown(m) -} - -var xxx_messageInfo_ReadyForPsbtFunding proto.InternalMessageInfo - -func (m *ReadyForPsbtFunding) GetFundingAddress() string { - if m != nil { - return m.FundingAddress +func (x *ReadyForPsbtFunding) GetFundingAddress() string { + if x != nil { + return x.FundingAddress } return "" } -func (m *ReadyForPsbtFunding) GetFundingAmount() int64 { - if m != nil { - return m.FundingAmount +func (x *ReadyForPsbtFunding) GetFundingAmount() int64 { + if x != nil { + return x.FundingAmount } return 0 } -func (m *ReadyForPsbtFunding) GetPsbt() []byte { - if m != nil { - return m.Psbt +func (x *ReadyForPsbtFunding) GetPsbt() []byte { + if x != nil { + return x.Psbt } 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"` @@ -5180,7 +6040,9 @@ type OpenChannelRequest struct { // //The hex encoded pubkey of the node to open a channel with. Deprecated now //that the REST gateway supports base64 encoding of bytes fields. - NodePubkeyString string `protobuf:"bytes,3,opt,name=node_pubkey_string,json=nodePubkeyString,proto3" json:"node_pubkey_string,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + 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 @@ -5192,7 +6054,9 @@ type OpenChannelRequest struct { // Deprecated, use sat_per_vbyte. // A manual fee rate set in sat/vbyte that should be used when crafting the // funding transaction. - SatPerByte int64 `protobuf:"varint,7,opt,name=sat_per_byte,json=satPerByte,proto3" json:"sat_per_byte,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + 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"` @@ -5236,160 +6100,168 @@ type OpenChannelRequest struct { // //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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + MaxLocalCsv uint32 `protobuf:"varint,17,opt,name=max_local_csv,json=maxLocalCsv,proto3" json:"max_local_csv,omitempty"` } -func (m *OpenChannelRequest) Reset() { *m = OpenChannelRequest{} } -func (m *OpenChannelRequest) String() string { return proto.CompactTextString(m) } -func (*OpenChannelRequest) ProtoMessage() {} +func (x *OpenChannelRequest) Reset() { + *x = OpenChannelRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[58] + 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_rpc_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 OpenChannelRequest.ProtoReflect.Descriptor instead. func (*OpenChannelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{58} + return file_rpc_proto_rawDescGZIP(), []int{58} } -func (m *OpenChannelRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OpenChannelRequest.Unmarshal(m, b) -} -func (m *OpenChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OpenChannelRequest.Marshal(b, m, deterministic) -} -func (m *OpenChannelRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_OpenChannelRequest.Merge(m, src) -} -func (m *OpenChannelRequest) XXX_Size() int { - return xxx_messageInfo_OpenChannelRequest.Size(m) -} -func (m *OpenChannelRequest) XXX_DiscardUnknown() { - xxx_messageInfo_OpenChannelRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_OpenChannelRequest proto.InternalMessageInfo - -func (m *OpenChannelRequest) GetSatPerVbyte() uint64 { - if m != nil { - return m.SatPerVbyte +func (x *OpenChannelRequest) GetSatPerVbyte() uint64 { + if x != nil { + return x.SatPerVbyte } return 0 } -func (m *OpenChannelRequest) GetNodePubkey() []byte { - if m != nil { - return m.NodePubkey +func (x *OpenChannelRequest) GetNodePubkey() []byte { + if x != nil { + return x.NodePubkey } return nil } // Deprecated: Do not use. -func (m *OpenChannelRequest) GetNodePubkeyString() string { - if m != nil { - return m.NodePubkeyString +func (x *OpenChannelRequest) GetNodePubkeyString() string { + if x != nil { + return x.NodePubkeyString } return "" } -func (m *OpenChannelRequest) GetLocalFundingAmount() int64 { - if m != nil { - return m.LocalFundingAmount +func (x *OpenChannelRequest) GetLocalFundingAmount() int64 { + if x != nil { + return x.LocalFundingAmount } return 0 } -func (m *OpenChannelRequest) GetPushSat() int64 { - if m != nil { - return m.PushSat +func (x *OpenChannelRequest) GetPushSat() int64 { + if x != nil { + return x.PushSat } return 0 } -func (m *OpenChannelRequest) GetTargetConf() int32 { - if m != nil { - return m.TargetConf +func (x *OpenChannelRequest) GetTargetConf() int32 { + if x != nil { + return x.TargetConf } return 0 } // Deprecated: Do not use. -func (m *OpenChannelRequest) GetSatPerByte() int64 { - if m != nil { - return m.SatPerByte +func (x *OpenChannelRequest) GetSatPerByte() int64 { + if x != nil { + return x.SatPerByte } return 0 } -func (m *OpenChannelRequest) GetPrivate() bool { - if m != nil { - return m.Private +func (x *OpenChannelRequest) GetPrivate() bool { + if x != nil { + return x.Private } return false } -func (m *OpenChannelRequest) GetMinHtlcMsat() int64 { - if m != nil { - return m.MinHtlcMsat +func (x *OpenChannelRequest) GetMinHtlcMsat() int64 { + if x != nil { + return x.MinHtlcMsat } return 0 } -func (m *OpenChannelRequest) GetRemoteCsvDelay() uint32 { - if m != nil { - return m.RemoteCsvDelay +func (x *OpenChannelRequest) GetRemoteCsvDelay() uint32 { + if x != nil { + return x.RemoteCsvDelay } return 0 } -func (m *OpenChannelRequest) GetMinConfs() int32 { - if m != nil { - return m.MinConfs +func (x *OpenChannelRequest) GetMinConfs() int32 { + if x != nil { + return x.MinConfs } return 0 } -func (m *OpenChannelRequest) GetSpendUnconfirmed() bool { - if m != nil { - return m.SpendUnconfirmed +func (x *OpenChannelRequest) GetSpendUnconfirmed() bool { + if x != nil { + return x.SpendUnconfirmed } return false } -func (m *OpenChannelRequest) GetCloseAddress() string { - if m != nil { - return m.CloseAddress +func (x *OpenChannelRequest) GetCloseAddress() string { + if x != nil { + return x.CloseAddress } return "" } -func (m *OpenChannelRequest) GetFundingShim() *FundingShim { - if m != nil { - return m.FundingShim +func (x *OpenChannelRequest) GetFundingShim() *FundingShim { + if x != nil { + return x.FundingShim } return nil } -func (m *OpenChannelRequest) GetRemoteMaxValueInFlightMsat() uint64 { - if m != nil { - return m.RemoteMaxValueInFlightMsat +func (x *OpenChannelRequest) GetRemoteMaxValueInFlightMsat() uint64 { + if x != nil { + return x.RemoteMaxValueInFlightMsat } return 0 } -func (m *OpenChannelRequest) GetRemoteMaxHtlcs() uint32 { - if m != nil { - return m.RemoteMaxHtlcs +func (x *OpenChannelRequest) GetRemoteMaxHtlcs() uint32 { + if x != nil { + return x.RemoteMaxHtlcs } return 0 } -func (m *OpenChannelRequest) GetMaxLocalCsv() uint32 { - if m != nil { - return m.MaxLocalCsv +func (x *OpenChannelRequest) GetMaxLocalCsv() uint32 { + if x != nil { + return x.MaxLocalCsv } return 0 } type OpenStatusUpdate struct { - // Types that are valid to be assigned to Update: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Update: // *OpenStatusUpdate_ChanPending // *OpenStatusUpdate_ChanOpen // *OpenStatusUpdate_PsbtFund @@ -5397,50 +6269,98 @@ type OpenStatusUpdate struct { // //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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + PendingChanId []byte `protobuf:"bytes,4,opt,name=pending_chan_id,json=pendingChanId,proto3" json:"pending_chan_id,omitempty"` } -func (m *OpenStatusUpdate) Reset() { *m = OpenStatusUpdate{} } -func (m *OpenStatusUpdate) String() string { return proto.CompactTextString(m) } -func (*OpenStatusUpdate) ProtoMessage() {} +func (x *OpenStatusUpdate) Reset() { + *x = OpenStatusUpdate{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[59] + 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_rpc_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 OpenStatusUpdate.ProtoReflect.Descriptor instead. func (*OpenStatusUpdate) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{59} + return file_rpc_proto_rawDescGZIP(), []int{59} } -func (m *OpenStatusUpdate) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_OpenStatusUpdate.Unmarshal(m, b) -} -func (m *OpenStatusUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_OpenStatusUpdate.Marshal(b, m, deterministic) -} -func (m *OpenStatusUpdate) XXX_Merge(src proto.Message) { - xxx_messageInfo_OpenStatusUpdate.Merge(m, src) -} -func (m *OpenStatusUpdate) XXX_Size() int { - return xxx_messageInfo_OpenStatusUpdate.Size(m) -} -func (m *OpenStatusUpdate) XXX_DiscardUnknown() { - xxx_messageInfo_OpenStatusUpdate.DiscardUnknown(m) +func (m *OpenStatusUpdate) GetUpdate() isOpenStatusUpdate_Update { + if m != nil { + return m.Update + } + return nil } -var xxx_messageInfo_OpenStatusUpdate proto.InternalMessageInfo +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"` } @@ -5450,151 +6370,127 @@ func (*OpenStatusUpdate_ChanOpen) isOpenStatusUpdate_Update() {} func (*OpenStatusUpdate_PsbtFund) isOpenStatusUpdate_Update() {} -func (m *OpenStatusUpdate) GetUpdate() isOpenStatusUpdate_Update { - if m != nil { - return m.Update - } - return nil -} - -func (m *OpenStatusUpdate) GetChanPending() *PendingUpdate { - if x, ok := m.GetUpdate().(*OpenStatusUpdate_ChanPending); ok { - return x.ChanPending - } - return nil -} - -func (m *OpenStatusUpdate) GetChanOpen() *ChannelOpenUpdate { - if x, ok := m.GetUpdate().(*OpenStatusUpdate_ChanOpen); ok { - return x.ChanOpen - } - return nil -} - -func (m *OpenStatusUpdate) GetPsbtFund() *ReadyForPsbtFunding { - if x, ok := m.GetUpdate().(*OpenStatusUpdate_PsbtFund); ok { - return x.PsbtFund - } - return nil -} - -func (m *OpenStatusUpdate) GetPendingChanId() []byte { - if m != nil { - return m.PendingChanId - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*OpenStatusUpdate) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*OpenStatusUpdate_ChanPending)(nil), - (*OpenStatusUpdate_ChanOpen)(nil), - (*OpenStatusUpdate_PsbtFund)(nil), - } -} - 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + KeyIndex int32 `protobuf:"varint,2,opt,name=key_index,json=keyIndex,proto3" json:"key_index,omitempty"` } -func (m *KeyLocator) Reset() { *m = KeyLocator{} } -func (m *KeyLocator) String() string { return proto.CompactTextString(m) } -func (*KeyLocator) ProtoMessage() {} +func (x *KeyLocator) Reset() { + *x = KeyLocator{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[60] + 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_rpc_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 KeyLocator.ProtoReflect.Descriptor instead. func (*KeyLocator) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{60} + return file_rpc_proto_rawDescGZIP(), []int{60} } -func (m *KeyLocator) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_KeyLocator.Unmarshal(m, b) -} -func (m *KeyLocator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_KeyLocator.Marshal(b, m, deterministic) -} -func (m *KeyLocator) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeyLocator.Merge(m, src) -} -func (m *KeyLocator) XXX_Size() int { - return xxx_messageInfo_KeyLocator.Size(m) -} -func (m *KeyLocator) XXX_DiscardUnknown() { - xxx_messageInfo_KeyLocator.DiscardUnknown(m) -} - -var xxx_messageInfo_KeyLocator proto.InternalMessageInfo - -func (m *KeyLocator) GetKeyFamily() int32 { - if m != nil { - return m.KeyFamily +func (x *KeyLocator) GetKeyFamily() int32 { + if x != nil { + return x.KeyFamily } return 0 } -func (m *KeyLocator) GetKeyIndex() int32 { - if m != nil { - return m.KeyIndex +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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + KeyLoc *KeyLocator `protobuf:"bytes,2,opt,name=key_loc,json=keyLoc,proto3" json:"key_loc,omitempty"` } -func (m *KeyDescriptor) Reset() { *m = KeyDescriptor{} } -func (m *KeyDescriptor) String() string { return proto.CompactTextString(m) } -func (*KeyDescriptor) ProtoMessage() {} +func (x *KeyDescriptor) Reset() { + *x = KeyDescriptor{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[61] + 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_rpc_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 KeyDescriptor.ProtoReflect.Descriptor instead. func (*KeyDescriptor) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{61} + return file_rpc_proto_rawDescGZIP(), []int{61} } -func (m *KeyDescriptor) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_KeyDescriptor.Unmarshal(m, b) -} -func (m *KeyDescriptor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_KeyDescriptor.Marshal(b, m, deterministic) -} -func (m *KeyDescriptor) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeyDescriptor.Merge(m, src) -} -func (m *KeyDescriptor) XXX_Size() int { - return xxx_messageInfo_KeyDescriptor.Size(m) -} -func (m *KeyDescriptor) XXX_DiscardUnknown() { - xxx_messageInfo_KeyDescriptor.DiscardUnknown(m) -} - -var xxx_messageInfo_KeyDescriptor proto.InternalMessageInfo - -func (m *KeyDescriptor) GetRawKeyBytes() []byte { - if m != nil { - return m.RawKeyBytes +func (x *KeyDescriptor) GetRawKeyBytes() []byte { + if x != nil { + return x.RawKeyBytes } return nil } -func (m *KeyDescriptor) GetKeyLoc() *KeyLocator { - if m != nil { - return m.KeyLoc +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. @@ -5617,80 +6513,88 @@ type ChanPointShim struct { //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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ThawHeight uint32 `protobuf:"varint,6,opt,name=thaw_height,json=thawHeight,proto3" json:"thaw_height,omitempty"` } -func (m *ChanPointShim) Reset() { *m = ChanPointShim{} } -func (m *ChanPointShim) String() string { return proto.CompactTextString(m) } -func (*ChanPointShim) ProtoMessage() {} +func (x *ChanPointShim) Reset() { + *x = ChanPointShim{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[62] + 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_rpc_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 ChanPointShim.ProtoReflect.Descriptor instead. func (*ChanPointShim) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{62} + return file_rpc_proto_rawDescGZIP(), []int{62} } -func (m *ChanPointShim) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ChanPointShim.Unmarshal(m, b) -} -func (m *ChanPointShim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ChanPointShim.Marshal(b, m, deterministic) -} -func (m *ChanPointShim) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChanPointShim.Merge(m, src) -} -func (m *ChanPointShim) XXX_Size() int { - return xxx_messageInfo_ChanPointShim.Size(m) -} -func (m *ChanPointShim) XXX_DiscardUnknown() { - xxx_messageInfo_ChanPointShim.DiscardUnknown(m) -} - -var xxx_messageInfo_ChanPointShim proto.InternalMessageInfo - -func (m *ChanPointShim) GetAmt() int64 { - if m != nil { - return m.Amt +func (x *ChanPointShim) GetAmt() int64 { + if x != nil { + return x.Amt } return 0 } -func (m *ChanPointShim) GetChanPoint() *ChannelPoint { - if m != nil { - return m.ChanPoint +func (x *ChanPointShim) GetChanPoint() *ChannelPoint { + if x != nil { + return x.ChanPoint } return nil } -func (m *ChanPointShim) GetLocalKey() *KeyDescriptor { - if m != nil { - return m.LocalKey +func (x *ChanPointShim) GetLocalKey() *KeyDescriptor { + if x != nil { + return x.LocalKey } return nil } -func (m *ChanPointShim) GetRemoteKey() []byte { - if m != nil { - return m.RemoteKey +func (x *ChanPointShim) GetRemoteKey() []byte { + if x != nil { + return x.RemoteKey } return nil } -func (m *ChanPointShim) GetPendingChanId() []byte { - if m != nil { - return m.PendingChanId +func (x *ChanPointShim) GetPendingChanId() []byte { + if x != nil { + return x.PendingChanId } return nil } -func (m *ChanPointShim) GetThawHeight() uint32 { - if m != nil { - return m.ThawHeight +func (x *ChanPointShim) GetThawHeight() uint32 { + if x != nil { + return x.ThawHeight } return 0 } 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 @@ -5707,109 +6611,105 @@ type PsbtShim struct { //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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + NoPublish bool `protobuf:"varint,3,opt,name=no_publish,json=noPublish,proto3" json:"no_publish,omitempty"` } -func (m *PsbtShim) Reset() { *m = PsbtShim{} } -func (m *PsbtShim) String() string { return proto.CompactTextString(m) } -func (*PsbtShim) ProtoMessage() {} +func (x *PsbtShim) Reset() { + *x = PsbtShim{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[63] + 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_rpc_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 PsbtShim.ProtoReflect.Descriptor instead. func (*PsbtShim) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{63} + return file_rpc_proto_rawDescGZIP(), []int{63} } -func (m *PsbtShim) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PsbtShim.Unmarshal(m, b) -} -func (m *PsbtShim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PsbtShim.Marshal(b, m, deterministic) -} -func (m *PsbtShim) XXX_Merge(src proto.Message) { - xxx_messageInfo_PsbtShim.Merge(m, src) -} -func (m *PsbtShim) XXX_Size() int { - return xxx_messageInfo_PsbtShim.Size(m) -} -func (m *PsbtShim) XXX_DiscardUnknown() { - xxx_messageInfo_PsbtShim.DiscardUnknown(m) -} - -var xxx_messageInfo_PsbtShim proto.InternalMessageInfo - -func (m *PsbtShim) GetPendingChanId() []byte { - if m != nil { - return m.PendingChanId +func (x *PsbtShim) GetPendingChanId() []byte { + if x != nil { + return x.PendingChanId } return nil } -func (m *PsbtShim) GetBasePsbt() []byte { - if m != nil { - return m.BasePsbt +func (x *PsbtShim) GetBasePsbt() []byte { + if x != nil { + return x.BasePsbt } return nil } -func (m *PsbtShim) GetNoPublish() bool { - if m != nil { - return m.NoPublish +func (x *PsbtShim) GetNoPublish() bool { + if x != nil { + return x.NoPublish } return false } type FundingShim struct { - // Types that are valid to be assigned to Shim: + 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Shim isFundingShim_Shim `protobuf_oneof:"shim"` } -func (m *FundingShim) Reset() { *m = FundingShim{} } -func (m *FundingShim) String() string { return proto.CompactTextString(m) } -func (*FundingShim) ProtoMessage() {} +func (x *FundingShim) Reset() { + *x = FundingShim{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[64] + 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_rpc_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 FundingShim.ProtoReflect.Descriptor instead. func (*FundingShim) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{64} + return file_rpc_proto_rawDescGZIP(), []int{64} } -func (m *FundingShim) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FundingShim.Unmarshal(m, b) -} -func (m *FundingShim) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FundingShim.Marshal(b, m, deterministic) -} -func (m *FundingShim) XXX_Merge(src proto.Message) { - xxx_messageInfo_FundingShim.Merge(m, src) -} -func (m *FundingShim) XXX_Size() int { - return xxx_messageInfo_FundingShim.Size(m) -} -func (m *FundingShim) XXX_DiscardUnknown() { - xxx_messageInfo_FundingShim.DiscardUnknown(m) -} - -var xxx_messageInfo_FundingShim proto.InternalMessageInfo - -type isFundingShim_Shim interface { - isFundingShim_Shim() -} - -type FundingShim_ChanPointShim struct { - ChanPointShim *ChanPointShim `protobuf:"bytes,1,opt,name=chan_point_shim,json=chanPointShim,proto3,oneof"` -} - -type FundingShim_PsbtShim struct { - PsbtShim *PsbtShim `protobuf:"bytes,2,opt,name=psbt_shim,json=psbtShim,proto3,oneof"` -} - -func (*FundingShim_ChanPointShim) isFundingShim_Shim() {} - -func (*FundingShim_PsbtShim) isFundingShim_Shim() {} - func (m *FundingShim) GetShim() isFundingShim_Shim { if m != nil { return m.Shim @@ -5817,121 +6717,155 @@ func (m *FundingShim) GetShim() isFundingShim_Shim { return nil } -func (m *FundingShim) GetChanPointShim() *ChanPointShim { - if x, ok := m.GetShim().(*FundingShim_ChanPointShim); ok { +func (x *FundingShim) GetChanPointShim() *ChanPointShim { + if x, ok := x.GetShim().(*FundingShim_ChanPointShim); ok { return x.ChanPointShim } return nil } -func (m *FundingShim) GetPsbtShim() *PsbtShim { - if x, ok := m.GetShim().(*FundingShim_PsbtShim); ok { +func (x *FundingShim) GetPsbtShim() *PsbtShim { + if x, ok := x.GetShim().(*FundingShim_PsbtShim); ok { return x.PsbtShim } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*FundingShim) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*FundingShim_ChanPointShim)(nil), - (*FundingShim_PsbtShim)(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_rpc_proto_msgTypes[65] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -type FundingShimCancel struct { - // 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *FundingShimCancel) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *FundingShimCancel) Reset() { *m = FundingShimCancel{} } -func (m *FundingShimCancel) String() string { return proto.CompactTextString(m) } -func (*FundingShimCancel) ProtoMessage() {} +func (*FundingShimCancel) ProtoMessage() {} + +func (x *FundingShimCancel) ProtoReflect() protoreflect.Message { + mi := &file_rpc_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 FundingShimCancel.ProtoReflect.Descriptor instead. func (*FundingShimCancel) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{65} + return file_rpc_proto_rawDescGZIP(), []int{65} } -func (m *FundingShimCancel) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FundingShimCancel.Unmarshal(m, b) -} -func (m *FundingShimCancel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FundingShimCancel.Marshal(b, m, deterministic) -} -func (m *FundingShimCancel) XXX_Merge(src proto.Message) { - xxx_messageInfo_FundingShimCancel.Merge(m, src) -} -func (m *FundingShimCancel) XXX_Size() int { - return xxx_messageInfo_FundingShimCancel.Size(m) -} -func (m *FundingShimCancel) XXX_DiscardUnknown() { - xxx_messageInfo_FundingShimCancel.DiscardUnknown(m) -} - -var xxx_messageInfo_FundingShimCancel proto.InternalMessageInfo - -func (m *FundingShimCancel) GetPendingChanId() []byte { - if m != nil { - return m.PendingChanId +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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + PendingChanId []byte `protobuf:"bytes,2,opt,name=pending_chan_id,json=pendingChanId,proto3" json:"pending_chan_id,omitempty"` } -func (m *FundingPsbtVerify) Reset() { *m = FundingPsbtVerify{} } -func (m *FundingPsbtVerify) String() string { return proto.CompactTextString(m) } -func (*FundingPsbtVerify) ProtoMessage() {} +func (x *FundingPsbtVerify) Reset() { + *x = FundingPsbtVerify{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[66] + 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_rpc_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 FundingPsbtVerify.ProtoReflect.Descriptor instead. func (*FundingPsbtVerify) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{66} + return file_rpc_proto_rawDescGZIP(), []int{66} } -func (m *FundingPsbtVerify) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FundingPsbtVerify.Unmarshal(m, b) -} -func (m *FundingPsbtVerify) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FundingPsbtVerify.Marshal(b, m, deterministic) -} -func (m *FundingPsbtVerify) XXX_Merge(src proto.Message) { - xxx_messageInfo_FundingPsbtVerify.Merge(m, src) -} -func (m *FundingPsbtVerify) XXX_Size() int { - return xxx_messageInfo_FundingPsbtVerify.Size(m) -} -func (m *FundingPsbtVerify) XXX_DiscardUnknown() { - xxx_messageInfo_FundingPsbtVerify.DiscardUnknown(m) -} - -var xxx_messageInfo_FundingPsbtVerify proto.InternalMessageInfo - -func (m *FundingPsbtVerify) GetFundedPsbt() []byte { - if m != nil { - return m.FundedPsbt +func (x *FundingPsbtVerify) GetFundedPsbt() []byte { + if x != nil { + return x.FundedPsbt } return nil } -func (m *FundingPsbtVerify) GetPendingChanId() []byte { - if m != nil { - return m.PendingChanId +func (x *FundingPsbtVerify) GetPendingChanId() []byte { + if x != nil { + return x.PendingChanId } return nil } 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 @@ -5943,112 +6877,173 @@ type FundingPsbtFinalize struct { //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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + FinalRawTx []byte `protobuf:"bytes,3,opt,name=final_raw_tx,json=finalRawTx,proto3" json:"final_raw_tx,omitempty"` } -func (m *FundingPsbtFinalize) Reset() { *m = FundingPsbtFinalize{} } -func (m *FundingPsbtFinalize) String() string { return proto.CompactTextString(m) } -func (*FundingPsbtFinalize) ProtoMessage() {} +func (x *FundingPsbtFinalize) Reset() { + *x = FundingPsbtFinalize{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[67] + 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_rpc_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 FundingPsbtFinalize.ProtoReflect.Descriptor instead. func (*FundingPsbtFinalize) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{67} + return file_rpc_proto_rawDescGZIP(), []int{67} } -func (m *FundingPsbtFinalize) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FundingPsbtFinalize.Unmarshal(m, b) -} -func (m *FundingPsbtFinalize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FundingPsbtFinalize.Marshal(b, m, deterministic) -} -func (m *FundingPsbtFinalize) XXX_Merge(src proto.Message) { - xxx_messageInfo_FundingPsbtFinalize.Merge(m, src) -} -func (m *FundingPsbtFinalize) XXX_Size() int { - return xxx_messageInfo_FundingPsbtFinalize.Size(m) -} -func (m *FundingPsbtFinalize) XXX_DiscardUnknown() { - xxx_messageInfo_FundingPsbtFinalize.DiscardUnknown(m) -} - -var xxx_messageInfo_FundingPsbtFinalize proto.InternalMessageInfo - -func (m *FundingPsbtFinalize) GetSignedPsbt() []byte { - if m != nil { - return m.SignedPsbt +func (x *FundingPsbtFinalize) GetSignedPsbt() []byte { + if x != nil { + return x.SignedPsbt } return nil } -func (m *FundingPsbtFinalize) GetPendingChanId() []byte { - if m != nil { - return m.PendingChanId +func (x *FundingPsbtFinalize) GetPendingChanId() []byte { + if x != nil { + return x.PendingChanId } return nil } -func (m *FundingPsbtFinalize) GetFinalRawTx() []byte { - if m != nil { - return m.FinalRawTx +func (x *FundingPsbtFinalize) GetFinalRawTx() []byte { + if x != nil { + return x.FinalRawTx } return nil } type FundingTransitionMsg struct { - // Types that are valid to be assigned to Trigger: + 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Trigger isFundingTransitionMsg_Trigger `protobuf_oneof:"trigger"` } -func (m *FundingTransitionMsg) Reset() { *m = FundingTransitionMsg{} } -func (m *FundingTransitionMsg) String() string { return proto.CompactTextString(m) } -func (*FundingTransitionMsg) ProtoMessage() {} +func (x *FundingTransitionMsg) Reset() { + *x = FundingTransitionMsg{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[68] + 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_rpc_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 FundingTransitionMsg.ProtoReflect.Descriptor instead. func (*FundingTransitionMsg) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{68} + return file_rpc_proto_rawDescGZIP(), []int{68} } -func (m *FundingTransitionMsg) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FundingTransitionMsg.Unmarshal(m, b) -} -func (m *FundingTransitionMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FundingTransitionMsg.Marshal(b, m, deterministic) -} -func (m *FundingTransitionMsg) XXX_Merge(src proto.Message) { - xxx_messageInfo_FundingTransitionMsg.Merge(m, src) -} -func (m *FundingTransitionMsg) XXX_Size() int { - return xxx_messageInfo_FundingTransitionMsg.Size(m) -} -func (m *FundingTransitionMsg) XXX_DiscardUnknown() { - xxx_messageInfo_FundingTransitionMsg.DiscardUnknown(m) +func (m *FundingTransitionMsg) GetTrigger() isFundingTransitionMsg_Trigger { + if m != nil { + return m.Trigger + } + return nil } -var xxx_messageInfo_FundingTransitionMsg proto.InternalMessageInfo +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"` } @@ -6060,83 +7055,49 @@ func (*FundingTransitionMsg_PsbtVerify) isFundingTransitionMsg_Trigger() {} func (*FundingTransitionMsg_PsbtFinalize) isFundingTransitionMsg_Trigger() {} -func (m *FundingTransitionMsg) GetTrigger() isFundingTransitionMsg_Trigger { - if m != nil { - return m.Trigger - } - return nil -} - -func (m *FundingTransitionMsg) GetShimRegister() *FundingShim { - if x, ok := m.GetTrigger().(*FundingTransitionMsg_ShimRegister); ok { - return x.ShimRegister - } - return nil -} - -func (m *FundingTransitionMsg) GetShimCancel() *FundingShimCancel { - if x, ok := m.GetTrigger().(*FundingTransitionMsg_ShimCancel); ok { - return x.ShimCancel - } - return nil -} - -func (m *FundingTransitionMsg) GetPsbtVerify() *FundingPsbtVerify { - if x, ok := m.GetTrigger().(*FundingTransitionMsg_PsbtVerify); ok { - return x.PsbtVerify - } - return nil -} - -func (m *FundingTransitionMsg) GetPsbtFinalize() *FundingPsbtFinalize { - if x, ok := m.GetTrigger().(*FundingTransitionMsg_PsbtFinalize); ok { - return x.PsbtFinalize - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*FundingTransitionMsg) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*FundingTransitionMsg_ShimRegister)(nil), - (*FundingTransitionMsg_ShimCancel)(nil), - (*FundingTransitionMsg_PsbtVerify)(nil), - (*FundingTransitionMsg_PsbtFinalize)(nil), - } -} - type FundingStateStepResp struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *FundingStateStepResp) Reset() { *m = FundingStateStepResp{} } -func (m *FundingStateStepResp) String() string { return proto.CompactTextString(m) } -func (*FundingStateStepResp) ProtoMessage() {} +func (x *FundingStateStepResp) Reset() { + *x = FundingStateStepResp{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[69] + 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_rpc_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 FundingStateStepResp.ProtoReflect.Descriptor instead. func (*FundingStateStepResp) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{69} + return file_rpc_proto_rawDescGZIP(), []int{69} } -func (m *FundingStateStepResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FundingStateStepResp.Unmarshal(m, b) -} -func (m *FundingStateStepResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FundingStateStepResp.Marshal(b, m, deterministic) -} -func (m *FundingStateStepResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_FundingStateStepResp.Merge(m, src) -} -func (m *FundingStateStepResp) XXX_Size() int { - return xxx_messageInfo_FundingStateStepResp.Size(m) -} -func (m *FundingStateStepResp) XXX_DiscardUnknown() { - xxx_messageInfo_FundingStateStepResp.DiscardUnknown(m) -} - -var xxx_messageInfo_FundingStateStepResp proto.InternalMessageInfo - 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 @@ -6151,111 +7112,126 @@ type PendingHTLC struct { //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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Stage uint32 `protobuf:"varint,6,opt,name=stage,proto3" json:"stage,omitempty"` } -func (m *PendingHTLC) Reset() { *m = PendingHTLC{} } -func (m *PendingHTLC) String() string { return proto.CompactTextString(m) } -func (*PendingHTLC) ProtoMessage() {} +func (x *PendingHTLC) Reset() { + *x = PendingHTLC{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[70] + 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_rpc_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 PendingHTLC.ProtoReflect.Descriptor instead. func (*PendingHTLC) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{70} + return file_rpc_proto_rawDescGZIP(), []int{70} } -func (m *PendingHTLC) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PendingHTLC.Unmarshal(m, b) -} -func (m *PendingHTLC) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PendingHTLC.Marshal(b, m, deterministic) -} -func (m *PendingHTLC) XXX_Merge(src proto.Message) { - xxx_messageInfo_PendingHTLC.Merge(m, src) -} -func (m *PendingHTLC) XXX_Size() int { - return xxx_messageInfo_PendingHTLC.Size(m) -} -func (m *PendingHTLC) XXX_DiscardUnknown() { - xxx_messageInfo_PendingHTLC.DiscardUnknown(m) -} - -var xxx_messageInfo_PendingHTLC proto.InternalMessageInfo - -func (m *PendingHTLC) GetIncoming() bool { - if m != nil { - return m.Incoming +func (x *PendingHTLC) GetIncoming() bool { + if x != nil { + return x.Incoming } return false } -func (m *PendingHTLC) GetAmount() int64 { - if m != nil { - return m.Amount +func (x *PendingHTLC) GetAmount() int64 { + if x != nil { + return x.Amount } return 0 } -func (m *PendingHTLC) GetOutpoint() string { - if m != nil { - return m.Outpoint +func (x *PendingHTLC) GetOutpoint() string { + if x != nil { + return x.Outpoint } return "" } -func (m *PendingHTLC) GetMaturityHeight() uint32 { - if m != nil { - return m.MaturityHeight +func (x *PendingHTLC) GetMaturityHeight() uint32 { + if x != nil { + return x.MaturityHeight } return 0 } -func (m *PendingHTLC) GetBlocksTilMaturity() int32 { - if m != nil { - return m.BlocksTilMaturity +func (x *PendingHTLC) GetBlocksTilMaturity() int32 { + if x != nil { + return x.BlocksTilMaturity } return 0 } -func (m *PendingHTLC) GetStage() uint32 { - if m != nil { - return m.Stage +func (x *PendingHTLC) GetStage() uint32 { + if x != nil { + return x.Stage } return 0 } type PendingChannelsRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *PendingChannelsRequest) Reset() { *m = PendingChannelsRequest{} } -func (m *PendingChannelsRequest) String() string { return proto.CompactTextString(m) } -func (*PendingChannelsRequest) ProtoMessage() {} +func (x *PendingChannelsRequest) Reset() { + *x = PendingChannelsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[71] + 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_rpc_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 PendingChannelsRequest.ProtoReflect.Descriptor instead. func (*PendingChannelsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{71} + return file_rpc_proto_rawDescGZIP(), []int{71} } -func (m *PendingChannelsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PendingChannelsRequest.Unmarshal(m, b) -} -func (m *PendingChannelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PendingChannelsRequest.Marshal(b, m, deterministic) -} -func (m *PendingChannelsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PendingChannelsRequest.Merge(m, src) -} -func (m *PendingChannelsRequest) XXX_Size() int { - return xxx_messageInfo_PendingChannelsRequest.Size(m) -} -func (m *PendingChannelsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PendingChannelsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_PendingChannelsRequest proto.InternalMessageInfo - 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 @@ -6264,658 +7240,216 @@ type PendingChannelsResponse struct { //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. - PendingClosingChannels []*PendingChannelsResponse_ClosedChannel `protobuf:"bytes,3,rep,name=pending_closing_channels,json=pendingClosingChannels,proto3" json:"pending_closing_channels,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` } -func (m *PendingChannelsResponse) Reset() { *m = PendingChannelsResponse{} } -func (m *PendingChannelsResponse) String() string { return proto.CompactTextString(m) } -func (*PendingChannelsResponse) ProtoMessage() {} +func (x *PendingChannelsResponse) Reset() { + *x = PendingChannelsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[72] + 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_rpc_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 PendingChannelsResponse.ProtoReflect.Descriptor instead. func (*PendingChannelsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{72} + return file_rpc_proto_rawDescGZIP(), []int{72} } -func (m *PendingChannelsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PendingChannelsResponse.Unmarshal(m, b) -} -func (m *PendingChannelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PendingChannelsResponse.Marshal(b, m, deterministic) -} -func (m *PendingChannelsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_PendingChannelsResponse.Merge(m, src) -} -func (m *PendingChannelsResponse) XXX_Size() int { - return xxx_messageInfo_PendingChannelsResponse.Size(m) -} -func (m *PendingChannelsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_PendingChannelsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_PendingChannelsResponse proto.InternalMessageInfo - -func (m *PendingChannelsResponse) GetTotalLimboBalance() int64 { - if m != nil { - return m.TotalLimboBalance +func (x *PendingChannelsResponse) GetTotalLimboBalance() int64 { + if x != nil { + return x.TotalLimboBalance } return 0 } -func (m *PendingChannelsResponse) GetPendingOpenChannels() []*PendingChannelsResponse_PendingOpenChannel { - if m != nil { - return m.PendingOpenChannels +func (x *PendingChannelsResponse) GetPendingOpenChannels() []*PendingChannelsResponse_PendingOpenChannel { + if x != nil { + return x.PendingOpenChannels } return nil } // Deprecated: Do not use. -func (m *PendingChannelsResponse) GetPendingClosingChannels() []*PendingChannelsResponse_ClosedChannel { - if m != nil { - return m.PendingClosingChannels +func (x *PendingChannelsResponse) GetPendingClosingChannels() []*PendingChannelsResponse_ClosedChannel { + if x != nil { + return x.PendingClosingChannels } return nil } -func (m *PendingChannelsResponse) GetPendingForceClosingChannels() []*PendingChannelsResponse_ForceClosedChannel { - if m != nil { - return m.PendingForceClosingChannels +func (x *PendingChannelsResponse) GetPendingForceClosingChannels() []*PendingChannelsResponse_ForceClosedChannel { + if x != nil { + return x.PendingForceClosingChannels } return nil } -func (m *PendingChannelsResponse) GetWaitingCloseChannels() []*PendingChannelsResponse_WaitingCloseChannel { - if m != nil { - return m.WaitingCloseChannels +func (x *PendingChannelsResponse) GetWaitingCloseChannels() []*PendingChannelsResponse_WaitingCloseChannel { + if x != nil { + return x.WaitingCloseChannels } return nil } -type PendingChannelsResponse_PendingChannel struct { - 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PendingChannelsResponse_PendingChannel) Reset() { - *m = PendingChannelsResponse_PendingChannel{} -} -func (m *PendingChannelsResponse_PendingChannel) String() string { return proto.CompactTextString(m) } -func (*PendingChannelsResponse_PendingChannel) ProtoMessage() {} -func (*PendingChannelsResponse_PendingChannel) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{72, 0} -} - -func (m *PendingChannelsResponse_PendingChannel) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PendingChannelsResponse_PendingChannel.Unmarshal(m, b) -} -func (m *PendingChannelsResponse_PendingChannel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PendingChannelsResponse_PendingChannel.Marshal(b, m, deterministic) -} -func (m *PendingChannelsResponse_PendingChannel) XXX_Merge(src proto.Message) { - xxx_messageInfo_PendingChannelsResponse_PendingChannel.Merge(m, src) -} -func (m *PendingChannelsResponse_PendingChannel) XXX_Size() int { - return xxx_messageInfo_PendingChannelsResponse_PendingChannel.Size(m) -} -func (m *PendingChannelsResponse_PendingChannel) XXX_DiscardUnknown() { - xxx_messageInfo_PendingChannelsResponse_PendingChannel.DiscardUnknown(m) -} - -var xxx_messageInfo_PendingChannelsResponse_PendingChannel proto.InternalMessageInfo - -func (m *PendingChannelsResponse_PendingChannel) GetRemoteNodePub() string { - if m != nil { - return m.RemoteNodePub - } - return "" -} - -func (m *PendingChannelsResponse_PendingChannel) GetChannelPoint() string { - if m != nil { - return m.ChannelPoint - } - return "" -} - -func (m *PendingChannelsResponse_PendingChannel) GetCapacity() int64 { - if m != nil { - return m.Capacity - } - return 0 -} - -func (m *PendingChannelsResponse_PendingChannel) GetLocalBalance() int64 { - if m != nil { - return m.LocalBalance - } - return 0 -} - -func (m *PendingChannelsResponse_PendingChannel) GetRemoteBalance() int64 { - if m != nil { - return m.RemoteBalance - } - return 0 -} - -func (m *PendingChannelsResponse_PendingChannel) GetLocalChanReserveSat() int64 { - if m != nil { - return m.LocalChanReserveSat - } - return 0 -} - -func (m *PendingChannelsResponse_PendingChannel) GetRemoteChanReserveSat() int64 { - if m != nil { - return m.RemoteChanReserveSat - } - return 0 -} - -func (m *PendingChannelsResponse_PendingChannel) GetInitiator() Initiator { - if m != nil { - return m.Initiator - } - return Initiator_INITIATOR_UNKNOWN -} - -func (m *PendingChannelsResponse_PendingChannel) GetCommitmentType() CommitmentType { - if m != nil { - return m.CommitmentType - } - return CommitmentType_LEGACY -} - -type PendingChannelsResponse_PendingOpenChannel struct { - // The pending channel - Channel *PendingChannelsResponse_PendingChannel `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` - // The height at which this channel will be confirmed - ConfirmationHeight uint32 `protobuf:"varint,2,opt,name=confirmation_height,json=confirmationHeight,proto3" json:"confirmation_height,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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PendingChannelsResponse_PendingOpenChannel) Reset() { - *m = PendingChannelsResponse_PendingOpenChannel{} -} -func (m *PendingChannelsResponse_PendingOpenChannel) String() string { - return proto.CompactTextString(m) -} -func (*PendingChannelsResponse_PendingOpenChannel) ProtoMessage() {} -func (*PendingChannelsResponse_PendingOpenChannel) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{72, 1} -} - -func (m *PendingChannelsResponse_PendingOpenChannel) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PendingChannelsResponse_PendingOpenChannel.Unmarshal(m, b) -} -func (m *PendingChannelsResponse_PendingOpenChannel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PendingChannelsResponse_PendingOpenChannel.Marshal(b, m, deterministic) -} -func (m *PendingChannelsResponse_PendingOpenChannel) XXX_Merge(src proto.Message) { - xxx_messageInfo_PendingChannelsResponse_PendingOpenChannel.Merge(m, src) -} -func (m *PendingChannelsResponse_PendingOpenChannel) XXX_Size() int { - return xxx_messageInfo_PendingChannelsResponse_PendingOpenChannel.Size(m) -} -func (m *PendingChannelsResponse_PendingOpenChannel) XXX_DiscardUnknown() { - xxx_messageInfo_PendingChannelsResponse_PendingOpenChannel.DiscardUnknown(m) -} - -var xxx_messageInfo_PendingChannelsResponse_PendingOpenChannel proto.InternalMessageInfo - -func (m *PendingChannelsResponse_PendingOpenChannel) GetChannel() *PendingChannelsResponse_PendingChannel { - if m != nil { - return m.Channel - } - return nil -} - -func (m *PendingChannelsResponse_PendingOpenChannel) GetConfirmationHeight() uint32 { - if m != nil { - return m.ConfirmationHeight - } - return 0 -} - -func (m *PendingChannelsResponse_PendingOpenChannel) GetCommitFee() int64 { - if m != nil { - return m.CommitFee - } - return 0 -} - -func (m *PendingChannelsResponse_PendingOpenChannel) GetCommitWeight() int64 { - if m != nil { - return m.CommitWeight - } - return 0 -} - -func (m *PendingChannelsResponse_PendingOpenChannel) GetFeePerKw() int64 { - if m != nil { - return m.FeePerKw - } - return 0 -} - -type PendingChannelsResponse_WaitingCloseChannel struct { - // 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PendingChannelsResponse_WaitingCloseChannel) Reset() { - *m = PendingChannelsResponse_WaitingCloseChannel{} -} -func (m *PendingChannelsResponse_WaitingCloseChannel) String() string { - return proto.CompactTextString(m) -} -func (*PendingChannelsResponse_WaitingCloseChannel) ProtoMessage() {} -func (*PendingChannelsResponse_WaitingCloseChannel) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{72, 2} -} - -func (m *PendingChannelsResponse_WaitingCloseChannel) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PendingChannelsResponse_WaitingCloseChannel.Unmarshal(m, b) -} -func (m *PendingChannelsResponse_WaitingCloseChannel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PendingChannelsResponse_WaitingCloseChannel.Marshal(b, m, deterministic) -} -func (m *PendingChannelsResponse_WaitingCloseChannel) XXX_Merge(src proto.Message) { - xxx_messageInfo_PendingChannelsResponse_WaitingCloseChannel.Merge(m, src) -} -func (m *PendingChannelsResponse_WaitingCloseChannel) XXX_Size() int { - return xxx_messageInfo_PendingChannelsResponse_WaitingCloseChannel.Size(m) -} -func (m *PendingChannelsResponse_WaitingCloseChannel) XXX_DiscardUnknown() { - xxx_messageInfo_PendingChannelsResponse_WaitingCloseChannel.DiscardUnknown(m) -} - -var xxx_messageInfo_PendingChannelsResponse_WaitingCloseChannel proto.InternalMessageInfo - -func (m *PendingChannelsResponse_WaitingCloseChannel) GetChannel() *PendingChannelsResponse_PendingChannel { - if m != nil { - return m.Channel - } - return nil -} - -func (m *PendingChannelsResponse_WaitingCloseChannel) GetLimboBalance() int64 { - if m != nil { - return m.LimboBalance - } - return 0 -} - -func (m *PendingChannelsResponse_WaitingCloseChannel) GetCommitments() *PendingChannelsResponse_Commitments { - if m != nil { - return m.Commitments - } - return nil -} - -type PendingChannelsResponse_Commitments struct { - // 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PendingChannelsResponse_Commitments) Reset() { *m = PendingChannelsResponse_Commitments{} } -func (m *PendingChannelsResponse_Commitments) String() string { return proto.CompactTextString(m) } -func (*PendingChannelsResponse_Commitments) ProtoMessage() {} -func (*PendingChannelsResponse_Commitments) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{72, 3} -} - -func (m *PendingChannelsResponse_Commitments) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PendingChannelsResponse_Commitments.Unmarshal(m, b) -} -func (m *PendingChannelsResponse_Commitments) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PendingChannelsResponse_Commitments.Marshal(b, m, deterministic) -} -func (m *PendingChannelsResponse_Commitments) XXX_Merge(src proto.Message) { - xxx_messageInfo_PendingChannelsResponse_Commitments.Merge(m, src) -} -func (m *PendingChannelsResponse_Commitments) XXX_Size() int { - return xxx_messageInfo_PendingChannelsResponse_Commitments.Size(m) -} -func (m *PendingChannelsResponse_Commitments) XXX_DiscardUnknown() { - xxx_messageInfo_PendingChannelsResponse_Commitments.DiscardUnknown(m) -} - -var xxx_messageInfo_PendingChannelsResponse_Commitments proto.InternalMessageInfo - -func (m *PendingChannelsResponse_Commitments) GetLocalTxid() string { - if m != nil { - return m.LocalTxid - } - return "" -} - -func (m *PendingChannelsResponse_Commitments) GetRemoteTxid() string { - if m != nil { - return m.RemoteTxid - } - return "" -} - -func (m *PendingChannelsResponse_Commitments) GetRemotePendingTxid() string { - if m != nil { - return m.RemotePendingTxid - } - return "" -} - -func (m *PendingChannelsResponse_Commitments) GetLocalCommitFeeSat() uint64 { - if m != nil { - return m.LocalCommitFeeSat - } - return 0 -} - -func (m *PendingChannelsResponse_Commitments) GetRemoteCommitFeeSat() uint64 { - if m != nil { - return m.RemoteCommitFeeSat - } - return 0 -} - -func (m *PendingChannelsResponse_Commitments) GetRemotePendingCommitFeeSat() uint64 { - if m != nil { - return m.RemotePendingCommitFeeSat - } - return 0 -} - -type PendingChannelsResponse_ClosedChannel struct { - // 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PendingChannelsResponse_ClosedChannel) Reset() { *m = PendingChannelsResponse_ClosedChannel{} } -func (m *PendingChannelsResponse_ClosedChannel) String() string { return proto.CompactTextString(m) } -func (*PendingChannelsResponse_ClosedChannel) ProtoMessage() {} -func (*PendingChannelsResponse_ClosedChannel) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{72, 4} -} - -func (m *PendingChannelsResponse_ClosedChannel) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PendingChannelsResponse_ClosedChannel.Unmarshal(m, b) -} -func (m *PendingChannelsResponse_ClosedChannel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PendingChannelsResponse_ClosedChannel.Marshal(b, m, deterministic) -} -func (m *PendingChannelsResponse_ClosedChannel) XXX_Merge(src proto.Message) { - xxx_messageInfo_PendingChannelsResponse_ClosedChannel.Merge(m, src) -} -func (m *PendingChannelsResponse_ClosedChannel) XXX_Size() int { - return xxx_messageInfo_PendingChannelsResponse_ClosedChannel.Size(m) -} -func (m *PendingChannelsResponse_ClosedChannel) XXX_DiscardUnknown() { - xxx_messageInfo_PendingChannelsResponse_ClosedChannel.DiscardUnknown(m) -} - -var xxx_messageInfo_PendingChannelsResponse_ClosedChannel proto.InternalMessageInfo - -func (m *PendingChannelsResponse_ClosedChannel) GetChannel() *PendingChannelsResponse_PendingChannel { - if m != nil { - return m.Channel - } - return nil -} - -func (m *PendingChannelsResponse_ClosedChannel) GetClosingTxid() string { - if m != nil { - return m.ClosingTxid - } - return "" -} - -type PendingChannelsResponse_ForceClosedChannel struct { - // 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *PendingChannelsResponse_ForceClosedChannel) Reset() { - *m = PendingChannelsResponse_ForceClosedChannel{} -} -func (m *PendingChannelsResponse_ForceClosedChannel) String() string { - return proto.CompactTextString(m) -} -func (*PendingChannelsResponse_ForceClosedChannel) ProtoMessage() {} -func (*PendingChannelsResponse_ForceClosedChannel) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{72, 5} -} - -func (m *PendingChannelsResponse_ForceClosedChannel) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PendingChannelsResponse_ForceClosedChannel.Unmarshal(m, b) -} -func (m *PendingChannelsResponse_ForceClosedChannel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PendingChannelsResponse_ForceClosedChannel.Marshal(b, m, deterministic) -} -func (m *PendingChannelsResponse_ForceClosedChannel) XXX_Merge(src proto.Message) { - xxx_messageInfo_PendingChannelsResponse_ForceClosedChannel.Merge(m, src) -} -func (m *PendingChannelsResponse_ForceClosedChannel) XXX_Size() int { - return xxx_messageInfo_PendingChannelsResponse_ForceClosedChannel.Size(m) -} -func (m *PendingChannelsResponse_ForceClosedChannel) XXX_DiscardUnknown() { - xxx_messageInfo_PendingChannelsResponse_ForceClosedChannel.DiscardUnknown(m) -} - -var xxx_messageInfo_PendingChannelsResponse_ForceClosedChannel proto.InternalMessageInfo - -func (m *PendingChannelsResponse_ForceClosedChannel) GetChannel() *PendingChannelsResponse_PendingChannel { - if m != nil { - return m.Channel - } - return nil -} - -func (m *PendingChannelsResponse_ForceClosedChannel) GetClosingTxid() string { - if m != nil { - return m.ClosingTxid - } - return "" -} - -func (m *PendingChannelsResponse_ForceClosedChannel) GetLimboBalance() int64 { - if m != nil { - return m.LimboBalance - } - return 0 -} - -func (m *PendingChannelsResponse_ForceClosedChannel) GetMaturityHeight() uint32 { - if m != nil { - return m.MaturityHeight - } - return 0 -} - -func (m *PendingChannelsResponse_ForceClosedChannel) GetBlocksTilMaturity() int32 { - if m != nil { - return m.BlocksTilMaturity - } - return 0 -} - -func (m *PendingChannelsResponse_ForceClosedChannel) GetRecoveredBalance() int64 { - if m != nil { - return m.RecoveredBalance - } - return 0 -} - -func (m *PendingChannelsResponse_ForceClosedChannel) GetPendingHtlcs() []*PendingHTLC { - if m != nil { - return m.PendingHtlcs - } - return nil -} - -func (m *PendingChannelsResponse_ForceClosedChannel) GetAnchor() PendingChannelsResponse_ForceClosedChannel_AnchorState { - if m != nil { - return m.Anchor - } - return PendingChannelsResponse_ForceClosedChannel_LIMBO -} - type ChannelEventSubscription struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ChannelEventSubscription) Reset() { *m = ChannelEventSubscription{} } -func (m *ChannelEventSubscription) String() string { return proto.CompactTextString(m) } -func (*ChannelEventSubscription) ProtoMessage() {} +func (x *ChannelEventSubscription) Reset() { + *x = ChannelEventSubscription{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[73] + 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_rpc_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 ChannelEventSubscription.ProtoReflect.Descriptor instead. func (*ChannelEventSubscription) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{73} + return file_rpc_proto_rawDescGZIP(), []int{73} } -func (m *ChannelEventSubscription) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ChannelEventSubscription.Unmarshal(m, b) -} -func (m *ChannelEventSubscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ChannelEventSubscription.Marshal(b, m, deterministic) -} -func (m *ChannelEventSubscription) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChannelEventSubscription.Merge(m, src) -} -func (m *ChannelEventSubscription) XXX_Size() int { - return xxx_messageInfo_ChannelEventSubscription.Size(m) -} -func (m *ChannelEventSubscription) XXX_DiscardUnknown() { - xxx_messageInfo_ChannelEventSubscription.DiscardUnknown(m) -} - -var xxx_messageInfo_ChannelEventSubscription proto.InternalMessageInfo - type ChannelEventUpdate struct { - // Types that are valid to be assigned to Channel: + 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 - Channel isChannelEventUpdate_Channel `protobuf_oneof:"channel"` - Type ChannelEventUpdate_UpdateType `protobuf:"varint,5,opt,name=type,proto3,enum=lnrpc.ChannelEventUpdate_UpdateType" json:"type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Channel isChannelEventUpdate_Channel `protobuf_oneof:"channel"` + Type ChannelEventUpdate_UpdateType `protobuf:"varint,5,opt,name=type,proto3,enum=lnrpc.ChannelEventUpdate_UpdateType" json:"type,omitempty"` } -func (m *ChannelEventUpdate) Reset() { *m = ChannelEventUpdate{} } -func (m *ChannelEventUpdate) String() string { return proto.CompactTextString(m) } -func (*ChannelEventUpdate) ProtoMessage() {} +func (x *ChannelEventUpdate) Reset() { + *x = ChannelEventUpdate{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[74] + 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_rpc_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 ChannelEventUpdate.ProtoReflect.Descriptor instead. func (*ChannelEventUpdate) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{74} + return file_rpc_proto_rawDescGZIP(), []int{74} } -func (m *ChannelEventUpdate) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ChannelEventUpdate.Unmarshal(m, b) -} -func (m *ChannelEventUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ChannelEventUpdate.Marshal(b, m, deterministic) -} -func (m *ChannelEventUpdate) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChannelEventUpdate.Merge(m, src) -} -func (m *ChannelEventUpdate) XXX_Size() int { - return xxx_messageInfo_ChannelEventUpdate.Size(m) -} -func (m *ChannelEventUpdate) XXX_DiscardUnknown() { - xxx_messageInfo_ChannelEventUpdate.DiscardUnknown(m) +func (m *ChannelEventUpdate) GetChannel() isChannelEventUpdate_Channel { + if m != nil { + return m.Channel + } + return nil } -var xxx_messageInfo_ChannelEventUpdate proto.InternalMessageInfo +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) GetType() ChannelEventUpdate_UpdateType { + if x != nil { + return x.Type + } + return ChannelEventUpdate_OPEN_CHANNEL +} type isChannelEventUpdate_Channel interface { isChannelEventUpdate_Channel() @@ -6951,147 +7485,106 @@ func (*ChannelEventUpdate_InactiveChannel) isChannelEventUpdate_Channel() {} func (*ChannelEventUpdate_PendingOpenChannel) isChannelEventUpdate_Channel() {} -func (m *ChannelEventUpdate) GetChannel() isChannelEventUpdate_Channel { - if m != nil { - return m.Channel - } - return nil -} - -func (m *ChannelEventUpdate) GetOpenChannel() *Channel { - if x, ok := m.GetChannel().(*ChannelEventUpdate_OpenChannel); ok { - return x.OpenChannel - } - return nil -} - -func (m *ChannelEventUpdate) GetClosedChannel() *ChannelCloseSummary { - if x, ok := m.GetChannel().(*ChannelEventUpdate_ClosedChannel); ok { - return x.ClosedChannel - } - return nil -} - -func (m *ChannelEventUpdate) GetActiveChannel() *ChannelPoint { - if x, ok := m.GetChannel().(*ChannelEventUpdate_ActiveChannel); ok { - return x.ActiveChannel - } - return nil -} - -func (m *ChannelEventUpdate) GetInactiveChannel() *ChannelPoint { - if x, ok := m.GetChannel().(*ChannelEventUpdate_InactiveChannel); ok { - return x.InactiveChannel - } - return nil -} - -func (m *ChannelEventUpdate) GetPendingOpenChannel() *PendingUpdate { - if x, ok := m.GetChannel().(*ChannelEventUpdate_PendingOpenChannel); ok { - return x.PendingOpenChannel - } - return nil -} - -func (m *ChannelEventUpdate) GetType() ChannelEventUpdate_UpdateType { - if m != nil { - return m.Type - } - return ChannelEventUpdate_OPEN_CHANNEL -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ChannelEventUpdate) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ChannelEventUpdate_OpenChannel)(nil), - (*ChannelEventUpdate_ClosedChannel)(nil), - (*ChannelEventUpdate_ActiveChannel)(nil), - (*ChannelEventUpdate_InactiveChannel)(nil), - (*ChannelEventUpdate_PendingOpenChannel)(nil), - } -} - 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + UnconfirmedBalance int64 `protobuf:"varint,2,opt,name=unconfirmed_balance,json=unconfirmedBalance,proto3" json:"unconfirmed_balance,omitempty"` } -func (m *WalletAccountBalance) Reset() { *m = WalletAccountBalance{} } -func (m *WalletAccountBalance) String() string { return proto.CompactTextString(m) } -func (*WalletAccountBalance) ProtoMessage() {} +func (x *WalletAccountBalance) Reset() { + *x = WalletAccountBalance{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[75] + 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_rpc_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 WalletAccountBalance.ProtoReflect.Descriptor instead. func (*WalletAccountBalance) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{75} + return file_rpc_proto_rawDescGZIP(), []int{75} } -func (m *WalletAccountBalance) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WalletAccountBalance.Unmarshal(m, b) -} -func (m *WalletAccountBalance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WalletAccountBalance.Marshal(b, m, deterministic) -} -func (m *WalletAccountBalance) XXX_Merge(src proto.Message) { - xxx_messageInfo_WalletAccountBalance.Merge(m, src) -} -func (m *WalletAccountBalance) XXX_Size() int { - return xxx_messageInfo_WalletAccountBalance.Size(m) -} -func (m *WalletAccountBalance) XXX_DiscardUnknown() { - xxx_messageInfo_WalletAccountBalance.DiscardUnknown(m) -} - -var xxx_messageInfo_WalletAccountBalance proto.InternalMessageInfo - -func (m *WalletAccountBalance) GetConfirmedBalance() int64 { - if m != nil { - return m.ConfirmedBalance +func (x *WalletAccountBalance) GetConfirmedBalance() int64 { + if x != nil { + return x.ConfirmedBalance } return 0 } -func (m *WalletAccountBalance) GetUnconfirmedBalance() int64 { - if m != nil { - return m.UnconfirmedBalance +func (x *WalletAccountBalance) GetUnconfirmedBalance() int64 { + if x != nil { + return x.UnconfirmedBalance } return 0 } type WalletBalanceRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *WalletBalanceRequest) Reset() { *m = WalletBalanceRequest{} } -func (m *WalletBalanceRequest) String() string { return proto.CompactTextString(m) } -func (*WalletBalanceRequest) ProtoMessage() {} +func (x *WalletBalanceRequest) Reset() { + *x = WalletBalanceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[76] + 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_rpc_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 WalletBalanceRequest.ProtoReflect.Descriptor instead. func (*WalletBalanceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{76} + return file_rpc_proto_rawDescGZIP(), []int{76} } -func (m *WalletBalanceRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WalletBalanceRequest.Unmarshal(m, b) -} -func (m *WalletBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WalletBalanceRequest.Marshal(b, m, deterministic) -} -func (m *WalletBalanceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_WalletBalanceRequest.Merge(m, src) -} -func (m *WalletBalanceRequest) XXX_Size() int { - return xxx_messageInfo_WalletBalanceRequest.Size(m) -} -func (m *WalletBalanceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_WalletBalanceRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_WalletBalanceRequest proto.InternalMessageInfo - 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) @@ -7099,150 +7592,177 @@ type WalletBalanceResponse struct { // 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"` // 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + 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 (m *WalletBalanceResponse) Reset() { *m = WalletBalanceResponse{} } -func (m *WalletBalanceResponse) String() string { return proto.CompactTextString(m) } -func (*WalletBalanceResponse) ProtoMessage() {} +func (x *WalletBalanceResponse) Reset() { + *x = WalletBalanceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[77] + 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_rpc_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 WalletBalanceResponse.ProtoReflect.Descriptor instead. func (*WalletBalanceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{77} + return file_rpc_proto_rawDescGZIP(), []int{77} } -func (m *WalletBalanceResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_WalletBalanceResponse.Unmarshal(m, b) -} -func (m *WalletBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_WalletBalanceResponse.Marshal(b, m, deterministic) -} -func (m *WalletBalanceResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_WalletBalanceResponse.Merge(m, src) -} -func (m *WalletBalanceResponse) XXX_Size() int { - return xxx_messageInfo_WalletBalanceResponse.Size(m) -} -func (m *WalletBalanceResponse) XXX_DiscardUnknown() { - xxx_messageInfo_WalletBalanceResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_WalletBalanceResponse proto.InternalMessageInfo - -func (m *WalletBalanceResponse) GetTotalBalance() int64 { - if m != nil { - return m.TotalBalance +func (x *WalletBalanceResponse) GetTotalBalance() int64 { + if x != nil { + return x.TotalBalance } return 0 } -func (m *WalletBalanceResponse) GetConfirmedBalance() int64 { - if m != nil { - return m.ConfirmedBalance +func (x *WalletBalanceResponse) GetConfirmedBalance() int64 { + if x != nil { + return x.ConfirmedBalance } return 0 } -func (m *WalletBalanceResponse) GetUnconfirmedBalance() int64 { - if m != nil { - return m.UnconfirmedBalance +func (x *WalletBalanceResponse) GetUnconfirmedBalance() int64 { + if x != nil { + return x.UnconfirmedBalance } return 0 } -func (m *WalletBalanceResponse) GetAccountBalance() map[string]*WalletAccountBalance { - if m != nil { - return m.AccountBalance +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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Msat uint64 `protobuf:"varint,2,opt,name=msat,proto3" json:"msat,omitempty"` } -func (m *Amount) Reset() { *m = Amount{} } -func (m *Amount) String() string { return proto.CompactTextString(m) } -func (*Amount) ProtoMessage() {} +func (x *Amount) Reset() { + *x = Amount{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[78] + 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_rpc_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 Amount.ProtoReflect.Descriptor instead. func (*Amount) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{78} + return file_rpc_proto_rawDescGZIP(), []int{78} } -func (m *Amount) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Amount.Unmarshal(m, b) -} -func (m *Amount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Amount.Marshal(b, m, deterministic) -} -func (m *Amount) XXX_Merge(src proto.Message) { - xxx_messageInfo_Amount.Merge(m, src) -} -func (m *Amount) XXX_Size() int { - return xxx_messageInfo_Amount.Size(m) -} -func (m *Amount) XXX_DiscardUnknown() { - xxx_messageInfo_Amount.DiscardUnknown(m) -} - -var xxx_messageInfo_Amount proto.InternalMessageInfo - -func (m *Amount) GetSat() uint64 { - if m != nil { - return m.Sat +func (x *Amount) GetSat() uint64 { + if x != nil { + return x.Sat } return 0 } -func (m *Amount) GetMsat() uint64 { - if m != nil { - return m.Msat +func (x *Amount) GetMsat() uint64 { + if x != nil { + return x.Msat } return 0 } type ChannelBalanceRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ChannelBalanceRequest) Reset() { *m = ChannelBalanceRequest{} } -func (m *ChannelBalanceRequest) String() string { return proto.CompactTextString(m) } -func (*ChannelBalanceRequest) ProtoMessage() {} +func (x *ChannelBalanceRequest) Reset() { + *x = ChannelBalanceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[79] + 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_rpc_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 ChannelBalanceRequest.ProtoReflect.Descriptor instead. func (*ChannelBalanceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{79} + return file_rpc_proto_rawDescGZIP(), []int{79} } -func (m *ChannelBalanceRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ChannelBalanceRequest.Unmarshal(m, b) -} -func (m *ChannelBalanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ChannelBalanceRequest.Marshal(b, m, deterministic) -} -func (m *ChannelBalanceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChannelBalanceRequest.Merge(m, src) -} -func (m *ChannelBalanceRequest) XXX_Size() int { - return xxx_messageInfo_ChannelBalanceRequest.Size(m) -} -func (m *ChannelBalanceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ChannelBalanceRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ChannelBalanceRequest proto.InternalMessageInfo - type ChannelBalanceResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Deprecated. Sum of channels balances denominated in satoshis - Balance int64 `protobuf:"varint,1,opt,name=balance,proto3" json:"balance,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + Balance int64 `protobuf:"varint,1,opt,name=balance,proto3" json:"balance,omitempty"` // Deprecated. Sum of channels pending balances denominated in satoshis - PendingOpenBalance int64 `protobuf:"varint,2,opt,name=pending_open_balance,json=pendingOpenBalance,proto3" json:"pending_open_balance,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + 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. @@ -7254,96 +7774,104 @@ type ChannelBalanceResponse struct { // 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + PendingOpenRemoteBalance *Amount `protobuf:"bytes,8,opt,name=pending_open_remote_balance,json=pendingOpenRemoteBalance,proto3" json:"pending_open_remote_balance,omitempty"` } -func (m *ChannelBalanceResponse) Reset() { *m = ChannelBalanceResponse{} } -func (m *ChannelBalanceResponse) String() string { return proto.CompactTextString(m) } -func (*ChannelBalanceResponse) ProtoMessage() {} +func (x *ChannelBalanceResponse) Reset() { + *x = ChannelBalanceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[80] + 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_rpc_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 ChannelBalanceResponse.ProtoReflect.Descriptor instead. func (*ChannelBalanceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{80} + return file_rpc_proto_rawDescGZIP(), []int{80} } -func (m *ChannelBalanceResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ChannelBalanceResponse.Unmarshal(m, b) -} -func (m *ChannelBalanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ChannelBalanceResponse.Marshal(b, m, deterministic) -} -func (m *ChannelBalanceResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChannelBalanceResponse.Merge(m, src) -} -func (m *ChannelBalanceResponse) XXX_Size() int { - return xxx_messageInfo_ChannelBalanceResponse.Size(m) -} -func (m *ChannelBalanceResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ChannelBalanceResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ChannelBalanceResponse proto.InternalMessageInfo - // Deprecated: Do not use. -func (m *ChannelBalanceResponse) GetBalance() int64 { - if m != nil { - return m.Balance +func (x *ChannelBalanceResponse) GetBalance() int64 { + if x != nil { + return x.Balance } return 0 } // Deprecated: Do not use. -func (m *ChannelBalanceResponse) GetPendingOpenBalance() int64 { - if m != nil { - return m.PendingOpenBalance +func (x *ChannelBalanceResponse) GetPendingOpenBalance() int64 { + if x != nil { + return x.PendingOpenBalance } return 0 } -func (m *ChannelBalanceResponse) GetLocalBalance() *Amount { - if m != nil { - return m.LocalBalance +func (x *ChannelBalanceResponse) GetLocalBalance() *Amount { + if x != nil { + return x.LocalBalance } return nil } -func (m *ChannelBalanceResponse) GetRemoteBalance() *Amount { - if m != nil { - return m.RemoteBalance +func (x *ChannelBalanceResponse) GetRemoteBalance() *Amount { + if x != nil { + return x.RemoteBalance } return nil } -func (m *ChannelBalanceResponse) GetUnsettledLocalBalance() *Amount { - if m != nil { - return m.UnsettledLocalBalance +func (x *ChannelBalanceResponse) GetUnsettledLocalBalance() *Amount { + if x != nil { + return x.UnsettledLocalBalance } return nil } -func (m *ChannelBalanceResponse) GetUnsettledRemoteBalance() *Amount { - if m != nil { - return m.UnsettledRemoteBalance +func (x *ChannelBalanceResponse) GetUnsettledRemoteBalance() *Amount { + if x != nil { + return x.UnsettledRemoteBalance } return nil } -func (m *ChannelBalanceResponse) GetPendingOpenLocalBalance() *Amount { - if m != nil { - return m.PendingOpenLocalBalance +func (x *ChannelBalanceResponse) GetPendingOpenLocalBalance() *Amount { + if x != nil { + return x.PendingOpenLocalBalance } return nil } -func (m *ChannelBalanceResponse) GetPendingOpenRemoteBalance() *Amount { - if m != nil { - return m.PendingOpenRemoteBalance +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"` // @@ -7375,7 +7903,9 @@ type QueryRoutesRequest struct { 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. - IgnoredEdges []*EdgeLocator `protobuf:"bytes,7,rep,name=ignored_edges,json=ignoredEdges,proto3" json:"ignored_edges,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + 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. @@ -7416,151 +7946,159 @@ type QueryRoutesRequest struct { //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,17,rep,packed,name=dest_features,json=destFeatures,proto3,enum=lnrpc.FeatureBit" json:"dest_features,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DestFeatures []FeatureBit `protobuf:"varint,17,rep,packed,name=dest_features,json=destFeatures,proto3,enum=lnrpc.FeatureBit" json:"dest_features,omitempty"` } -func (m *QueryRoutesRequest) Reset() { *m = QueryRoutesRequest{} } -func (m *QueryRoutesRequest) String() string { return proto.CompactTextString(m) } -func (*QueryRoutesRequest) ProtoMessage() {} +func (x *QueryRoutesRequest) Reset() { + *x = QueryRoutesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[81] + 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_rpc_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 QueryRoutesRequest.ProtoReflect.Descriptor instead. func (*QueryRoutesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{81} + return file_rpc_proto_rawDescGZIP(), []int{81} } -func (m *QueryRoutesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QueryRoutesRequest.Unmarshal(m, b) -} -func (m *QueryRoutesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QueryRoutesRequest.Marshal(b, m, deterministic) -} -func (m *QueryRoutesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryRoutesRequest.Merge(m, src) -} -func (m *QueryRoutesRequest) XXX_Size() int { - return xxx_messageInfo_QueryRoutesRequest.Size(m) -} -func (m *QueryRoutesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_QueryRoutesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryRoutesRequest proto.InternalMessageInfo - -func (m *QueryRoutesRequest) GetPubKey() string { - if m != nil { - return m.PubKey +func (x *QueryRoutesRequest) GetPubKey() string { + if x != nil { + return x.PubKey } return "" } -func (m *QueryRoutesRequest) GetAmt() int64 { - if m != nil { - return m.Amt +func (x *QueryRoutesRequest) GetAmt() int64 { + if x != nil { + return x.Amt } return 0 } -func (m *QueryRoutesRequest) GetAmtMsat() int64 { - if m != nil { - return m.AmtMsat +func (x *QueryRoutesRequest) GetAmtMsat() int64 { + if x != nil { + return x.AmtMsat } return 0 } -func (m *QueryRoutesRequest) GetFinalCltvDelta() int32 { - if m != nil { - return m.FinalCltvDelta +func (x *QueryRoutesRequest) GetFinalCltvDelta() int32 { + if x != nil { + return x.FinalCltvDelta } return 0 } -func (m *QueryRoutesRequest) GetFeeLimit() *FeeLimit { - if m != nil { - return m.FeeLimit +func (x *QueryRoutesRequest) GetFeeLimit() *FeeLimit { + if x != nil { + return x.FeeLimit } return nil } -func (m *QueryRoutesRequest) GetIgnoredNodes() [][]byte { - if m != nil { - return m.IgnoredNodes +func (x *QueryRoutesRequest) GetIgnoredNodes() [][]byte { + if x != nil { + return x.IgnoredNodes } return nil } // Deprecated: Do not use. -func (m *QueryRoutesRequest) GetIgnoredEdges() []*EdgeLocator { - if m != nil { - return m.IgnoredEdges +func (x *QueryRoutesRequest) GetIgnoredEdges() []*EdgeLocator { + if x != nil { + return x.IgnoredEdges } return nil } -func (m *QueryRoutesRequest) GetSourcePubKey() string { - if m != nil { - return m.SourcePubKey +func (x *QueryRoutesRequest) GetSourcePubKey() string { + if x != nil { + return x.SourcePubKey } return "" } -func (m *QueryRoutesRequest) GetUseMissionControl() bool { - if m != nil { - return m.UseMissionControl +func (x *QueryRoutesRequest) GetUseMissionControl() bool { + if x != nil { + return x.UseMissionControl } return false } -func (m *QueryRoutesRequest) GetIgnoredPairs() []*NodePair { - if m != nil { - return m.IgnoredPairs +func (x *QueryRoutesRequest) GetIgnoredPairs() []*NodePair { + if x != nil { + return x.IgnoredPairs } return nil } -func (m *QueryRoutesRequest) GetCltvLimit() uint32 { - if m != nil { - return m.CltvLimit +func (x *QueryRoutesRequest) GetCltvLimit() uint32 { + if x != nil { + return x.CltvLimit } return 0 } -func (m *QueryRoutesRequest) GetDestCustomRecords() map[uint64][]byte { - if m != nil { - return m.DestCustomRecords +func (x *QueryRoutesRequest) GetDestCustomRecords() map[uint64][]byte { + if x != nil { + return x.DestCustomRecords } return nil } -func (m *QueryRoutesRequest) GetOutgoingChanId() uint64 { - if m != nil { - return m.OutgoingChanId +func (x *QueryRoutesRequest) GetOutgoingChanId() uint64 { + if x != nil { + return x.OutgoingChanId } return 0 } -func (m *QueryRoutesRequest) GetLastHopPubkey() []byte { - if m != nil { - return m.LastHopPubkey +func (x *QueryRoutesRequest) GetLastHopPubkey() []byte { + if x != nil { + return x.LastHopPubkey } return nil } -func (m *QueryRoutesRequest) GetRouteHints() []*RouteHint { - if m != nil { - return m.RouteHints +func (x *QueryRoutesRequest) GetRouteHints() []*RouteHint { + if x != nil { + return x.RouteHints } return nil } -func (m *QueryRoutesRequest) GetDestFeatures() []FeatureBit { - if m != nil { - return m.DestFeatures +func (x *QueryRoutesRequest) GetDestFeatures() []FeatureBit { + if x != nil { + return x.DestFeatures } return nil } 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. @@ -7568,52 +8106,60 @@ type NodePair struct { // //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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + To []byte `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` } -func (m *NodePair) Reset() { *m = NodePair{} } -func (m *NodePair) String() string { return proto.CompactTextString(m) } -func (*NodePair) ProtoMessage() {} +func (x *NodePair) Reset() { + *x = NodePair{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[82] + 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_rpc_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 NodePair.ProtoReflect.Descriptor instead. func (*NodePair) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{82} + return file_rpc_proto_rawDescGZIP(), []int{82} } -func (m *NodePair) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NodePair.Unmarshal(m, b) -} -func (m *NodePair) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NodePair.Marshal(b, m, deterministic) -} -func (m *NodePair) XXX_Merge(src proto.Message) { - xxx_messageInfo_NodePair.Merge(m, src) -} -func (m *NodePair) XXX_Size() int { - return xxx_messageInfo_NodePair.Size(m) -} -func (m *NodePair) XXX_DiscardUnknown() { - xxx_messageInfo_NodePair.DiscardUnknown(m) -} - -var xxx_messageInfo_NodePair proto.InternalMessageInfo - -func (m *NodePair) GetFrom() []byte { - if m != nil { - return m.From +func (x *NodePair) GetFrom() []byte { + if x != nil { + return x.From } return nil } -func (m *NodePair) GetTo() []byte { - if m != nil { - return m.To +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"` // @@ -7621,52 +8167,60 @@ type EdgeLocator struct { //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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DirectionReverse bool `protobuf:"varint,2,opt,name=direction_reverse,json=directionReverse,proto3" json:"direction_reverse,omitempty"` } -func (m *EdgeLocator) Reset() { *m = EdgeLocator{} } -func (m *EdgeLocator) String() string { return proto.CompactTextString(m) } -func (*EdgeLocator) ProtoMessage() {} +func (x *EdgeLocator) Reset() { + *x = EdgeLocator{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[83] + 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_rpc_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 EdgeLocator.ProtoReflect.Descriptor instead. func (*EdgeLocator) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{83} + return file_rpc_proto_rawDescGZIP(), []int{83} } -func (m *EdgeLocator) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EdgeLocator.Unmarshal(m, b) -} -func (m *EdgeLocator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EdgeLocator.Marshal(b, m, deterministic) -} -func (m *EdgeLocator) XXX_Merge(src proto.Message) { - xxx_messageInfo_EdgeLocator.Merge(m, src) -} -func (m *EdgeLocator) XXX_Size() int { - return xxx_messageInfo_EdgeLocator.Size(m) -} -func (m *EdgeLocator) XXX_DiscardUnknown() { - xxx_messageInfo_EdgeLocator.DiscardUnknown(m) -} - -var xxx_messageInfo_EdgeLocator proto.InternalMessageInfo - -func (m *EdgeLocator) GetChannelId() uint64 { - if m != nil { - return m.ChannelId +func (x *EdgeLocator) GetChannelId() uint64 { + if x != nil { + return x.ChannelId } return 0 } -func (m *EdgeLocator) GetDirectionReverse() bool { - if m != nil { - return m.DirectionReverse +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. @@ -7674,60 +8228,70 @@ type QueryRoutesResponse struct { // //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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SuccessProb float64 `protobuf:"fixed64,2,opt,name=success_prob,json=successProb,proto3" json:"success_prob,omitempty"` } -func (m *QueryRoutesResponse) Reset() { *m = QueryRoutesResponse{} } -func (m *QueryRoutesResponse) String() string { return proto.CompactTextString(m) } -func (*QueryRoutesResponse) ProtoMessage() {} +func (x *QueryRoutesResponse) Reset() { + *x = QueryRoutesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[84] + 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_rpc_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 QueryRoutesResponse.ProtoReflect.Descriptor instead. func (*QueryRoutesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{84} + return file_rpc_proto_rawDescGZIP(), []int{84} } -func (m *QueryRoutesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_QueryRoutesResponse.Unmarshal(m, b) -} -func (m *QueryRoutesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_QueryRoutesResponse.Marshal(b, m, deterministic) -} -func (m *QueryRoutesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_QueryRoutesResponse.Merge(m, src) -} -func (m *QueryRoutesResponse) XXX_Size() int { - return xxx_messageInfo_QueryRoutesResponse.Size(m) -} -func (m *QueryRoutesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_QueryRoutesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_QueryRoutesResponse proto.InternalMessageInfo - -func (m *QueryRoutesResponse) GetRoutes() []*Route { - if m != nil { - return m.Routes +func (x *QueryRoutesResponse) GetRoutes() []*Route { + if x != nil { + return x.Routes } return nil } -func (m *QueryRoutesResponse) GetSuccessProb() float64 { - if m != nil { - return m.SuccessProb +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"` - ChanCapacity int64 `protobuf:"varint,2,opt,name=chan_capacity,json=chanCapacity,proto3" json:"chan_capacity,omitempty"` - AmtToForward int64 `protobuf:"varint,3,opt,name=amt_to_forward,json=amtToForward,proto3" json:"amt_to_forward,omitempty"` // Deprecated: Do not use. - Fee int64 `protobuf:"varint,4,opt,name=fee,proto3" json:"fee,omitempty"` // Deprecated: Do not use. + ChanId uint64 `protobuf:"varint,1,opt,name=chan_id,json=chanId,proto3" json:"chan_id,omitempty"` + ChanCapacity int64 `protobuf:"varint,2,opt,name=chan_capacity,json=chanCapacity,proto3" json:"chan_capacity,omitempty"` + // Deprecated: Do not use. + AmtToForward int64 `protobuf:"varint,3,opt,name=amt_to_forward,json=amtToForward,proto3" json:"amt_to_forward,omitempty"` + // Deprecated: Do not use. + 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"` @@ -7758,124 +8322,132 @@ type Hop struct { //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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + 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"` } -func (m *Hop) Reset() { *m = Hop{} } -func (m *Hop) String() string { return proto.CompactTextString(m) } -func (*Hop) ProtoMessage() {} +func (x *Hop) Reset() { + *x = Hop{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[85] + 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_rpc_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 Hop.ProtoReflect.Descriptor instead. func (*Hop) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{85} + return file_rpc_proto_rawDescGZIP(), []int{85} } -func (m *Hop) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Hop.Unmarshal(m, b) -} -func (m *Hop) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Hop.Marshal(b, m, deterministic) -} -func (m *Hop) XXX_Merge(src proto.Message) { - xxx_messageInfo_Hop.Merge(m, src) -} -func (m *Hop) XXX_Size() int { - return xxx_messageInfo_Hop.Size(m) -} -func (m *Hop) XXX_DiscardUnknown() { - xxx_messageInfo_Hop.DiscardUnknown(m) -} - -var xxx_messageInfo_Hop proto.InternalMessageInfo - -func (m *Hop) GetChanId() uint64 { - if m != nil { - return m.ChanId +func (x *Hop) GetChanId() uint64 { + if x != nil { + return x.ChanId } return 0 } -func (m *Hop) GetChanCapacity() int64 { - if m != nil { - return m.ChanCapacity +func (x *Hop) GetChanCapacity() int64 { + if x != nil { + return x.ChanCapacity } return 0 } // Deprecated: Do not use. -func (m *Hop) GetAmtToForward() int64 { - if m != nil { - return m.AmtToForward +func (x *Hop) GetAmtToForward() int64 { + if x != nil { + return x.AmtToForward } return 0 } // Deprecated: Do not use. -func (m *Hop) GetFee() int64 { - if m != nil { - return m.Fee +func (x *Hop) GetFee() int64 { + if x != nil { + return x.Fee } return 0 } -func (m *Hop) GetExpiry() uint32 { - if m != nil { - return m.Expiry +func (x *Hop) GetExpiry() uint32 { + if x != nil { + return x.Expiry } return 0 } -func (m *Hop) GetAmtToForwardMsat() int64 { - if m != nil { - return m.AmtToForwardMsat +func (x *Hop) GetAmtToForwardMsat() int64 { + if x != nil { + return x.AmtToForwardMsat } return 0 } -func (m *Hop) GetFeeMsat() int64 { - if m != nil { - return m.FeeMsat +func (x *Hop) GetFeeMsat() int64 { + if x != nil { + return x.FeeMsat } return 0 } -func (m *Hop) GetPubKey() string { - if m != nil { - return m.PubKey +func (x *Hop) GetPubKey() string { + if x != nil { + return x.PubKey } return "" } -func (m *Hop) GetTlvPayload() bool { - if m != nil { - return m.TlvPayload +func (x *Hop) GetTlvPayload() bool { + if x != nil { + return x.TlvPayload } return false } -func (m *Hop) GetMppRecord() *MPPRecord { - if m != nil { - return m.MppRecord +func (x *Hop) GetMppRecord() *MPPRecord { + if x != nil { + return x.MppRecord } return nil } -func (m *Hop) GetAmpRecord() *AMPRecord { - if m != nil { - return m.AmpRecord +func (x *Hop) GetAmpRecord() *AMPRecord { + if x != nil { + return x.AmpRecord } return nil } -func (m *Hop) GetCustomRecords() map[uint64][]byte { - if m != nil { - return m.CustomRecords +func (x *Hop) GetCustomRecords() map[uint64][]byte { + if x != nil { + return x.CustomRecords } return nil } 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 @@ -7887,102 +8459,114 @@ type MPPRecord struct { //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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TotalAmtMsat int64 `protobuf:"varint,10,opt,name=total_amt_msat,json=totalAmtMsat,proto3" json:"total_amt_msat,omitempty"` } -func (m *MPPRecord) Reset() { *m = MPPRecord{} } -func (m *MPPRecord) String() string { return proto.CompactTextString(m) } -func (*MPPRecord) ProtoMessage() {} +func (x *MPPRecord) Reset() { + *x = MPPRecord{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[86] + 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_rpc_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 MPPRecord.ProtoReflect.Descriptor instead. func (*MPPRecord) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{86} + return file_rpc_proto_rawDescGZIP(), []int{86} } -func (m *MPPRecord) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MPPRecord.Unmarshal(m, b) -} -func (m *MPPRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MPPRecord.Marshal(b, m, deterministic) -} -func (m *MPPRecord) XXX_Merge(src proto.Message) { - xxx_messageInfo_MPPRecord.Merge(m, src) -} -func (m *MPPRecord) XXX_Size() int { - return xxx_messageInfo_MPPRecord.Size(m) -} -func (m *MPPRecord) XXX_DiscardUnknown() { - xxx_messageInfo_MPPRecord.DiscardUnknown(m) -} - -var xxx_messageInfo_MPPRecord proto.InternalMessageInfo - -func (m *MPPRecord) GetPaymentAddr() []byte { - if m != nil { - return m.PaymentAddr +func (x *MPPRecord) GetPaymentAddr() []byte { + if x != nil { + return x.PaymentAddr } return nil } -func (m *MPPRecord) GetTotalAmtMsat() int64 { - if m != nil { - return m.TotalAmtMsat +func (x *MPPRecord) GetTotalAmtMsat() int64 { + if x != nil { + return x.TotalAmtMsat } return 0 } type AMPRecord struct { - 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + 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 (m *AMPRecord) Reset() { *m = AMPRecord{} } -func (m *AMPRecord) String() string { return proto.CompactTextString(m) } -func (*AMPRecord) ProtoMessage() {} +func (x *AMPRecord) Reset() { + *x = AMPRecord{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[87] + 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_rpc_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 AMPRecord.ProtoReflect.Descriptor instead. func (*AMPRecord) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{87} + return file_rpc_proto_rawDescGZIP(), []int{87} } -func (m *AMPRecord) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AMPRecord.Unmarshal(m, b) -} -func (m *AMPRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AMPRecord.Marshal(b, m, deterministic) -} -func (m *AMPRecord) XXX_Merge(src proto.Message) { - xxx_messageInfo_AMPRecord.Merge(m, src) -} -func (m *AMPRecord) XXX_Size() int { - return xxx_messageInfo_AMPRecord.Size(m) -} -func (m *AMPRecord) XXX_DiscardUnknown() { - xxx_messageInfo_AMPRecord.DiscardUnknown(m) -} - -var xxx_messageInfo_AMPRecord proto.InternalMessageInfo - -func (m *AMPRecord) GetRootShare() []byte { - if m != nil { - return m.RootShare +func (x *AMPRecord) GetRootShare() []byte { + if x != nil { + return x.RootShare } return nil } -func (m *AMPRecord) GetSetId() []byte { - if m != nil { - return m.SetId +func (x *AMPRecord) GetSetId() []byte { + if x != nil { + return x.SetId } return nil } -func (m *AMPRecord) GetChildIndex() uint32 { - if m != nil { - return m.ChildIndex +func (x *AMPRecord) GetChildIndex() uint32 { + if x != nil { + return x.ChildIndex } return 0 } @@ -7994,6 +8578,10 @@ func (m *AMPRecord) GetChildIndex() uint32 { //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 @@ -8004,14 +8592,18 @@ type Route struct { //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. - TotalFees int64 `protobuf:"varint,2,opt,name=total_fees,json=totalFees,proto3" json:"total_fees,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + 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. - TotalAmt int64 `protobuf:"varint,3,opt,name=total_amt,json=totalAmt,proto3" json:"total_amt,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + 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"` @@ -8020,131 +8612,147 @@ type Route struct { 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TotalAmtMsat int64 `protobuf:"varint,6,opt,name=total_amt_msat,json=totalAmtMsat,proto3" json:"total_amt_msat,omitempty"` } -func (m *Route) Reset() { *m = Route{} } -func (m *Route) String() string { return proto.CompactTextString(m) } -func (*Route) ProtoMessage() {} +func (x *Route) Reset() { + *x = Route{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[88] + 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_rpc_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 Route.ProtoReflect.Descriptor instead. func (*Route) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{88} + return file_rpc_proto_rawDescGZIP(), []int{88} } -func (m *Route) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Route.Unmarshal(m, b) -} -func (m *Route) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Route.Marshal(b, m, deterministic) -} -func (m *Route) XXX_Merge(src proto.Message) { - xxx_messageInfo_Route.Merge(m, src) -} -func (m *Route) XXX_Size() int { - return xxx_messageInfo_Route.Size(m) -} -func (m *Route) XXX_DiscardUnknown() { - xxx_messageInfo_Route.DiscardUnknown(m) -} - -var xxx_messageInfo_Route proto.InternalMessageInfo - -func (m *Route) GetTotalTimeLock() uint32 { - if m != nil { - return m.TotalTimeLock +func (x *Route) GetTotalTimeLock() uint32 { + if x != nil { + return x.TotalTimeLock } return 0 } // Deprecated: Do not use. -func (m *Route) GetTotalFees() int64 { - if m != nil { - return m.TotalFees +func (x *Route) GetTotalFees() int64 { + if x != nil { + return x.TotalFees } return 0 } // Deprecated: Do not use. -func (m *Route) GetTotalAmt() int64 { - if m != nil { - return m.TotalAmt +func (x *Route) GetTotalAmt() int64 { + if x != nil { + return x.TotalAmt } return 0 } -func (m *Route) GetHops() []*Hop { - if m != nil { - return m.Hops +func (x *Route) GetHops() []*Hop { + if x != nil { + return x.Hops } return nil } -func (m *Route) GetTotalFeesMsat() int64 { - if m != nil { - return m.TotalFeesMsat +func (x *Route) GetTotalFeesMsat() int64 { + if x != nil { + return x.TotalFeesMsat } return 0 } -func (m *Route) GetTotalAmtMsat() int64 { - if m != nil { - return m.TotalAmtMsat +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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + IncludeChannels bool `protobuf:"varint,2,opt,name=include_channels,json=includeChannels,proto3" json:"include_channels,omitempty"` } -func (m *NodeInfoRequest) Reset() { *m = NodeInfoRequest{} } -func (m *NodeInfoRequest) String() string { return proto.CompactTextString(m) } -func (*NodeInfoRequest) ProtoMessage() {} +func (x *NodeInfoRequest) Reset() { + *x = NodeInfoRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[89] + 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_rpc_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 NodeInfoRequest.ProtoReflect.Descriptor instead. func (*NodeInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{89} + return file_rpc_proto_rawDescGZIP(), []int{89} } -func (m *NodeInfoRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NodeInfoRequest.Unmarshal(m, b) -} -func (m *NodeInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NodeInfoRequest.Marshal(b, m, deterministic) -} -func (m *NodeInfoRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_NodeInfoRequest.Merge(m, src) -} -func (m *NodeInfoRequest) XXX_Size() int { - return xxx_messageInfo_NodeInfoRequest.Size(m) -} -func (m *NodeInfoRequest) XXX_DiscardUnknown() { - xxx_messageInfo_NodeInfoRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_NodeInfoRequest proto.InternalMessageInfo - -func (m *NodeInfoRequest) GetPubKey() string { - if m != nil { - return m.PubKey +func (x *NodeInfoRequest) GetPubKey() string { + if x != nil { + return x.PubKey } return "" } -func (m *NodeInfoRequest) GetIncludeChannels() bool { - if m != nil { - return m.IncludeChannels +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 @@ -8156,61 +8764,65 @@ type NodeInfo struct { // 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Channels []*ChannelEdge `protobuf:"bytes,4,rep,name=channels,proto3" json:"channels,omitempty"` } -func (m *NodeInfo) Reset() { *m = NodeInfo{} } -func (m *NodeInfo) String() string { return proto.CompactTextString(m) } -func (*NodeInfo) ProtoMessage() {} +func (x *NodeInfo) Reset() { + *x = NodeInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[90] + 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_rpc_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 NodeInfo.ProtoReflect.Descriptor instead. func (*NodeInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{90} + return file_rpc_proto_rawDescGZIP(), []int{90} } -func (m *NodeInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NodeInfo.Unmarshal(m, b) -} -func (m *NodeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NodeInfo.Marshal(b, m, deterministic) -} -func (m *NodeInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_NodeInfo.Merge(m, src) -} -func (m *NodeInfo) XXX_Size() int { - return xxx_messageInfo_NodeInfo.Size(m) -} -func (m *NodeInfo) XXX_DiscardUnknown() { - xxx_messageInfo_NodeInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_NodeInfo proto.InternalMessageInfo - -func (m *NodeInfo) GetNode() *LightningNode { - if m != nil { - return m.Node +func (x *NodeInfo) GetNode() *LightningNode { + if x != nil { + return x.Node } return nil } -func (m *NodeInfo) GetNumChannels() uint32 { - if m != nil { - return m.NumChannels +func (x *NodeInfo) GetNumChannels() uint32 { + if x != nil { + return x.NumChannels } return 0 } -func (m *NodeInfo) GetTotalCapacity() int64 { - if m != nil { - return m.TotalCapacity +func (x *NodeInfo) GetTotalCapacity() int64 { + if x != nil { + return x.TotalCapacity } return 0 } -func (m *NodeInfo) GetChannels() []*ChannelEdge { - if m != nil { - return m.Channels +func (x *NodeInfo) GetChannels() []*ChannelEdge { + if x != nil { + return x.Channels } return nil } @@ -8221,214 +8833,238 @@ func (m *NodeInfo) GetChannels() []*ChannelEdge { //graph is directed, a node will also have an incoming edge attached to it for //each outgoing edge. type LightningNode struct { - 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + 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"` } -func (m *LightningNode) Reset() { *m = LightningNode{} } -func (m *LightningNode) String() string { return proto.CompactTextString(m) } -func (*LightningNode) ProtoMessage() {} +func (x *LightningNode) Reset() { + *x = LightningNode{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[91] + 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_rpc_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 LightningNode.ProtoReflect.Descriptor instead. func (*LightningNode) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{91} + return file_rpc_proto_rawDescGZIP(), []int{91} } -func (m *LightningNode) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LightningNode.Unmarshal(m, b) -} -func (m *LightningNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LightningNode.Marshal(b, m, deterministic) -} -func (m *LightningNode) XXX_Merge(src proto.Message) { - xxx_messageInfo_LightningNode.Merge(m, src) -} -func (m *LightningNode) XXX_Size() int { - return xxx_messageInfo_LightningNode.Size(m) -} -func (m *LightningNode) XXX_DiscardUnknown() { - xxx_messageInfo_LightningNode.DiscardUnknown(m) -} - -var xxx_messageInfo_LightningNode proto.InternalMessageInfo - -func (m *LightningNode) GetLastUpdate() uint32 { - if m != nil { - return m.LastUpdate +func (x *LightningNode) GetLastUpdate() uint32 { + if x != nil { + return x.LastUpdate } return 0 } -func (m *LightningNode) GetPubKey() string { - if m != nil { - return m.PubKey +func (x *LightningNode) GetPubKey() string { + if x != nil { + return x.PubKey } return "" } -func (m *LightningNode) GetAlias() string { - if m != nil { - return m.Alias +func (x *LightningNode) GetAlias() string { + if x != nil { + return x.Alias } return "" } -func (m *LightningNode) GetAddresses() []*NodeAddress { - if m != nil { - return m.Addresses +func (x *LightningNode) GetAddresses() []*NodeAddress { + if x != nil { + return x.Addresses } return nil } -func (m *LightningNode) GetColor() string { - if m != nil { - return m.Color +func (x *LightningNode) GetColor() string { + if x != nil { + return x.Color } return "" } -func (m *LightningNode) GetFeatures() map[uint32]*Feature { - if m != nil { - return m.Features +func (x *LightningNode) GetFeatures() map[uint32]*Feature { + if x != nil { + return x.Features } return nil } type NodeAddress struct { - Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` - Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + 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 (m *NodeAddress) Reset() { *m = NodeAddress{} } -func (m *NodeAddress) String() string { return proto.CompactTextString(m) } -func (*NodeAddress) ProtoMessage() {} +func (x *NodeAddress) Reset() { + *x = NodeAddress{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[92] + 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_rpc_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 NodeAddress.ProtoReflect.Descriptor instead. func (*NodeAddress) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{92} + return file_rpc_proto_rawDescGZIP(), []int{92} } -func (m *NodeAddress) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NodeAddress.Unmarshal(m, b) -} -func (m *NodeAddress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NodeAddress.Marshal(b, m, deterministic) -} -func (m *NodeAddress) XXX_Merge(src proto.Message) { - xxx_messageInfo_NodeAddress.Merge(m, src) -} -func (m *NodeAddress) XXX_Size() int { - return xxx_messageInfo_NodeAddress.Size(m) -} -func (m *NodeAddress) XXX_DiscardUnknown() { - xxx_messageInfo_NodeAddress.DiscardUnknown(m) -} - -var xxx_messageInfo_NodeAddress proto.InternalMessageInfo - -func (m *NodeAddress) GetNetwork() string { - if m != nil { - return m.Network +func (x *NodeAddress) GetNetwork() string { + if x != nil { + return x.Network } return "" } -func (m *NodeAddress) GetAddr() string { - if m != nil { - return m.Addr +func (x *NodeAddress) GetAddr() string { + if x != nil { + return x.Addr } return "" } type RoutingPolicy struct { - 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + 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"` } -func (m *RoutingPolicy) Reset() { *m = RoutingPolicy{} } -func (m *RoutingPolicy) String() string { return proto.CompactTextString(m) } -func (*RoutingPolicy) ProtoMessage() {} +func (x *RoutingPolicy) Reset() { + *x = RoutingPolicy{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[93] + 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_rpc_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 RoutingPolicy.ProtoReflect.Descriptor instead. func (*RoutingPolicy) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{93} + return file_rpc_proto_rawDescGZIP(), []int{93} } -func (m *RoutingPolicy) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RoutingPolicy.Unmarshal(m, b) -} -func (m *RoutingPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RoutingPolicy.Marshal(b, m, deterministic) -} -func (m *RoutingPolicy) XXX_Merge(src proto.Message) { - xxx_messageInfo_RoutingPolicy.Merge(m, src) -} -func (m *RoutingPolicy) XXX_Size() int { - return xxx_messageInfo_RoutingPolicy.Size(m) -} -func (m *RoutingPolicy) XXX_DiscardUnknown() { - xxx_messageInfo_RoutingPolicy.DiscardUnknown(m) -} - -var xxx_messageInfo_RoutingPolicy proto.InternalMessageInfo - -func (m *RoutingPolicy) GetTimeLockDelta() uint32 { - if m != nil { - return m.TimeLockDelta +func (x *RoutingPolicy) GetTimeLockDelta() uint32 { + if x != nil { + return x.TimeLockDelta } return 0 } -func (m *RoutingPolicy) GetMinHtlc() int64 { - if m != nil { - return m.MinHtlc +func (x *RoutingPolicy) GetMinHtlc() int64 { + if x != nil { + return x.MinHtlc } return 0 } -func (m *RoutingPolicy) GetFeeBaseMsat() int64 { - if m != nil { - return m.FeeBaseMsat +func (x *RoutingPolicy) GetFeeBaseMsat() int64 { + if x != nil { + return x.FeeBaseMsat } return 0 } -func (m *RoutingPolicy) GetFeeRateMilliMsat() int64 { - if m != nil { - return m.FeeRateMilliMsat +func (x *RoutingPolicy) GetFeeRateMilliMsat() int64 { + if x != nil { + return x.FeeRateMilliMsat } return 0 } -func (m *RoutingPolicy) GetDisabled() bool { - if m != nil { - return m.Disabled +func (x *RoutingPolicy) GetDisabled() bool { + if x != nil { + return x.Disabled } return false } -func (m *RoutingPolicy) GetMaxHtlcMsat() uint64 { - if m != nil { - return m.MaxHtlcMsat +func (x *RoutingPolicy) GetMaxHtlcMsat() uint64 { + if x != nil { + return x.MaxHtlcMsat } return 0 } -func (m *RoutingPolicy) GetLastUpdate() uint32 { - if m != nil { - return m.LastUpdate +func (x *RoutingPolicy) GetLastUpdate() uint32 { + if x != nil { + return x.LastUpdate } return 0 } @@ -8440,239 +9076,276 @@ func (m *RoutingPolicy) GetLastUpdate() uint32 { //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"` - LastUpdate uint32 `protobuf:"varint,3,opt,name=last_update,json=lastUpdate,proto3" json:"last_update,omitempty"` // Deprecated: Do not use. - 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + 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: Do not use. + 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"` } -func (m *ChannelEdge) Reset() { *m = ChannelEdge{} } -func (m *ChannelEdge) String() string { return proto.CompactTextString(m) } -func (*ChannelEdge) ProtoMessage() {} +func (x *ChannelEdge) Reset() { + *x = ChannelEdge{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[94] + 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_rpc_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 ChannelEdge.ProtoReflect.Descriptor instead. func (*ChannelEdge) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{94} + return file_rpc_proto_rawDescGZIP(), []int{94} } -func (m *ChannelEdge) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ChannelEdge.Unmarshal(m, b) -} -func (m *ChannelEdge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ChannelEdge.Marshal(b, m, deterministic) -} -func (m *ChannelEdge) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChannelEdge.Merge(m, src) -} -func (m *ChannelEdge) XXX_Size() int { - return xxx_messageInfo_ChannelEdge.Size(m) -} -func (m *ChannelEdge) XXX_DiscardUnknown() { - xxx_messageInfo_ChannelEdge.DiscardUnknown(m) -} - -var xxx_messageInfo_ChannelEdge proto.InternalMessageInfo - -func (m *ChannelEdge) GetChannelId() uint64 { - if m != nil { - return m.ChannelId +func (x *ChannelEdge) GetChannelId() uint64 { + if x != nil { + return x.ChannelId } return 0 } -func (m *ChannelEdge) GetChanPoint() string { - if m != nil { - return m.ChanPoint +func (x *ChannelEdge) GetChanPoint() string { + if x != nil { + return x.ChanPoint } return "" } // Deprecated: Do not use. -func (m *ChannelEdge) GetLastUpdate() uint32 { - if m != nil { - return m.LastUpdate +func (x *ChannelEdge) GetLastUpdate() uint32 { + if x != nil { + return x.LastUpdate } return 0 } -func (m *ChannelEdge) GetNode1Pub() string { - if m != nil { - return m.Node1Pub +func (x *ChannelEdge) GetNode1Pub() string { + if x != nil { + return x.Node1Pub } return "" } -func (m *ChannelEdge) GetNode2Pub() string { - if m != nil { - return m.Node2Pub +func (x *ChannelEdge) GetNode2Pub() string { + if x != nil { + return x.Node2Pub } return "" } -func (m *ChannelEdge) GetCapacity() int64 { - if m != nil { - return m.Capacity +func (x *ChannelEdge) GetCapacity() int64 { + if x != nil { + return x.Capacity } return 0 } -func (m *ChannelEdge) GetNode1Policy() *RoutingPolicy { - if m != nil { - return m.Node1Policy +func (x *ChannelEdge) GetNode1Policy() *RoutingPolicy { + if x != nil { + return x.Node1Policy } return nil } -func (m *ChannelEdge) GetNode2Policy() *RoutingPolicy { - if m != nil { - return m.Node2Policy +func (x *ChannelEdge) GetNode2Policy() *RoutingPolicy { + if x != nil { + return x.Node2Policy } 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + IncludeUnannounced bool `protobuf:"varint,1,opt,name=include_unannounced,json=includeUnannounced,proto3" json:"include_unannounced,omitempty"` } -func (m *ChannelGraphRequest) Reset() { *m = ChannelGraphRequest{} } -func (m *ChannelGraphRequest) String() string { return proto.CompactTextString(m) } -func (*ChannelGraphRequest) ProtoMessage() {} +func (x *ChannelGraphRequest) Reset() { + *x = ChannelGraphRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[95] + 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_rpc_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 ChannelGraphRequest.ProtoReflect.Descriptor instead. func (*ChannelGraphRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{95} + return file_rpc_proto_rawDescGZIP(), []int{95} } -func (m *ChannelGraphRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ChannelGraphRequest.Unmarshal(m, b) -} -func (m *ChannelGraphRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ChannelGraphRequest.Marshal(b, m, deterministic) -} -func (m *ChannelGraphRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChannelGraphRequest.Merge(m, src) -} -func (m *ChannelGraphRequest) XXX_Size() int { - return xxx_messageInfo_ChannelGraphRequest.Size(m) -} -func (m *ChannelGraphRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ChannelGraphRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ChannelGraphRequest proto.InternalMessageInfo - -func (m *ChannelGraphRequest) GetIncludeUnannounced() bool { - if m != nil { - return m.IncludeUnannounced +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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Edges []*ChannelEdge `protobuf:"bytes,2,rep,name=edges,proto3" json:"edges,omitempty"` } -func (m *ChannelGraph) Reset() { *m = ChannelGraph{} } -func (m *ChannelGraph) String() string { return proto.CompactTextString(m) } -func (*ChannelGraph) ProtoMessage() {} +func (x *ChannelGraph) Reset() { + *x = ChannelGraph{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[96] + 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_rpc_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 ChannelGraph.ProtoReflect.Descriptor instead. func (*ChannelGraph) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{96} + return file_rpc_proto_rawDescGZIP(), []int{96} } -func (m *ChannelGraph) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ChannelGraph.Unmarshal(m, b) -} -func (m *ChannelGraph) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ChannelGraph.Marshal(b, m, deterministic) -} -func (m *ChannelGraph) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChannelGraph.Merge(m, src) -} -func (m *ChannelGraph) XXX_Size() int { - return xxx_messageInfo_ChannelGraph.Size(m) -} -func (m *ChannelGraph) XXX_DiscardUnknown() { - xxx_messageInfo_ChannelGraph.DiscardUnknown(m) -} - -var xxx_messageInfo_ChannelGraph proto.InternalMessageInfo - -func (m *ChannelGraph) GetNodes() []*LightningNode { - if m != nil { - return m.Nodes +func (x *ChannelGraph) GetNodes() []*LightningNode { + if x != nil { + return x.Nodes } return nil } -func (m *ChannelGraph) GetEdges() []*ChannelEdge { - if m != nil { - return m.Edges +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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Types []NodeMetricType `protobuf:"varint,1,rep,packed,name=types,proto3,enum=lnrpc.NodeMetricType" json:"types,omitempty"` } -func (m *NodeMetricsRequest) Reset() { *m = NodeMetricsRequest{} } -func (m *NodeMetricsRequest) String() string { return proto.CompactTextString(m) } -func (*NodeMetricsRequest) ProtoMessage() {} +func (x *NodeMetricsRequest) Reset() { + *x = NodeMetricsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[97] + 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_rpc_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 NodeMetricsRequest.ProtoReflect.Descriptor instead. func (*NodeMetricsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{97} + return file_rpc_proto_rawDescGZIP(), []int{97} } -func (m *NodeMetricsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NodeMetricsRequest.Unmarshal(m, b) -} -func (m *NodeMetricsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NodeMetricsRequest.Marshal(b, m, deterministic) -} -func (m *NodeMetricsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_NodeMetricsRequest.Merge(m, src) -} -func (m *NodeMetricsRequest) XXX_Size() int { - return xxx_messageInfo_NodeMetricsRequest.Size(m) -} -func (m *NodeMetricsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_NodeMetricsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_NodeMetricsRequest proto.InternalMessageInfo - -func (m *NodeMetricsRequest) GetTypes() []NodeMetricType { - if m != nil { - return m.Types +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 @@ -8680,167 +9353,198 @@ type NodeMetricsResponse struct { //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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` } -func (m *NodeMetricsResponse) Reset() { *m = NodeMetricsResponse{} } -func (m *NodeMetricsResponse) String() string { return proto.CompactTextString(m) } -func (*NodeMetricsResponse) ProtoMessage() {} +func (x *NodeMetricsResponse) Reset() { + *x = NodeMetricsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[98] + 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_rpc_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 NodeMetricsResponse.ProtoReflect.Descriptor instead. func (*NodeMetricsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{98} + return file_rpc_proto_rawDescGZIP(), []int{98} } -func (m *NodeMetricsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NodeMetricsResponse.Unmarshal(m, b) -} -func (m *NodeMetricsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NodeMetricsResponse.Marshal(b, m, deterministic) -} -func (m *NodeMetricsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_NodeMetricsResponse.Merge(m, src) -} -func (m *NodeMetricsResponse) XXX_Size() int { - return xxx_messageInfo_NodeMetricsResponse.Size(m) -} -func (m *NodeMetricsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_NodeMetricsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_NodeMetricsResponse proto.InternalMessageInfo - -func (m *NodeMetricsResponse) GetBetweennessCentrality() map[string]*FloatMetric { - if m != nil { - return m.BetweennessCentrality +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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + NormalizedValue float64 `protobuf:"fixed64,2,opt,name=normalized_value,json=normalizedValue,proto3" json:"normalized_value,omitempty"` } -func (m *FloatMetric) Reset() { *m = FloatMetric{} } -func (m *FloatMetric) String() string { return proto.CompactTextString(m) } -func (*FloatMetric) ProtoMessage() {} +func (x *FloatMetric) Reset() { + *x = FloatMetric{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[99] + 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_rpc_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 FloatMetric.ProtoReflect.Descriptor instead. func (*FloatMetric) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{99} + return file_rpc_proto_rawDescGZIP(), []int{99} } -func (m *FloatMetric) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FloatMetric.Unmarshal(m, b) -} -func (m *FloatMetric) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FloatMetric.Marshal(b, m, deterministic) -} -func (m *FloatMetric) XXX_Merge(src proto.Message) { - xxx_messageInfo_FloatMetric.Merge(m, src) -} -func (m *FloatMetric) XXX_Size() int { - return xxx_messageInfo_FloatMetric.Size(m) -} -func (m *FloatMetric) XXX_DiscardUnknown() { - xxx_messageInfo_FloatMetric.DiscardUnknown(m) -} - -var xxx_messageInfo_FloatMetric proto.InternalMessageInfo - -func (m *FloatMetric) GetValue() float64 { - if m != nil { - return m.Value +func (x *FloatMetric) GetValue() float64 { + if x != nil { + return x.Value } return 0 } -func (m *FloatMetric) GetNormalizedValue() float64 { - if m != nil { - return m.NormalizedValue +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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ChanId uint64 `protobuf:"varint,1,opt,name=chan_id,json=chanId,proto3" json:"chan_id,omitempty"` } -func (m *ChanInfoRequest) Reset() { *m = ChanInfoRequest{} } -func (m *ChanInfoRequest) String() string { return proto.CompactTextString(m) } -func (*ChanInfoRequest) ProtoMessage() {} +func (x *ChanInfoRequest) Reset() { + *x = ChanInfoRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[100] + 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_rpc_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 ChanInfoRequest.ProtoReflect.Descriptor instead. func (*ChanInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{100} + return file_rpc_proto_rawDescGZIP(), []int{100} } -func (m *ChanInfoRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ChanInfoRequest.Unmarshal(m, b) -} -func (m *ChanInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ChanInfoRequest.Marshal(b, m, deterministic) -} -func (m *ChanInfoRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChanInfoRequest.Merge(m, src) -} -func (m *ChanInfoRequest) XXX_Size() int { - return xxx_messageInfo_ChanInfoRequest.Size(m) -} -func (m *ChanInfoRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ChanInfoRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ChanInfoRequest proto.InternalMessageInfo - -func (m *ChanInfoRequest) GetChanId() uint64 { - if m != nil { - return m.ChanId +func (x *ChanInfoRequest) GetChanId() uint64 { + if x != nil { + return x.ChanId } return 0 } type NetworkInfoRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *NetworkInfoRequest) Reset() { *m = NetworkInfoRequest{} } -func (m *NetworkInfoRequest) String() string { return proto.CompactTextString(m) } -func (*NetworkInfoRequest) ProtoMessage() {} +func (x *NetworkInfoRequest) Reset() { + *x = NetworkInfoRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[101] + 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_rpc_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 NetworkInfoRequest.ProtoReflect.Descriptor instead. func (*NetworkInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{101} + return file_rpc_proto_rawDescGZIP(), []int{101} } -func (m *NetworkInfoRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NetworkInfoRequest.Unmarshal(m, b) -} -func (m *NetworkInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NetworkInfoRequest.Marshal(b, m, deterministic) -} -func (m *NetworkInfoRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_NetworkInfoRequest.Merge(m, src) -} -func (m *NetworkInfoRequest) XXX_Size() int { - return xxx_messageInfo_NetworkInfoRequest.Size(m) -} -func (m *NetworkInfoRequest) XXX_DiscardUnknown() { - xxx_messageInfo_NetworkInfoRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_NetworkInfoRequest proto.InternalMessageInfo - 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"` @@ -8852,509 +9556,574 @@ type NetworkInfo struct { 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + NumZombieChans uint64 `protobuf:"varint,11,opt,name=num_zombie_chans,json=numZombieChans,proto3" json:"num_zombie_chans,omitempty"` } -func (m *NetworkInfo) Reset() { *m = NetworkInfo{} } -func (m *NetworkInfo) String() string { return proto.CompactTextString(m) } -func (*NetworkInfo) ProtoMessage() {} +func (x *NetworkInfo) Reset() { + *x = NetworkInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[102] + 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_rpc_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 NetworkInfo.ProtoReflect.Descriptor instead. func (*NetworkInfo) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{102} + return file_rpc_proto_rawDescGZIP(), []int{102} } -func (m *NetworkInfo) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NetworkInfo.Unmarshal(m, b) -} -func (m *NetworkInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NetworkInfo.Marshal(b, m, deterministic) -} -func (m *NetworkInfo) XXX_Merge(src proto.Message) { - xxx_messageInfo_NetworkInfo.Merge(m, src) -} -func (m *NetworkInfo) XXX_Size() int { - return xxx_messageInfo_NetworkInfo.Size(m) -} -func (m *NetworkInfo) XXX_DiscardUnknown() { - xxx_messageInfo_NetworkInfo.DiscardUnknown(m) -} - -var xxx_messageInfo_NetworkInfo proto.InternalMessageInfo - -func (m *NetworkInfo) GetGraphDiameter() uint32 { - if m != nil { - return m.GraphDiameter +func (x *NetworkInfo) GetGraphDiameter() uint32 { + if x != nil { + return x.GraphDiameter } return 0 } -func (m *NetworkInfo) GetAvgOutDegree() float64 { - if m != nil { - return m.AvgOutDegree +func (x *NetworkInfo) GetAvgOutDegree() float64 { + if x != nil { + return x.AvgOutDegree } return 0 } -func (m *NetworkInfo) GetMaxOutDegree() uint32 { - if m != nil { - return m.MaxOutDegree +func (x *NetworkInfo) GetMaxOutDegree() uint32 { + if x != nil { + return x.MaxOutDegree } return 0 } -func (m *NetworkInfo) GetNumNodes() uint32 { - if m != nil { - return m.NumNodes +func (x *NetworkInfo) GetNumNodes() uint32 { + if x != nil { + return x.NumNodes } return 0 } -func (m *NetworkInfo) GetNumChannels() uint32 { - if m != nil { - return m.NumChannels +func (x *NetworkInfo) GetNumChannels() uint32 { + if x != nil { + return x.NumChannels } return 0 } -func (m *NetworkInfo) GetTotalNetworkCapacity() int64 { - if m != nil { - return m.TotalNetworkCapacity +func (x *NetworkInfo) GetTotalNetworkCapacity() int64 { + if x != nil { + return x.TotalNetworkCapacity } return 0 } -func (m *NetworkInfo) GetAvgChannelSize() float64 { - if m != nil { - return m.AvgChannelSize +func (x *NetworkInfo) GetAvgChannelSize() float64 { + if x != nil { + return x.AvgChannelSize } return 0 } -func (m *NetworkInfo) GetMinChannelSize() int64 { - if m != nil { - return m.MinChannelSize +func (x *NetworkInfo) GetMinChannelSize() int64 { + if x != nil { + return x.MinChannelSize } return 0 } -func (m *NetworkInfo) GetMaxChannelSize() int64 { - if m != nil { - return m.MaxChannelSize +func (x *NetworkInfo) GetMaxChannelSize() int64 { + if x != nil { + return x.MaxChannelSize } return 0 } -func (m *NetworkInfo) GetMedianChannelSizeSat() int64 { - if m != nil { - return m.MedianChannelSizeSat +func (x *NetworkInfo) GetMedianChannelSizeSat() int64 { + if x != nil { + return x.MedianChannelSizeSat } return 0 } -func (m *NetworkInfo) GetNumZombieChans() uint64 { - if m != nil { - return m.NumZombieChans +func (x *NetworkInfo) GetNumZombieChans() uint64 { + if x != nil { + return x.NumZombieChans } return 0 } type StopRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *StopRequest) Reset() { *m = StopRequest{} } -func (m *StopRequest) String() string { return proto.CompactTextString(m) } -func (*StopRequest) ProtoMessage() {} +func (x *StopRequest) Reset() { + *x = StopRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[103] + 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_rpc_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 StopRequest.ProtoReflect.Descriptor instead. func (*StopRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{103} + return file_rpc_proto_rawDescGZIP(), []int{103} } -func (m *StopRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StopRequest.Unmarshal(m, b) -} -func (m *StopRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StopRequest.Marshal(b, m, deterministic) -} -func (m *StopRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StopRequest.Merge(m, src) -} -func (m *StopRequest) XXX_Size() int { - return xxx_messageInfo_StopRequest.Size(m) -} -func (m *StopRequest) XXX_DiscardUnknown() { - xxx_messageInfo_StopRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_StopRequest proto.InternalMessageInfo - type StopResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *StopResponse) Reset() { *m = StopResponse{} } -func (m *StopResponse) String() string { return proto.CompactTextString(m) } -func (*StopResponse) ProtoMessage() {} +func (x *StopResponse) Reset() { + *x = StopResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[104] + 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_rpc_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 StopResponse.ProtoReflect.Descriptor instead. func (*StopResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{104} + return file_rpc_proto_rawDescGZIP(), []int{104} } -func (m *StopResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StopResponse.Unmarshal(m, b) -} -func (m *StopResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StopResponse.Marshal(b, m, deterministic) -} -func (m *StopResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_StopResponse.Merge(m, src) -} -func (m *StopResponse) XXX_Size() int { - return xxx_messageInfo_StopResponse.Size(m) -} -func (m *StopResponse) XXX_DiscardUnknown() { - xxx_messageInfo_StopResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_StopResponse proto.InternalMessageInfo - type GraphTopologySubscription struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *GraphTopologySubscription) Reset() { *m = GraphTopologySubscription{} } -func (m *GraphTopologySubscription) String() string { return proto.CompactTextString(m) } -func (*GraphTopologySubscription) ProtoMessage() {} +func (x *GraphTopologySubscription) Reset() { + *x = GraphTopologySubscription{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[105] + 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_rpc_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 GraphTopologySubscription.ProtoReflect.Descriptor instead. func (*GraphTopologySubscription) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{105} + return file_rpc_proto_rawDescGZIP(), []int{105} } -func (m *GraphTopologySubscription) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GraphTopologySubscription.Unmarshal(m, b) -} -func (m *GraphTopologySubscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GraphTopologySubscription.Marshal(b, m, deterministic) -} -func (m *GraphTopologySubscription) XXX_Merge(src proto.Message) { - xxx_messageInfo_GraphTopologySubscription.Merge(m, src) -} -func (m *GraphTopologySubscription) XXX_Size() int { - return xxx_messageInfo_GraphTopologySubscription.Size(m) -} -func (m *GraphTopologySubscription) XXX_DiscardUnknown() { - xxx_messageInfo_GraphTopologySubscription.DiscardUnknown(m) -} - -var xxx_messageInfo_GraphTopologySubscription proto.InternalMessageInfo - type GraphTopologyUpdate struct { - 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + 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 (m *GraphTopologyUpdate) Reset() { *m = GraphTopologyUpdate{} } -func (m *GraphTopologyUpdate) String() string { return proto.CompactTextString(m) } -func (*GraphTopologyUpdate) ProtoMessage() {} +func (x *GraphTopologyUpdate) Reset() { + *x = GraphTopologyUpdate{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[106] + 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_rpc_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 GraphTopologyUpdate.ProtoReflect.Descriptor instead. func (*GraphTopologyUpdate) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{106} + return file_rpc_proto_rawDescGZIP(), []int{106} } -func (m *GraphTopologyUpdate) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GraphTopologyUpdate.Unmarshal(m, b) -} -func (m *GraphTopologyUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GraphTopologyUpdate.Marshal(b, m, deterministic) -} -func (m *GraphTopologyUpdate) XXX_Merge(src proto.Message) { - xxx_messageInfo_GraphTopologyUpdate.Merge(m, src) -} -func (m *GraphTopologyUpdate) XXX_Size() int { - return xxx_messageInfo_GraphTopologyUpdate.Size(m) -} -func (m *GraphTopologyUpdate) XXX_DiscardUnknown() { - xxx_messageInfo_GraphTopologyUpdate.DiscardUnknown(m) -} - -var xxx_messageInfo_GraphTopologyUpdate proto.InternalMessageInfo - -func (m *GraphTopologyUpdate) GetNodeUpdates() []*NodeUpdate { - if m != nil { - return m.NodeUpdates +func (x *GraphTopologyUpdate) GetNodeUpdates() []*NodeUpdate { + if x != nil { + return x.NodeUpdates } return nil } -func (m *GraphTopologyUpdate) GetChannelUpdates() []*ChannelEdgeUpdate { - if m != nil { - return m.ChannelUpdates +func (x *GraphTopologyUpdate) GetChannelUpdates() []*ChannelEdgeUpdate { + if x != nil { + return x.ChannelUpdates } return nil } -func (m *GraphTopologyUpdate) GetClosedChans() []*ClosedChannelUpdate { - if m != nil { - return m.ClosedChans +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. - Addresses []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + 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. - GlobalFeatures []byte `protobuf:"bytes,3,opt,name=global_features,json=globalFeatures,proto3" json:"global_features,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + 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 (m *NodeUpdate) Reset() { *m = NodeUpdate{} } -func (m *NodeUpdate) String() string { return proto.CompactTextString(m) } -func (*NodeUpdate) ProtoMessage() {} +func (x *NodeUpdate) Reset() { + *x = NodeUpdate{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[107] + 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_rpc_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 NodeUpdate.ProtoReflect.Descriptor instead. func (*NodeUpdate) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{107} + return file_rpc_proto_rawDescGZIP(), []int{107} } -func (m *NodeUpdate) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_NodeUpdate.Unmarshal(m, b) -} -func (m *NodeUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_NodeUpdate.Marshal(b, m, deterministic) -} -func (m *NodeUpdate) XXX_Merge(src proto.Message) { - xxx_messageInfo_NodeUpdate.Merge(m, src) -} -func (m *NodeUpdate) XXX_Size() int { - return xxx_messageInfo_NodeUpdate.Size(m) -} -func (m *NodeUpdate) XXX_DiscardUnknown() { - xxx_messageInfo_NodeUpdate.DiscardUnknown(m) -} - -var xxx_messageInfo_NodeUpdate proto.InternalMessageInfo - // Deprecated: Do not use. -func (m *NodeUpdate) GetAddresses() []string { - if m != nil { - return m.Addresses +func (x *NodeUpdate) GetAddresses() []string { + if x != nil { + return x.Addresses } return nil } -func (m *NodeUpdate) GetIdentityKey() string { - if m != nil { - return m.IdentityKey +func (x *NodeUpdate) GetIdentityKey() string { + if x != nil { + return x.IdentityKey } return "" } // Deprecated: Do not use. -func (m *NodeUpdate) GetGlobalFeatures() []byte { - if m != nil { - return m.GlobalFeatures +func (x *NodeUpdate) GetGlobalFeatures() []byte { + if x != nil { + return x.GlobalFeatures } return nil } -func (m *NodeUpdate) GetAlias() string { - if m != nil { - return m.Alias +func (x *NodeUpdate) GetAlias() string { + if x != nil { + return x.Alias } return "" } -func (m *NodeUpdate) GetColor() string { - if m != nil { - return m.Color +func (x *NodeUpdate) GetColor() string { + if x != nil { + return x.Color } return "" } -func (m *NodeUpdate) GetNodeAddresses() []*NodeAddress { - if m != nil { - return m.NodeAddresses +func (x *NodeUpdate) GetNodeAddresses() []*NodeAddress { + if x != nil { + return x.NodeAddresses } return nil } -func (m *NodeUpdate) GetFeatures() map[uint32]*Feature { - if m != nil { - return m.Features +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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + 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 (m *ChannelEdgeUpdate) Reset() { *m = ChannelEdgeUpdate{} } -func (m *ChannelEdgeUpdate) String() string { return proto.CompactTextString(m) } -func (*ChannelEdgeUpdate) ProtoMessage() {} +func (x *ChannelEdgeUpdate) Reset() { + *x = ChannelEdgeUpdate{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[108] + 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_rpc_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 ChannelEdgeUpdate.ProtoReflect.Descriptor instead. func (*ChannelEdgeUpdate) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{108} + return file_rpc_proto_rawDescGZIP(), []int{108} } -func (m *ChannelEdgeUpdate) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ChannelEdgeUpdate.Unmarshal(m, b) -} -func (m *ChannelEdgeUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ChannelEdgeUpdate.Marshal(b, m, deterministic) -} -func (m *ChannelEdgeUpdate) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChannelEdgeUpdate.Merge(m, src) -} -func (m *ChannelEdgeUpdate) XXX_Size() int { - return xxx_messageInfo_ChannelEdgeUpdate.Size(m) -} -func (m *ChannelEdgeUpdate) XXX_DiscardUnknown() { - xxx_messageInfo_ChannelEdgeUpdate.DiscardUnknown(m) -} - -var xxx_messageInfo_ChannelEdgeUpdate proto.InternalMessageInfo - -func (m *ChannelEdgeUpdate) GetChanId() uint64 { - if m != nil { - return m.ChanId +func (x *ChannelEdgeUpdate) GetChanId() uint64 { + if x != nil { + return x.ChanId } return 0 } -func (m *ChannelEdgeUpdate) GetChanPoint() *ChannelPoint { - if m != nil { - return m.ChanPoint +func (x *ChannelEdgeUpdate) GetChanPoint() *ChannelPoint { + if x != nil { + return x.ChanPoint } return nil } -func (m *ChannelEdgeUpdate) GetCapacity() int64 { - if m != nil { - return m.Capacity +func (x *ChannelEdgeUpdate) GetCapacity() int64 { + if x != nil { + return x.Capacity } return 0 } -func (m *ChannelEdgeUpdate) GetRoutingPolicy() *RoutingPolicy { - if m != nil { - return m.RoutingPolicy +func (x *ChannelEdgeUpdate) GetRoutingPolicy() *RoutingPolicy { + if x != nil { + return x.RoutingPolicy } return nil } -func (m *ChannelEdgeUpdate) GetAdvertisingNode() string { - if m != nil { - return m.AdvertisingNode +func (x *ChannelEdgeUpdate) GetAdvertisingNode() string { + if x != nil { + return x.AdvertisingNode } return "" } -func (m *ChannelEdgeUpdate) GetConnectingNode() string { - if m != nil { - return m.ConnectingNode +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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + 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 (m *ClosedChannelUpdate) Reset() { *m = ClosedChannelUpdate{} } -func (m *ClosedChannelUpdate) String() string { return proto.CompactTextString(m) } -func (*ClosedChannelUpdate) ProtoMessage() {} +func (x *ClosedChannelUpdate) Reset() { + *x = ClosedChannelUpdate{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[109] + 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_rpc_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 ClosedChannelUpdate.ProtoReflect.Descriptor instead. func (*ClosedChannelUpdate) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{109} + return file_rpc_proto_rawDescGZIP(), []int{109} } -func (m *ClosedChannelUpdate) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ClosedChannelUpdate.Unmarshal(m, b) -} -func (m *ClosedChannelUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ClosedChannelUpdate.Marshal(b, m, deterministic) -} -func (m *ClosedChannelUpdate) XXX_Merge(src proto.Message) { - xxx_messageInfo_ClosedChannelUpdate.Merge(m, src) -} -func (m *ClosedChannelUpdate) XXX_Size() int { - return xxx_messageInfo_ClosedChannelUpdate.Size(m) -} -func (m *ClosedChannelUpdate) XXX_DiscardUnknown() { - xxx_messageInfo_ClosedChannelUpdate.DiscardUnknown(m) -} - -var xxx_messageInfo_ClosedChannelUpdate proto.InternalMessageInfo - -func (m *ClosedChannelUpdate) GetChanId() uint64 { - if m != nil { - return m.ChanId +func (x *ClosedChannelUpdate) GetChanId() uint64 { + if x != nil { + return x.ChanId } return 0 } -func (m *ClosedChannelUpdate) GetCapacity() int64 { - if m != nil { - return m.Capacity +func (x *ClosedChannelUpdate) GetCapacity() int64 { + if x != nil { + return x.Capacity } return 0 } -func (m *ClosedChannelUpdate) GetClosedHeight() uint32 { - if m != nil { - return m.ClosedHeight +func (x *ClosedChannelUpdate) GetClosedHeight() uint32 { + if x != nil { + return x.ClosedHeight } return 0 } -func (m *ClosedChannelUpdate) GetChanPoint() *ChannelPoint { - if m != nil { - return m.ChanPoint +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. @@ -9366,115 +10135,131 @@ type HopHint struct { //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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + CltvExpiryDelta uint32 `protobuf:"varint,5,opt,name=cltv_expiry_delta,json=cltvExpiryDelta,proto3" json:"cltv_expiry_delta,omitempty"` } -func (m *HopHint) Reset() { *m = HopHint{} } -func (m *HopHint) String() string { return proto.CompactTextString(m) } -func (*HopHint) ProtoMessage() {} +func (x *HopHint) Reset() { + *x = HopHint{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[110] + 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_rpc_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 HopHint.ProtoReflect.Descriptor instead. func (*HopHint) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{110} + return file_rpc_proto_rawDescGZIP(), []int{110} } -func (m *HopHint) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HopHint.Unmarshal(m, b) -} -func (m *HopHint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HopHint.Marshal(b, m, deterministic) -} -func (m *HopHint) XXX_Merge(src proto.Message) { - xxx_messageInfo_HopHint.Merge(m, src) -} -func (m *HopHint) XXX_Size() int { - return xxx_messageInfo_HopHint.Size(m) -} -func (m *HopHint) XXX_DiscardUnknown() { - xxx_messageInfo_HopHint.DiscardUnknown(m) -} - -var xxx_messageInfo_HopHint proto.InternalMessageInfo - -func (m *HopHint) GetNodeId() string { - if m != nil { - return m.NodeId +func (x *HopHint) GetNodeId() string { + if x != nil { + return x.NodeId } return "" } -func (m *HopHint) GetChanId() uint64 { - if m != nil { - return m.ChanId +func (x *HopHint) GetChanId() uint64 { + if x != nil { + return x.ChanId } return 0 } -func (m *HopHint) GetFeeBaseMsat() uint32 { - if m != nil { - return m.FeeBaseMsat +func (x *HopHint) GetFeeBaseMsat() uint32 { + if x != nil { + return x.FeeBaseMsat } return 0 } -func (m *HopHint) GetFeeProportionalMillionths() uint32 { - if m != nil { - return m.FeeProportionalMillionths +func (x *HopHint) GetFeeProportionalMillionths() uint32 { + if x != nil { + return x.FeeProportionalMillionths } return 0 } -func (m *HopHint) GetCltvExpiryDelta() uint32 { - if m != nil { - return m.CltvExpiryDelta +func (x *HopHint) GetCltvExpiryDelta() uint32 { + if x != nil { + return x.CltvExpiryDelta } return 0 } 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + HopHints []*HopHint `protobuf:"bytes,1,rep,name=hop_hints,json=hopHints,proto3" json:"hop_hints,omitempty"` } -func (m *RouteHint) Reset() { *m = RouteHint{} } -func (m *RouteHint) String() string { return proto.CompactTextString(m) } -func (*RouteHint) ProtoMessage() {} +func (x *RouteHint) Reset() { + *x = RouteHint{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[111] + 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_rpc_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 RouteHint.ProtoReflect.Descriptor instead. func (*RouteHint) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{111} + return file_rpc_proto_rawDescGZIP(), []int{111} } -func (m *RouteHint) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RouteHint.Unmarshal(m, b) -} -func (m *RouteHint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RouteHint.Marshal(b, m, deterministic) -} -func (m *RouteHint) XXX_Merge(src proto.Message) { - xxx_messageInfo_RouteHint.Merge(m, src) -} -func (m *RouteHint) XXX_Size() int { - return xxx_messageInfo_RouteHint.Size(m) -} -func (m *RouteHint) XXX_DiscardUnknown() { - xxx_messageInfo_RouteHint.DiscardUnknown(m) -} - -var xxx_messageInfo_RouteHint proto.InternalMessageInfo - -func (m *RouteHint) GetHopHints() []*HopHint { - if m != nil { - return m.HopHints +func (x *RouteHint) GetHopHints() []*HopHint { + if x != nil { + return x.HopHints } return nil } 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 @@ -9501,7 +10286,9 @@ type Invoice struct { //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 - Settled bool `protobuf:"varint,6,opt,name=settled,proto3" json:"settled,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + Settled bool `protobuf:"varint,6,opt,name=settled,proto3" json:"settled,omitempty"` // When this invoice was created CreationDate int64 `protobuf:"varint,7,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"` // When this invoice was settled @@ -9542,7 +10329,9 @@ type Invoice struct { //settled invoices with an settle_index greater than this one. 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. - AmtPaid int64 `protobuf:"varint,18,opt,name=amt_paid,json=amtPaid,proto3" json:"amt_paid,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + 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. We provide this field as if the @@ -9574,216 +10363,224 @@ type Invoice struct { //The payment address of this invoice. This value will be used in MPP //payments, and also for newer invoies that always require the MPP paylaod //for added end-to-end security. - PaymentAddr []byte `protobuf:"bytes,26,opt,name=payment_addr,json=paymentAddr,proto3" json:"payment_addr,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + PaymentAddr []byte `protobuf:"bytes,26,opt,name=payment_addr,json=paymentAddr,proto3" json:"payment_addr,omitempty"` } -func (m *Invoice) Reset() { *m = Invoice{} } -func (m *Invoice) String() string { return proto.CompactTextString(m) } -func (*Invoice) ProtoMessage() {} +func (x *Invoice) Reset() { + *x = Invoice{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[112] + 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_rpc_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 Invoice.ProtoReflect.Descriptor instead. func (*Invoice) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{112} + return file_rpc_proto_rawDescGZIP(), []int{112} } -func (m *Invoice) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Invoice.Unmarshal(m, b) -} -func (m *Invoice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Invoice.Marshal(b, m, deterministic) -} -func (m *Invoice) XXX_Merge(src proto.Message) { - xxx_messageInfo_Invoice.Merge(m, src) -} -func (m *Invoice) XXX_Size() int { - return xxx_messageInfo_Invoice.Size(m) -} -func (m *Invoice) XXX_DiscardUnknown() { - xxx_messageInfo_Invoice.DiscardUnknown(m) -} - -var xxx_messageInfo_Invoice proto.InternalMessageInfo - -func (m *Invoice) GetMemo() string { - if m != nil { - return m.Memo +func (x *Invoice) GetMemo() string { + if x != nil { + return x.Memo } return "" } -func (m *Invoice) GetRPreimage() []byte { - if m != nil { - return m.RPreimage +func (x *Invoice) GetRPreimage() []byte { + if x != nil { + return x.RPreimage } return nil } -func (m *Invoice) GetRHash() []byte { - if m != nil { - return m.RHash +func (x *Invoice) GetRHash() []byte { + if x != nil { + return x.RHash } return nil } -func (m *Invoice) GetValue() int64 { - if m != nil { - return m.Value +func (x *Invoice) GetValue() int64 { + if x != nil { + return x.Value } return 0 } -func (m *Invoice) GetValueMsat() int64 { - if m != nil { - return m.ValueMsat +func (x *Invoice) GetValueMsat() int64 { + if x != nil { + return x.ValueMsat } return 0 } // Deprecated: Do not use. -func (m *Invoice) GetSettled() bool { - if m != nil { - return m.Settled +func (x *Invoice) GetSettled() bool { + if x != nil { + return x.Settled } return false } -func (m *Invoice) GetCreationDate() int64 { - if m != nil { - return m.CreationDate +func (x *Invoice) GetCreationDate() int64 { + if x != nil { + return x.CreationDate } return 0 } -func (m *Invoice) GetSettleDate() int64 { - if m != nil { - return m.SettleDate +func (x *Invoice) GetSettleDate() int64 { + if x != nil { + return x.SettleDate } return 0 } -func (m *Invoice) GetPaymentRequest() string { - if m != nil { - return m.PaymentRequest +func (x *Invoice) GetPaymentRequest() string { + if x != nil { + return x.PaymentRequest } return "" } -func (m *Invoice) GetDescriptionHash() []byte { - if m != nil { - return m.DescriptionHash +func (x *Invoice) GetDescriptionHash() []byte { + if x != nil { + return x.DescriptionHash } return nil } -func (m *Invoice) GetExpiry() int64 { - if m != nil { - return m.Expiry +func (x *Invoice) GetExpiry() int64 { + if x != nil { + return x.Expiry } return 0 } -func (m *Invoice) GetFallbackAddr() string { - if m != nil { - return m.FallbackAddr +func (x *Invoice) GetFallbackAddr() string { + if x != nil { + return x.FallbackAddr } return "" } -func (m *Invoice) GetCltvExpiry() uint64 { - if m != nil { - return m.CltvExpiry +func (x *Invoice) GetCltvExpiry() uint64 { + if x != nil { + return x.CltvExpiry } return 0 } -func (m *Invoice) GetRouteHints() []*RouteHint { - if m != nil { - return m.RouteHints +func (x *Invoice) GetRouteHints() []*RouteHint { + if x != nil { + return x.RouteHints } return nil } -func (m *Invoice) GetPrivate() bool { - if m != nil { - return m.Private +func (x *Invoice) GetPrivate() bool { + if x != nil { + return x.Private } return false } -func (m *Invoice) GetAddIndex() uint64 { - if m != nil { - return m.AddIndex +func (x *Invoice) GetAddIndex() uint64 { + if x != nil { + return x.AddIndex } return 0 } -func (m *Invoice) GetSettleIndex() uint64 { - if m != nil { - return m.SettleIndex +func (x *Invoice) GetSettleIndex() uint64 { + if x != nil { + return x.SettleIndex } return 0 } // Deprecated: Do not use. -func (m *Invoice) GetAmtPaid() int64 { - if m != nil { - return m.AmtPaid +func (x *Invoice) GetAmtPaid() int64 { + if x != nil { + return x.AmtPaid } return 0 } -func (m *Invoice) GetAmtPaidSat() int64 { - if m != nil { - return m.AmtPaidSat +func (x *Invoice) GetAmtPaidSat() int64 { + if x != nil { + return x.AmtPaidSat } return 0 } -func (m *Invoice) GetAmtPaidMsat() int64 { - if m != nil { - return m.AmtPaidMsat +func (x *Invoice) GetAmtPaidMsat() int64 { + if x != nil { + return x.AmtPaidMsat } return 0 } -func (m *Invoice) GetState() Invoice_InvoiceState { - if m != nil { - return m.State +func (x *Invoice) GetState() Invoice_InvoiceState { + if x != nil { + return x.State } return Invoice_OPEN } -func (m *Invoice) GetHtlcs() []*InvoiceHTLC { - if m != nil { - return m.Htlcs +func (x *Invoice) GetHtlcs() []*InvoiceHTLC { + if x != nil { + return x.Htlcs } return nil } -func (m *Invoice) GetFeatures() map[uint32]*Feature { - if m != nil { - return m.Features +func (x *Invoice) GetFeatures() map[uint32]*Feature { + if x != nil { + return x.Features } return nil } -func (m *Invoice) GetIsKeysend() bool { - if m != nil { - return m.IsKeysend +func (x *Invoice) GetIsKeysend() bool { + if x != nil { + return x.IsKeysend } return false } -func (m *Invoice) GetPaymentAddr() []byte { - if m != nil { - return m.PaymentAddr +func (x *Invoice) GetPaymentAddr() []byte { + if x != nil { + return x.PaymentAddr } 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. @@ -9805,116 +10602,124 @@ type InvoiceHTLC struct { // 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Amp *AMP `protobuf:"bytes,11,opt,name=amp,proto3" json:"amp,omitempty"` } -func (m *InvoiceHTLC) Reset() { *m = InvoiceHTLC{} } -func (m *InvoiceHTLC) String() string { return proto.CompactTextString(m) } -func (*InvoiceHTLC) ProtoMessage() {} +func (x *InvoiceHTLC) Reset() { + *x = InvoiceHTLC{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[113] + 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_rpc_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 InvoiceHTLC.ProtoReflect.Descriptor instead. func (*InvoiceHTLC) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{113} + return file_rpc_proto_rawDescGZIP(), []int{113} } -func (m *InvoiceHTLC) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InvoiceHTLC.Unmarshal(m, b) -} -func (m *InvoiceHTLC) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InvoiceHTLC.Marshal(b, m, deterministic) -} -func (m *InvoiceHTLC) XXX_Merge(src proto.Message) { - xxx_messageInfo_InvoiceHTLC.Merge(m, src) -} -func (m *InvoiceHTLC) XXX_Size() int { - return xxx_messageInfo_InvoiceHTLC.Size(m) -} -func (m *InvoiceHTLC) XXX_DiscardUnknown() { - xxx_messageInfo_InvoiceHTLC.DiscardUnknown(m) -} - -var xxx_messageInfo_InvoiceHTLC proto.InternalMessageInfo - -func (m *InvoiceHTLC) GetChanId() uint64 { - if m != nil { - return m.ChanId +func (x *InvoiceHTLC) GetChanId() uint64 { + if x != nil { + return x.ChanId } return 0 } -func (m *InvoiceHTLC) GetHtlcIndex() uint64 { - if m != nil { - return m.HtlcIndex +func (x *InvoiceHTLC) GetHtlcIndex() uint64 { + if x != nil { + return x.HtlcIndex } return 0 } -func (m *InvoiceHTLC) GetAmtMsat() uint64 { - if m != nil { - return m.AmtMsat +func (x *InvoiceHTLC) GetAmtMsat() uint64 { + if x != nil { + return x.AmtMsat } return 0 } -func (m *InvoiceHTLC) GetAcceptHeight() int32 { - if m != nil { - return m.AcceptHeight +func (x *InvoiceHTLC) GetAcceptHeight() int32 { + if x != nil { + return x.AcceptHeight } return 0 } -func (m *InvoiceHTLC) GetAcceptTime() int64 { - if m != nil { - return m.AcceptTime +func (x *InvoiceHTLC) GetAcceptTime() int64 { + if x != nil { + return x.AcceptTime } return 0 } -func (m *InvoiceHTLC) GetResolveTime() int64 { - if m != nil { - return m.ResolveTime +func (x *InvoiceHTLC) GetResolveTime() int64 { + if x != nil { + return x.ResolveTime } return 0 } -func (m *InvoiceHTLC) GetExpiryHeight() int32 { - if m != nil { - return m.ExpiryHeight +func (x *InvoiceHTLC) GetExpiryHeight() int32 { + if x != nil { + return x.ExpiryHeight } return 0 } -func (m *InvoiceHTLC) GetState() InvoiceHTLCState { - if m != nil { - return m.State +func (x *InvoiceHTLC) GetState() InvoiceHTLCState { + if x != nil { + return x.State } return InvoiceHTLCState_ACCEPTED } -func (m *InvoiceHTLC) GetCustomRecords() map[uint64][]byte { - if m != nil { - return m.CustomRecords +func (x *InvoiceHTLC) GetCustomRecords() map[uint64][]byte { + if x != nil { + return x.CustomRecords } return nil } -func (m *InvoiceHTLC) GetMppTotalAmtMsat() uint64 { - if m != nil { - return m.MppTotalAmtMsat +func (x *InvoiceHTLC) GetMppTotalAmtMsat() uint64 { + if x != nil { + return x.MppTotalAmtMsat } return 0 } -func (m *InvoiceHTLC) GetAmp() *AMP { - if m != nil { - return m.Amp +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"` @@ -9928,73 +10733,81 @@ type AMP struct { // 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Preimage []byte `protobuf:"bytes,5,opt,name=preimage,proto3" json:"preimage,omitempty"` } -func (m *AMP) Reset() { *m = AMP{} } -func (m *AMP) String() string { return proto.CompactTextString(m) } -func (*AMP) ProtoMessage() {} +func (x *AMP) Reset() { + *x = AMP{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[114] + 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_rpc_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 AMP.ProtoReflect.Descriptor instead. func (*AMP) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{114} + return file_rpc_proto_rawDescGZIP(), []int{114} } -func (m *AMP) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AMP.Unmarshal(m, b) -} -func (m *AMP) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AMP.Marshal(b, m, deterministic) -} -func (m *AMP) XXX_Merge(src proto.Message) { - xxx_messageInfo_AMP.Merge(m, src) -} -func (m *AMP) XXX_Size() int { - return xxx_messageInfo_AMP.Size(m) -} -func (m *AMP) XXX_DiscardUnknown() { - xxx_messageInfo_AMP.DiscardUnknown(m) -} - -var xxx_messageInfo_AMP proto.InternalMessageInfo - -func (m *AMP) GetRootShare() []byte { - if m != nil { - return m.RootShare +func (x *AMP) GetRootShare() []byte { + if x != nil { + return x.RootShare } return nil } -func (m *AMP) GetSetId() []byte { - if m != nil { - return m.SetId +func (x *AMP) GetSetId() []byte { + if x != nil { + return x.SetId } return nil } -func (m *AMP) GetChildIndex() uint32 { - if m != nil { - return m.ChildIndex +func (x *AMP) GetChildIndex() uint32 { + if x != nil { + return x.ChildIndex } return 0 } -func (m *AMP) GetHash() []byte { - if m != nil { - return m.Hash +func (x *AMP) GetHash() []byte { + if x != nil { + return x.Hash } return nil } -func (m *AMP) GetPreimage() []byte { - if m != nil { - return m.Preimage +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 @@ -10011,122 +10824,140 @@ type AddInvoiceResponse struct { //The payment address of the generated invoice. 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + PaymentAddr []byte `protobuf:"bytes,17,opt,name=payment_addr,json=paymentAddr,proto3" json:"payment_addr,omitempty"` } -func (m *AddInvoiceResponse) Reset() { *m = AddInvoiceResponse{} } -func (m *AddInvoiceResponse) String() string { return proto.CompactTextString(m) } -func (*AddInvoiceResponse) ProtoMessage() {} +func (x *AddInvoiceResponse) Reset() { + *x = AddInvoiceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[115] + 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_rpc_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 AddInvoiceResponse.ProtoReflect.Descriptor instead. func (*AddInvoiceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{115} + return file_rpc_proto_rawDescGZIP(), []int{115} } -func (m *AddInvoiceResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AddInvoiceResponse.Unmarshal(m, b) -} -func (m *AddInvoiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AddInvoiceResponse.Marshal(b, m, deterministic) -} -func (m *AddInvoiceResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddInvoiceResponse.Merge(m, src) -} -func (m *AddInvoiceResponse) XXX_Size() int { - return xxx_messageInfo_AddInvoiceResponse.Size(m) -} -func (m *AddInvoiceResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AddInvoiceResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_AddInvoiceResponse proto.InternalMessageInfo - -func (m *AddInvoiceResponse) GetRHash() []byte { - if m != nil { - return m.RHash +func (x *AddInvoiceResponse) GetRHash() []byte { + if x != nil { + return x.RHash } return nil } -func (m *AddInvoiceResponse) GetPaymentRequest() string { - if m != nil { - return m.PaymentRequest +func (x *AddInvoiceResponse) GetPaymentRequest() string { + if x != nil { + return x.PaymentRequest } return "" } -func (m *AddInvoiceResponse) GetAddIndex() uint64 { - if m != nil { - return m.AddIndex +func (x *AddInvoiceResponse) GetAddIndex() uint64 { + if x != nil { + return x.AddIndex } return 0 } -func (m *AddInvoiceResponse) GetPaymentAddr() []byte { - if m != nil { - return m.PaymentAddr +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. - RHashStr string `protobuf:"bytes,1,opt,name=r_hash_str,json=rHashStr,proto3" json:"r_hash_str,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + RHash []byte `protobuf:"bytes,2,opt,name=r_hash,json=rHash,proto3" json:"r_hash,omitempty"` } -func (m *PaymentHash) Reset() { *m = PaymentHash{} } -func (m *PaymentHash) String() string { return proto.CompactTextString(m) } -func (*PaymentHash) ProtoMessage() {} +func (x *PaymentHash) Reset() { + *x = PaymentHash{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[116] + 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_rpc_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 PaymentHash.ProtoReflect.Descriptor instead. func (*PaymentHash) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{116} + return file_rpc_proto_rawDescGZIP(), []int{116} } -func (m *PaymentHash) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PaymentHash.Unmarshal(m, b) -} -func (m *PaymentHash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PaymentHash.Marshal(b, m, deterministic) -} -func (m *PaymentHash) XXX_Merge(src proto.Message) { - xxx_messageInfo_PaymentHash.Merge(m, src) -} -func (m *PaymentHash) XXX_Size() int { - return xxx_messageInfo_PaymentHash.Size(m) -} -func (m *PaymentHash) XXX_DiscardUnknown() { - xxx_messageInfo_PaymentHash.DiscardUnknown(m) -} - -var xxx_messageInfo_PaymentHash proto.InternalMessageInfo - // Deprecated: Do not use. -func (m *PaymentHash) GetRHashStr() string { - if m != nil { - return m.RHashStr +func (x *PaymentHash) GetRHashStr() string { + if x != nil { + return x.RHashStr } return "" } -func (m *PaymentHash) GetRHash() []byte { - if m != nil { - return m.RHash +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. @@ -10140,66 +10971,74 @@ type ListInvoiceRequest struct { // //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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Reversed bool `protobuf:"varint,6,opt,name=reversed,proto3" json:"reversed,omitempty"` } -func (m *ListInvoiceRequest) Reset() { *m = ListInvoiceRequest{} } -func (m *ListInvoiceRequest) String() string { return proto.CompactTextString(m) } -func (*ListInvoiceRequest) ProtoMessage() {} +func (x *ListInvoiceRequest) Reset() { + *x = ListInvoiceRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[117] + 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_rpc_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 ListInvoiceRequest.ProtoReflect.Descriptor instead. func (*ListInvoiceRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{117} + return file_rpc_proto_rawDescGZIP(), []int{117} } -func (m *ListInvoiceRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListInvoiceRequest.Unmarshal(m, b) -} -func (m *ListInvoiceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListInvoiceRequest.Marshal(b, m, deterministic) -} -func (m *ListInvoiceRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListInvoiceRequest.Merge(m, src) -} -func (m *ListInvoiceRequest) XXX_Size() int { - return xxx_messageInfo_ListInvoiceRequest.Size(m) -} -func (m *ListInvoiceRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListInvoiceRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListInvoiceRequest proto.InternalMessageInfo - -func (m *ListInvoiceRequest) GetPendingOnly() bool { - if m != nil { - return m.PendingOnly +func (x *ListInvoiceRequest) GetPendingOnly() bool { + if x != nil { + return x.PendingOnly } return false } -func (m *ListInvoiceRequest) GetIndexOffset() uint64 { - if m != nil { - return m.IndexOffset +func (x *ListInvoiceRequest) GetIndexOffset() uint64 { + if x != nil { + return x.IndexOffset } return 0 } -func (m *ListInvoiceRequest) GetNumMaxInvoices() uint64 { - if m != nil { - return m.NumMaxInvoices +func (x *ListInvoiceRequest) GetNumMaxInvoices() uint64 { + if x != nil { + return x.NumMaxInvoices } return 0 } -func (m *ListInvoiceRequest) GetReversed() bool { - if m != nil { - return m.Reversed +func (x *ListInvoiceRequest) GetReversed() bool { + if x != nil { + return x.Reversed } return false } 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. @@ -10211,59 +11050,67 @@ type ListInvoiceResponse struct { // //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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + FirstIndexOffset uint64 `protobuf:"varint,3,opt,name=first_index_offset,json=firstIndexOffset,proto3" json:"first_index_offset,omitempty"` } -func (m *ListInvoiceResponse) Reset() { *m = ListInvoiceResponse{} } -func (m *ListInvoiceResponse) String() string { return proto.CompactTextString(m) } -func (*ListInvoiceResponse) ProtoMessage() {} +func (x *ListInvoiceResponse) Reset() { + *x = ListInvoiceResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[118] + 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_rpc_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 ListInvoiceResponse.ProtoReflect.Descriptor instead. func (*ListInvoiceResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{118} + return file_rpc_proto_rawDescGZIP(), []int{118} } -func (m *ListInvoiceResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListInvoiceResponse.Unmarshal(m, b) -} -func (m *ListInvoiceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListInvoiceResponse.Marshal(b, m, deterministic) -} -func (m *ListInvoiceResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListInvoiceResponse.Merge(m, src) -} -func (m *ListInvoiceResponse) XXX_Size() int { - return xxx_messageInfo_ListInvoiceResponse.Size(m) -} -func (m *ListInvoiceResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListInvoiceResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListInvoiceResponse proto.InternalMessageInfo - -func (m *ListInvoiceResponse) GetInvoices() []*Invoice { - if m != nil { - return m.Invoices +func (x *ListInvoiceResponse) GetInvoices() []*Invoice { + if x != nil { + return x.Invoices } return nil } -func (m *ListInvoiceResponse) GetLastIndexOffset() uint64 { - if m != nil { - return m.LastIndexOffset +func (x *ListInvoiceResponse) GetLastIndexOffset() uint64 { + if x != nil { + return x.LastIndexOffset } return 0 } -func (m *ListInvoiceResponse) GetFirstIndexOffset() uint64 { - if m != nil { - return m.FirstIndexOffset +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 @@ -10275,60 +11122,74 @@ type InvoiceSubscription struct { //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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SettleIndex uint64 `protobuf:"varint,2,opt,name=settle_index,json=settleIndex,proto3" json:"settle_index,omitempty"` } -func (m *InvoiceSubscription) Reset() { *m = InvoiceSubscription{} } -func (m *InvoiceSubscription) String() string { return proto.CompactTextString(m) } -func (*InvoiceSubscription) ProtoMessage() {} +func (x *InvoiceSubscription) Reset() { + *x = InvoiceSubscription{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[119] + 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_rpc_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 InvoiceSubscription.ProtoReflect.Descriptor instead. func (*InvoiceSubscription) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{119} + return file_rpc_proto_rawDescGZIP(), []int{119} } -func (m *InvoiceSubscription) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InvoiceSubscription.Unmarshal(m, b) -} -func (m *InvoiceSubscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InvoiceSubscription.Marshal(b, m, deterministic) -} -func (m *InvoiceSubscription) XXX_Merge(src proto.Message) { - xxx_messageInfo_InvoiceSubscription.Merge(m, src) -} -func (m *InvoiceSubscription) XXX_Size() int { - return xxx_messageInfo_InvoiceSubscription.Size(m) -} -func (m *InvoiceSubscription) XXX_DiscardUnknown() { - xxx_messageInfo_InvoiceSubscription.DiscardUnknown(m) -} - -var xxx_messageInfo_InvoiceSubscription proto.InternalMessageInfo - -func (m *InvoiceSubscription) GetAddIndex() uint64 { - if m != nil { - return m.AddIndex +func (x *InvoiceSubscription) GetAddIndex() uint64 { + if x != nil { + return x.AddIndex } return 0 } -func (m *InvoiceSubscription) GetSettleIndex() uint64 { - if m != nil { - return m.SettleIndex +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. - Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` // Deprecated, use creation_time_ns - CreationDate int64 `protobuf:"varint,3,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + CreationDate int64 `protobuf:"varint,3,opt,name=creation_date,json=creationDate,proto3" json:"creation_date,omitempty"` // Deprecated, use fee_sat or fee_msat. - Fee int64 `protobuf:"varint,5,opt,name=fee,proto3" json:"fee,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + 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 @@ -10351,147 +11212,155 @@ type Payment struct { //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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + 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 (m *Payment) Reset() { *m = Payment{} } -func (m *Payment) String() string { return proto.CompactTextString(m) } -func (*Payment) ProtoMessage() {} +func (x *Payment) Reset() { + *x = Payment{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[120] + 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_rpc_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 Payment.ProtoReflect.Descriptor instead. func (*Payment) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{120} + return file_rpc_proto_rawDescGZIP(), []int{120} } -func (m *Payment) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Payment.Unmarshal(m, b) -} -func (m *Payment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Payment.Marshal(b, m, deterministic) -} -func (m *Payment) XXX_Merge(src proto.Message) { - xxx_messageInfo_Payment.Merge(m, src) -} -func (m *Payment) XXX_Size() int { - return xxx_messageInfo_Payment.Size(m) -} -func (m *Payment) XXX_DiscardUnknown() { - xxx_messageInfo_Payment.DiscardUnknown(m) -} - -var xxx_messageInfo_Payment proto.InternalMessageInfo - -func (m *Payment) GetPaymentHash() string { - if m != nil { - return m.PaymentHash +func (x *Payment) GetPaymentHash() string { + if x != nil { + return x.PaymentHash } return "" } // Deprecated: Do not use. -func (m *Payment) GetValue() int64 { - if m != nil { - return m.Value +func (x *Payment) GetValue() int64 { + if x != nil { + return x.Value } return 0 } // Deprecated: Do not use. -func (m *Payment) GetCreationDate() int64 { - if m != nil { - return m.CreationDate +func (x *Payment) GetCreationDate() int64 { + if x != nil { + return x.CreationDate } return 0 } // Deprecated: Do not use. -func (m *Payment) GetFee() int64 { - if m != nil { - return m.Fee +func (x *Payment) GetFee() int64 { + if x != nil { + return x.Fee } return 0 } -func (m *Payment) GetPaymentPreimage() string { - if m != nil { - return m.PaymentPreimage +func (x *Payment) GetPaymentPreimage() string { + if x != nil { + return x.PaymentPreimage } return "" } -func (m *Payment) GetValueSat() int64 { - if m != nil { - return m.ValueSat +func (x *Payment) GetValueSat() int64 { + if x != nil { + return x.ValueSat } return 0 } -func (m *Payment) GetValueMsat() int64 { - if m != nil { - return m.ValueMsat +func (x *Payment) GetValueMsat() int64 { + if x != nil { + return x.ValueMsat } return 0 } -func (m *Payment) GetPaymentRequest() string { - if m != nil { - return m.PaymentRequest +func (x *Payment) GetPaymentRequest() string { + if x != nil { + return x.PaymentRequest } return "" } -func (m *Payment) GetStatus() Payment_PaymentStatus { - if m != nil { - return m.Status +func (x *Payment) GetStatus() Payment_PaymentStatus { + if x != nil { + return x.Status } return Payment_UNKNOWN } -func (m *Payment) GetFeeSat() int64 { - if m != nil { - return m.FeeSat +func (x *Payment) GetFeeSat() int64 { + if x != nil { + return x.FeeSat } return 0 } -func (m *Payment) GetFeeMsat() int64 { - if m != nil { - return m.FeeMsat +func (x *Payment) GetFeeMsat() int64 { + if x != nil { + return x.FeeMsat } return 0 } -func (m *Payment) GetCreationTimeNs() int64 { - if m != nil { - return m.CreationTimeNs +func (x *Payment) GetCreationTimeNs() int64 { + if x != nil { + return x.CreationTimeNs } return 0 } -func (m *Payment) GetHtlcs() []*HTLCAttempt { - if m != nil { - return m.Htlcs +func (x *Payment) GetHtlcs() []*HTLCAttempt { + if x != nil { + return x.Htlcs } return nil } -func (m *Payment) GetPaymentIndex() uint64 { - if m != nil { - return m.PaymentIndex +func (x *Payment) GetPaymentIndex() uint64 { + if x != nil { + return x.PaymentIndex } return 0 } -func (m *Payment) GetFailureReason() PaymentFailureReason { - if m != nil { - return m.FailureReason +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. @@ -10507,87 +11376,95 @@ type HTLCAttempt struct { // 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Preimage []byte `protobuf:"bytes,6,opt,name=preimage,proto3" json:"preimage,omitempty"` } -func (m *HTLCAttempt) Reset() { *m = HTLCAttempt{} } -func (m *HTLCAttempt) String() string { return proto.CompactTextString(m) } -func (*HTLCAttempt) ProtoMessage() {} +func (x *HTLCAttempt) Reset() { + *x = HTLCAttempt{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[121] + 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_rpc_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 HTLCAttempt.ProtoReflect.Descriptor instead. func (*HTLCAttempt) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{121} + return file_rpc_proto_rawDescGZIP(), []int{121} } -func (m *HTLCAttempt) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_HTLCAttempt.Unmarshal(m, b) -} -func (m *HTLCAttempt) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_HTLCAttempt.Marshal(b, m, deterministic) -} -func (m *HTLCAttempt) XXX_Merge(src proto.Message) { - xxx_messageInfo_HTLCAttempt.Merge(m, src) -} -func (m *HTLCAttempt) XXX_Size() int { - return xxx_messageInfo_HTLCAttempt.Size(m) -} -func (m *HTLCAttempt) XXX_DiscardUnknown() { - xxx_messageInfo_HTLCAttempt.DiscardUnknown(m) -} - -var xxx_messageInfo_HTLCAttempt proto.InternalMessageInfo - -func (m *HTLCAttempt) GetAttemptId() uint64 { - if m != nil { - return m.AttemptId +func (x *HTLCAttempt) GetAttemptId() uint64 { + if x != nil { + return x.AttemptId } return 0 } -func (m *HTLCAttempt) GetStatus() HTLCAttempt_HTLCStatus { - if m != nil { - return m.Status +func (x *HTLCAttempt) GetStatus() HTLCAttempt_HTLCStatus { + if x != nil { + return x.Status } return HTLCAttempt_IN_FLIGHT } -func (m *HTLCAttempt) GetRoute() *Route { - if m != nil { - return m.Route +func (x *HTLCAttempt) GetRoute() *Route { + if x != nil { + return x.Route } return nil } -func (m *HTLCAttempt) GetAttemptTimeNs() int64 { - if m != nil { - return m.AttemptTimeNs +func (x *HTLCAttempt) GetAttemptTimeNs() int64 { + if x != nil { + return x.AttemptTimeNs } return 0 } -func (m *HTLCAttempt) GetResolveTimeNs() int64 { - if m != nil { - return m.ResolveTimeNs +func (x *HTLCAttempt) GetResolveTimeNs() int64 { + if x != nil { + return x.ResolveTimeNs } return 0 } -func (m *HTLCAttempt) GetFailure() *Failure { - if m != nil { - return m.Failure +func (x *HTLCAttempt) GetFailure() *Failure { + if x != nil { + return x.Failure } return nil } -func (m *HTLCAttempt) GetPreimage() []byte { - if m != nil { - return m.Preimage +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 @@ -10607,66 +11484,74 @@ type ListPaymentsRequest struct { //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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Reversed bool `protobuf:"varint,4,opt,name=reversed,proto3" json:"reversed,omitempty"` } -func (m *ListPaymentsRequest) Reset() { *m = ListPaymentsRequest{} } -func (m *ListPaymentsRequest) String() string { return proto.CompactTextString(m) } -func (*ListPaymentsRequest) ProtoMessage() {} +func (x *ListPaymentsRequest) Reset() { + *x = ListPaymentsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[122] + 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_rpc_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 ListPaymentsRequest.ProtoReflect.Descriptor instead. func (*ListPaymentsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{122} + return file_rpc_proto_rawDescGZIP(), []int{122} } -func (m *ListPaymentsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListPaymentsRequest.Unmarshal(m, b) -} -func (m *ListPaymentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListPaymentsRequest.Marshal(b, m, deterministic) -} -func (m *ListPaymentsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListPaymentsRequest.Merge(m, src) -} -func (m *ListPaymentsRequest) XXX_Size() int { - return xxx_messageInfo_ListPaymentsRequest.Size(m) -} -func (m *ListPaymentsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListPaymentsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListPaymentsRequest proto.InternalMessageInfo - -func (m *ListPaymentsRequest) GetIncludeIncomplete() bool { - if m != nil { - return m.IncludeIncomplete +func (x *ListPaymentsRequest) GetIncludeIncomplete() bool { + if x != nil { + return x.IncludeIncomplete } return false } -func (m *ListPaymentsRequest) GetIndexOffset() uint64 { - if m != nil { - return m.IndexOffset +func (x *ListPaymentsRequest) GetIndexOffset() uint64 { + if x != nil { + return x.IndexOffset } return 0 } -func (m *ListPaymentsRequest) GetMaxPayments() uint64 { - if m != nil { - return m.MaxPayments +func (x *ListPaymentsRequest) GetMaxPayments() uint64 { + if x != nil { + return x.MaxPayments } return 0 } -func (m *ListPaymentsRequest) GetReversed() bool { - if m != nil { - return m.Reversed +func (x *ListPaymentsRequest) GetReversed() bool { + if x != nil { + return x.Reversed } return false } 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"` // @@ -10676,565 +11561,650 @@ type ListPaymentsResponse struct { // //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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + LastIndexOffset uint64 `protobuf:"varint,3,opt,name=last_index_offset,json=lastIndexOffset,proto3" json:"last_index_offset,omitempty"` } -func (m *ListPaymentsResponse) Reset() { *m = ListPaymentsResponse{} } -func (m *ListPaymentsResponse) String() string { return proto.CompactTextString(m) } -func (*ListPaymentsResponse) ProtoMessage() {} +func (x *ListPaymentsResponse) Reset() { + *x = ListPaymentsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[123] + 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_rpc_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 ListPaymentsResponse.ProtoReflect.Descriptor instead. func (*ListPaymentsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{123} + return file_rpc_proto_rawDescGZIP(), []int{123} } -func (m *ListPaymentsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListPaymentsResponse.Unmarshal(m, b) -} -func (m *ListPaymentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListPaymentsResponse.Marshal(b, m, deterministic) -} -func (m *ListPaymentsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListPaymentsResponse.Merge(m, src) -} -func (m *ListPaymentsResponse) XXX_Size() int { - return xxx_messageInfo_ListPaymentsResponse.Size(m) -} -func (m *ListPaymentsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListPaymentsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListPaymentsResponse proto.InternalMessageInfo - -func (m *ListPaymentsResponse) GetPayments() []*Payment { - if m != nil { - return m.Payments +func (x *ListPaymentsResponse) GetPayments() []*Payment { + if x != nil { + return x.Payments } return nil } -func (m *ListPaymentsResponse) GetFirstIndexOffset() uint64 { - if m != nil { - return m.FirstIndexOffset +func (x *ListPaymentsResponse) GetFirstIndexOffset() uint64 { + if x != nil { + return x.FirstIndexOffset } return 0 } -func (m *ListPaymentsResponse) GetLastIndexOffset() uint64 { - if m != nil { - return m.LastIndexOffset +func (x *ListPaymentsResponse) GetLastIndexOffset() uint64 { + if x != nil { + return x.LastIndexOffset } return 0 } 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + FailedHtlcsOnly bool `protobuf:"varint,2,opt,name=failed_htlcs_only,json=failedHtlcsOnly,proto3" json:"failed_htlcs_only,omitempty"` } -func (m *DeleteAllPaymentsRequest) Reset() { *m = DeleteAllPaymentsRequest{} } -func (m *DeleteAllPaymentsRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteAllPaymentsRequest) ProtoMessage() {} +func (x *DeleteAllPaymentsRequest) Reset() { + *x = DeleteAllPaymentsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[124] + 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_rpc_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 DeleteAllPaymentsRequest.ProtoReflect.Descriptor instead. func (*DeleteAllPaymentsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{124} + return file_rpc_proto_rawDescGZIP(), []int{124} } -func (m *DeleteAllPaymentsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteAllPaymentsRequest.Unmarshal(m, b) -} -func (m *DeleteAllPaymentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteAllPaymentsRequest.Marshal(b, m, deterministic) -} -func (m *DeleteAllPaymentsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteAllPaymentsRequest.Merge(m, src) -} -func (m *DeleteAllPaymentsRequest) XXX_Size() int { - return xxx_messageInfo_DeleteAllPaymentsRequest.Size(m) -} -func (m *DeleteAllPaymentsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteAllPaymentsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteAllPaymentsRequest proto.InternalMessageInfo - -func (m *DeleteAllPaymentsRequest) GetFailedPaymentsOnly() bool { - if m != nil { - return m.FailedPaymentsOnly +func (x *DeleteAllPaymentsRequest) GetFailedPaymentsOnly() bool { + if x != nil { + return x.FailedPaymentsOnly } return false } -func (m *DeleteAllPaymentsRequest) GetFailedHtlcsOnly() bool { - if m != nil { - return m.FailedHtlcsOnly +func (x *DeleteAllPaymentsRequest) GetFailedHtlcsOnly() bool { + if x != nil { + return x.FailedHtlcsOnly } return false } type DeleteAllPaymentsResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *DeleteAllPaymentsResponse) Reset() { *m = DeleteAllPaymentsResponse{} } -func (m *DeleteAllPaymentsResponse) String() string { return proto.CompactTextString(m) } -func (*DeleteAllPaymentsResponse) ProtoMessage() {} +func (x *DeleteAllPaymentsResponse) Reset() { + *x = DeleteAllPaymentsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[125] + 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_rpc_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 DeleteAllPaymentsResponse.ProtoReflect.Descriptor instead. func (*DeleteAllPaymentsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{125} + return file_rpc_proto_rawDescGZIP(), []int{125} } -func (m *DeleteAllPaymentsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteAllPaymentsResponse.Unmarshal(m, b) -} -func (m *DeleteAllPaymentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteAllPaymentsResponse.Marshal(b, m, deterministic) -} -func (m *DeleteAllPaymentsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteAllPaymentsResponse.Merge(m, src) -} -func (m *DeleteAllPaymentsResponse) XXX_Size() int { - return xxx_messageInfo_DeleteAllPaymentsResponse.Size(m) -} -func (m *DeleteAllPaymentsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteAllPaymentsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteAllPaymentsResponse proto.InternalMessageInfo - 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` } -func (m *AbandonChannelRequest) Reset() { *m = AbandonChannelRequest{} } -func (m *AbandonChannelRequest) String() string { return proto.CompactTextString(m) } -func (*AbandonChannelRequest) ProtoMessage() {} +func (x *AbandonChannelRequest) Reset() { + *x = AbandonChannelRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[126] + 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_rpc_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 AbandonChannelRequest.ProtoReflect.Descriptor instead. func (*AbandonChannelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{126} + return file_rpc_proto_rawDescGZIP(), []int{126} } -func (m *AbandonChannelRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AbandonChannelRequest.Unmarshal(m, b) -} -func (m *AbandonChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AbandonChannelRequest.Marshal(b, m, deterministic) -} -func (m *AbandonChannelRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AbandonChannelRequest.Merge(m, src) -} -func (m *AbandonChannelRequest) XXX_Size() int { - return xxx_messageInfo_AbandonChannelRequest.Size(m) -} -func (m *AbandonChannelRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AbandonChannelRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_AbandonChannelRequest proto.InternalMessageInfo - -func (m *AbandonChannelRequest) GetChannelPoint() *ChannelPoint { - if m != nil { - return m.ChannelPoint +func (x *AbandonChannelRequest) GetChannelPoint() *ChannelPoint { + if x != nil { + return x.ChannelPoint } return nil } -func (m *AbandonChannelRequest) GetPendingFundingShimOnly() bool { - if m != nil { - return m.PendingFundingShimOnly +func (x *AbandonChannelRequest) GetPendingFundingShimOnly() bool { + if x != nil { + return x.PendingFundingShimOnly } return false } type AbandonChannelResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *AbandonChannelResponse) Reset() { *m = AbandonChannelResponse{} } -func (m *AbandonChannelResponse) String() string { return proto.CompactTextString(m) } -func (*AbandonChannelResponse) ProtoMessage() {} +func (x *AbandonChannelResponse) Reset() { + *x = AbandonChannelResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[127] + 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_rpc_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 AbandonChannelResponse.ProtoReflect.Descriptor instead. func (*AbandonChannelResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{127} + return file_rpc_proto_rawDescGZIP(), []int{127} } -func (m *AbandonChannelResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AbandonChannelResponse.Unmarshal(m, b) -} -func (m *AbandonChannelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AbandonChannelResponse.Marshal(b, m, deterministic) -} -func (m *AbandonChannelResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AbandonChannelResponse.Merge(m, src) -} -func (m *AbandonChannelResponse) XXX_Size() int { - return xxx_messageInfo_AbandonChannelResponse.Size(m) -} -func (m *AbandonChannelResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AbandonChannelResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_AbandonChannelResponse proto.InternalMessageInfo - type DebugLevelRequest struct { - 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + 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 (m *DebugLevelRequest) Reset() { *m = DebugLevelRequest{} } -func (m *DebugLevelRequest) String() string { return proto.CompactTextString(m) } -func (*DebugLevelRequest) ProtoMessage() {} +func (x *DebugLevelRequest) Reset() { + *x = DebugLevelRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[128] + 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_rpc_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 DebugLevelRequest.ProtoReflect.Descriptor instead. func (*DebugLevelRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{128} + return file_rpc_proto_rawDescGZIP(), []int{128} } -func (m *DebugLevelRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DebugLevelRequest.Unmarshal(m, b) -} -func (m *DebugLevelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DebugLevelRequest.Marshal(b, m, deterministic) -} -func (m *DebugLevelRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DebugLevelRequest.Merge(m, src) -} -func (m *DebugLevelRequest) XXX_Size() int { - return xxx_messageInfo_DebugLevelRequest.Size(m) -} -func (m *DebugLevelRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DebugLevelRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DebugLevelRequest proto.InternalMessageInfo - -func (m *DebugLevelRequest) GetShow() bool { - if m != nil { - return m.Show +func (x *DebugLevelRequest) GetShow() bool { + if x != nil { + return x.Show } return false } -func (m *DebugLevelRequest) GetLevelSpec() string { - if m != nil { - return m.LevelSpec +func (x *DebugLevelRequest) GetLevelSpec() string { + if x != nil { + return x.LevelSpec } return "" } type DebugLevelResponse struct { - SubSystems string `protobuf:"bytes,1,opt,name=sub_systems,json=subSystems,proto3" json:"sub_systems,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + 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 (m *DebugLevelResponse) Reset() { *m = DebugLevelResponse{} } -func (m *DebugLevelResponse) String() string { return proto.CompactTextString(m) } -func (*DebugLevelResponse) ProtoMessage() {} +func (x *DebugLevelResponse) Reset() { + *x = DebugLevelResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[129] + 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_rpc_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 DebugLevelResponse.ProtoReflect.Descriptor instead. func (*DebugLevelResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{129} + return file_rpc_proto_rawDescGZIP(), []int{129} } -func (m *DebugLevelResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DebugLevelResponse.Unmarshal(m, b) -} -func (m *DebugLevelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DebugLevelResponse.Marshal(b, m, deterministic) -} -func (m *DebugLevelResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DebugLevelResponse.Merge(m, src) -} -func (m *DebugLevelResponse) XXX_Size() int { - return xxx_messageInfo_DebugLevelResponse.Size(m) -} -func (m *DebugLevelResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DebugLevelResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_DebugLevelResponse proto.InternalMessageInfo - -func (m *DebugLevelResponse) GetSubSystems() string { - if m != nil { - return m.SubSystems +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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + PayReq string `protobuf:"bytes,1,opt,name=pay_req,json=payReq,proto3" json:"pay_req,omitempty"` } -func (m *PayReqString) Reset() { *m = PayReqString{} } -func (m *PayReqString) String() string { return proto.CompactTextString(m) } -func (*PayReqString) ProtoMessage() {} +func (x *PayReqString) Reset() { + *x = PayReqString{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[130] + 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_rpc_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 PayReqString.ProtoReflect.Descriptor instead. func (*PayReqString) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{130} + return file_rpc_proto_rawDescGZIP(), []int{130} } -func (m *PayReqString) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PayReqString.Unmarshal(m, b) -} -func (m *PayReqString) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PayReqString.Marshal(b, m, deterministic) -} -func (m *PayReqString) XXX_Merge(src proto.Message) { - xxx_messageInfo_PayReqString.Merge(m, src) -} -func (m *PayReqString) XXX_Size() int { - return xxx_messageInfo_PayReqString.Size(m) -} -func (m *PayReqString) XXX_DiscardUnknown() { - xxx_messageInfo_PayReqString.DiscardUnknown(m) -} - -var xxx_messageInfo_PayReqString proto.InternalMessageInfo - -func (m *PayReqString) GetPayReq() string { - if m != nil { - return m.PayReq +func (x *PayReqString) GetPayReq() string { + if x != nil { + return x.PayReq } return "" } type PayReq struct { - 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + 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"` } -func (m *PayReq) Reset() { *m = PayReq{} } -func (m *PayReq) String() string { return proto.CompactTextString(m) } -func (*PayReq) ProtoMessage() {} +func (x *PayReq) Reset() { + *x = PayReq{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[131] + 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_rpc_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 PayReq.ProtoReflect.Descriptor instead. func (*PayReq) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{131} + return file_rpc_proto_rawDescGZIP(), []int{131} } -func (m *PayReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PayReq.Unmarshal(m, b) -} -func (m *PayReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PayReq.Marshal(b, m, deterministic) -} -func (m *PayReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_PayReq.Merge(m, src) -} -func (m *PayReq) XXX_Size() int { - return xxx_messageInfo_PayReq.Size(m) -} -func (m *PayReq) XXX_DiscardUnknown() { - xxx_messageInfo_PayReq.DiscardUnknown(m) -} - -var xxx_messageInfo_PayReq proto.InternalMessageInfo - -func (m *PayReq) GetDestination() string { - if m != nil { - return m.Destination +func (x *PayReq) GetDestination() string { + if x != nil { + return x.Destination } return "" } -func (m *PayReq) GetPaymentHash() string { - if m != nil { - return m.PaymentHash +func (x *PayReq) GetPaymentHash() string { + if x != nil { + return x.PaymentHash } return "" } -func (m *PayReq) GetNumSatoshis() int64 { - if m != nil { - return m.NumSatoshis +func (x *PayReq) GetNumSatoshis() int64 { + if x != nil { + return x.NumSatoshis } return 0 } -func (m *PayReq) GetTimestamp() int64 { - if m != nil { - return m.Timestamp +func (x *PayReq) GetTimestamp() int64 { + if x != nil { + return x.Timestamp } return 0 } -func (m *PayReq) GetExpiry() int64 { - if m != nil { - return m.Expiry +func (x *PayReq) GetExpiry() int64 { + if x != nil { + return x.Expiry } return 0 } -func (m *PayReq) GetDescription() string { - if m != nil { - return m.Description +func (x *PayReq) GetDescription() string { + if x != nil { + return x.Description } return "" } -func (m *PayReq) GetDescriptionHash() string { - if m != nil { - return m.DescriptionHash +func (x *PayReq) GetDescriptionHash() string { + if x != nil { + return x.DescriptionHash } return "" } -func (m *PayReq) GetFallbackAddr() string { - if m != nil { - return m.FallbackAddr +func (x *PayReq) GetFallbackAddr() string { + if x != nil { + return x.FallbackAddr } return "" } -func (m *PayReq) GetCltvExpiry() int64 { - if m != nil { - return m.CltvExpiry +func (x *PayReq) GetCltvExpiry() int64 { + if x != nil { + return x.CltvExpiry } return 0 } -func (m *PayReq) GetRouteHints() []*RouteHint { - if m != nil { - return m.RouteHints +func (x *PayReq) GetRouteHints() []*RouteHint { + if x != nil { + return x.RouteHints } return nil } -func (m *PayReq) GetPaymentAddr() []byte { - if m != nil { - return m.PaymentAddr +func (x *PayReq) GetPaymentAddr() []byte { + if x != nil { + return x.PaymentAddr } return nil } -func (m *PayReq) GetNumMsat() int64 { - if m != nil { - return m.NumMsat +func (x *PayReq) GetNumMsat() int64 { + if x != nil { + return x.NumMsat } return 0 } -func (m *PayReq) GetFeatures() map[uint32]*Feature { - if m != nil { - return m.Features +func (x *PayReq) GetFeatures() map[uint32]*Feature { + if x != nil { + return x.Features } return nil } type Feature struct { - 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + 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 (m *Feature) Reset() { *m = Feature{} } -func (m *Feature) String() string { return proto.CompactTextString(m) } -func (*Feature) ProtoMessage() {} +func (x *Feature) Reset() { + *x = Feature{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[132] + 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_rpc_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 Feature.ProtoReflect.Descriptor instead. func (*Feature) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{132} + return file_rpc_proto_rawDescGZIP(), []int{132} } -func (m *Feature) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Feature.Unmarshal(m, b) -} -func (m *Feature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Feature.Marshal(b, m, deterministic) -} -func (m *Feature) XXX_Merge(src proto.Message) { - xxx_messageInfo_Feature.Merge(m, src) -} -func (m *Feature) XXX_Size() int { - return xxx_messageInfo_Feature.Size(m) -} -func (m *Feature) XXX_DiscardUnknown() { - xxx_messageInfo_Feature.DiscardUnknown(m) -} - -var xxx_messageInfo_Feature proto.InternalMessageInfo - -func (m *Feature) GetName() string { - if m != nil { - return m.Name +func (x *Feature) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *Feature) GetIsRequired() bool { - if m != nil { - return m.IsRequired +func (x *Feature) GetIsRequired() bool { + if x != nil { + return x.IsRequired } return false } -func (m *Feature) GetIsKnown() bool { - if m != nil { - return m.IsKnown +func (x *Feature) GetIsKnown() bool { + if x != nil { + return x.IsKnown } return false } type FeeReportRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *FeeReportRequest) Reset() { *m = FeeReportRequest{} } -func (m *FeeReportRequest) String() string { return proto.CompactTextString(m) } -func (*FeeReportRequest) ProtoMessage() {} +func (x *FeeReportRequest) Reset() { + *x = FeeReportRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[133] + 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_rpc_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 FeeReportRequest.ProtoReflect.Descriptor instead. func (*FeeReportRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{133} + return file_rpc_proto_rawDescGZIP(), []int{133} } -func (m *FeeReportRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FeeReportRequest.Unmarshal(m, b) -} -func (m *FeeReportRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FeeReportRequest.Marshal(b, m, deterministic) -} -func (m *FeeReportRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeeReportRequest.Merge(m, src) -} -func (m *FeeReportRequest) XXX_Size() int { - return xxx_messageInfo_FeeReportRequest.Size(m) -} -func (m *FeeReportRequest) XXX_DiscardUnknown() { - xxx_messageInfo_FeeReportRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_FeeReportRequest proto.InternalMessageInfo - 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. @@ -11246,73 +12216,81 @@ type ChannelFeeReport struct { 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + FeeRate float64 `protobuf:"fixed64,4,opt,name=fee_rate,json=feeRate,proto3" json:"fee_rate,omitempty"` } -func (m *ChannelFeeReport) Reset() { *m = ChannelFeeReport{} } -func (m *ChannelFeeReport) String() string { return proto.CompactTextString(m) } -func (*ChannelFeeReport) ProtoMessage() {} +func (x *ChannelFeeReport) Reset() { + *x = ChannelFeeReport{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[134] + 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_rpc_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 ChannelFeeReport.ProtoReflect.Descriptor instead. func (*ChannelFeeReport) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{134} + return file_rpc_proto_rawDescGZIP(), []int{134} } -func (m *ChannelFeeReport) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ChannelFeeReport.Unmarshal(m, b) -} -func (m *ChannelFeeReport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ChannelFeeReport.Marshal(b, m, deterministic) -} -func (m *ChannelFeeReport) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChannelFeeReport.Merge(m, src) -} -func (m *ChannelFeeReport) XXX_Size() int { - return xxx_messageInfo_ChannelFeeReport.Size(m) -} -func (m *ChannelFeeReport) XXX_DiscardUnknown() { - xxx_messageInfo_ChannelFeeReport.DiscardUnknown(m) -} - -var xxx_messageInfo_ChannelFeeReport proto.InternalMessageInfo - -func (m *ChannelFeeReport) GetChanId() uint64 { - if m != nil { - return m.ChanId +func (x *ChannelFeeReport) GetChanId() uint64 { + if x != nil { + return x.ChanId } return 0 } -func (m *ChannelFeeReport) GetChannelPoint() string { - if m != nil { - return m.ChannelPoint +func (x *ChannelFeeReport) GetChannelPoint() string { + if x != nil { + return x.ChannelPoint } return "" } -func (m *ChannelFeeReport) GetBaseFeeMsat() int64 { - if m != nil { - return m.BaseFeeMsat +func (x *ChannelFeeReport) GetBaseFeeMsat() int64 { + if x != nil { + return x.BaseFeeMsat } return 0 } -func (m *ChannelFeeReport) GetFeePerMil() int64 { - if m != nil { - return m.FeePerMil +func (x *ChannelFeeReport) GetFeePerMil() int64 { + if x != nil { + return x.FeePerMil } return 0 } -func (m *ChannelFeeReport) GetFeeRate() float64 { - if m != nil { - return m.FeeRate +func (x *ChannelFeeReport) GetFeeRate() float64 { + if x != nil { + return x.FeeRate } 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"` @@ -11324,67 +12302,75 @@ type FeeReportResponse struct { 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + MonthFeeSum uint64 `protobuf:"varint,4,opt,name=month_fee_sum,json=monthFeeSum,proto3" json:"month_fee_sum,omitempty"` } -func (m *FeeReportResponse) Reset() { *m = FeeReportResponse{} } -func (m *FeeReportResponse) String() string { return proto.CompactTextString(m) } -func (*FeeReportResponse) ProtoMessage() {} +func (x *FeeReportResponse) Reset() { + *x = FeeReportResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[135] + 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_rpc_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 FeeReportResponse.ProtoReflect.Descriptor instead. func (*FeeReportResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{135} + return file_rpc_proto_rawDescGZIP(), []int{135} } -func (m *FeeReportResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FeeReportResponse.Unmarshal(m, b) -} -func (m *FeeReportResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FeeReportResponse.Marshal(b, m, deterministic) -} -func (m *FeeReportResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_FeeReportResponse.Merge(m, src) -} -func (m *FeeReportResponse) XXX_Size() int { - return xxx_messageInfo_FeeReportResponse.Size(m) -} -func (m *FeeReportResponse) XXX_DiscardUnknown() { - xxx_messageInfo_FeeReportResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_FeeReportResponse proto.InternalMessageInfo - -func (m *FeeReportResponse) GetChannelFees() []*ChannelFeeReport { - if m != nil { - return m.ChannelFees +func (x *FeeReportResponse) GetChannelFees() []*ChannelFeeReport { + if x != nil { + return x.ChannelFees } return nil } -func (m *FeeReportResponse) GetDayFeeSum() uint64 { - if m != nil { - return m.DayFeeSum +func (x *FeeReportResponse) GetDayFeeSum() uint64 { + if x != nil { + return x.DayFeeSum } return 0 } -func (m *FeeReportResponse) GetWeekFeeSum() uint64 { - if m != nil { - return m.WeekFeeSum +func (x *FeeReportResponse) GetWeekFeeSum() uint64 { + if x != nil { + return x.WeekFeeSum } return 0 } -func (m *FeeReportResponse) GetMonthFeeSum() uint64 { - if m != nil { - return m.MonthFeeSum +func (x *FeeReportResponse) GetMonthFeeSum() uint64 { + if x != nil { + return x.MonthFeeSum } return 0 } type PolicyUpdateRequest struct { - // Types that are valid to be assigned to Scope: + 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"` @@ -11402,53 +12388,41 @@ type PolicyUpdateRequest struct { // 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + MinHtlcMsatSpecified bool `protobuf:"varint,8,opt,name=min_htlc_msat_specified,json=minHtlcMsatSpecified,proto3" json:"min_htlc_msat_specified,omitempty"` } -func (m *PolicyUpdateRequest) Reset() { *m = PolicyUpdateRequest{} } -func (m *PolicyUpdateRequest) String() string { return proto.CompactTextString(m) } -func (*PolicyUpdateRequest) ProtoMessage() {} +func (x *PolicyUpdateRequest) Reset() { + *x = PolicyUpdateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[136] + 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_rpc_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 PolicyUpdateRequest.ProtoReflect.Descriptor instead. func (*PolicyUpdateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{136} + return file_rpc_proto_rawDescGZIP(), []int{136} } -func (m *PolicyUpdateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PolicyUpdateRequest.Unmarshal(m, b) -} -func (m *PolicyUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PolicyUpdateRequest.Marshal(b, m, deterministic) -} -func (m *PolicyUpdateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyUpdateRequest.Merge(m, src) -} -func (m *PolicyUpdateRequest) XXX_Size() int { - return xxx_messageInfo_PolicyUpdateRequest.Size(m) -} -func (m *PolicyUpdateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PolicyUpdateRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_PolicyUpdateRequest proto.InternalMessageInfo - -type isPolicyUpdateRequest_Scope interface { - isPolicyUpdateRequest_Scope() -} - -type PolicyUpdateRequest_Global struct { - Global bool `protobuf:"varint,1,opt,name=global,proto3,oneof"` -} - -type PolicyUpdateRequest_ChanPoint struct { - ChanPoint *ChannelPoint `protobuf:"bytes,2,opt,name=chan_point,json=chanPoint,proto3,oneof"` -} - -func (*PolicyUpdateRequest_Global) isPolicyUpdateRequest_Scope() {} - -func (*PolicyUpdateRequest_ChanPoint) isPolicyUpdateRequest_Scope() {} - func (m *PolicyUpdateRequest) GetScope() isPolicyUpdateRequest_Scope { if m != nil { return m.Scope @@ -11456,102 +12430,123 @@ func (m *PolicyUpdateRequest) GetScope() isPolicyUpdateRequest_Scope { return nil } -func (m *PolicyUpdateRequest) GetGlobal() bool { - if x, ok := m.GetScope().(*PolicyUpdateRequest_Global); ok { +func (x *PolicyUpdateRequest) GetGlobal() bool { + if x, ok := x.GetScope().(*PolicyUpdateRequest_Global); ok { return x.Global } return false } -func (m *PolicyUpdateRequest) GetChanPoint() *ChannelPoint { - if x, ok := m.GetScope().(*PolicyUpdateRequest_ChanPoint); ok { +func (x *PolicyUpdateRequest) GetChanPoint() *ChannelPoint { + if x, ok := x.GetScope().(*PolicyUpdateRequest_ChanPoint); ok { return x.ChanPoint } return nil } -func (m *PolicyUpdateRequest) GetBaseFeeMsat() int64 { - if m != nil { - return m.BaseFeeMsat +func (x *PolicyUpdateRequest) GetBaseFeeMsat() int64 { + if x != nil { + return x.BaseFeeMsat } return 0 } -func (m *PolicyUpdateRequest) GetFeeRate() float64 { - if m != nil { - return m.FeeRate +func (x *PolicyUpdateRequest) GetFeeRate() float64 { + if x != nil { + return x.FeeRate } return 0 } -func (m *PolicyUpdateRequest) GetTimeLockDelta() uint32 { - if m != nil { - return m.TimeLockDelta +func (x *PolicyUpdateRequest) GetTimeLockDelta() uint32 { + if x != nil { + return x.TimeLockDelta } return 0 } -func (m *PolicyUpdateRequest) GetMaxHtlcMsat() uint64 { - if m != nil { - return m.MaxHtlcMsat +func (x *PolicyUpdateRequest) GetMaxHtlcMsat() uint64 { + if x != nil { + return x.MaxHtlcMsat } return 0 } -func (m *PolicyUpdateRequest) GetMinHtlcMsat() uint64 { - if m != nil { - return m.MinHtlcMsat +func (x *PolicyUpdateRequest) GetMinHtlcMsat() uint64 { + if x != nil { + return x.MinHtlcMsat } return 0 } -func (m *PolicyUpdateRequest) GetMinHtlcMsatSpecified() bool { - if m != nil { - return m.MinHtlcMsatSpecified +func (x *PolicyUpdateRequest) GetMinHtlcMsatSpecified() bool { + if x != nil { + return x.MinHtlcMsatSpecified } return false } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*PolicyUpdateRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*PolicyUpdateRequest_Global)(nil), - (*PolicyUpdateRequest_ChanPoint)(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 PolicyUpdateResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *PolicyUpdateResponse) Reset() { + *x = PolicyUpdateResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[137] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -type PolicyUpdateResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *PolicyUpdateResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PolicyUpdateResponse) Reset() { *m = PolicyUpdateResponse{} } -func (m *PolicyUpdateResponse) String() string { return proto.CompactTextString(m) } -func (*PolicyUpdateResponse) ProtoMessage() {} +func (*PolicyUpdateResponse) ProtoMessage() {} + +func (x *PolicyUpdateResponse) ProtoReflect() protoreflect.Message { + mi := &file_rpc_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 PolicyUpdateResponse.ProtoReflect.Descriptor instead. func (*PolicyUpdateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{137} + return file_rpc_proto_rawDescGZIP(), []int{137} } -func (m *PolicyUpdateResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PolicyUpdateResponse.Unmarshal(m, b) -} -func (m *PolicyUpdateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PolicyUpdateResponse.Marshal(b, m, deterministic) -} -func (m *PolicyUpdateResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyUpdateResponse.Merge(m, src) -} -func (m *PolicyUpdateResponse) XXX_Size() int { - return xxx_messageInfo_PolicyUpdateResponse.Size(m) -} -func (m *PolicyUpdateResponse) XXX_DiscardUnknown() { - xxx_messageInfo_PolicyUpdateResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_PolicyUpdateResponse proto.InternalMessageInfo - 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. @@ -11565,69 +12560,79 @@ type ForwardingHistoryRequest struct { // 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + NumMaxEvents uint32 `protobuf:"varint,4,opt,name=num_max_events,json=numMaxEvents,proto3" json:"num_max_events,omitempty"` } -func (m *ForwardingHistoryRequest) Reset() { *m = ForwardingHistoryRequest{} } -func (m *ForwardingHistoryRequest) String() string { return proto.CompactTextString(m) } -func (*ForwardingHistoryRequest) ProtoMessage() {} +func (x *ForwardingHistoryRequest) Reset() { + *x = ForwardingHistoryRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[138] + 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_rpc_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 ForwardingHistoryRequest.ProtoReflect.Descriptor instead. func (*ForwardingHistoryRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{138} + return file_rpc_proto_rawDescGZIP(), []int{138} } -func (m *ForwardingHistoryRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ForwardingHistoryRequest.Unmarshal(m, b) -} -func (m *ForwardingHistoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ForwardingHistoryRequest.Marshal(b, m, deterministic) -} -func (m *ForwardingHistoryRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ForwardingHistoryRequest.Merge(m, src) -} -func (m *ForwardingHistoryRequest) XXX_Size() int { - return xxx_messageInfo_ForwardingHistoryRequest.Size(m) -} -func (m *ForwardingHistoryRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ForwardingHistoryRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ForwardingHistoryRequest proto.InternalMessageInfo - -func (m *ForwardingHistoryRequest) GetStartTime() uint64 { - if m != nil { - return m.StartTime +func (x *ForwardingHistoryRequest) GetStartTime() uint64 { + if x != nil { + return x.StartTime } return 0 } -func (m *ForwardingHistoryRequest) GetEndTime() uint64 { - if m != nil { - return m.EndTime +func (x *ForwardingHistoryRequest) GetEndTime() uint64 { + if x != nil { + return x.EndTime } return 0 } -func (m *ForwardingHistoryRequest) GetIndexOffset() uint32 { - if m != nil { - return m.IndexOffset +func (x *ForwardingHistoryRequest) GetIndexOffset() uint32 { + if x != nil { + return x.IndexOffset } return 0 } -func (m *ForwardingHistoryRequest) GetNumMaxEvents() uint32 { - if m != nil { - return m.NumMaxEvents +func (x *ForwardingHistoryRequest) GetNumMaxEvents() uint32 { + if x != nil { + return x.NumMaxEvents } return 0 } 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. - Timestamp uint64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + 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 @@ -11651,200 +12656,224 @@ type ForwardingEvent struct { 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TimestampNs uint64 `protobuf:"varint,11,opt,name=timestamp_ns,json=timestampNs,proto3" json:"timestamp_ns,omitempty"` } -func (m *ForwardingEvent) Reset() { *m = ForwardingEvent{} } -func (m *ForwardingEvent) String() string { return proto.CompactTextString(m) } -func (*ForwardingEvent) ProtoMessage() {} +func (x *ForwardingEvent) Reset() { + *x = ForwardingEvent{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[139] + 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_rpc_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 ForwardingEvent.ProtoReflect.Descriptor instead. func (*ForwardingEvent) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{139} + return file_rpc_proto_rawDescGZIP(), []int{139} } -func (m *ForwardingEvent) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ForwardingEvent.Unmarshal(m, b) -} -func (m *ForwardingEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ForwardingEvent.Marshal(b, m, deterministic) -} -func (m *ForwardingEvent) XXX_Merge(src proto.Message) { - xxx_messageInfo_ForwardingEvent.Merge(m, src) -} -func (m *ForwardingEvent) XXX_Size() int { - return xxx_messageInfo_ForwardingEvent.Size(m) -} -func (m *ForwardingEvent) XXX_DiscardUnknown() { - xxx_messageInfo_ForwardingEvent.DiscardUnknown(m) -} - -var xxx_messageInfo_ForwardingEvent proto.InternalMessageInfo - // Deprecated: Do not use. -func (m *ForwardingEvent) GetTimestamp() uint64 { - if m != nil { - return m.Timestamp +func (x *ForwardingEvent) GetTimestamp() uint64 { + if x != nil { + return x.Timestamp } return 0 } -func (m *ForwardingEvent) GetChanIdIn() uint64 { - if m != nil { - return m.ChanIdIn +func (x *ForwardingEvent) GetChanIdIn() uint64 { + if x != nil { + return x.ChanIdIn } return 0 } -func (m *ForwardingEvent) GetChanIdOut() uint64 { - if m != nil { - return m.ChanIdOut +func (x *ForwardingEvent) GetChanIdOut() uint64 { + if x != nil { + return x.ChanIdOut } return 0 } -func (m *ForwardingEvent) GetAmtIn() uint64 { - if m != nil { - return m.AmtIn +func (x *ForwardingEvent) GetAmtIn() uint64 { + if x != nil { + return x.AmtIn } return 0 } -func (m *ForwardingEvent) GetAmtOut() uint64 { - if m != nil { - return m.AmtOut +func (x *ForwardingEvent) GetAmtOut() uint64 { + if x != nil { + return x.AmtOut } return 0 } -func (m *ForwardingEvent) GetFee() uint64 { - if m != nil { - return m.Fee +func (x *ForwardingEvent) GetFee() uint64 { + if x != nil { + return x.Fee } return 0 } -func (m *ForwardingEvent) GetFeeMsat() uint64 { - if m != nil { - return m.FeeMsat +func (x *ForwardingEvent) GetFeeMsat() uint64 { + if x != nil { + return x.FeeMsat } return 0 } -func (m *ForwardingEvent) GetAmtInMsat() uint64 { - if m != nil { - return m.AmtInMsat +func (x *ForwardingEvent) GetAmtInMsat() uint64 { + if x != nil { + return x.AmtInMsat } return 0 } -func (m *ForwardingEvent) GetAmtOutMsat() uint64 { - if m != nil { - return m.AmtOutMsat +func (x *ForwardingEvent) GetAmtOutMsat() uint64 { + if x != nil { + return x.AmtOutMsat } return 0 } -func (m *ForwardingEvent) GetTimestampNs() uint64 { - if m != nil { - return m.TimestampNs +func (x *ForwardingEvent) GetTimestampNs() uint64 { + if x != nil { + return x.TimestampNs } return 0 } 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + LastOffsetIndex uint32 `protobuf:"varint,2,opt,name=last_offset_index,json=lastOffsetIndex,proto3" json:"last_offset_index,omitempty"` } -func (m *ForwardingHistoryResponse) Reset() { *m = ForwardingHistoryResponse{} } -func (m *ForwardingHistoryResponse) String() string { return proto.CompactTextString(m) } -func (*ForwardingHistoryResponse) ProtoMessage() {} +func (x *ForwardingHistoryResponse) Reset() { + *x = ForwardingHistoryResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[140] + 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_rpc_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 ForwardingHistoryResponse.ProtoReflect.Descriptor instead. func (*ForwardingHistoryResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{140} + return file_rpc_proto_rawDescGZIP(), []int{140} } -func (m *ForwardingHistoryResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ForwardingHistoryResponse.Unmarshal(m, b) -} -func (m *ForwardingHistoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ForwardingHistoryResponse.Marshal(b, m, deterministic) -} -func (m *ForwardingHistoryResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ForwardingHistoryResponse.Merge(m, src) -} -func (m *ForwardingHistoryResponse) XXX_Size() int { - return xxx_messageInfo_ForwardingHistoryResponse.Size(m) -} -func (m *ForwardingHistoryResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ForwardingHistoryResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ForwardingHistoryResponse proto.InternalMessageInfo - -func (m *ForwardingHistoryResponse) GetForwardingEvents() []*ForwardingEvent { - if m != nil { - return m.ForwardingEvents +func (x *ForwardingHistoryResponse) GetForwardingEvents() []*ForwardingEvent { + if x != nil { + return x.ForwardingEvents } return nil } -func (m *ForwardingHistoryResponse) GetLastOffsetIndex() uint32 { - if m != nil { - return m.LastOffsetIndex +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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ChanPoint *ChannelPoint `protobuf:"bytes,1,opt,name=chan_point,json=chanPoint,proto3" json:"chan_point,omitempty"` } -func (m *ExportChannelBackupRequest) Reset() { *m = ExportChannelBackupRequest{} } -func (m *ExportChannelBackupRequest) String() string { return proto.CompactTextString(m) } -func (*ExportChannelBackupRequest) ProtoMessage() {} +func (x *ExportChannelBackupRequest) Reset() { + *x = ExportChannelBackupRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[141] + 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_rpc_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 ExportChannelBackupRequest.ProtoReflect.Descriptor instead. func (*ExportChannelBackupRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{141} + return file_rpc_proto_rawDescGZIP(), []int{141} } -func (m *ExportChannelBackupRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ExportChannelBackupRequest.Unmarshal(m, b) -} -func (m *ExportChannelBackupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ExportChannelBackupRequest.Marshal(b, m, deterministic) -} -func (m *ExportChannelBackupRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ExportChannelBackupRequest.Merge(m, src) -} -func (m *ExportChannelBackupRequest) XXX_Size() int { - return xxx_messageInfo_ExportChannelBackupRequest.Size(m) -} -func (m *ExportChannelBackupRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ExportChannelBackupRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ExportChannelBackupRequest proto.InternalMessageInfo - -func (m *ExportChannelBackupRequest) GetChanPoint() *ChannelPoint { - if m != nil { - return m.ChanPoint +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"` @@ -11853,52 +12882,60 @@ type ChannelBackup struct { //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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ChanBackup []byte `protobuf:"bytes,2,opt,name=chan_backup,json=chanBackup,proto3" json:"chan_backup,omitempty"` } -func (m *ChannelBackup) Reset() { *m = ChannelBackup{} } -func (m *ChannelBackup) String() string { return proto.CompactTextString(m) } -func (*ChannelBackup) ProtoMessage() {} +func (x *ChannelBackup) Reset() { + *x = ChannelBackup{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[142] + 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_rpc_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 ChannelBackup.ProtoReflect.Descriptor instead. func (*ChannelBackup) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{142} + return file_rpc_proto_rawDescGZIP(), []int{142} } -func (m *ChannelBackup) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ChannelBackup.Unmarshal(m, b) -} -func (m *ChannelBackup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ChannelBackup.Marshal(b, m, deterministic) -} -func (m *ChannelBackup) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChannelBackup.Merge(m, src) -} -func (m *ChannelBackup) XXX_Size() int { - return xxx_messageInfo_ChannelBackup.Size(m) -} -func (m *ChannelBackup) XXX_DiscardUnknown() { - xxx_messageInfo_ChannelBackup.DiscardUnknown(m) -} - -var xxx_messageInfo_ChannelBackup proto.InternalMessageInfo - -func (m *ChannelBackup) GetChanPoint() *ChannelPoint { - if m != nil { - return m.ChanPoint +func (x *ChannelBackup) GetChanPoint() *ChannelPoint { + if x != nil { + return x.ChanPoint } return nil } -func (m *ChannelBackup) GetChanBackup() []byte { - if m != nil { - return m.ChanBackup +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"` @@ -11907,83 +12944,98 @@ type MultiChanBackup struct { //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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + MultiChanBackup []byte `protobuf:"bytes,2,opt,name=multi_chan_backup,json=multiChanBackup,proto3" json:"multi_chan_backup,omitempty"` } -func (m *MultiChanBackup) Reset() { *m = MultiChanBackup{} } -func (m *MultiChanBackup) String() string { return proto.CompactTextString(m) } -func (*MultiChanBackup) ProtoMessage() {} +func (x *MultiChanBackup) Reset() { + *x = MultiChanBackup{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[143] + 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_rpc_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 MultiChanBackup.ProtoReflect.Descriptor instead. func (*MultiChanBackup) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{143} + return file_rpc_proto_rawDescGZIP(), []int{143} } -func (m *MultiChanBackup) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MultiChanBackup.Unmarshal(m, b) -} -func (m *MultiChanBackup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MultiChanBackup.Marshal(b, m, deterministic) -} -func (m *MultiChanBackup) XXX_Merge(src proto.Message) { - xxx_messageInfo_MultiChanBackup.Merge(m, src) -} -func (m *MultiChanBackup) XXX_Size() int { - return xxx_messageInfo_MultiChanBackup.Size(m) -} -func (m *MultiChanBackup) XXX_DiscardUnknown() { - xxx_messageInfo_MultiChanBackup.DiscardUnknown(m) -} - -var xxx_messageInfo_MultiChanBackup proto.InternalMessageInfo - -func (m *MultiChanBackup) GetChanPoints() []*ChannelPoint { - if m != nil { - return m.ChanPoints +func (x *MultiChanBackup) GetChanPoints() []*ChannelPoint { + if x != nil { + return x.ChanPoints } return nil } -func (m *MultiChanBackup) GetMultiChanBackup() []byte { - if m != nil { - return m.MultiChanBackup +func (x *MultiChanBackup) GetMultiChanBackup() []byte { + if x != nil { + return x.MultiChanBackup } return nil } type ChanBackupExportRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ChanBackupExportRequest) Reset() { *m = ChanBackupExportRequest{} } -func (m *ChanBackupExportRequest) String() string { return proto.CompactTextString(m) } -func (*ChanBackupExportRequest) ProtoMessage() {} +func (x *ChanBackupExportRequest) Reset() { + *x = ChanBackupExportRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[144] + 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_rpc_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 ChanBackupExportRequest.ProtoReflect.Descriptor instead. func (*ChanBackupExportRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{144} + return file_rpc_proto_rawDescGZIP(), []int{144} } -func (m *ChanBackupExportRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ChanBackupExportRequest.Unmarshal(m, b) -} -func (m *ChanBackupExportRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ChanBackupExportRequest.Marshal(b, m, deterministic) -} -func (m *ChanBackupExportRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChanBackupExportRequest.Merge(m, src) -} -func (m *ChanBackupExportRequest) XXX_Size() int { - return xxx_messageInfo_ChanBackupExportRequest.Size(m) -} -func (m *ChanBackupExportRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ChanBackupExportRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ChanBackupExportRequest proto.InternalMessageInfo - 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. @@ -11991,143 +13043,147 @@ type ChanBackupSnapshot struct { // //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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + MultiChanBackup *MultiChanBackup `protobuf:"bytes,2,opt,name=multi_chan_backup,json=multiChanBackup,proto3" json:"multi_chan_backup,omitempty"` } -func (m *ChanBackupSnapshot) Reset() { *m = ChanBackupSnapshot{} } -func (m *ChanBackupSnapshot) String() string { return proto.CompactTextString(m) } -func (*ChanBackupSnapshot) ProtoMessage() {} +func (x *ChanBackupSnapshot) Reset() { + *x = ChanBackupSnapshot{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[145] + 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_rpc_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 ChanBackupSnapshot.ProtoReflect.Descriptor instead. func (*ChanBackupSnapshot) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{145} + return file_rpc_proto_rawDescGZIP(), []int{145} } -func (m *ChanBackupSnapshot) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ChanBackupSnapshot.Unmarshal(m, b) -} -func (m *ChanBackupSnapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ChanBackupSnapshot.Marshal(b, m, deterministic) -} -func (m *ChanBackupSnapshot) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChanBackupSnapshot.Merge(m, src) -} -func (m *ChanBackupSnapshot) XXX_Size() int { - return xxx_messageInfo_ChanBackupSnapshot.Size(m) -} -func (m *ChanBackupSnapshot) XXX_DiscardUnknown() { - xxx_messageInfo_ChanBackupSnapshot.DiscardUnknown(m) -} - -var xxx_messageInfo_ChanBackupSnapshot proto.InternalMessageInfo - -func (m *ChanBackupSnapshot) GetSingleChanBackups() *ChannelBackups { - if m != nil { - return m.SingleChanBackups +func (x *ChanBackupSnapshot) GetSingleChanBackups() *ChannelBackups { + if x != nil { + return x.SingleChanBackups } return nil } -func (m *ChanBackupSnapshot) GetMultiChanBackup() *MultiChanBackup { - if m != nil { - return m.MultiChanBackup +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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ChanBackups []*ChannelBackup `protobuf:"bytes,1,rep,name=chan_backups,json=chanBackups,proto3" json:"chan_backups,omitempty"` } -func (m *ChannelBackups) Reset() { *m = ChannelBackups{} } -func (m *ChannelBackups) String() string { return proto.CompactTextString(m) } -func (*ChannelBackups) ProtoMessage() {} +func (x *ChannelBackups) Reset() { + *x = ChannelBackups{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[146] + 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_rpc_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 ChannelBackups.ProtoReflect.Descriptor instead. func (*ChannelBackups) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{146} + return file_rpc_proto_rawDescGZIP(), []int{146} } -func (m *ChannelBackups) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ChannelBackups.Unmarshal(m, b) -} -func (m *ChannelBackups) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ChannelBackups.Marshal(b, m, deterministic) -} -func (m *ChannelBackups) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChannelBackups.Merge(m, src) -} -func (m *ChannelBackups) XXX_Size() int { - return xxx_messageInfo_ChannelBackups.Size(m) -} -func (m *ChannelBackups) XXX_DiscardUnknown() { - xxx_messageInfo_ChannelBackups.DiscardUnknown(m) -} - -var xxx_messageInfo_ChannelBackups proto.InternalMessageInfo - -func (m *ChannelBackups) GetChanBackups() []*ChannelBackup { - if m != nil { - return m.ChanBackups +func (x *ChannelBackups) GetChanBackups() []*ChannelBackup { + if x != nil { + return x.ChanBackups } return nil } type RestoreChanBackupRequest struct { - // Types that are valid to be assigned to Backup: + 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Backup isRestoreChanBackupRequest_Backup `protobuf_oneof:"backup"` } -func (m *RestoreChanBackupRequest) Reset() { *m = RestoreChanBackupRequest{} } -func (m *RestoreChanBackupRequest) String() string { return proto.CompactTextString(m) } -func (*RestoreChanBackupRequest) ProtoMessage() {} +func (x *RestoreChanBackupRequest) Reset() { + *x = RestoreChanBackupRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[147] + 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_rpc_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 RestoreChanBackupRequest.ProtoReflect.Descriptor instead. func (*RestoreChanBackupRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{147} + return file_rpc_proto_rawDescGZIP(), []int{147} } -func (m *RestoreChanBackupRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RestoreChanBackupRequest.Unmarshal(m, b) -} -func (m *RestoreChanBackupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RestoreChanBackupRequest.Marshal(b, m, deterministic) -} -func (m *RestoreChanBackupRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RestoreChanBackupRequest.Merge(m, src) -} -func (m *RestoreChanBackupRequest) XXX_Size() int { - return xxx_messageInfo_RestoreChanBackupRequest.Size(m) -} -func (m *RestoreChanBackupRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RestoreChanBackupRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_RestoreChanBackupRequest proto.InternalMessageInfo - -type isRestoreChanBackupRequest_Backup interface { - isRestoreChanBackupRequest_Backup() -} - -type RestoreChanBackupRequest_ChanBackups struct { - ChanBackups *ChannelBackups `protobuf:"bytes,1,opt,name=chan_backups,json=chanBackups,proto3,oneof"` -} - -type RestoreChanBackupRequest_MultiChanBackup struct { - MultiChanBackup []byte `protobuf:"bytes,2,opt,name=multi_chan_backup,json=multiChanBackup,proto3,oneof"` -} - -func (*RestoreChanBackupRequest_ChanBackups) isRestoreChanBackupRequest_Backup() {} - -func (*RestoreChanBackupRequest_MultiChanBackup) isRestoreChanBackupRequest_Backup() {} - func (m *RestoreChanBackupRequest) GetBackup() isRestoreChanBackupRequest_Backup { if m != nil { return m.Backup @@ -12135,524 +13191,640 @@ func (m *RestoreChanBackupRequest) GetBackup() isRestoreChanBackupRequest_Backup return nil } -func (m *RestoreChanBackupRequest) GetChanBackups() *ChannelBackups { - if x, ok := m.GetBackup().(*RestoreChanBackupRequest_ChanBackups); ok { +func (x *RestoreChanBackupRequest) GetChanBackups() *ChannelBackups { + if x, ok := x.GetBackup().(*RestoreChanBackupRequest_ChanBackups); ok { return x.ChanBackups } return nil } -func (m *RestoreChanBackupRequest) GetMultiChanBackup() []byte { - if x, ok := m.GetBackup().(*RestoreChanBackupRequest_MultiChanBackup); ok { +func (x *RestoreChanBackupRequest) GetMultiChanBackup() []byte { + if x, ok := x.GetBackup().(*RestoreChanBackupRequest_MultiChanBackup); ok { return x.MultiChanBackup } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*RestoreChanBackupRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*RestoreChanBackupRequest_ChanBackups)(nil), - (*RestoreChanBackupRequest_MultiChanBackup)(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_rpc_proto_msgTypes[148] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } } -type RestoreBackupResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *RestoreBackupResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RestoreBackupResponse) Reset() { *m = RestoreBackupResponse{} } -func (m *RestoreBackupResponse) String() string { return proto.CompactTextString(m) } -func (*RestoreBackupResponse) ProtoMessage() {} +func (*RestoreBackupResponse) ProtoMessage() {} + +func (x *RestoreBackupResponse) ProtoReflect() protoreflect.Message { + mi := &file_rpc_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 RestoreBackupResponse.ProtoReflect.Descriptor instead. func (*RestoreBackupResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{148} + return file_rpc_proto_rawDescGZIP(), []int{148} } -func (m *RestoreBackupResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RestoreBackupResponse.Unmarshal(m, b) -} -func (m *RestoreBackupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RestoreBackupResponse.Marshal(b, m, deterministic) -} -func (m *RestoreBackupResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RestoreBackupResponse.Merge(m, src) -} -func (m *RestoreBackupResponse) XXX_Size() int { - return xxx_messageInfo_RestoreBackupResponse.Size(m) -} -func (m *RestoreBackupResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RestoreBackupResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_RestoreBackupResponse proto.InternalMessageInfo - type ChannelBackupSubscription struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ChannelBackupSubscription) Reset() { *m = ChannelBackupSubscription{} } -func (m *ChannelBackupSubscription) String() string { return proto.CompactTextString(m) } -func (*ChannelBackupSubscription) ProtoMessage() {} +func (x *ChannelBackupSubscription) Reset() { + *x = ChannelBackupSubscription{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[149] + 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_rpc_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 ChannelBackupSubscription.ProtoReflect.Descriptor instead. func (*ChannelBackupSubscription) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{149} + return file_rpc_proto_rawDescGZIP(), []int{149} } -func (m *ChannelBackupSubscription) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ChannelBackupSubscription.Unmarshal(m, b) -} -func (m *ChannelBackupSubscription) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ChannelBackupSubscription.Marshal(b, m, deterministic) -} -func (m *ChannelBackupSubscription) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChannelBackupSubscription.Merge(m, src) -} -func (m *ChannelBackupSubscription) XXX_Size() int { - return xxx_messageInfo_ChannelBackupSubscription.Size(m) -} -func (m *ChannelBackupSubscription) XXX_DiscardUnknown() { - xxx_messageInfo_ChannelBackupSubscription.DiscardUnknown(m) -} - -var xxx_messageInfo_ChannelBackupSubscription proto.InternalMessageInfo - type VerifyChanBackupResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *VerifyChanBackupResponse) Reset() { *m = VerifyChanBackupResponse{} } -func (m *VerifyChanBackupResponse) String() string { return proto.CompactTextString(m) } -func (*VerifyChanBackupResponse) ProtoMessage() {} +func (x *VerifyChanBackupResponse) Reset() { + *x = VerifyChanBackupResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[150] + 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_rpc_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 VerifyChanBackupResponse.ProtoReflect.Descriptor instead. func (*VerifyChanBackupResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{150} + return file_rpc_proto_rawDescGZIP(), []int{150} } -func (m *VerifyChanBackupResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VerifyChanBackupResponse.Unmarshal(m, b) -} -func (m *VerifyChanBackupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VerifyChanBackupResponse.Marshal(b, m, deterministic) -} -func (m *VerifyChanBackupResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_VerifyChanBackupResponse.Merge(m, src) -} -func (m *VerifyChanBackupResponse) XXX_Size() int { - return xxx_messageInfo_VerifyChanBackupResponse.Size(m) -} -func (m *VerifyChanBackupResponse) XXX_DiscardUnknown() { - xxx_messageInfo_VerifyChanBackupResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_VerifyChanBackupResponse proto.InternalMessageInfo - 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Action string `protobuf:"bytes,2,opt,name=action,proto3" json:"action,omitempty"` } -func (m *MacaroonPermission) Reset() { *m = MacaroonPermission{} } -func (m *MacaroonPermission) String() string { return proto.CompactTextString(m) } -func (*MacaroonPermission) ProtoMessage() {} +func (x *MacaroonPermission) Reset() { + *x = MacaroonPermission{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[151] + 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_rpc_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 MacaroonPermission.ProtoReflect.Descriptor instead. func (*MacaroonPermission) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{151} + return file_rpc_proto_rawDescGZIP(), []int{151} } -func (m *MacaroonPermission) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MacaroonPermission.Unmarshal(m, b) -} -func (m *MacaroonPermission) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MacaroonPermission.Marshal(b, m, deterministic) -} -func (m *MacaroonPermission) XXX_Merge(src proto.Message) { - xxx_messageInfo_MacaroonPermission.Merge(m, src) -} -func (m *MacaroonPermission) XXX_Size() int { - return xxx_messageInfo_MacaroonPermission.Size(m) -} -func (m *MacaroonPermission) XXX_DiscardUnknown() { - xxx_messageInfo_MacaroonPermission.DiscardUnknown(m) -} - -var xxx_messageInfo_MacaroonPermission proto.InternalMessageInfo - -func (m *MacaroonPermission) GetEntity() string { - if m != nil { - return m.Entity +func (x *MacaroonPermission) GetEntity() string { + if x != nil { + return x.Entity } return "" } -func (m *MacaroonPermission) GetAction() string { - if m != nil { - return m.Action +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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + RootKeyId uint64 `protobuf:"varint,2,opt,name=root_key_id,json=rootKeyId,proto3" json:"root_key_id,omitempty"` } -func (m *BakeMacaroonRequest) Reset() { *m = BakeMacaroonRequest{} } -func (m *BakeMacaroonRequest) String() string { return proto.CompactTextString(m) } -func (*BakeMacaroonRequest) ProtoMessage() {} +func (x *BakeMacaroonRequest) Reset() { + *x = BakeMacaroonRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[152] + 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_rpc_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 BakeMacaroonRequest.ProtoReflect.Descriptor instead. func (*BakeMacaroonRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{152} + return file_rpc_proto_rawDescGZIP(), []int{152} } -func (m *BakeMacaroonRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BakeMacaroonRequest.Unmarshal(m, b) -} -func (m *BakeMacaroonRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BakeMacaroonRequest.Marshal(b, m, deterministic) -} -func (m *BakeMacaroonRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BakeMacaroonRequest.Merge(m, src) -} -func (m *BakeMacaroonRequest) XXX_Size() int { - return xxx_messageInfo_BakeMacaroonRequest.Size(m) -} -func (m *BakeMacaroonRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BakeMacaroonRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_BakeMacaroonRequest proto.InternalMessageInfo - -func (m *BakeMacaroonRequest) GetPermissions() []*MacaroonPermission { - if m != nil { - return m.Permissions +func (x *BakeMacaroonRequest) GetPermissions() []*MacaroonPermission { + if x != nil { + return x.Permissions } return nil } -func (m *BakeMacaroonRequest) GetRootKeyId() uint64 { - if m != nil { - return m.RootKeyId +func (x *BakeMacaroonRequest) GetRootKeyId() uint64 { + if x != nil { + return x.RootKeyId } return 0 } 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Macaroon string `protobuf:"bytes,1,opt,name=macaroon,proto3" json:"macaroon,omitempty"` } -func (m *BakeMacaroonResponse) Reset() { *m = BakeMacaroonResponse{} } -func (m *BakeMacaroonResponse) String() string { return proto.CompactTextString(m) } -func (*BakeMacaroonResponse) ProtoMessage() {} +func (x *BakeMacaroonResponse) Reset() { + *x = BakeMacaroonResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[153] + 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_rpc_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 BakeMacaroonResponse.ProtoReflect.Descriptor instead. func (*BakeMacaroonResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{153} + return file_rpc_proto_rawDescGZIP(), []int{153} } -func (m *BakeMacaroonResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BakeMacaroonResponse.Unmarshal(m, b) -} -func (m *BakeMacaroonResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BakeMacaroonResponse.Marshal(b, m, deterministic) -} -func (m *BakeMacaroonResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BakeMacaroonResponse.Merge(m, src) -} -func (m *BakeMacaroonResponse) XXX_Size() int { - return xxx_messageInfo_BakeMacaroonResponse.Size(m) -} -func (m *BakeMacaroonResponse) XXX_DiscardUnknown() { - xxx_messageInfo_BakeMacaroonResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_BakeMacaroonResponse proto.InternalMessageInfo - -func (m *BakeMacaroonResponse) GetMacaroon() string { - if m != nil { - return m.Macaroon +func (x *BakeMacaroonResponse) GetMacaroon() string { + if x != nil { + return x.Macaroon } return "" } type ListMacaroonIDsRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ListMacaroonIDsRequest) Reset() { *m = ListMacaroonIDsRequest{} } -func (m *ListMacaroonIDsRequest) String() string { return proto.CompactTextString(m) } -func (*ListMacaroonIDsRequest) ProtoMessage() {} +func (x *ListMacaroonIDsRequest) Reset() { + *x = ListMacaroonIDsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[154] + 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_rpc_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 ListMacaroonIDsRequest.ProtoReflect.Descriptor instead. func (*ListMacaroonIDsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{154} + return file_rpc_proto_rawDescGZIP(), []int{154} } -func (m *ListMacaroonIDsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListMacaroonIDsRequest.Unmarshal(m, b) -} -func (m *ListMacaroonIDsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListMacaroonIDsRequest.Marshal(b, m, deterministic) -} -func (m *ListMacaroonIDsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListMacaroonIDsRequest.Merge(m, src) -} -func (m *ListMacaroonIDsRequest) XXX_Size() int { - return xxx_messageInfo_ListMacaroonIDsRequest.Size(m) -} -func (m *ListMacaroonIDsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListMacaroonIDsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListMacaroonIDsRequest proto.InternalMessageInfo - 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + RootKeyIds []uint64 `protobuf:"varint,1,rep,packed,name=root_key_ids,json=rootKeyIds,proto3" json:"root_key_ids,omitempty"` } -func (m *ListMacaroonIDsResponse) Reset() { *m = ListMacaroonIDsResponse{} } -func (m *ListMacaroonIDsResponse) String() string { return proto.CompactTextString(m) } -func (*ListMacaroonIDsResponse) ProtoMessage() {} +func (x *ListMacaroonIDsResponse) Reset() { + *x = ListMacaroonIDsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[155] + 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_rpc_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 ListMacaroonIDsResponse.ProtoReflect.Descriptor instead. func (*ListMacaroonIDsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{155} + return file_rpc_proto_rawDescGZIP(), []int{155} } -func (m *ListMacaroonIDsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListMacaroonIDsResponse.Unmarshal(m, b) -} -func (m *ListMacaroonIDsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListMacaroonIDsResponse.Marshal(b, m, deterministic) -} -func (m *ListMacaroonIDsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListMacaroonIDsResponse.Merge(m, src) -} -func (m *ListMacaroonIDsResponse) XXX_Size() int { - return xxx_messageInfo_ListMacaroonIDsResponse.Size(m) -} -func (m *ListMacaroonIDsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListMacaroonIDsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListMacaroonIDsResponse proto.InternalMessageInfo - -func (m *ListMacaroonIDsResponse) GetRootKeyIds() []uint64 { - if m != nil { - return m.RootKeyIds +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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + RootKeyId uint64 `protobuf:"varint,1,opt,name=root_key_id,json=rootKeyId,proto3" json:"root_key_id,omitempty"` } -func (m *DeleteMacaroonIDRequest) Reset() { *m = DeleteMacaroonIDRequest{} } -func (m *DeleteMacaroonIDRequest) String() string { return proto.CompactTextString(m) } -func (*DeleteMacaroonIDRequest) ProtoMessage() {} +func (x *DeleteMacaroonIDRequest) Reset() { + *x = DeleteMacaroonIDRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[156] + 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_rpc_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 DeleteMacaroonIDRequest.ProtoReflect.Descriptor instead. func (*DeleteMacaroonIDRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{156} + return file_rpc_proto_rawDescGZIP(), []int{156} } -func (m *DeleteMacaroonIDRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteMacaroonIDRequest.Unmarshal(m, b) -} -func (m *DeleteMacaroonIDRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteMacaroonIDRequest.Marshal(b, m, deterministic) -} -func (m *DeleteMacaroonIDRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteMacaroonIDRequest.Merge(m, src) -} -func (m *DeleteMacaroonIDRequest) XXX_Size() int { - return xxx_messageInfo_DeleteMacaroonIDRequest.Size(m) -} -func (m *DeleteMacaroonIDRequest) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteMacaroonIDRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteMacaroonIDRequest proto.InternalMessageInfo - -func (m *DeleteMacaroonIDRequest) GetRootKeyId() uint64 { - if m != nil { - return m.RootKeyId +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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Deleted bool `protobuf:"varint,1,opt,name=deleted,proto3" json:"deleted,omitempty"` } -func (m *DeleteMacaroonIDResponse) Reset() { *m = DeleteMacaroonIDResponse{} } -func (m *DeleteMacaroonIDResponse) String() string { return proto.CompactTextString(m) } -func (*DeleteMacaroonIDResponse) ProtoMessage() {} +func (x *DeleteMacaroonIDResponse) Reset() { + *x = DeleteMacaroonIDResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[157] + 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_rpc_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 DeleteMacaroonIDResponse.ProtoReflect.Descriptor instead. func (*DeleteMacaroonIDResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{157} + return file_rpc_proto_rawDescGZIP(), []int{157} } -func (m *DeleteMacaroonIDResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DeleteMacaroonIDResponse.Unmarshal(m, b) -} -func (m *DeleteMacaroonIDResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DeleteMacaroonIDResponse.Marshal(b, m, deterministic) -} -func (m *DeleteMacaroonIDResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_DeleteMacaroonIDResponse.Merge(m, src) -} -func (m *DeleteMacaroonIDResponse) XXX_Size() int { - return xxx_messageInfo_DeleteMacaroonIDResponse.Size(m) -} -func (m *DeleteMacaroonIDResponse) XXX_DiscardUnknown() { - xxx_messageInfo_DeleteMacaroonIDResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_DeleteMacaroonIDResponse proto.InternalMessageInfo - -func (m *DeleteMacaroonIDResponse) GetDeleted() bool { - if m != nil { - return m.Deleted +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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Permissions []*MacaroonPermission `protobuf:"bytes,1,rep,name=permissions,proto3" json:"permissions,omitempty"` } -func (m *MacaroonPermissionList) Reset() { *m = MacaroonPermissionList{} } -func (m *MacaroonPermissionList) String() string { return proto.CompactTextString(m) } -func (*MacaroonPermissionList) ProtoMessage() {} +func (x *MacaroonPermissionList) Reset() { + *x = MacaroonPermissionList{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[158] + 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_rpc_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 MacaroonPermissionList.ProtoReflect.Descriptor instead. func (*MacaroonPermissionList) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{158} + return file_rpc_proto_rawDescGZIP(), []int{158} } -func (m *MacaroonPermissionList) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MacaroonPermissionList.Unmarshal(m, b) -} -func (m *MacaroonPermissionList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MacaroonPermissionList.Marshal(b, m, deterministic) -} -func (m *MacaroonPermissionList) XXX_Merge(src proto.Message) { - xxx_messageInfo_MacaroonPermissionList.Merge(m, src) -} -func (m *MacaroonPermissionList) XXX_Size() int { - return xxx_messageInfo_MacaroonPermissionList.Size(m) -} -func (m *MacaroonPermissionList) XXX_DiscardUnknown() { - xxx_messageInfo_MacaroonPermissionList.DiscardUnknown(m) -} - -var xxx_messageInfo_MacaroonPermissionList proto.InternalMessageInfo - -func (m *MacaroonPermissionList) GetPermissions() []*MacaroonPermission { - if m != nil { - return m.Permissions +func (x *MacaroonPermissionList) GetPermissions() []*MacaroonPermission { + if x != nil { + return x.Permissions } return nil } type ListPermissionsRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ListPermissionsRequest) Reset() { *m = ListPermissionsRequest{} } -func (m *ListPermissionsRequest) String() string { return proto.CompactTextString(m) } -func (*ListPermissionsRequest) ProtoMessage() {} +func (x *ListPermissionsRequest) Reset() { + *x = ListPermissionsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[159] + 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_rpc_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 ListPermissionsRequest.ProtoReflect.Descriptor instead. func (*ListPermissionsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{159} + return file_rpc_proto_rawDescGZIP(), []int{159} } -func (m *ListPermissionsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListPermissionsRequest.Unmarshal(m, b) -} -func (m *ListPermissionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListPermissionsRequest.Marshal(b, m, deterministic) -} -func (m *ListPermissionsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListPermissionsRequest.Merge(m, src) -} -func (m *ListPermissionsRequest) XXX_Size() int { - return xxx_messageInfo_ListPermissionsRequest.Size(m) -} -func (m *ListPermissionsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListPermissionsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListPermissionsRequest proto.InternalMessageInfo - 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + 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 (m *ListPermissionsResponse) Reset() { *m = ListPermissionsResponse{} } -func (m *ListPermissionsResponse) String() string { return proto.CompactTextString(m) } -func (*ListPermissionsResponse) ProtoMessage() {} +func (x *ListPermissionsResponse) Reset() { + *x = ListPermissionsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[160] + 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_rpc_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 ListPermissionsResponse.ProtoReflect.Descriptor instead. func (*ListPermissionsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{160} + return file_rpc_proto_rawDescGZIP(), []int{160} } -func (m *ListPermissionsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListPermissionsResponse.Unmarshal(m, b) -} -func (m *ListPermissionsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListPermissionsResponse.Marshal(b, m, deterministic) -} -func (m *ListPermissionsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListPermissionsResponse.Merge(m, src) -} -func (m *ListPermissionsResponse) XXX_Size() int { - return xxx_messageInfo_ListPermissionsResponse.Size(m) -} -func (m *ListPermissionsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListPermissionsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListPermissionsResponse proto.InternalMessageInfo - -func (m *ListPermissionsResponse) GetMethodPermissions() map[string]*MacaroonPermissionList { - if m != nil { - return m.MethodPermissions +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. @@ -12670,94 +13842,102 @@ type Failure struct { //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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Height uint32 `protobuf:"varint,9,opt,name=height,proto3" json:"height,omitempty"` } -func (m *Failure) Reset() { *m = Failure{} } -func (m *Failure) String() string { return proto.CompactTextString(m) } -func (*Failure) ProtoMessage() {} +func (x *Failure) Reset() { + *x = Failure{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[161] + 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_rpc_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 Failure.ProtoReflect.Descriptor instead. func (*Failure) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{161} + return file_rpc_proto_rawDescGZIP(), []int{161} } -func (m *Failure) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Failure.Unmarshal(m, b) -} -func (m *Failure) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Failure.Marshal(b, m, deterministic) -} -func (m *Failure) XXX_Merge(src proto.Message) { - xxx_messageInfo_Failure.Merge(m, src) -} -func (m *Failure) XXX_Size() int { - return xxx_messageInfo_Failure.Size(m) -} -func (m *Failure) XXX_DiscardUnknown() { - xxx_messageInfo_Failure.DiscardUnknown(m) -} - -var xxx_messageInfo_Failure proto.InternalMessageInfo - -func (m *Failure) GetCode() Failure_FailureCode { - if m != nil { - return m.Code +func (x *Failure) GetCode() Failure_FailureCode { + if x != nil { + return x.Code } return Failure_RESERVED } -func (m *Failure) GetChannelUpdate() *ChannelUpdate { - if m != nil { - return m.ChannelUpdate +func (x *Failure) GetChannelUpdate() *ChannelUpdate { + if x != nil { + return x.ChannelUpdate } return nil } -func (m *Failure) GetHtlcMsat() uint64 { - if m != nil { - return m.HtlcMsat +func (x *Failure) GetHtlcMsat() uint64 { + if x != nil { + return x.HtlcMsat } return 0 } -func (m *Failure) GetOnionSha_256() []byte { - if m != nil { - return m.OnionSha_256 +func (x *Failure) GetOnionSha_256() []byte { + if x != nil { + return x.OnionSha_256 } return nil } -func (m *Failure) GetCltvExpiry() uint32 { - if m != nil { - return m.CltvExpiry +func (x *Failure) GetCltvExpiry() uint32 { + if x != nil { + return x.CltvExpiry } return 0 } -func (m *Failure) GetFlags() uint32 { - if m != nil { - return m.Flags +func (x *Failure) GetFlags() uint32 { + if x != nil { + return x.Flags } return 0 } -func (m *Failure) GetFailureSourceIndex() uint32 { - if m != nil { - return m.FailureSourceIndex +func (x *Failure) GetFailureSourceIndex() uint32 { + if x != nil { + return x.FailureSourceIndex } return 0 } -func (m *Failure) GetHeight() uint32 { - if m != nil { - return m.Height +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. @@ -12814,1240 +13994,5823 @@ type ChannelUpdate struct { //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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ExtraOpaqueData []byte `protobuf:"bytes,12,opt,name=extra_opaque_data,json=extraOpaqueData,proto3" json:"extra_opaque_data,omitempty"` } -func (m *ChannelUpdate) Reset() { *m = ChannelUpdate{} } -func (m *ChannelUpdate) String() string { return proto.CompactTextString(m) } -func (*ChannelUpdate) ProtoMessage() {} +func (x *ChannelUpdate) Reset() { + *x = ChannelUpdate{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[162] + 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_rpc_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 ChannelUpdate.ProtoReflect.Descriptor instead. func (*ChannelUpdate) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{162} + return file_rpc_proto_rawDescGZIP(), []int{162} } -func (m *ChannelUpdate) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ChannelUpdate.Unmarshal(m, b) -} -func (m *ChannelUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ChannelUpdate.Marshal(b, m, deterministic) -} -func (m *ChannelUpdate) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChannelUpdate.Merge(m, src) -} -func (m *ChannelUpdate) XXX_Size() int { - return xxx_messageInfo_ChannelUpdate.Size(m) -} -func (m *ChannelUpdate) XXX_DiscardUnknown() { - xxx_messageInfo_ChannelUpdate.DiscardUnknown(m) -} - -var xxx_messageInfo_ChannelUpdate proto.InternalMessageInfo - -func (m *ChannelUpdate) GetSignature() []byte { - if m != nil { - return m.Signature +func (x *ChannelUpdate) GetSignature() []byte { + if x != nil { + return x.Signature } return nil } -func (m *ChannelUpdate) GetChainHash() []byte { - if m != nil { - return m.ChainHash +func (x *ChannelUpdate) GetChainHash() []byte { + if x != nil { + return x.ChainHash } return nil } -func (m *ChannelUpdate) GetChanId() uint64 { - if m != nil { - return m.ChanId +func (x *ChannelUpdate) GetChanId() uint64 { + if x != nil { + return x.ChanId } return 0 } -func (m *ChannelUpdate) GetTimestamp() uint32 { - if m != nil { - return m.Timestamp +func (x *ChannelUpdate) GetTimestamp() uint32 { + if x != nil { + return x.Timestamp } return 0 } -func (m *ChannelUpdate) GetMessageFlags() uint32 { - if m != nil { - return m.MessageFlags +func (x *ChannelUpdate) GetMessageFlags() uint32 { + if x != nil { + return x.MessageFlags } return 0 } -func (m *ChannelUpdate) GetChannelFlags() uint32 { - if m != nil { - return m.ChannelFlags +func (x *ChannelUpdate) GetChannelFlags() uint32 { + if x != nil { + return x.ChannelFlags } return 0 } -func (m *ChannelUpdate) GetTimeLockDelta() uint32 { - if m != nil { - return m.TimeLockDelta +func (x *ChannelUpdate) GetTimeLockDelta() uint32 { + if x != nil { + return x.TimeLockDelta } return 0 } -func (m *ChannelUpdate) GetHtlcMinimumMsat() uint64 { - if m != nil { - return m.HtlcMinimumMsat +func (x *ChannelUpdate) GetHtlcMinimumMsat() uint64 { + if x != nil { + return x.HtlcMinimumMsat } return 0 } -func (m *ChannelUpdate) GetBaseFee() uint32 { - if m != nil { - return m.BaseFee +func (x *ChannelUpdate) GetBaseFee() uint32 { + if x != nil { + return x.BaseFee } return 0 } -func (m *ChannelUpdate) GetFeeRate() uint32 { - if m != nil { - return m.FeeRate +func (x *ChannelUpdate) GetFeeRate() uint32 { + if x != nil { + return x.FeeRate } return 0 } -func (m *ChannelUpdate) GetHtlcMaximumMsat() uint64 { - if m != nil { - return m.HtlcMaximumMsat +func (x *ChannelUpdate) GetHtlcMaximumMsat() uint64 { + if x != nil { + return x.HtlcMaximumMsat } return 0 } -func (m *ChannelUpdate) GetExtraOpaqueData() []byte { - if m != nil { - return m.ExtraOpaqueData +func (x *ChannelUpdate) GetExtraOpaqueData() []byte { + if x != nil { + return x.ExtraOpaqueData } return nil } type MacaroonId struct { - 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + 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 (m *MacaroonId) Reset() { *m = MacaroonId{} } -func (m *MacaroonId) String() string { return proto.CompactTextString(m) } -func (*MacaroonId) ProtoMessage() {} +func (x *MacaroonId) Reset() { + *x = MacaroonId{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[163] + 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_rpc_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 MacaroonId.ProtoReflect.Descriptor instead. func (*MacaroonId) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{163} + return file_rpc_proto_rawDescGZIP(), []int{163} } -func (m *MacaroonId) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MacaroonId.Unmarshal(m, b) -} -func (m *MacaroonId) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MacaroonId.Marshal(b, m, deterministic) -} -func (m *MacaroonId) XXX_Merge(src proto.Message) { - xxx_messageInfo_MacaroonId.Merge(m, src) -} -func (m *MacaroonId) XXX_Size() int { - return xxx_messageInfo_MacaroonId.Size(m) -} -func (m *MacaroonId) XXX_DiscardUnknown() { - xxx_messageInfo_MacaroonId.DiscardUnknown(m) -} - -var xxx_messageInfo_MacaroonId proto.InternalMessageInfo - -func (m *MacaroonId) GetNonce() []byte { - if m != nil { - return m.Nonce +func (x *MacaroonId) GetNonce() []byte { + if x != nil { + return x.Nonce } return nil } -func (m *MacaroonId) GetStorageId() []byte { - if m != nil { - return m.StorageId +func (x *MacaroonId) GetStorageId() []byte { + if x != nil { + return x.StorageId } return nil } -func (m *MacaroonId) GetOps() []*Op { - if m != nil { - return m.Ops +func (x *MacaroonId) GetOps() []*Op { + if x != nil { + return x.Ops } return nil } type Op struct { - Entity string `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"` - Actions []string `protobuf:"bytes,2,rep,name=actions,proto3" json:"actions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + 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 (m *Op) Reset() { *m = Op{} } -func (m *Op) String() string { return proto.CompactTextString(m) } -func (*Op) ProtoMessage() {} +func (x *Op) Reset() { + *x = Op{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[164] + 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_rpc_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 Op.ProtoReflect.Descriptor instead. func (*Op) Descriptor() ([]byte, []int) { - return fileDescriptor_77a6da22d6a3feb1, []int{164} + return file_rpc_proto_rawDescGZIP(), []int{164} } -func (m *Op) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Op.Unmarshal(m, b) -} -func (m *Op) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Op.Marshal(b, m, deterministic) -} -func (m *Op) XXX_Merge(src proto.Message) { - xxx_messageInfo_Op.Merge(m, src) -} -func (m *Op) XXX_Size() int { - return xxx_messageInfo_Op.Size(m) -} -func (m *Op) XXX_DiscardUnknown() { - xxx_messageInfo_Op.DiscardUnknown(m) -} - -var xxx_messageInfo_Op proto.InternalMessageInfo - -func (m *Op) GetEntity() string { - if m != nil { - return m.Entity +func (x *Op) GetEntity() string { + if x != nil { + return x.Entity } return "" } -func (m *Op) GetActions() []string { - if m != nil { - return m.Actions +func (x *Op) GetActions() []string { + if x != nil { + return x.Actions } return nil } -func init() { - proto.RegisterEnum("lnrpc.AddressType", AddressType_name, AddressType_value) - proto.RegisterEnum("lnrpc.CommitmentType", CommitmentType_name, CommitmentType_value) - proto.RegisterEnum("lnrpc.Initiator", Initiator_name, Initiator_value) - proto.RegisterEnum("lnrpc.ResolutionType", ResolutionType_name, ResolutionType_value) - proto.RegisterEnum("lnrpc.ResolutionOutcome", ResolutionOutcome_name, ResolutionOutcome_value) - proto.RegisterEnum("lnrpc.NodeMetricType", NodeMetricType_name, NodeMetricType_value) - proto.RegisterEnum("lnrpc.InvoiceHTLCState", InvoiceHTLCState_name, InvoiceHTLCState_value) - proto.RegisterEnum("lnrpc.PaymentFailureReason", PaymentFailureReason_name, PaymentFailureReason_value) - proto.RegisterEnum("lnrpc.FeatureBit", FeatureBit_name, FeatureBit_value) - proto.RegisterEnum("lnrpc.ChannelCloseSummary_ClosureType", ChannelCloseSummary_ClosureType_name, ChannelCloseSummary_ClosureType_value) - proto.RegisterEnum("lnrpc.Peer_SyncType", Peer_SyncType_name, Peer_SyncType_value) - proto.RegisterEnum("lnrpc.PeerEvent_EventType", PeerEvent_EventType_name, PeerEvent_EventType_value) - proto.RegisterEnum("lnrpc.PendingChannelsResponse_ForceClosedChannel_AnchorState", PendingChannelsResponse_ForceClosedChannel_AnchorState_name, PendingChannelsResponse_ForceClosedChannel_AnchorState_value) - proto.RegisterEnum("lnrpc.ChannelEventUpdate_UpdateType", ChannelEventUpdate_UpdateType_name, ChannelEventUpdate_UpdateType_value) - proto.RegisterEnum("lnrpc.Invoice_InvoiceState", Invoice_InvoiceState_name, Invoice_InvoiceState_value) - proto.RegisterEnum("lnrpc.Payment_PaymentStatus", Payment_PaymentStatus_name, Payment_PaymentStatus_value) - proto.RegisterEnum("lnrpc.HTLCAttempt_HTLCStatus", HTLCAttempt_HTLCStatus_name, HTLCAttempt_HTLCStatus_value) - proto.RegisterEnum("lnrpc.Failure_FailureCode", Failure_FailureCode_name, Failure_FailureCode_value) - proto.RegisterType((*Utxo)(nil), "lnrpc.Utxo") - proto.RegisterType((*Transaction)(nil), "lnrpc.Transaction") - proto.RegisterType((*GetTransactionsRequest)(nil), "lnrpc.GetTransactionsRequest") - proto.RegisterType((*TransactionDetails)(nil), "lnrpc.TransactionDetails") - proto.RegisterType((*FeeLimit)(nil), "lnrpc.FeeLimit") - proto.RegisterType((*SendRequest)(nil), "lnrpc.SendRequest") - proto.RegisterMapType((map[uint64][]byte)(nil), "lnrpc.SendRequest.DestCustomRecordsEntry") - proto.RegisterType((*SendResponse)(nil), "lnrpc.SendResponse") - proto.RegisterType((*SendToRouteRequest)(nil), "lnrpc.SendToRouteRequest") - proto.RegisterType((*ChannelAcceptRequest)(nil), "lnrpc.ChannelAcceptRequest") - proto.RegisterType((*ChannelAcceptResponse)(nil), "lnrpc.ChannelAcceptResponse") - proto.RegisterType((*ChannelPoint)(nil), "lnrpc.ChannelPoint") - proto.RegisterType((*OutPoint)(nil), "lnrpc.OutPoint") - proto.RegisterType((*LightningAddress)(nil), "lnrpc.LightningAddress") - proto.RegisterType((*EstimateFeeRequest)(nil), "lnrpc.EstimateFeeRequest") - proto.RegisterMapType((map[string]int64)(nil), "lnrpc.EstimateFeeRequest.AddrToAmountEntry") - proto.RegisterType((*EstimateFeeResponse)(nil), "lnrpc.EstimateFeeResponse") - proto.RegisterType((*SendManyRequest)(nil), "lnrpc.SendManyRequest") - proto.RegisterMapType((map[string]int64)(nil), "lnrpc.SendManyRequest.AddrToAmountEntry") - proto.RegisterType((*SendManyResponse)(nil), "lnrpc.SendManyResponse") - proto.RegisterType((*SendCoinsRequest)(nil), "lnrpc.SendCoinsRequest") - proto.RegisterType((*SendCoinsResponse)(nil), "lnrpc.SendCoinsResponse") - proto.RegisterType((*ListUnspentRequest)(nil), "lnrpc.ListUnspentRequest") - proto.RegisterType((*ListUnspentResponse)(nil), "lnrpc.ListUnspentResponse") - proto.RegisterType((*NewAddressRequest)(nil), "lnrpc.NewAddressRequest") - proto.RegisterType((*NewAddressResponse)(nil), "lnrpc.NewAddressResponse") - proto.RegisterType((*SignMessageRequest)(nil), "lnrpc.SignMessageRequest") - proto.RegisterType((*SignMessageResponse)(nil), "lnrpc.SignMessageResponse") - proto.RegisterType((*VerifyMessageRequest)(nil), "lnrpc.VerifyMessageRequest") - proto.RegisterType((*VerifyMessageResponse)(nil), "lnrpc.VerifyMessageResponse") - proto.RegisterType((*ConnectPeerRequest)(nil), "lnrpc.ConnectPeerRequest") - proto.RegisterType((*ConnectPeerResponse)(nil), "lnrpc.ConnectPeerResponse") - proto.RegisterType((*DisconnectPeerRequest)(nil), "lnrpc.DisconnectPeerRequest") - proto.RegisterType((*DisconnectPeerResponse)(nil), "lnrpc.DisconnectPeerResponse") - proto.RegisterType((*HTLC)(nil), "lnrpc.HTLC") - proto.RegisterType((*ChannelConstraints)(nil), "lnrpc.ChannelConstraints") - proto.RegisterType((*Channel)(nil), "lnrpc.Channel") - proto.RegisterType((*ListChannelsRequest)(nil), "lnrpc.ListChannelsRequest") - proto.RegisterType((*ListChannelsResponse)(nil), "lnrpc.ListChannelsResponse") - proto.RegisterType((*ChannelCloseSummary)(nil), "lnrpc.ChannelCloseSummary") - proto.RegisterType((*Resolution)(nil), "lnrpc.Resolution") - proto.RegisterType((*ClosedChannelsRequest)(nil), "lnrpc.ClosedChannelsRequest") - proto.RegisterType((*ClosedChannelsResponse)(nil), "lnrpc.ClosedChannelsResponse") - proto.RegisterType((*Peer)(nil), "lnrpc.Peer") - proto.RegisterMapType((map[uint32]*Feature)(nil), "lnrpc.Peer.FeaturesEntry") - proto.RegisterType((*TimestampedError)(nil), "lnrpc.TimestampedError") - proto.RegisterType((*ListPeersRequest)(nil), "lnrpc.ListPeersRequest") - proto.RegisterType((*ListPeersResponse)(nil), "lnrpc.ListPeersResponse") - proto.RegisterType((*PeerEventSubscription)(nil), "lnrpc.PeerEventSubscription") - proto.RegisterType((*PeerEvent)(nil), "lnrpc.PeerEvent") - proto.RegisterType((*GetInfoRequest)(nil), "lnrpc.GetInfoRequest") - proto.RegisterType((*GetInfoResponse)(nil), "lnrpc.GetInfoResponse") - proto.RegisterMapType((map[uint32]*Feature)(nil), "lnrpc.GetInfoResponse.FeaturesEntry") - proto.RegisterType((*GetRecoveryInfoRequest)(nil), "lnrpc.GetRecoveryInfoRequest") - proto.RegisterType((*GetRecoveryInfoResponse)(nil), "lnrpc.GetRecoveryInfoResponse") - proto.RegisterType((*Chain)(nil), "lnrpc.Chain") - proto.RegisterType((*ConfirmationUpdate)(nil), "lnrpc.ConfirmationUpdate") - proto.RegisterType((*ChannelOpenUpdate)(nil), "lnrpc.ChannelOpenUpdate") - proto.RegisterType((*ChannelCloseUpdate)(nil), "lnrpc.ChannelCloseUpdate") - proto.RegisterType((*CloseChannelRequest)(nil), "lnrpc.CloseChannelRequest") - proto.RegisterType((*CloseStatusUpdate)(nil), "lnrpc.CloseStatusUpdate") - proto.RegisterType((*PendingUpdate)(nil), "lnrpc.PendingUpdate") - proto.RegisterType((*ReadyForPsbtFunding)(nil), "lnrpc.ReadyForPsbtFunding") - proto.RegisterType((*OpenChannelRequest)(nil), "lnrpc.OpenChannelRequest") - proto.RegisterType((*OpenStatusUpdate)(nil), "lnrpc.OpenStatusUpdate") - proto.RegisterType((*KeyLocator)(nil), "lnrpc.KeyLocator") - proto.RegisterType((*KeyDescriptor)(nil), "lnrpc.KeyDescriptor") - proto.RegisterType((*ChanPointShim)(nil), "lnrpc.ChanPointShim") - proto.RegisterType((*PsbtShim)(nil), "lnrpc.PsbtShim") - proto.RegisterType((*FundingShim)(nil), "lnrpc.FundingShim") - proto.RegisterType((*FundingShimCancel)(nil), "lnrpc.FundingShimCancel") - proto.RegisterType((*FundingPsbtVerify)(nil), "lnrpc.FundingPsbtVerify") - proto.RegisterType((*FundingPsbtFinalize)(nil), "lnrpc.FundingPsbtFinalize") - proto.RegisterType((*FundingTransitionMsg)(nil), "lnrpc.FundingTransitionMsg") - proto.RegisterType((*FundingStateStepResp)(nil), "lnrpc.FundingStateStepResp") - proto.RegisterType((*PendingHTLC)(nil), "lnrpc.PendingHTLC") - proto.RegisterType((*PendingChannelsRequest)(nil), "lnrpc.PendingChannelsRequest") - proto.RegisterType((*PendingChannelsResponse)(nil), "lnrpc.PendingChannelsResponse") - proto.RegisterType((*PendingChannelsResponse_PendingChannel)(nil), "lnrpc.PendingChannelsResponse.PendingChannel") - proto.RegisterType((*PendingChannelsResponse_PendingOpenChannel)(nil), "lnrpc.PendingChannelsResponse.PendingOpenChannel") - proto.RegisterType((*PendingChannelsResponse_WaitingCloseChannel)(nil), "lnrpc.PendingChannelsResponse.WaitingCloseChannel") - proto.RegisterType((*PendingChannelsResponse_Commitments)(nil), "lnrpc.PendingChannelsResponse.Commitments") - proto.RegisterType((*PendingChannelsResponse_ClosedChannel)(nil), "lnrpc.PendingChannelsResponse.ClosedChannel") - proto.RegisterType((*PendingChannelsResponse_ForceClosedChannel)(nil), "lnrpc.PendingChannelsResponse.ForceClosedChannel") - proto.RegisterType((*ChannelEventSubscription)(nil), "lnrpc.ChannelEventSubscription") - proto.RegisterType((*ChannelEventUpdate)(nil), "lnrpc.ChannelEventUpdate") - proto.RegisterType((*WalletAccountBalance)(nil), "lnrpc.WalletAccountBalance") - proto.RegisterType((*WalletBalanceRequest)(nil), "lnrpc.WalletBalanceRequest") - proto.RegisterType((*WalletBalanceResponse)(nil), "lnrpc.WalletBalanceResponse") - proto.RegisterMapType((map[string]*WalletAccountBalance)(nil), "lnrpc.WalletBalanceResponse.AccountBalanceEntry") - proto.RegisterType((*Amount)(nil), "lnrpc.Amount") - proto.RegisterType((*ChannelBalanceRequest)(nil), "lnrpc.ChannelBalanceRequest") - proto.RegisterType((*ChannelBalanceResponse)(nil), "lnrpc.ChannelBalanceResponse") - proto.RegisterType((*QueryRoutesRequest)(nil), "lnrpc.QueryRoutesRequest") - proto.RegisterMapType((map[uint64][]byte)(nil), "lnrpc.QueryRoutesRequest.DestCustomRecordsEntry") - proto.RegisterType((*NodePair)(nil), "lnrpc.NodePair") - proto.RegisterType((*EdgeLocator)(nil), "lnrpc.EdgeLocator") - proto.RegisterType((*QueryRoutesResponse)(nil), "lnrpc.QueryRoutesResponse") - proto.RegisterType((*Hop)(nil), "lnrpc.Hop") - proto.RegisterMapType((map[uint64][]byte)(nil), "lnrpc.Hop.CustomRecordsEntry") - proto.RegisterType((*MPPRecord)(nil), "lnrpc.MPPRecord") - proto.RegisterType((*AMPRecord)(nil), "lnrpc.AMPRecord") - proto.RegisterType((*Route)(nil), "lnrpc.Route") - proto.RegisterType((*NodeInfoRequest)(nil), "lnrpc.NodeInfoRequest") - proto.RegisterType((*NodeInfo)(nil), "lnrpc.NodeInfo") - proto.RegisterType((*LightningNode)(nil), "lnrpc.LightningNode") - proto.RegisterMapType((map[uint32]*Feature)(nil), "lnrpc.LightningNode.FeaturesEntry") - proto.RegisterType((*NodeAddress)(nil), "lnrpc.NodeAddress") - proto.RegisterType((*RoutingPolicy)(nil), "lnrpc.RoutingPolicy") - proto.RegisterType((*ChannelEdge)(nil), "lnrpc.ChannelEdge") - proto.RegisterType((*ChannelGraphRequest)(nil), "lnrpc.ChannelGraphRequest") - proto.RegisterType((*ChannelGraph)(nil), "lnrpc.ChannelGraph") - proto.RegisterType((*NodeMetricsRequest)(nil), "lnrpc.NodeMetricsRequest") - proto.RegisterType((*NodeMetricsResponse)(nil), "lnrpc.NodeMetricsResponse") - proto.RegisterMapType((map[string]*FloatMetric)(nil), "lnrpc.NodeMetricsResponse.BetweennessCentralityEntry") - proto.RegisterType((*FloatMetric)(nil), "lnrpc.FloatMetric") - proto.RegisterType((*ChanInfoRequest)(nil), "lnrpc.ChanInfoRequest") - proto.RegisterType((*NetworkInfoRequest)(nil), "lnrpc.NetworkInfoRequest") - proto.RegisterType((*NetworkInfo)(nil), "lnrpc.NetworkInfo") - proto.RegisterType((*StopRequest)(nil), "lnrpc.StopRequest") - proto.RegisterType((*StopResponse)(nil), "lnrpc.StopResponse") - proto.RegisterType((*GraphTopologySubscription)(nil), "lnrpc.GraphTopologySubscription") - proto.RegisterType((*GraphTopologyUpdate)(nil), "lnrpc.GraphTopologyUpdate") - proto.RegisterType((*NodeUpdate)(nil), "lnrpc.NodeUpdate") - proto.RegisterMapType((map[uint32]*Feature)(nil), "lnrpc.NodeUpdate.FeaturesEntry") - proto.RegisterType((*ChannelEdgeUpdate)(nil), "lnrpc.ChannelEdgeUpdate") - proto.RegisterType((*ClosedChannelUpdate)(nil), "lnrpc.ClosedChannelUpdate") - proto.RegisterType((*HopHint)(nil), "lnrpc.HopHint") - proto.RegisterType((*RouteHint)(nil), "lnrpc.RouteHint") - proto.RegisterType((*Invoice)(nil), "lnrpc.Invoice") - proto.RegisterMapType((map[uint32]*Feature)(nil), "lnrpc.Invoice.FeaturesEntry") - proto.RegisterType((*InvoiceHTLC)(nil), "lnrpc.InvoiceHTLC") - proto.RegisterMapType((map[uint64][]byte)(nil), "lnrpc.InvoiceHTLC.CustomRecordsEntry") - proto.RegisterType((*AMP)(nil), "lnrpc.AMP") - proto.RegisterType((*AddInvoiceResponse)(nil), "lnrpc.AddInvoiceResponse") - proto.RegisterType((*PaymentHash)(nil), "lnrpc.PaymentHash") - proto.RegisterType((*ListInvoiceRequest)(nil), "lnrpc.ListInvoiceRequest") - proto.RegisterType((*ListInvoiceResponse)(nil), "lnrpc.ListInvoiceResponse") - proto.RegisterType((*InvoiceSubscription)(nil), "lnrpc.InvoiceSubscription") - proto.RegisterType((*Payment)(nil), "lnrpc.Payment") - proto.RegisterType((*HTLCAttempt)(nil), "lnrpc.HTLCAttempt") - proto.RegisterType((*ListPaymentsRequest)(nil), "lnrpc.ListPaymentsRequest") - proto.RegisterType((*ListPaymentsResponse)(nil), "lnrpc.ListPaymentsResponse") - proto.RegisterType((*DeleteAllPaymentsRequest)(nil), "lnrpc.DeleteAllPaymentsRequest") - proto.RegisterType((*DeleteAllPaymentsResponse)(nil), "lnrpc.DeleteAllPaymentsResponse") - proto.RegisterType((*AbandonChannelRequest)(nil), "lnrpc.AbandonChannelRequest") - proto.RegisterType((*AbandonChannelResponse)(nil), "lnrpc.AbandonChannelResponse") - proto.RegisterType((*DebugLevelRequest)(nil), "lnrpc.DebugLevelRequest") - proto.RegisterType((*DebugLevelResponse)(nil), "lnrpc.DebugLevelResponse") - proto.RegisterType((*PayReqString)(nil), "lnrpc.PayReqString") - proto.RegisterType((*PayReq)(nil), "lnrpc.PayReq") - proto.RegisterMapType((map[uint32]*Feature)(nil), "lnrpc.PayReq.FeaturesEntry") - proto.RegisterType((*Feature)(nil), "lnrpc.Feature") - proto.RegisterType((*FeeReportRequest)(nil), "lnrpc.FeeReportRequest") - proto.RegisterType((*ChannelFeeReport)(nil), "lnrpc.ChannelFeeReport") - proto.RegisterType((*FeeReportResponse)(nil), "lnrpc.FeeReportResponse") - proto.RegisterType((*PolicyUpdateRequest)(nil), "lnrpc.PolicyUpdateRequest") - proto.RegisterType((*PolicyUpdateResponse)(nil), "lnrpc.PolicyUpdateResponse") - proto.RegisterType((*ForwardingHistoryRequest)(nil), "lnrpc.ForwardingHistoryRequest") - proto.RegisterType((*ForwardingEvent)(nil), "lnrpc.ForwardingEvent") - proto.RegisterType((*ForwardingHistoryResponse)(nil), "lnrpc.ForwardingHistoryResponse") - proto.RegisterType((*ExportChannelBackupRequest)(nil), "lnrpc.ExportChannelBackupRequest") - proto.RegisterType((*ChannelBackup)(nil), "lnrpc.ChannelBackup") - proto.RegisterType((*MultiChanBackup)(nil), "lnrpc.MultiChanBackup") - proto.RegisterType((*ChanBackupExportRequest)(nil), "lnrpc.ChanBackupExportRequest") - proto.RegisterType((*ChanBackupSnapshot)(nil), "lnrpc.ChanBackupSnapshot") - proto.RegisterType((*ChannelBackups)(nil), "lnrpc.ChannelBackups") - proto.RegisterType((*RestoreChanBackupRequest)(nil), "lnrpc.RestoreChanBackupRequest") - proto.RegisterType((*RestoreBackupResponse)(nil), "lnrpc.RestoreBackupResponse") - proto.RegisterType((*ChannelBackupSubscription)(nil), "lnrpc.ChannelBackupSubscription") - proto.RegisterType((*VerifyChanBackupResponse)(nil), "lnrpc.VerifyChanBackupResponse") - proto.RegisterType((*MacaroonPermission)(nil), "lnrpc.MacaroonPermission") - proto.RegisterType((*BakeMacaroonRequest)(nil), "lnrpc.BakeMacaroonRequest") - proto.RegisterType((*BakeMacaroonResponse)(nil), "lnrpc.BakeMacaroonResponse") - proto.RegisterType((*ListMacaroonIDsRequest)(nil), "lnrpc.ListMacaroonIDsRequest") - proto.RegisterType((*ListMacaroonIDsResponse)(nil), "lnrpc.ListMacaroonIDsResponse") - proto.RegisterType((*DeleteMacaroonIDRequest)(nil), "lnrpc.DeleteMacaroonIDRequest") - proto.RegisterType((*DeleteMacaroonIDResponse)(nil), "lnrpc.DeleteMacaroonIDResponse") - proto.RegisterType((*MacaroonPermissionList)(nil), "lnrpc.MacaroonPermissionList") - proto.RegisterType((*ListPermissionsRequest)(nil), "lnrpc.ListPermissionsRequest") - proto.RegisterType((*ListPermissionsResponse)(nil), "lnrpc.ListPermissionsResponse") - proto.RegisterMapType((map[string]*MacaroonPermissionList)(nil), "lnrpc.ListPermissionsResponse.MethodPermissionsEntry") - proto.RegisterType((*Failure)(nil), "lnrpc.Failure") - proto.RegisterType((*ChannelUpdate)(nil), "lnrpc.ChannelUpdate") - proto.RegisterType((*MacaroonId)(nil), "lnrpc.MacaroonId") - proto.RegisterType((*Op)(nil), "lnrpc.Op") +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"` } -func init() { proto.RegisterFile("rpc.proto", fileDescriptor_77a6da22d6a3feb1) } +func (x *PendingChannelsResponse_PendingChannel) Reset() { + *x = PendingChannelsResponse_PendingChannel{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[170] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} -var fileDescriptor_77a6da22d6a3feb1 = []byte{ - // 12745 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0xbd, 0x5d, 0x6c, 0x23, 0x59, - 0x76, 0x18, 0xdc, 0xfc, 0x13, 0xc9, 0x43, 0x52, 0xa2, 0xae, 0xfe, 0xd8, 0xea, 0xe9, 0xe9, 0x9e, - 0x9a, 0xd9, 0x99, 0xde, 0x9e, 0x19, 0x4d, 0x4f, 0xcf, 0xf4, 0xfc, 0xec, 0x7c, 0x5e, 0x2f, 0x25, - 0x51, 0x2d, 0x6e, 0x4b, 0xa4, 0xb6, 0x48, 0xcd, 0xb8, 0x0d, 0xdb, 0xe5, 0x12, 0x79, 0x25, 0xd5, - 0xd7, 0x64, 0x15, 0xb7, 0xaa, 0xa8, 0x96, 0x36, 0x08, 0xe0, 0x07, 0xc7, 0x0e, 0x0c, 0x27, 0x80, - 0x81, 0x38, 0x40, 0x90, 0x18, 0x49, 0x90, 0x20, 0x79, 0x33, 0x0c, 0xd8, 0x79, 0x4a, 0x1e, 0xf2, - 0x14, 0x20, 0x40, 0x02, 0x23, 0x40, 0x8c, 0xfc, 0x3c, 0x24, 0x08, 0x90, 0x38, 0x40, 0x0c, 0xc4, - 0x06, 0xfc, 0x98, 0x04, 0x09, 0xee, 0xb9, 0x3f, 0x75, 0xeb, 0x47, 0xdd, 0x3d, 0xeb, 0xd9, 0x7d, - 0x91, 0x58, 0xe7, 0x9c, 0xfb, 0x7f, 0xef, 0xb9, 0xe7, 0x9c, 0x7b, 0xee, 0xb9, 0x50, 0xf5, 0x67, - 0xa3, 0xad, 0x99, 0xef, 0x85, 0x1e, 0x29, 0x4d, 0x5c, 0x7f, 0x36, 0x32, 0xfe, 0x38, 0x07, 0xc5, - 0xe3, 0xf0, 0xd2, 0x23, 0x8f, 0xa0, 0x6e, 0x8f, 0xc7, 0x3e, 0x0d, 0x02, 0x2b, 0xbc, 0x9a, 0xd1, - 0x56, 0xee, 0x6e, 0xee, 0xde, 0xe2, 0x43, 0xb2, 0x85, 0x64, 0x5b, 0x6d, 0x8e, 0x1a, 0x5e, 0xcd, - 0xa8, 0x59, 0xb3, 0xa3, 0x0f, 0xd2, 0x82, 0xb2, 0xf8, 0x6c, 0xe5, 0xef, 0xe6, 0xee, 0x55, 0x4d, - 0xf9, 0x49, 0x6e, 0x03, 0xd8, 0x53, 0x6f, 0xee, 0x86, 0x56, 0x60, 0x87, 0xad, 0xc2, 0xdd, 0xdc, - 0xbd, 0x82, 0x59, 0xe5, 0x90, 0x81, 0x1d, 0x92, 0x5b, 0x50, 0x9d, 0x3d, 0xb3, 0x82, 0x91, 0xef, - 0xcc, 0xc2, 0x56, 0x11, 0x93, 0x56, 0x66, 0xcf, 0x06, 0xf8, 0x4d, 0xde, 0x85, 0x8a, 0x37, 0x0f, - 0x67, 0x9e, 0xe3, 0x86, 0xad, 0xd2, 0xdd, 0xdc, 0xbd, 0xda, 0xc3, 0x25, 0x51, 0x91, 0xfe, 0x3c, - 0x3c, 0x62, 0x60, 0x53, 0x11, 0x90, 0xb7, 0xa0, 0x31, 0xf2, 0xdc, 0x53, 0xc7, 0x9f, 0xda, 0xa1, - 0xe3, 0xb9, 0x41, 0x6b, 0x01, 0xcb, 0x8a, 0x03, 0x8d, 0x7f, 0x91, 0x87, 0xda, 0xd0, 0xb7, 0xdd, - 0xc0, 0x1e, 0x31, 0x00, 0xd9, 0x80, 0x72, 0x78, 0x69, 0x9d, 0xdb, 0xc1, 0x39, 0x36, 0xb5, 0x6a, - 0x2e, 0x84, 0x97, 0xfb, 0x76, 0x70, 0x4e, 0xd6, 0x61, 0x81, 0xd7, 0x12, 0x1b, 0x54, 0x30, 0xc5, - 0x17, 0x79, 0x17, 0x96, 0xdd, 0xf9, 0xd4, 0x8a, 0x17, 0xc5, 0x9a, 0x55, 0x32, 0x9b, 0xee, 0x7c, - 0xba, 0xa3, 0xc3, 0x59, 0xe3, 0x4f, 0x26, 0xde, 0xe8, 0x19, 0x2f, 0x80, 0x37, 0xaf, 0x8a, 0x10, - 0x2c, 0xe3, 0x0d, 0xa8, 0x0b, 0x34, 0x75, 0xce, 0xce, 0x79, 0x1b, 0x4b, 0x66, 0x8d, 0x13, 0x20, - 0x88, 0xe5, 0x10, 0x3a, 0x53, 0x6a, 0x05, 0xa1, 0x3d, 0x9d, 0x89, 0x26, 0x55, 0x19, 0x64, 0xc0, - 0x00, 0x88, 0xf6, 0x42, 0x7b, 0x62, 0x9d, 0x52, 0x1a, 0xb4, 0xca, 0x02, 0xcd, 0x20, 0x7b, 0x94, - 0x06, 0xe4, 0x5b, 0xb0, 0x38, 0xa6, 0x41, 0x68, 0x89, 0xc1, 0xa0, 0x41, 0xab, 0x72, 0xb7, 0x70, - 0xaf, 0x6a, 0x36, 0x18, 0xb4, 0x2d, 0x81, 0xe4, 0x35, 0x00, 0xdf, 0x7e, 0x6e, 0xb1, 0x8e, 0xa0, - 0x97, 0xad, 0x2a, 0x1f, 0x05, 0xdf, 0x7e, 0x3e, 0xbc, 0xdc, 0xa7, 0x97, 0x64, 0x15, 0x4a, 0x13, - 0xfb, 0x84, 0x4e, 0x5a, 0x80, 0x08, 0xfe, 0x61, 0x84, 0xb0, 0xfe, 0x98, 0x86, 0x5a, 0x57, 0x06, - 0x26, 0xfd, 0xe1, 0x9c, 0x06, 0x21, 0x6b, 0x55, 0x10, 0xda, 0x7e, 0x28, 0x5b, 0x95, 0xe3, 0xad, - 0x42, 0x58, 0xd4, 0x2a, 0xea, 0x8e, 0x25, 0x41, 0x1e, 0x09, 0xaa, 0xd4, 0x1d, 0x0b, 0x34, 0x9b, - 0x4d, 0xa3, 0x11, 0x76, 0x7e, 0x41, 0xcc, 0x26, 0xfe, 0x69, 0x1c, 0x00, 0xd1, 0x8a, 0xdc, 0xa5, - 0xa1, 0xed, 0x4c, 0x02, 0xf2, 0x09, 0xd4, 0x43, 0xad, 0x22, 0xad, 0xdc, 0xdd, 0xc2, 0xbd, 0x9a, - 0x9a, 0xb4, 0x5a, 0x02, 0x33, 0x46, 0x67, 0x9c, 0x43, 0x65, 0x8f, 0xd2, 0x03, 0x67, 0xea, 0x84, - 0x64, 0x1d, 0x4a, 0xa7, 0xce, 0x25, 0x1d, 0x63, 0x75, 0x0b, 0xfb, 0x37, 0x4c, 0xfe, 0x49, 0xee, - 0x00, 0xe0, 0x0f, 0x6b, 0xaa, 0xe6, 0xef, 0xfe, 0x0d, 0xb3, 0x8a, 0xb0, 0xc3, 0xc0, 0x0e, 0xc9, - 0x26, 0x94, 0x67, 0xd4, 0x1f, 0x51, 0x39, 0x53, 0xf6, 0x6f, 0x98, 0x12, 0xb0, 0x5d, 0x86, 0xd2, - 0x84, 0xe5, 0x6e, 0xfc, 0x8f, 0x12, 0xd4, 0x06, 0xd4, 0x1d, 0xcb, 0x3e, 0x22, 0x50, 0x64, 0x43, - 0x80, 0x85, 0xd5, 0x4d, 0xfc, 0x4d, 0xde, 0x84, 0x1a, 0x0e, 0x56, 0x10, 0xfa, 0x8e, 0x7b, 0xc6, - 0xd7, 0xd1, 0x76, 0xbe, 0x95, 0x33, 0x81, 0x81, 0x07, 0x08, 0x25, 0x4d, 0x28, 0xd8, 0x53, 0xb9, - 0x8e, 0xd8, 0x4f, 0x72, 0x13, 0x2a, 0xf6, 0x34, 0xe4, 0xd5, 0xab, 0x23, 0xb8, 0x6c, 0x4f, 0x43, - 0xac, 0xda, 0x1b, 0x50, 0x9f, 0xd9, 0x57, 0x53, 0xea, 0x86, 0xd1, 0x04, 0xac, 0x9b, 0x35, 0x01, - 0xc3, 0x29, 0xf8, 0x10, 0x56, 0x74, 0x12, 0x59, 0x78, 0x49, 0x15, 0xbe, 0xac, 0x51, 0x8b, 0x3a, - 0xbc, 0x03, 0x4b, 0x32, 0x8d, 0xcf, 0xdb, 0x83, 0x13, 0xb3, 0x6a, 0x2e, 0x0a, 0xb0, 0x6c, 0xe5, - 0x3d, 0x68, 0x9e, 0x3a, 0xae, 0x3d, 0xb1, 0x46, 0x93, 0xf0, 0xc2, 0x1a, 0xd3, 0x49, 0x68, 0xe3, - 0x1c, 0x2d, 0x99, 0x8b, 0x08, 0xdf, 0x99, 0x84, 0x17, 0xbb, 0x0c, 0x4a, 0xde, 0x83, 0xea, 0x29, - 0xa5, 0x16, 0x76, 0x56, 0xab, 0x12, 0x5b, 0xea, 0x72, 0x84, 0xcc, 0xca, 0xa9, 0x1c, 0xab, 0xf7, - 0xa0, 0xe9, 0xcd, 0xc3, 0x33, 0xcf, 0x71, 0xcf, 0xac, 0xd1, 0xb9, 0xed, 0x5a, 0xce, 0x18, 0x67, - 0x6d, 0x71, 0x3b, 0xff, 0x20, 0x67, 0x2e, 0x4a, 0xdc, 0xce, 0xb9, 0xed, 0x76, 0xc7, 0xe4, 0x6d, - 0x58, 0x9a, 0xd8, 0x41, 0x68, 0x9d, 0x7b, 0x33, 0x6b, 0x36, 0x3f, 0x79, 0x46, 0xaf, 0x5a, 0x0d, - 0xec, 0x88, 0x06, 0x03, 0xef, 0x7b, 0xb3, 0x23, 0x04, 0xb2, 0x49, 0x89, 0xf5, 0xe4, 0x95, 0x60, - 0x93, 0xbd, 0x61, 0x56, 0x19, 0x84, 0x17, 0xfa, 0x14, 0x56, 0x70, 0x78, 0x46, 0xf3, 0x20, 0xf4, - 0xa6, 0x96, 0x4f, 0x47, 0x9e, 0x3f, 0x0e, 0x5a, 0x35, 0x9c, 0x6b, 0xdf, 0x16, 0x95, 0xd5, 0xc6, - 0x78, 0x6b, 0x97, 0x06, 0xe1, 0x0e, 0x12, 0x9b, 0x9c, 0xb6, 0xe3, 0x86, 0xfe, 0x95, 0xb9, 0x3c, - 0x4e, 0xc2, 0xc9, 0x7b, 0x40, 0xec, 0xc9, 0xc4, 0x7b, 0x6e, 0x05, 0x74, 0x72, 0x6a, 0x89, 0x4e, - 0x6c, 0x2d, 0xde, 0xcd, 0xdd, 0xab, 0x98, 0x4d, 0xc4, 0x0c, 0xe8, 0xe4, 0xf4, 0x88, 0xc3, 0xc9, - 0x27, 0x80, 0xcb, 0xd7, 0x3a, 0xa5, 0x76, 0x38, 0xf7, 0x69, 0xd0, 0x5a, 0xba, 0x5b, 0xb8, 0xb7, - 0xf8, 0x70, 0x59, 0xf5, 0x17, 0x82, 0xb7, 0x9d, 0xd0, 0xac, 0x33, 0x3a, 0xf1, 0x1d, 0xe8, 0xb3, - 0x81, 0xf1, 0x83, 0x56, 0x33, 0x36, 0x1b, 0x18, 0x37, 0xd8, 0xdc, 0x85, 0xf5, 0xec, 0x5a, 0xb3, - 0x79, 0xc7, 0x3a, 0x8e, 0xcd, 0xd7, 0xa2, 0xc9, 0x7e, 0x32, 0xb6, 0x70, 0x61, 0x4f, 0xe6, 0x14, - 0x27, 0x6a, 0xdd, 0xe4, 0x1f, 0xdf, 0xc9, 0x7f, 0x96, 0x33, 0xfe, 0x20, 0x07, 0x75, 0xde, 0x11, - 0xc1, 0xcc, 0x73, 0x03, 0x4a, 0xde, 0x84, 0x86, 0x2c, 0x99, 0xfa, 0xbe, 0xe7, 0x0b, 0x56, 0x2b, - 0xab, 0xd3, 0x61, 0x30, 0xf2, 0x6d, 0x68, 0x4a, 0xa2, 0x99, 0x4f, 0x9d, 0xa9, 0x7d, 0x26, 0xb3, - 0x96, 0xb3, 0xed, 0x48, 0x80, 0xc9, 0x87, 0x51, 0x7e, 0xbe, 0x37, 0x0f, 0x29, 0x2e, 0x87, 0xda, - 0xc3, 0xba, 0xe8, 0x01, 0x93, 0xc1, 0x54, 0xee, 0xf8, 0xf5, 0x0a, 0x4b, 0xc1, 0xf8, 0xed, 0x1c, - 0x10, 0x56, 0xed, 0xa1, 0xc7, 0x33, 0x88, 0xd8, 0x59, 0x2c, 0x65, 0xee, 0x95, 0x17, 0x51, 0xfe, - 0x45, 0x8b, 0xc8, 0x80, 0x12, 0xaf, 0x7b, 0x31, 0xa3, 0xee, 0x1c, 0xf5, 0xfd, 0x62, 0xa5, 0xd0, - 0x2c, 0x1a, 0xff, 0xb1, 0x00, 0xab, 0x6c, 0x2a, 0xbb, 0x74, 0xd2, 0x1e, 0x8d, 0xe8, 0x4c, 0x2d, - 0xaf, 0x3b, 0x50, 0x73, 0xbd, 0x31, 0x95, 0x93, 0x9a, 0x57, 0x0c, 0x18, 0x48, 0x9b, 0xd1, 0xe7, - 0xb6, 0xe3, 0xf2, 0x8a, 0xf3, 0xce, 0xac, 0x22, 0x04, 0xab, 0xfd, 0x36, 0x2c, 0xcd, 0xa8, 0x3b, - 0xd6, 0x57, 0x51, 0x81, 0x2f, 0x0c, 0x01, 0x16, 0x0b, 0xe8, 0x0e, 0xd4, 0x4e, 0xe7, 0x9c, 0x8e, - 0xf1, 0x9e, 0x22, 0xce, 0x01, 0x10, 0xa0, 0x36, 0x67, 0x41, 0xb3, 0x79, 0x70, 0x8e, 0xd8, 0x12, - 0x62, 0xcb, 0xec, 0x9b, 0xa1, 0x6e, 0x03, 0x8c, 0xe7, 0x41, 0x28, 0x16, 0xd5, 0x02, 0x22, 0xab, - 0x0c, 0xc2, 0x17, 0xd5, 0xfb, 0xb0, 0x32, 0xb5, 0x2f, 0x2d, 0x9c, 0x3b, 0x96, 0xe3, 0x5a, 0xa7, - 0x13, 0xdc, 0x11, 0xca, 0x48, 0xd7, 0x9c, 0xda, 0x97, 0x5f, 0x32, 0x4c, 0xd7, 0xdd, 0x43, 0x38, - 0xe3, 0x3c, 0x23, 0xde, 0x13, 0x96, 0x4f, 0x03, 0xea, 0x5f, 0x50, 0x64, 0x16, 0x45, 0x73, 0x51, - 0x80, 0x4d, 0x0e, 0x65, 0x35, 0x9a, 0xb2, 0x76, 0x87, 0x93, 0x11, 0xe7, 0x0c, 0x66, 0x79, 0xea, - 0xb8, 0xfb, 0xe1, 0x64, 0xc4, 0x36, 0x3b, 0xc6, 0x6a, 0x66, 0xd4, 0xb7, 0x9e, 0x3d, 0xc7, 0x65, - 0x5e, 0x44, 0xd6, 0x72, 0x44, 0xfd, 0x27, 0xcf, 0x99, 0x3c, 0x32, 0x0a, 0x90, 0x57, 0xd9, 0x57, - 0xad, 0x1a, 0xf2, 0x80, 0xca, 0x28, 0x60, 0x5c, 0xca, 0xbe, 0x62, 0xeb, 0x94, 0xd5, 0xd6, 0xc6, - 0x51, 0xa0, 0x63, 0xcc, 0x3e, 0x40, 0xa6, 0xdb, 0xc0, 0xca, 0xb6, 0x05, 0x82, 0x95, 0x13, 0xb0, - 0x59, 0x2f, 0x2b, 0x7b, 0x3a, 0xb1, 0xcf, 0x02, 0xe4, 0x3a, 0x0d, 0xb3, 0x2e, 0x80, 0x7b, 0x0c, - 0x66, 0xfc, 0x79, 0x1e, 0xd6, 0x12, 0x83, 0x2b, 0x16, 0x0d, 0x13, 0x40, 0x10, 0x82, 0x03, 0x5b, - 0x31, 0xc5, 0x57, 0xd6, 0xa8, 0xe5, 0xb3, 0x46, 0x6d, 0x15, 0x4a, 0x7c, 0xb1, 0xf1, 0x2d, 0x94, - 0x7f, 0xb0, 0x55, 0x36, 0x9f, 0x9d, 0xfa, 0x1e, 0x93, 0xc7, 0xce, 0xe7, 0xe1, 0xd8, 0x7b, 0xee, - 0x0a, 0xb9, 0x64, 0x49, 0xc0, 0x07, 0x02, 0x1c, 0xef, 0x8a, 0x52, 0xa2, 0x2b, 0xee, 0x40, 0x4d, - 0x8c, 0x00, 0xca, 0x75, 0x7c, 0x60, 0x41, 0x80, 0x98, 0x60, 0xf7, 0x2e, 0x10, 0x35, 0x9e, 0x16, - 0xeb, 0x35, 0xdc, 0xa0, 0xf8, 0xc0, 0x2e, 0x39, 0x62, 0x40, 0x0f, 0xed, 0x4b, 0xdc, 0xa8, 0xde, - 0x82, 0x45, 0x46, 0xc2, 0xfa, 0xd3, 0xe2, 0xfb, 0x7e, 0x85, 0xf7, 0xd5, 0xd4, 0xbe, 0x64, 0x9d, - 0xb9, 0x83, 0xa2, 0xd7, 0xeb, 0x50, 0x93, 0x83, 0x6a, 0x39, 0xae, 0x18, 0xd7, 0xaa, 0x18, 0xd7, - 0xae, 0xcb, 0xb6, 0x1b, 0x86, 0xe7, 0xfd, 0x64, 0x8d, 0xe9, 0x2c, 0x3c, 0x17, 0x6c, 0x7c, 0x71, - 0xea, 0xb8, 0xbc, 0x7b, 0x77, 0x19, 0xd4, 0xf8, 0x9d, 0x1c, 0xd4, 0x45, 0xaf, 0xa3, 0x18, 0x49, - 0xb6, 0x80, 0xc8, 0x29, 0x1e, 0x5e, 0x3a, 0x63, 0xeb, 0xe4, 0x2a, 0xa4, 0x01, 0x5f, 0x51, 0xfb, - 0x37, 0xcc, 0xa6, 0xc0, 0x0d, 0x2f, 0x9d, 0xf1, 0x36, 0xc3, 0x90, 0xfb, 0xd0, 0x8c, 0xd1, 0x07, - 0xa1, 0xcf, 0x97, 0xfb, 0xfe, 0x0d, 0x73, 0x51, 0xa3, 0x1e, 0x84, 0x3e, 0x63, 0x20, 0x4c, 0x48, - 0x9d, 0x87, 0x96, 0xe3, 0x8e, 0xe9, 0x25, 0x8e, 0x47, 0xc3, 0xac, 0x71, 0x58, 0x97, 0x81, 0xb6, - 0x17, 0xa1, 0xae, 0x67, 0x67, 0x9c, 0x41, 0x45, 0x4a, 0xb8, 0x28, 0xe2, 0x25, 0xaa, 0x64, 0x56, - 0x43, 0x55, 0x93, 0x9b, 0x50, 0x89, 0xd7, 0xc0, 0x2c, 0x87, 0xaf, 0x5c, 0xb0, 0xf1, 0x5d, 0x68, - 0x1e, 0xb0, 0x81, 0x70, 0xd9, 0x4a, 0x16, 0x12, 0xfb, 0x3a, 0x2c, 0x68, 0x1c, 0xa5, 0x6a, 0x8a, - 0x2f, 0x26, 0xb3, 0x9c, 0x7b, 0x41, 0x28, 0x4a, 0xc1, 0xdf, 0xc6, 0x6f, 0xe5, 0x81, 0x74, 0x82, - 0xd0, 0x99, 0xda, 0x21, 0xdd, 0xa3, 0x8a, 0x67, 0xf6, 0xa1, 0xce, 0x72, 0x1b, 0x7a, 0x6d, 0x2e, - 0x42, 0x73, 0x81, 0xec, 0x5d, 0xc1, 0xe3, 0xd2, 0x09, 0xb6, 0x74, 0x6a, 0xbe, 0x4d, 0xc6, 0x32, - 0x60, 0xd3, 0x2d, 0xb4, 0xfd, 0x33, 0x1a, 0xa2, 0xe0, 0x2d, 0x24, 0x46, 0xe0, 0x20, 0x26, 0x72, - 0xb3, 0xc9, 0xca, 0xc6, 0x9e, 0x61, 0xa5, 0x38, 0xce, 0x38, 0x00, 0xc3, 0x05, 0x4c, 0x66, 0x0f, - 0xd8, 0xe2, 0xb0, 0xe6, 0xae, 0x90, 0xdb, 0xe9, 0x18, 0x67, 0x7d, 0xc5, 0x6c, 0x22, 0xe2, 0x38, - 0x82, 0x6f, 0xfe, 0x2c, 0x2c, 0xa7, 0x6a, 0xa3, 0x6f, 0x7f, 0xd5, 0x8c, 0xed, 0xaf, 0xa0, 0x6f, - 0x7f, 0xbf, 0x9e, 0x83, 0x95, 0x58, 0x13, 0xc5, 0x82, 0xde, 0x80, 0x32, 0x63, 0x3c, 0x6c, 0x19, - 0xe4, 0xb8, 0x4a, 0x71, 0x4a, 0x71, 0xa9, 0x7c, 0x04, 0xab, 0xa7, 0x94, 0xfa, 0x76, 0x88, 0x48, - 0xe4, 0x4c, 0x6c, 0xb0, 0x79, 0xce, 0x7c, 0xff, 0x10, 0xf8, 0x81, 0x1d, 0x1e, 0x51, 0x9f, 0x0d, - 0x3c, 0x31, 0xa0, 0x21, 0x89, 0x2f, 0x90, 0xba, 0x80, 0xcb, 0xa1, 0x16, 0x20, 0xc9, 0x97, 0x0c, - 0x64, 0xfc, 0x49, 0x1e, 0x96, 0xd8, 0x8e, 0x76, 0x68, 0xbb, 0x57, 0x72, 0x68, 0x0e, 0x32, 0x87, - 0xe6, 0x9e, 0x26, 0xbf, 0x68, 0xd4, 0x5f, 0x77, 0x5c, 0x0a, 0xa9, 0x71, 0x49, 0x55, 0xb3, 0x98, - 0xaa, 0x26, 0x79, 0x0b, 0xea, 0xb1, 0x76, 0x97, 0x54, 0xbb, 0x21, 0x88, 0x1a, 0xac, 0xd4, 0x90, - 0x05, 0x4d, 0x0d, 0x89, 0x8f, 0x7b, 0xf9, 0x55, 0xc6, 0xbd, 0xf2, 0x93, 0x1a, 0xf7, 0xb7, 0xa1, - 0x19, 0x75, 0x9f, 0x18, 0x73, 0x02, 0x45, 0xb6, 0x1a, 0x45, 0x06, 0xf8, 0xdb, 0xf8, 0x87, 0x79, - 0x4e, 0xb8, 0xe3, 0x39, 0x91, 0xd2, 0x44, 0xa0, 0x88, 0x42, 0x99, 0x20, 0x64, 0xbf, 0xaf, 0x55, - 0x41, 0x7f, 0x8a, 0x9d, 0x7e, 0x13, 0x2a, 0x01, 0xeb, 0x40, 0x7b, 0xc2, 0xfb, 0xbd, 0x62, 0x96, - 0xd9, 0x77, 0x7b, 0x32, 0x89, 0xc6, 0xa3, 0x7c, 0xed, 0x78, 0x54, 0x5e, 0x65, 0x3c, 0xaa, 0xd9, - 0xe3, 0x61, 0xbc, 0x03, 0xcb, 0x5a, 0x2f, 0xbd, 0xa0, 0x3f, 0xcf, 0x81, 0x1c, 0x38, 0x41, 0x78, - 0xec, 0xb2, 0x2c, 0x94, 0x70, 0x14, 0xab, 0x48, 0x2e, 0x51, 0x11, 0x86, 0xb4, 0x2f, 0x05, 0x32, - 0x2f, 0x90, 0xf6, 0x25, 0x47, 0x5e, 0xaf, 0x7d, 0x7e, 0x06, 0x2b, 0xb1, 0x92, 0x44, 0xa5, 0xde, - 0x80, 0xd2, 0x3c, 0xbc, 0xf4, 0xa4, 0xde, 0x59, 0x13, 0x6b, 0xe9, 0x38, 0xbc, 0xf4, 0x4c, 0x8e, - 0x31, 0x8e, 0x61, 0xb9, 0x47, 0x9f, 0x0b, 0x0e, 0x2b, 0xab, 0xf8, 0x36, 0x14, 0x5f, 0x62, 0x63, - 0x41, 0xbc, 0x5e, 0xa1, 0x7c, 0xbc, 0x42, 0x5b, 0x40, 0xf4, 0x6c, 0x45, 0x7d, 0x34, 0x63, 0x4c, - 0x2e, 0x66, 0x8c, 0x31, 0xde, 0x06, 0x32, 0x70, 0xce, 0xdc, 0x43, 0x1a, 0x04, 0xf6, 0x99, 0xe2, - 0xd6, 0x4d, 0x28, 0x4c, 0x83, 0x33, 0xb1, 0xb5, 0xb0, 0x9f, 0xc6, 0x47, 0xb0, 0x12, 0xa3, 0x13, - 0x19, 0xbf, 0x06, 0xd5, 0xc0, 0x39, 0x73, 0x51, 0x9f, 0x10, 0x59, 0x47, 0x00, 0x63, 0x0f, 0x56, - 0xbf, 0xa4, 0xbe, 0x73, 0x7a, 0xf5, 0xb2, 0xec, 0xe3, 0xf9, 0xe4, 0x93, 0xf9, 0x74, 0x60, 0x2d, - 0x91, 0x8f, 0x28, 0x9e, 0x2f, 0x3d, 0x31, 0xfa, 0x15, 0x93, 0x7f, 0x68, 0xdb, 0x55, 0x5e, 0xdf, - 0xae, 0x0c, 0x0f, 0xc8, 0x8e, 0xe7, 0xba, 0x74, 0x14, 0x1e, 0x51, 0xea, 0xcb, 0xca, 0xbc, 0xab, - 0xad, 0xb3, 0xda, 0xc3, 0x0d, 0xd1, 0xe7, 0xc9, 0x3d, 0x50, 0x2c, 0x40, 0x02, 0xc5, 0x19, 0xf5, - 0xa7, 0x98, 0x71, 0xc5, 0xc4, 0xdf, 0xac, 0x73, 0x43, 0x67, 0x4a, 0xbd, 0x79, 0x28, 0x38, 0xae, - 0xfc, 0x34, 0xd6, 0x60, 0x25, 0x56, 0x20, 0xaf, 0xb5, 0xf1, 0x00, 0xd6, 0x76, 0x9d, 0x60, 0x94, - 0xae, 0xca, 0x06, 0x94, 0x67, 0xf3, 0x13, 0x2b, 0xbe, 0xd1, 0x3e, 0xa1, 0x57, 0x46, 0x0b, 0xd6, - 0x93, 0x29, 0x44, 0x5e, 0xbf, 0x96, 0x87, 0xe2, 0xfe, 0xf0, 0x60, 0x87, 0x6c, 0x42, 0xc5, 0x71, - 0x47, 0xde, 0x94, 0xa9, 0x19, 0xbc, 0x37, 0xd4, 0xf7, 0xb5, 0x6c, 0xe3, 0x16, 0x54, 0x51, 0x3b, - 0x99, 0x78, 0xa3, 0x67, 0x42, 0xd0, 0xaf, 0x30, 0xc0, 0x81, 0x37, 0x7a, 0xc6, 0x96, 0x26, 0xbd, - 0x9c, 0x39, 0x3e, 0x1a, 0xae, 0xa4, 0x61, 0xa6, 0xc8, 0x25, 0xdb, 0x08, 0x11, 0x99, 0x6f, 0x84, - 0x10, 0xc6, 0xc4, 0x0a, 0x2e, 0xf1, 0x57, 0xcf, 0x51, 0x08, 0x1b, 0xd3, 0x4b, 0xf2, 0x3e, 0x90, - 0x53, 0xcf, 0x7f, 0x6e, 0xfb, 0x4a, 0x48, 0x75, 0x05, 0xdb, 0x2e, 0x9a, 0xcb, 0x11, 0x46, 0x08, - 0x60, 0xe4, 0x21, 0xac, 0x69, 0xe4, 0x5a, 0xc6, 0x5c, 0x58, 0x5c, 0x89, 0x90, 0xfb, 0xb2, 0x08, - 0xe3, 0x57, 0xf3, 0x40, 0x44, 0xfa, 0x1d, 0xcf, 0x0d, 0x42, 0xdf, 0x76, 0xdc, 0x30, 0x88, 0x8b, - 0xac, 0xb9, 0x84, 0xc8, 0x7a, 0x0f, 0x9a, 0x28, 0x30, 0xeb, 0x72, 0x6b, 0x3e, 0xd2, 0x1e, 0xcc, - 0x48, 0x76, 0x7d, 0x0b, 0x16, 0x23, 0xa5, 0x45, 0xd9, 0x2d, 0x8b, 0x66, 0x5d, 0x29, 0x2e, 0x8c, - 0xea, 0x03, 0x58, 0x65, 0x4c, 0x44, 0x0a, 0xe3, 0xca, 0x08, 0xc3, 0x99, 0xed, 0xf2, 0xd4, 0xbe, - 0x3c, 0xa2, 0x52, 0x45, 0x42, 0x29, 0xd7, 0x80, 0x86, 0x92, 0x5f, 0x91, 0x92, 0xf7, 0x5c, 0x4d, - 0x48, 0xb0, 0x48, 0x93, 0xad, 0x62, 0x2c, 0x64, 0xab, 0x18, 0xc6, 0xbf, 0xab, 0x42, 0x59, 0x76, - 0x23, 0xea, 0x0b, 0xa1, 0x73, 0x41, 0x23, 0x7d, 0x81, 0x7d, 0x31, 0x35, 0xc4, 0xa7, 0x53, 0x2f, - 0x54, 0x7a, 0x22, 0x5f, 0x26, 0x75, 0x0e, 0x14, 0x9a, 0xa2, 0xa6, 0xab, 0x70, 0x73, 0x2b, 0xe7, - 0x7c, 0x52, 0x57, 0xe1, 0x92, 0xe8, 0x2d, 0x28, 0x4b, 0x8d, 0xa3, 0xa8, 0xac, 0x2d, 0x0b, 0x23, - 0xae, 0x6e, 0x6c, 0x42, 0x65, 0x64, 0xcf, 0xec, 0x91, 0x13, 0x72, 0x65, 0xa1, 0x60, 0xaa, 0x6f, - 0x96, 0xfb, 0xc4, 0x1b, 0xd9, 0x13, 0xeb, 0xc4, 0x9e, 0xd8, 0xee, 0x88, 0x0a, 0x3b, 0x66, 0x1d, - 0x81, 0xdb, 0x1c, 0x46, 0xbe, 0x05, 0x8b, 0xa2, 0x9e, 0x92, 0x8a, 0x9b, 0x33, 0x45, 0xed, 0x25, - 0x19, 0xd3, 0x69, 0xbd, 0x29, 0x1b, 0x97, 0x53, 0xca, 0xb5, 0xbf, 0x82, 0x59, 0xe5, 0x90, 0x3d, - 0x8a, 0xad, 0x15, 0xe8, 0xe7, 0x7c, 0x0e, 0x57, 0x79, 0x51, 0x1c, 0xf8, 0x15, 0x9f, 0xbf, 0x69, - 0x15, 0xb0, 0xa0, 0xa9, 0x80, 0xef, 0xc2, 0xf2, 0xdc, 0x0d, 0x68, 0x18, 0x4e, 0xe8, 0x58, 0xd5, - 0xa5, 0x86, 0x44, 0x4d, 0x85, 0x90, 0xd5, 0xd9, 0x82, 0x15, 0x6e, 0x80, 0x0d, 0xec, 0xd0, 0x0b, - 0xce, 0x9d, 0xc0, 0x0a, 0xa8, 0x2b, 0x0d, 0x71, 0xcb, 0x88, 0x1a, 0x08, 0xcc, 0x80, 0x1b, 0x6f, - 0x36, 0x12, 0xf4, 0x3e, 0x1d, 0x51, 0xe7, 0x82, 0x8e, 0x51, 0x3d, 0x2c, 0x98, 0x6b, 0xb1, 0x34, - 0xa6, 0x40, 0xa2, 0xae, 0x3f, 0x9f, 0x5a, 0xf3, 0xd9, 0xd8, 0x66, 0x6a, 0xc0, 0x22, 0xd7, 0xb7, - 0xdc, 0xf9, 0xf4, 0x98, 0x43, 0xc8, 0x03, 0x90, 0xfa, 0x9f, 0x98, 0x33, 0x4b, 0xb1, 0xcd, 0x88, - 0x71, 0x0d, 0xb3, 0x2e, 0x28, 0xb8, 0x7e, 0x7a, 0x47, 0x5f, 0x2c, 0x4d, 0x36, 0xc3, 0x70, 0xfb, - 0x8f, 0x16, 0x4c, 0x0b, 0xca, 0x33, 0xdf, 0xb9, 0xb0, 0x43, 0xda, 0x5a, 0xe6, 0x7b, 0xbf, 0xf8, - 0x64, 0x0c, 0xdc, 0x71, 0x9d, 0xd0, 0xb1, 0x43, 0xcf, 0x6f, 0x11, 0xc4, 0x45, 0x00, 0x72, 0x1f, - 0x96, 0x71, 0x9e, 0x04, 0xa1, 0x1d, 0xce, 0x03, 0xa1, 0xfc, 0xae, 0x70, 0x25, 0x93, 0x21, 0x06, - 0x08, 0x47, 0xfd, 0x97, 0x7c, 0x0a, 0xeb, 0x7c, 0x6a, 0xa4, 0x96, 0xe6, 0xaa, 0x12, 0x48, 0x56, - 0x90, 0x62, 0x27, 0xbe, 0x46, 0x3f, 0x87, 0x0d, 0x31, 0x5d, 0x52, 0x29, 0xd7, 0x54, 0xca, 0x55, - 0x4e, 0x92, 0x48, 0xba, 0x05, 0xcb, 0xac, 0x6a, 0xce, 0xc8, 0x12, 0x39, 0xb0, 0x55, 0xb1, 0xce, - 0x5a, 0x81, 0x89, 0x96, 0x38, 0xd2, 0x44, 0xdc, 0x13, 0x7a, 0x45, 0xbe, 0x0b, 0x4b, 0x7c, 0xfa, - 0xa0, 0x85, 0x07, 0xb7, 0xec, 0x4d, 0xdc, 0xb2, 0xd7, 0x44, 0xe7, 0xee, 0x28, 0x2c, 0xee, 0xda, - 0x8b, 0xa3, 0xd8, 0x37, 0x5b, 0x1a, 0x13, 0xe7, 0x94, 0xb2, 0x7d, 0xa2, 0xb5, 0xc1, 0x27, 0x9b, - 0xfc, 0x66, 0xab, 0x76, 0x3e, 0x43, 0x4c, 0x8b, 0x33, 0x6b, 0xfe, 0x85, 0xf3, 0x78, 0xe2, 0x05, - 0x54, 0x9a, 0xee, 0x5b, 0x37, 0xc5, 0x82, 0x64, 0x40, 0xa9, 0xa9, 0xbd, 0x0d, 0x4b, 0xc2, 0xee, - 0xa2, 0x0e, 0x58, 0x6e, 0xe1, 0xc4, 0x68, 0x70, 0xf3, 0x8b, 0x3c, 0x64, 0x61, 0x02, 0xe3, 0xb9, - 0xfd, 0x5c, 0xb2, 0xf5, 0xd7, 0x90, 0x9b, 0x00, 0x03, 0x09, 0x86, 0xbe, 0x07, 0xcb, 0x62, 0x14, - 0x22, 0x66, 0xda, 0xba, 0x8d, 0x5b, 0xe4, 0x4d, 0xd9, 0xc6, 0x14, 0xb7, 0x35, 0x9b, 0x7c, 0x5c, - 0x34, 0xfe, 0xbb, 0x0f, 0x44, 0x0e, 0x8a, 0x96, 0xd1, 0xeb, 0x2f, 0xcb, 0x68, 0x59, 0x0c, 0x53, - 0x04, 0x32, 0x7e, 0x3f, 0xc7, 0x65, 0x2d, 0x41, 0x1d, 0x68, 0x36, 0x2f, 0xce, 0xd7, 0x2c, 0xcf, - 0x9d, 0x5c, 0x09, 0x56, 0x07, 0x1c, 0xd4, 0x77, 0x27, 0xc8, 0x6b, 0x1c, 0x57, 0x27, 0xe1, 0x9b, - 0x77, 0x5d, 0x02, 0x91, 0xe8, 0x0e, 0xd4, 0x66, 0xf3, 0x93, 0x89, 0x33, 0xe2, 0x24, 0x05, 0x9e, - 0x0b, 0x07, 0x21, 0xc1, 0x1b, 0x50, 0x17, 0x73, 0x9d, 0x53, 0x70, 0x65, 0xb1, 0x26, 0x60, 0x48, - 0x82, 0xc2, 0x01, 0xf5, 0x91, 0xd9, 0xd5, 0x4d, 0xfc, 0x6d, 0x6c, 0xc3, 0x6a, 0xbc, 0xd2, 0x42, - 0x72, 0xb9, 0x0f, 0x15, 0xc1, 0x49, 0xa5, 0xc1, 0x78, 0x31, 0xde, 0x1b, 0xa6, 0xc2, 0x1b, 0xff, - 0xbe, 0x04, 0x2b, 0xb2, 0x8f, 0xd8, 0x60, 0x0f, 0xe6, 0xd3, 0xa9, 0xed, 0x67, 0xb0, 0xe8, 0xdc, - 0x8b, 0x59, 0x74, 0x3e, 0xc5, 0xa2, 0xe3, 0xe6, 0x40, 0xce, 0xe1, 0xe3, 0xe6, 0x40, 0x36, 0xbb, - 0xb8, 0x11, 0x42, 0x3f, 0xb1, 0x6a, 0x08, 0xf0, 0x90, 0x9f, 0x8c, 0xa5, 0x36, 0x94, 0x52, 0xc6, - 0x86, 0xa2, 0x6f, 0x07, 0x0b, 0x89, 0xed, 0xe0, 0x0d, 0xe0, 0xd3, 0x58, 0xce, 0xc7, 0x32, 0xb7, - 0x4b, 0x20, 0x4c, 0x4c, 0xc8, 0x77, 0x60, 0x29, 0xc9, 0x81, 0x39, 0xab, 0x5f, 0xcc, 0xe0, 0xbf, - 0xce, 0x94, 0xa2, 0x50, 0xa3, 0x11, 0x57, 0x05, 0xff, 0x75, 0xa6, 0xf4, 0x00, 0x31, 0x92, 0xbe, - 0x03, 0xc0, 0xcb, 0xc6, 0x65, 0x0c, 0xb8, 0x8c, 0xdf, 0x4e, 0xcc, 0x4c, 0xad, 0xd7, 0xb7, 0xd8, - 0xc7, 0xdc, 0xa7, 0xb8, 0xae, 0xab, 0x98, 0x12, 0x97, 0xf4, 0xa7, 0xb0, 0xe8, 0xcd, 0xa8, 0x6b, - 0x45, 0x5c, 0xb0, 0x86, 0x59, 0x35, 0x45, 0x56, 0x5d, 0x09, 0x37, 0x1b, 0x8c, 0x4e, 0x7d, 0x92, - 0xcf, 0x79, 0x27, 0x53, 0x2d, 0x65, 0xfd, 0x9a, 0x94, 0x8b, 0x48, 0x18, 0x25, 0xfd, 0x08, 0x4d, - 0x6e, 0xde, 0x64, 0xce, 0x0f, 0xb9, 0x1a, 0x38, 0x8f, 0xa4, 0xd5, 0xdf, 0x54, 0x18, 0x53, 0xa7, - 0x32, 0x7e, 0x23, 0x07, 0x35, 0xad, 0x0d, 0x64, 0x0d, 0x96, 0x77, 0xfa, 0xfd, 0xa3, 0x8e, 0xd9, - 0x1e, 0x76, 0xbf, 0xec, 0x58, 0x3b, 0x07, 0xfd, 0x41, 0xa7, 0x79, 0x83, 0x81, 0x0f, 0xfa, 0x3b, - 0xed, 0x03, 0x6b, 0xaf, 0x6f, 0xee, 0x48, 0x70, 0x8e, 0xac, 0x03, 0x31, 0x3b, 0x87, 0xfd, 0x61, - 0x27, 0x06, 0xcf, 0x93, 0x26, 0xd4, 0xb7, 0xcd, 0x4e, 0x7b, 0x67, 0x5f, 0x40, 0x0a, 0x64, 0x15, - 0x9a, 0x7b, 0xc7, 0xbd, 0xdd, 0x6e, 0xef, 0xb1, 0xb5, 0xd3, 0xee, 0xed, 0x74, 0x0e, 0x3a, 0xbb, - 0xcd, 0x22, 0x69, 0x40, 0xb5, 0xbd, 0xdd, 0xee, 0xed, 0xf6, 0x7b, 0x9d, 0xdd, 0x66, 0xc9, 0xf8, - 0x93, 0x1c, 0x40, 0x54, 0x51, 0xc6, 0x57, 0xa3, 0xaa, 0xea, 0xc7, 0xcd, 0x6b, 0xa9, 0x46, 0x71, - 0xbe, 0xea, 0xc7, 0xbe, 0xc9, 0x43, 0x28, 0x7b, 0xf3, 0x70, 0xe4, 0x4d, 0xb9, 0x12, 0xb1, 0xf8, - 0xb0, 0x95, 0x4a, 0xd7, 0xe7, 0x78, 0x53, 0x12, 0xc6, 0x8e, 0x94, 0x0b, 0x2f, 0x3b, 0x52, 0x8e, - 0x9f, 0x5d, 0x73, 0xb9, 0x4e, 0x3b, 0xbb, 0xbe, 0x0d, 0x10, 0x3c, 0xa7, 0x74, 0x86, 0x36, 0x3b, - 0xb1, 0x0a, 0xaa, 0x08, 0x19, 0x32, 0xbd, 0xf4, 0x3f, 0xe5, 0x60, 0x0d, 0xe7, 0xd2, 0x38, 0xc9, - 0xc4, 0xee, 0x42, 0x6d, 0xe4, 0x79, 0x33, 0xca, 0x84, 0x6a, 0x25, 0xaf, 0xe9, 0x20, 0xc6, 0xa0, - 0x38, 0x43, 0x3e, 0xf5, 0xfc, 0x11, 0x15, 0x3c, 0x0c, 0x10, 0xb4, 0xc7, 0x20, 0x6c, 0x0d, 0x89, - 0x45, 0xc8, 0x29, 0x38, 0x0b, 0xab, 0x71, 0x18, 0x27, 0x59, 0x87, 0x85, 0x13, 0x9f, 0xda, 0xa3, - 0x73, 0xc1, 0xbd, 0xc4, 0x17, 0xf9, 0x76, 0x64, 0xbb, 0x1c, 0xb1, 0x35, 0x31, 0xa1, 0xbc, 0xf2, - 0x15, 0x73, 0x49, 0xc0, 0x77, 0x04, 0x98, 0xed, 0xf3, 0xf6, 0x89, 0xed, 0x8e, 0x3d, 0x97, 0x8e, - 0x85, 0xfe, 0x1f, 0x01, 0x8c, 0x23, 0x58, 0x4f, 0xb6, 0x4f, 0xf0, 0xbb, 0x4f, 0x34, 0x7e, 0xc7, - 0x95, 0xe2, 0xcd, 0xeb, 0xd7, 0x98, 0xc6, 0xfb, 0xfe, 0x73, 0x11, 0x8a, 0x4c, 0xe1, 0xb9, 0x56, - 0x37, 0xd2, 0x75, 0xdb, 0x42, 0xca, 0xd1, 0x00, 0x4d, 0xa4, 0x5c, 0x00, 0x13, 0x83, 0x85, 0x10, - 0x14, 0xbc, 0x14, 0xda, 0xa7, 0xa3, 0x0b, 0xa9, 0xb3, 0x20, 0xc4, 0xa4, 0xa3, 0x0b, 0x34, 0x74, - 0xd8, 0x21, 0x4f, 0xcb, 0xf9, 0x55, 0x39, 0xb0, 0x43, 0x4c, 0x29, 0x50, 0x98, 0xae, 0xac, 0x50, - 0x98, 0xaa, 0x05, 0x65, 0xc7, 0x3d, 0xf1, 0xe6, 0xae, 0x34, 0x2b, 0xc9, 0x4f, 0xf4, 0x6b, 0x40, - 0x4e, 0xca, 0xb6, 0x76, 0xce, 0x8d, 0x2a, 0x0c, 0x30, 0x64, 0x9b, 0xfb, 0x87, 0x50, 0x0d, 0xae, - 0xdc, 0x91, 0xce, 0x83, 0x56, 0x45, 0xff, 0xb0, 0xd6, 0x6f, 0x0d, 0xae, 0xdc, 0x11, 0xce, 0xf8, - 0x4a, 0x20, 0x7e, 0x91, 0x47, 0x50, 0x51, 0xe7, 0x7d, 0x7c, 0x07, 0xb9, 0xa9, 0xa7, 0x90, 0x87, - 0x7c, 0xdc, 0x46, 0xa7, 0x48, 0xc9, 0x07, 0xb0, 0x80, 0x76, 0xff, 0xa0, 0x55, 0xc7, 0x44, 0x52, - 0xe1, 0x65, 0xd5, 0x40, 0x97, 0x02, 0x3a, 0xc6, 0xd3, 0x37, 0x53, 0x90, 0xb1, 0x6e, 0x3a, 0x9d, - 0xd8, 0x33, 0x61, 0x85, 0x6f, 0xf0, 0x93, 0x79, 0x06, 0xe1, 0x26, 0xf8, 0xbb, 0x50, 0xc7, 0xb3, - 0x54, 0xa4, 0x71, 0xb9, 0x1c, 0x5a, 0x30, 0x81, 0xc1, 0xf6, 0x26, 0xf6, 0xac, 0x17, 0x6c, 0x3e, - 0x81, 0x46, 0xac, 0x32, 0xba, 0x09, 0xad, 0xc1, 0x4d, 0x68, 0x6f, 0xe9, 0x26, 0xb4, 0x68, 0x2b, - 0x14, 0xc9, 0x74, 0x93, 0xda, 0x11, 0x54, 0x64, 0x5f, 0x30, 0x9e, 0x73, 0xdc, 0x7b, 0xd2, 0xeb, - 0x7f, 0xd5, 0xb3, 0x06, 0x4f, 0x7b, 0x3b, 0xcd, 0x1b, 0x64, 0x09, 0x6a, 0xed, 0x1d, 0x64, 0x63, - 0x08, 0xc8, 0x31, 0x92, 0xa3, 0xf6, 0x60, 0xa0, 0x20, 0x79, 0x46, 0x72, 0xd4, 0xed, 0xf5, 0x3a, - 0xbb, 0x1c, 0x50, 0x30, 0xf6, 0xa0, 0x99, 0x6c, 0x3b, 0x9b, 0xe5, 0xa1, 0x84, 0x89, 0x13, 0xce, - 0x08, 0x10, 0x9d, 0xa3, 0xe4, 0xb5, 0x73, 0x14, 0xe3, 0x11, 0x34, 0xd9, 0x4e, 0xcf, 0x3a, 0x5f, - 0x77, 0x7c, 0x98, 0x30, 0x59, 0x5c, 0x3f, 0xe5, 0xac, 0x98, 0x35, 0x0e, 0xc3, 0xa2, 0x8c, 0x4f, - 0x60, 0x59, 0x4b, 0x16, 0xd9, 0x8f, 0x98, 0xf4, 0x90, 0xb4, 0x1f, 0xa1, 0xe6, 0xcf, 0x31, 0xc6, - 0x06, 0xac, 0xb1, 0xcf, 0xce, 0x05, 0x75, 0xc3, 0xc1, 0xfc, 0x84, 0xfb, 0xcb, 0x38, 0x9e, 0x6b, - 0xfc, 0x6a, 0x0e, 0xaa, 0x0a, 0x73, 0xfd, 0xb2, 0xd9, 0x12, 0xa6, 0x26, 0xce, 0x27, 0x37, 0xb5, - 0x12, 0x30, 0xe1, 0x16, 0xfe, 0x8d, 0x4c, 0x4e, 0xc6, 0x16, 0x54, 0x15, 0x08, 0x3b, 0xb1, 0xd3, - 0x31, 0xad, 0x7e, 0xef, 0xa0, 0xdb, 0x63, 0xbb, 0x05, 0xeb, 0x67, 0x04, 0xec, 0xed, 0x21, 0x24, - 0x67, 0x34, 0x61, 0xf1, 0x31, 0x0d, 0xbb, 0xee, 0xa9, 0x27, 0x3a, 0xc3, 0xf8, 0xf5, 0x05, 0x58, - 0x52, 0xa0, 0xc8, 0x30, 0x75, 0x41, 0xfd, 0xc0, 0xf1, 0x5c, 0x9c, 0x38, 0x55, 0x53, 0x7e, 0x32, - 0x7e, 0x27, 0xd4, 0x36, 0x94, 0x3b, 0x56, 0x11, 0x2b, 0x14, 0x3d, 0x14, 0x3a, 0xde, 0x81, 0x25, - 0x67, 0x4c, 0xdd, 0xd0, 0x09, 0xaf, 0xac, 0xd8, 0xe9, 0xc4, 0xa2, 0x04, 0x0b, 0xc1, 0x63, 0x15, - 0x4a, 0xf6, 0xc4, 0xb1, 0xa5, 0x1f, 0x12, 0xff, 0x60, 0xd0, 0x91, 0x37, 0xf1, 0x7c, 0x54, 0x64, - 0xaa, 0x26, 0xff, 0x20, 0x0f, 0x60, 0x95, 0x29, 0x55, 0xfa, 0x71, 0x1a, 0xb2, 0x2c, 0x7e, 0x50, - 0x42, 0xdc, 0xf9, 0xf4, 0x28, 0x3a, 0x52, 0x63, 0x18, 0x26, 0x6e, 0xb0, 0x14, 0x42, 0xbe, 0x54, - 0x09, 0xb8, 0xa1, 0x64, 0xd9, 0x9d, 0x4f, 0xdb, 0x88, 0x51, 0xf4, 0x0f, 0x61, 0x8d, 0xd1, 0x2b, - 0x89, 0x54, 0xa5, 0x58, 0xc2, 0x14, 0x2c, 0xb3, 0xae, 0xc0, 0xa9, 0x34, 0xb7, 0xa0, 0xca, 0x6b, - 0xc5, 0xa6, 0x84, 0x38, 0x77, 0xc3, 0xaa, 0x50, 0x3f, 0x48, 0xb9, 0x0c, 0x71, 0xcb, 0x40, 0xd2, - 0x65, 0x48, 0x73, 0x3a, 0xaa, 0x24, 0x9d, 0x8e, 0x1e, 0xc2, 0xda, 0x09, 0x9b, 0xa3, 0xe7, 0xd4, - 0x1e, 0x53, 0xdf, 0x8a, 0x66, 0x3e, 0xd7, 0x3f, 0x57, 0x18, 0x72, 0x1f, 0x71, 0x6a, 0xa1, 0x30, - 0xd1, 0x90, 0x71, 0x22, 0x3a, 0xb6, 0x42, 0xcf, 0x42, 0x89, 0x51, 0x98, 0x6d, 0x1b, 0x1c, 0x3c, - 0xf4, 0x76, 0x18, 0x30, 0x4e, 0x77, 0xe6, 0xdb, 0xb3, 0x73, 0xa1, 0x1d, 0x2a, 0xba, 0xc7, 0x0c, - 0x48, 0x5e, 0x83, 0x32, 0x5b, 0x13, 0x2e, 0xe5, 0x7e, 0x16, 0x5c, 0xef, 0x92, 0x20, 0xf2, 0x16, - 0x2c, 0x60, 0x19, 0x41, 0xab, 0x89, 0x0b, 0xa2, 0x1e, 0xed, 0x1d, 0x8e, 0x6b, 0x0a, 0x1c, 0x93, - 0xbf, 0xe7, 0xbe, 0xc3, 0x19, 0x5b, 0xd5, 0xc4, 0xdf, 0xe4, 0x7b, 0x1a, 0x97, 0x5c, 0xc1, 0xb4, - 0x6f, 0x89, 0xb4, 0x89, 0xa9, 0x78, 0x1d, 0xc3, 0xfc, 0x46, 0xd9, 0xd7, 0xf7, 0x8b, 0x95, 0x5a, - 0xb3, 0x6e, 0xb4, 0xd0, 0x53, 0xca, 0xa4, 0x23, 0xef, 0x82, 0xfa, 0x57, 0xb1, 0x35, 0x92, 0x83, - 0x8d, 0x14, 0x2a, 0xf2, 0x99, 0xf0, 0x05, 0xdc, 0x9a, 0x7a, 0x63, 0x29, 0x25, 0xd4, 0x25, 0xf0, - 0xd0, 0x1b, 0x33, 0x69, 0x66, 0x59, 0x11, 0x9d, 0x3a, 0xae, 0x13, 0x9c, 0xd3, 0xb1, 0x10, 0x16, - 0x9a, 0x12, 0xb1, 0x27, 0xe0, 0x4c, 0x24, 0x9f, 0xf9, 0xde, 0x99, 0xda, 0x3b, 0x73, 0xa6, 0xfa, - 0x36, 0x3e, 0x85, 0x12, 0x1f, 0x41, 0xb6, 0x50, 0x70, 0x7c, 0x73, 0x62, 0xa1, 0x20, 0xb4, 0x05, - 0x65, 0x97, 0x86, 0xcf, 0x3d, 0xff, 0x99, 0xb4, 0x40, 0x8b, 0x4f, 0xe3, 0x47, 0x68, 0x65, 0x55, - 0x2e, 0x6f, 0xdc, 0x1a, 0xc1, 0xa6, 0x30, 0x9f, 0x82, 0xc1, 0xb9, 0x2d, 0x0c, 0xbf, 0x15, 0x04, - 0x0c, 0xce, 0xed, 0xd4, 0x14, 0xce, 0xa7, 0xbd, 0xde, 0xde, 0x82, 0x45, 0xe9, 0x64, 0x17, 0x58, - 0x13, 0x7a, 0x1a, 0x8a, 0x25, 0x59, 0x17, 0x1e, 0x76, 0xc1, 0x01, 0x3d, 0x0d, 0x8d, 0x43, 0x58, - 0x16, 0x8b, 0xa6, 0x3f, 0xa3, 0xb2, 0xe8, 0xcf, 0xb2, 0xd4, 0xa4, 0xda, 0xc3, 0x95, 0xb8, 0xfc, - 0xc1, 0x25, 0xbd, 0x98, 0xee, 0x64, 0xfc, 0x20, 0x32, 0x29, 0x32, 0xe9, 0x44, 0xe4, 0x27, 0x94, - 0x15, 0x79, 0x34, 0x2b, 0xdd, 0x3f, 0x94, 0x4a, 0xe4, 0x8c, 0x59, 0xef, 0x04, 0xf3, 0xd1, 0x48, - 0x3a, 0x3f, 0x56, 0x4c, 0xf9, 0x69, 0xfc, 0xaf, 0x1c, 0xac, 0x60, 0x66, 0x52, 0xcd, 0x13, 0x3b, - 0xc5, 0x8f, 0x5d, 0x49, 0x36, 0x3e, 0xba, 0x48, 0xc8, 0x3f, 0x5e, 0x7e, 0x22, 0x94, 0x3c, 0xed, - 0x29, 0x66, 0x9e, 0xf6, 0x7c, 0x1b, 0x9a, 0x63, 0x3a, 0x71, 0x70, 0x3a, 0x49, 0x29, 0x8b, 0x8b, - 0xb5, 0x4b, 0x12, 0x2e, 0x4d, 0x0f, 0xa9, 0x23, 0xa6, 0x85, 0xf4, 0xf1, 0xe3, 0xdf, 0xcc, 0xc1, - 0x32, 0x17, 0xf4, 0xd0, 0xe0, 0x23, 0x3a, 0xf4, 0x0b, 0x69, 0xd9, 0x10, 0x6c, 0x57, 0xb4, 0x3d, - 0x12, 0x80, 0x10, 0xca, 0x89, 0xf7, 0x6f, 0x08, 0x8b, 0x87, 0x80, 0x92, 0xef, 0xa0, 0x0a, 0xeb, - 0x5a, 0x08, 0x14, 0x02, 0xfc, 0xcd, 0x0c, 0xd1, 0x52, 0x25, 0x67, 0xfa, 0xad, 0x8b, 0xa0, 0xed, - 0x0a, 0x2c, 0x70, 0xf3, 0x99, 0xb1, 0x07, 0x8d, 0x58, 0x31, 0xb1, 0x63, 0xa5, 0x3a, 0x3f, 0x56, - 0x4a, 0x9d, 0x9e, 0xe7, 0xd3, 0xa7, 0xe7, 0x57, 0xb0, 0x62, 0x52, 0x7b, 0x7c, 0xb5, 0xe7, 0xf9, - 0x47, 0xc1, 0x49, 0xb8, 0xc7, 0xa5, 0x67, 0xb6, 0x57, 0x29, 0x7f, 0x99, 0xd8, 0x39, 0x8c, 0xf4, - 0x0c, 0x90, 0x9d, 0xf8, 0x2d, 0x58, 0x8c, 0x1c, 0x6b, 0x34, 0x8b, 0x7d, 0x43, 0xf9, 0xd6, 0xa0, - 0xd0, 0x45, 0xa0, 0x38, 0x0b, 0x4e, 0x42, 0x61, 0xb3, 0xc7, 0xdf, 0xc6, 0x3f, 0x2f, 0x01, 0x61, - 0xb3, 0x3e, 0x31, 0xb1, 0x52, 0xc3, 0x92, 0x4b, 0x9f, 0xfc, 0x25, 0xdc, 0x86, 0xf2, 0x29, 0xb7, - 0xa1, 0x07, 0x40, 0x34, 0x02, 0xe9, 0xcd, 0x54, 0x50, 0xde, 0x4c, 0xcd, 0x88, 0x56, 0x38, 0x33, - 0x3d, 0x80, 0x55, 0xa1, 0xae, 0xc4, 0x9b, 0x83, 0xd3, 0xcc, 0x24, 0x5c, 0x6f, 0x89, 0xb5, 0x49, - 0xba, 0x0c, 0x49, 0x33, 0x78, 0x81, 0xbb, 0x0c, 0x49, 0x6b, 0x95, 0x36, 0x99, 0x17, 0x5e, 0x3a, - 0x99, 0xcb, 0x99, 0x93, 0x59, 0xb3, 0x5e, 0x56, 0xe2, 0xd6, 0xcb, 0x94, 0x1d, 0x9e, 0xcb, 0xe7, - 0x31, 0x3b, 0xfc, 0x3d, 0x68, 0x4a, 0x4b, 0x96, 0xb2, 0x91, 0x0a, 0x5f, 0x12, 0x61, 0xac, 0x92, - 0x56, 0xd2, 0xd8, 0x41, 0x63, 0xed, 0x55, 0x4e, 0x3c, 0xeb, 0xd9, 0x27, 0x9e, 0x69, 0x9b, 0x5f, - 0x23, 0xc3, 0xe6, 0xf7, 0x28, 0x72, 0x15, 0x09, 0xce, 0x9d, 0x29, 0x0a, 0x52, 0x91, 0xaf, 0xab, - 0xe8, 0xe4, 0xc1, 0xb9, 0x33, 0x35, 0xa5, 0xd3, 0x16, 0xfb, 0x20, 0x3b, 0x70, 0x47, 0xb4, 0x27, - 0xc3, 0xdf, 0x8a, 0xf7, 0xc2, 0x12, 0x4e, 0x95, 0x4d, 0x4e, 0x76, 0x98, 0x70, 0xbd, 0x4a, 0x74, - 0x8a, 0xf4, 0xd6, 0x09, 0xb8, 0xe1, 0x58, 0x76, 0xca, 0x21, 0x77, 0xd7, 0x41, 0xf6, 0xc0, 0x48, - 0x84, 0x51, 0x31, 0xb8, 0x40, 0xb9, 0xab, 0x61, 0xd6, 0xa6, 0xf6, 0xe5, 0x01, 0x1a, 0x0d, 0x83, - 0x0b, 0xe3, 0xcf, 0x73, 0xd0, 0x64, 0x53, 0x38, 0xc6, 0x1d, 0x3e, 0x07, 0xe4, 0x77, 0xaf, 0xc8, - 0x1c, 0x6a, 0x8c, 0x56, 0xf2, 0x86, 0x4f, 0x01, 0x17, 0xbb, 0xe5, 0xcd, 0xa8, 0x2b, 0x58, 0x43, - 0x2b, 0xce, 0x1a, 0xa2, 0x6d, 0x62, 0xff, 0x06, 0xd7, 0x3a, 0x19, 0x84, 0x7c, 0x0e, 0x55, 0xb6, - 0xa6, 0x70, 0xf2, 0x0a, 0x3f, 0xf3, 0x4d, 0x65, 0x49, 0x48, 0x2d, 0x6f, 0x96, 0x74, 0x26, 0x3e, - 0xb3, 0x9c, 0xb1, 0x8a, 0x19, 0xce, 0x58, 0x1a, 0xef, 0xd9, 0x07, 0x78, 0x42, 0xaf, 0x58, 0x27, - 0x84, 0x9e, 0xcf, 0x64, 0x35, 0xb6, 0xc4, 0x4e, 0xed, 0xa9, 0x23, 0xac, 0x99, 0x25, 0xb3, 0xfa, - 0x8c, 0x5e, 0xed, 0x21, 0x80, 0xcd, 0x2d, 0x86, 0x8e, 0x18, 0x50, 0xc9, 0xac, 0x3c, 0xa3, 0x57, - 0x9c, 0xfb, 0x58, 0xd0, 0x78, 0x42, 0xaf, 0x76, 0x29, 0x57, 0x06, 0x3c, 0x9f, 0x75, 0xba, 0x6f, - 0x3f, 0x67, 0xd2, 0x7f, 0xcc, 0x59, 0xa8, 0xe6, 0xdb, 0xcf, 0x9f, 0xd0, 0x2b, 0xe9, 0xb8, 0x54, - 0x66, 0xf8, 0x89, 0x37, 0x12, 0xe2, 0x8b, 0x34, 0x20, 0x45, 0x95, 0x32, 0x17, 0x9e, 0xe1, 0x6f, - 0xe3, 0xcf, 0x72, 0xd0, 0x60, 0xf5, 0xc7, 0x9d, 0x07, 0x67, 0x91, 0xf0, 0x3e, 0xce, 0x45, 0xde, - 0xc7, 0x0f, 0x05, 0x43, 0xe6, 0xdb, 0x58, 0xfe, 0xfa, 0x6d, 0x0c, 0xc7, 0x86, 0xef, 0x61, 0x1f, - 0x42, 0x95, 0x4f, 0x0c, 0xc6, 0x7e, 0x0a, 0xb1, 0x01, 0x8e, 0x35, 0xc8, 0xac, 0x20, 0xd9, 0x13, - 0xee, 0xc9, 0xa8, 0xd9, 0xea, 0x79, 0x17, 0x57, 0x7d, 0x65, 0xa1, 0xcf, 0x18, 0x86, 0xd2, 0x35, - 0x9e, 0x8c, 0xba, 0x21, 0x7c, 0x21, 0x69, 0x08, 0x37, 0x5c, 0xa8, 0xb0, 0xa1, 0xc6, 0xc6, 0x66, - 0x64, 0x9a, 0xcb, 0xca, 0x94, 0x09, 0x3b, 0x36, 0xdb, 0xcf, 0x18, 0x8f, 0xce, 0x0b, 0x61, 0xc7, - 0x0e, 0x28, 0xcb, 0x88, 0x55, 0xdc, 0xf5, 0x2c, 0xb4, 0x2c, 0x0b, 0x9b, 0x6b, 0xc5, 0xac, 0xba, - 0xde, 0x11, 0x07, 0x18, 0x7f, 0x25, 0x07, 0x35, 0x6d, 0xcd, 0xe2, 0x51, 0x83, 0xea, 0x4e, 0xbe, - 0xc0, 0xe3, 0x2b, 0x20, 0x36, 0x1e, 0xfb, 0x37, 0xcc, 0xc6, 0x28, 0x36, 0x40, 0x5b, 0x62, 0x2a, - 0x63, 0xca, 0x7c, 0xcc, 0xbe, 0x25, 0xdb, 0x25, 0xe7, 0x2f, 0xfb, 0xbd, 0xbd, 0x00, 0x45, 0x46, - 0x6a, 0x7c, 0x01, 0xcb, 0x5a, 0x35, 0xb8, 0xfd, 0xe7, 0x55, 0x3b, 0xc0, 0xf8, 0x05, 0x95, 0x98, - 0x95, 0xc1, 0xcf, 0xee, 0xa5, 0xd3, 0x28, 0x1d, 0xf3, 0x7e, 0x11, 0xce, 0xa9, 0x1c, 0x84, 0x3d, - 0xf3, 0x8a, 0x7e, 0x8c, 0xc6, 0xaf, 0xe4, 0x60, 0x45, 0xcb, 0x7e, 0xcf, 0x71, 0xed, 0x89, 0xf3, - 0x23, 0xdc, 0xc6, 0x02, 0xe7, 0xcc, 0x4d, 0x14, 0xc0, 0x41, 0x5f, 0xa7, 0x00, 0x72, 0x17, 0xea, - 0xdc, 0x4b, 0x9d, 0xdf, 0x81, 0x10, 0xdb, 0x2c, 0x20, 0xcc, 0xb4, 0x9f, 0x0f, 0x2f, 0x8d, 0xbf, - 0x95, 0x87, 0x55, 0x51, 0x05, 0xbc, 0x4c, 0xe0, 0x30, 0x51, 0xf7, 0x30, 0x38, 0x23, 0x9f, 0x43, - 0x83, 0x75, 0x9f, 0xe5, 0xd3, 0x33, 0x27, 0x08, 0xa9, 0x74, 0x2b, 0xc8, 0xe0, 0xc6, 0x4c, 0x92, - 0x61, 0xa4, 0xa6, 0xa0, 0x24, 0x5f, 0x40, 0x0d, 0x93, 0x72, 0x13, 0x9c, 0x18, 0xab, 0x56, 0x3a, - 0x21, 0x1f, 0x8b, 0xfd, 0x1b, 0x26, 0x04, 0xd1, 0xc8, 0x7c, 0x01, 0x35, 0x1c, 0xe6, 0x0b, 0xec, - 0xeb, 0x04, 0xb3, 0x4b, 0x8d, 0x05, 0x4b, 0x3c, 0x8b, 0x46, 0xa6, 0x0d, 0x0d, 0xce, 0xee, 0x44, - 0x4f, 0x0a, 0x0f, 0xe4, 0xcd, 0x74, 0x72, 0xd9, 0xd7, 0xac, 0xf2, 0x33, 0xed, 0x7b, 0xbb, 0x0a, - 0xe5, 0xd0, 0x77, 0xce, 0xce, 0xa8, 0x6f, 0xac, 0xab, 0xae, 0x61, 0x7c, 0x9c, 0x0e, 0x42, 0x3a, - 0x63, 0x3a, 0x8c, 0xf1, 0xaf, 0x72, 0x50, 0x13, 0x9c, 0xf9, 0xc7, 0xf6, 0x58, 0xd8, 0x4c, 0x18, - 0x6b, 0xab, 0x9a, 0x6d, 0xf6, 0x1d, 0x58, 0x9a, 0x32, 0x85, 0xcb, 0x09, 0xaf, 0xe2, 0xee, 0x0a, - 0x8b, 0x12, 0x2c, 0x74, 0x89, 0x2d, 0x58, 0x41, 0xd5, 0x22, 0xb0, 0x42, 0x67, 0x62, 0x49, 0xa4, - 0xb8, 0x6b, 0xb3, 0xcc, 0x51, 0x43, 0x67, 0x72, 0x28, 0x10, 0x4c, 0xc2, 0x0e, 0x42, 0xfb, 0x8c, - 0x0a, 0xee, 0xc0, 0x3f, 0x98, 0x12, 0x97, 0xb0, 0x05, 0x48, 0x25, 0xee, 0xff, 0x2c, 0xc3, 0x46, - 0x0a, 0x25, 0x94, 0x38, 0x75, 0x3a, 0x3c, 0x71, 0xa6, 0x27, 0x9e, 0x3a, 0x9d, 0xc8, 0x69, 0xa7, - 0xc3, 0x07, 0x0c, 0x23, 0x4f, 0x27, 0x28, 0xac, 0xc9, 0x29, 0x8b, 0xc7, 0x0b, 0xca, 0x5c, 0x90, - 0x47, 0x65, 0xf6, 0xc3, 0xf8, 0x36, 0x98, 0x2c, 0x4e, 0xc2, 0x75, 0xb9, 0x70, 0x65, 0x96, 0x82, - 0x05, 0xe4, 0xff, 0x87, 0x96, 0x5a, 0x19, 0x42, 0xb7, 0xd1, 0x6c, 0x1f, 0xac, 0xa4, 0xf7, 0x5e, - 0x52, 0x52, 0xcc, 0xee, 0x8b, 0xa2, 0xd7, 0xba, 0x5c, 0x54, 0x3c, 0x43, 0x55, 0xd6, 0x05, 0xbc, - 0x2e, 0xcb, 0x42, 0x5d, 0x25, 0x5d, 0x62, 0xf1, 0x95, 0xda, 0x86, 0x36, 0xed, 0x58, 0xb1, 0xe6, - 0x2d, 0x91, 0xb1, 0x42, 0xe9, 0xe5, 0x9e, 0xc3, 0xfa, 0x73, 0xdb, 0x09, 0x65, 0x1b, 0x35, 0xd3, - 0x4b, 0x09, 0xcb, 0x7b, 0xf8, 0x92, 0xf2, 0xbe, 0xe2, 0x89, 0x63, 0xda, 0xdb, 0xea, 0xf3, 0x34, - 0x30, 0xd8, 0xfc, 0xfb, 0x05, 0x58, 0x8c, 0xe7, 0xc2, 0x58, 0x8f, 0xd8, 0xae, 0xa4, 0x20, 0x2d, - 0x34, 0x00, 0x71, 0x72, 0xd6, 0xe3, 0x02, 0x74, 0xfa, 0x4c, 0x2f, 0x9f, 0x71, 0xa6, 0xa7, 0x1f, - 0xa5, 0x15, 0x5e, 0xe6, 0x59, 0x51, 0x7c, 0x25, 0xcf, 0x8a, 0x52, 0x96, 0x67, 0xc5, 0x47, 0xd7, - 0x1e, 0xc5, 0x73, 0x83, 0x78, 0xe6, 0x31, 0xfc, 0xa3, 0xeb, 0x8f, 0xe1, 0xb9, 0xad, 0xfc, 0xba, - 0x23, 0x78, 0xcd, 0x81, 0xa0, 0x72, 0xcd, 0x01, 0x98, 0xe6, 0x52, 0x90, 0x71, 0x04, 0x5f, 0xfd, - 0x1a, 0x47, 0xf0, 0x9b, 0x7f, 0x96, 0x03, 0x92, 0x5e, 0x1d, 0xe4, 0x31, 0x3f, 0x2e, 0x75, 0xe9, - 0x44, 0x70, 0xee, 0xf7, 0x5f, 0x6d, 0x85, 0xc9, 0x09, 0x21, 0x53, 0x93, 0x0f, 0x60, 0x45, 0xbf, - 0x11, 0xa8, 0x9b, 0x36, 0x1a, 0x26, 0xd1, 0x51, 0x91, 0x91, 0x4e, 0x73, 0x63, 0x29, 0xbe, 0xd4, - 0x8d, 0xa5, 0xf4, 0x52, 0x37, 0x96, 0x85, 0xb8, 0x1b, 0xcb, 0xe6, 0xbf, 0xc9, 0xc1, 0x4a, 0xc6, - 0x24, 0xfe, 0xe6, 0xda, 0xcc, 0xe6, 0x5e, 0x8c, 0xad, 0xe5, 0xc5, 0xdc, 0xd3, 0x39, 0xda, 0x81, - 0x34, 0xec, 0xb2, 0xa1, 0x08, 0xc4, 0x4e, 0x75, 0xff, 0x65, 0xdc, 0x25, 0x4a, 0x61, 0xea, 0xc9, - 0x37, 0xff, 0x41, 0x1e, 0x6a, 0x1a, 0x92, 0xf5, 0x22, 0x9f, 0xb2, 0x9a, 0x53, 0x28, 0x97, 0x2d, - 0xd1, 0x30, 0x83, 0x97, 0x14, 0x70, 0x72, 0x22, 0x9e, 0x2f, 0x2e, 0x21, 0x48, 0x22, 0xc1, 0x16, - 0xac, 0xc8, 0xa3, 0x6c, 0x1a, 0xb9, 0xdf, 0x8b, 0xbd, 0x46, 0x78, 0x25, 0x88, 0x4a, 0x22, 0xfd, - 0x07, 0x52, 0xcf, 0x8d, 0xc6, 0x4e, 0x3b, 0x1a, 0x5c, 0x16, 0xfe, 0x10, 0x62, 0x10, 0xd9, 0x3c, - 0xff, 0x10, 0xd6, 0x94, 0x43, 0x44, 0x2c, 0x05, 0x3f, 0x80, 0x22, 0xd2, 0xf1, 0x41, 0x4b, 0xf2, - 0x3d, 0xb8, 0x9d, 0xa8, 0x53, 0x22, 0x29, 0xb7, 0xb4, 0xdc, 0x8c, 0xd5, 0x4e, 0xcf, 0x61, 0xf3, - 0x2f, 0x41, 0x23, 0xc6, 0x28, 0xbf, 0xb9, 0x21, 0x4f, 0x1a, 0xc3, 0x78, 0x8f, 0xea, 0xc6, 0xb0, - 0xcd, 0xff, 0x59, 0x00, 0x92, 0xe6, 0xd5, 0x3f, 0xcd, 0x2a, 0xa4, 0x27, 0x66, 0x21, 0x63, 0x62, - 0xfe, 0xc4, 0xe4, 0x87, 0xc8, 0x26, 0xab, 0xf9, 0x23, 0xf0, 0xc5, 0xd9, 0x54, 0x08, 0x59, 0x8b, - 0x4f, 0x93, 0x5e, 0x5b, 0x95, 0xd8, 0xd5, 0x55, 0x4d, 0x80, 0x4a, 0x38, 0x6f, 0x1d, 0xc3, 0x82, - 0xed, 0x8e, 0xce, 0x3d, 0x5f, 0xf0, 0xc1, 0x9f, 0xf9, 0xda, 0xdb, 0xe7, 0x56, 0x1b, 0xd3, 0xa3, - 0xd4, 0x66, 0x8a, 0xcc, 0x8c, 0x0f, 0xa1, 0xa6, 0x81, 0x49, 0x15, 0x4a, 0x07, 0xdd, 0xc3, 0xed, - 0x7e, 0xf3, 0x06, 0x69, 0x40, 0xd5, 0xec, 0xec, 0xf4, 0xbf, 0xec, 0x98, 0x9d, 0xdd, 0x66, 0x8e, - 0x54, 0xa0, 0x78, 0xd0, 0x1f, 0x0c, 0x9b, 0x79, 0x63, 0x13, 0x5a, 0x22, 0xc7, 0xf4, 0xe9, 0xd4, - 0x6f, 0x17, 0x95, 0x4d, 0x15, 0x91, 0x42, 0xc9, 0xff, 0x08, 0xea, 0xba, 0x78, 0x23, 0x66, 0x44, - 0xc2, 0x25, 0x86, 0xa9, 0xf7, 0x9e, 0xc6, 0xab, 0x77, 0x80, 0x3b, 0x44, 0x8c, 0x55, 0xb2, 0x7c, - 0x4c, 0x6e, 0xcd, 0x38, 0x59, 0x46, 0xfd, 0x28, 0x36, 0x0d, 0xff, 0x3f, 0x58, 0x8c, 0x9f, 0xc4, - 0x08, 0x8e, 0x94, 0xa5, 0xb2, 0xb2, 0xd4, 0xb1, 0xa3, 0x19, 0xf2, 0x3d, 0x68, 0x26, 0x4f, 0x72, - 0x84, 0xf0, 0x7c, 0x4d, 0xfa, 0x25, 0x27, 0x7e, 0xb8, 0x43, 0xf6, 0x61, 0x35, 0x4b, 0xc0, 0xc3, - 0xf9, 0x71, 0xbd, 0x99, 0x83, 0xa4, 0x85, 0x38, 0xf2, 0x99, 0x38, 0xd1, 0x2b, 0xe1, 0xf0, 0xbf, - 0x15, 0x2f, 0x5f, 0xeb, 0xec, 0x2d, 0xfe, 0x4f, 0x3b, 0xdb, 0xbb, 0x00, 0x88, 0x60, 0xa4, 0x09, - 0xf5, 0xfe, 0x51, 0xa7, 0x67, 0xed, 0xec, 0xb7, 0x7b, 0xbd, 0xce, 0x41, 0xf3, 0x06, 0x21, 0xb0, - 0x88, 0x5e, 0x1d, 0xbb, 0x0a, 0x96, 0x63, 0x30, 0x71, 0xd4, 0x2a, 0x61, 0x79, 0xb2, 0x0a, 0xcd, - 0x6e, 0x2f, 0x01, 0x2d, 0x90, 0x16, 0xac, 0x1e, 0x75, 0xb8, 0x23, 0x48, 0x2c, 0xdf, 0x22, 0x53, - 0x1a, 0x44, 0x73, 0x8d, 0x10, 0x56, 0xbf, 0xb2, 0x27, 0x13, 0x1a, 0xb6, 0xb9, 0x23, 0xbb, 0x5c, - 0x0e, 0xef, 0xc2, 0xb2, 0x32, 0x87, 0x25, 0xa4, 0xe5, 0xa6, 0x42, 0x48, 0xe2, 0x0f, 0x60, 0x45, - 0xb3, 0xaa, 0x25, 0x76, 0x21, 0xa2, 0xa1, 0x44, 0x02, 0xa6, 0xaa, 0xf0, 0x52, 0x05, 0x40, 0x4a, - 0xf0, 0x7f, 0x94, 0x87, 0xb5, 0x04, 0x22, 0x3a, 0x84, 0xe1, 0xf2, 0x7b, 0xbc, 0x2e, 0x75, 0x04, - 0xbe, 0xb0, 0xd2, 0xf9, 0xaf, 0x57, 0xe9, 0xc2, 0x75, 0x95, 0x26, 0x4f, 0x61, 0x49, 0x78, 0xfb, - 0x6b, 0x32, 0x1e, 0xe3, 0x11, 0x0f, 0xc4, 0x90, 0x67, 0xd6, 0x7c, 0x2b, 0xde, 0xb1, 0xfc, 0x94, - 0x6b, 0xd1, 0x8e, 0x01, 0x37, 0x7f, 0x09, 0x56, 0x32, 0xc8, 0x32, 0xee, 0xbc, 0x7c, 0x18, 0x3f, - 0xf1, 0xba, 0x15, 0x2b, 0x39, 0x9e, 0x85, 0x7e, 0x7a, 0xbf, 0x05, 0x0b, 0xc2, 0xda, 0xdb, 0x84, - 0x82, 0xbc, 0xf6, 0x54, 0x34, 0xd9, 0x4f, 0x42, 0xa0, 0x38, 0x8d, 0x1c, 0xb0, 0xf1, 0xb7, 0xb1, - 0xa1, 0xae, 0x42, 0x26, 0x06, 0xe8, 0x57, 0x8a, 0xb0, 0x9e, 0xc4, 0xa8, 0x2b, 0x09, 0xe5, 0xd8, - 0xd8, 0xf0, 0x93, 0x44, 0x01, 0x22, 0x1f, 0x27, 0x96, 0x5b, 0x6c, 0x74, 0x90, 0x54, 0x5f, 0x5a, - 0xb2, 0xcb, 0x1f, 0x26, 0x85, 0x6a, 0xce, 0x23, 0x1a, 0xf2, 0x82, 0x06, 0xb6, 0x29, 0x21, 0x63, - 0x7f, 0x9c, 0x92, 0xb1, 0x8b, 0x59, 0x89, 0x12, 0x22, 0x77, 0x07, 0x36, 0x22, 0x57, 0xe3, 0x78, - 0x99, 0xa5, 0xac, 0xe4, 0x6b, 0x8a, 0xfa, 0x40, 0x2f, 0xfc, 0x31, 0xb4, 0xa2, 0x6c, 0x12, 0xd5, - 0x58, 0xc8, 0xca, 0x67, 0x5d, 0x91, 0x9b, 0xb1, 0xfa, 0x7c, 0x1f, 0x36, 0x63, 0xfd, 0x15, 0xaf, - 0x52, 0x39, 0x2b, 0xab, 0x0d, 0xad, 0x03, 0x63, 0x95, 0x3a, 0x80, 0x5b, 0xb1, 0xbc, 0x12, 0xf5, - 0xaa, 0x64, 0x65, 0xd6, 0xd2, 0x32, 0x8b, 0xd5, 0xcc, 0xf8, 0xdd, 0x05, 0x20, 0x3f, 0x98, 0x53, - 0xff, 0x0a, 0x2f, 0x48, 0x07, 0x2f, 0xbb, 0x43, 0x21, 0x2d, 0x95, 0xf9, 0x57, 0x8a, 0x93, 0x90, - 0x15, 0xa7, 0xa0, 0xf8, 0xf2, 0x38, 0x05, 0xa5, 0x97, 0xc5, 0x29, 0x78, 0x13, 0x1a, 0xce, 0x99, - 0xeb, 0x31, 0x41, 0x80, 0xe9, 0x81, 0x41, 0x6b, 0xe1, 0x6e, 0xe1, 0x5e, 0xdd, 0xac, 0x0b, 0x20, - 0xd3, 0x02, 0x03, 0xf2, 0x45, 0x44, 0x44, 0xc7, 0x67, 0x18, 0xc5, 0x43, 0x17, 0x01, 0x3a, 0xe3, - 0x33, 0x2a, 0x0c, 0xb3, 0x38, 0x61, 0x65, 0x62, 0x06, 0x0f, 0xc8, 0x5b, 0xb0, 0x18, 0x78, 0x73, - 0xa6, 0x56, 0xcb, 0x6e, 0xe0, 0xe7, 0xfd, 0x75, 0x0e, 0x3d, 0x92, 0xde, 0x1f, 0x2b, 0xf3, 0x80, - 0x5a, 0x53, 0x27, 0x08, 0x98, 0x72, 0x32, 0xf2, 0xdc, 0xd0, 0xf7, 0x26, 0xe2, 0x08, 0x7f, 0x79, - 0x1e, 0xd0, 0x43, 0x8e, 0xd9, 0xe1, 0x08, 0xf2, 0x71, 0x54, 0xa5, 0x99, 0xed, 0xf8, 0x41, 0x0b, - 0xb0, 0x4a, 0xb2, 0xa5, 0xa8, 0xbd, 0xda, 0x8e, 0xaf, 0xea, 0xc2, 0x3e, 0x82, 0x44, 0xfc, 0x84, - 0x5a, 0x32, 0x7e, 0xc2, 0x2f, 0x67, 0xc7, 0x4f, 0x68, 0xc4, 0x98, 0x59, 0x7a, 0x88, 0xbf, 0x56, - 0x18, 0x85, 0x74, 0x58, 0x88, 0xc5, 0xaf, 0x13, 0x16, 0x62, 0x29, 0x2b, 0x2c, 0xc4, 0x87, 0x50, - 0xc3, 0xdb, 0xf8, 0xd6, 0x39, 0x3a, 0x33, 0x73, 0x97, 0x84, 0xa6, 0x7e, 0x5d, 0x7f, 0xdf, 0x71, - 0x43, 0x13, 0x7c, 0xf9, 0x33, 0x48, 0x47, 0x68, 0x58, 0x7e, 0xa5, 0x08, 0x0d, 0xdf, 0x4c, 0xf8, - 0x05, 0x11, 0x35, 0x60, 0x0b, 0x2a, 0x72, 0x9c, 0x18, 0xb3, 0x3d, 0xf5, 0xbd, 0xa9, 0x3c, 0xde, - 0x64, 0xbf, 0xc9, 0x22, 0xe4, 0x43, 0x4f, 0x24, 0xce, 0x87, 0x9e, 0xf1, 0x8b, 0x50, 0xd3, 0xa6, - 0x1a, 0x79, 0x83, 0xdb, 0xf5, 0x5d, 0x3a, 0x91, 0x66, 0x5f, 0xde, 0x8b, 0x55, 0x01, 0xed, 0x8e, - 0xd9, 0xbe, 0x37, 0x76, 0x7c, 0x8a, 0xb1, 0x54, 0x2c, 0x9f, 0x5e, 0x50, 0x3f, 0x90, 0xc7, 0xd2, - 0x4d, 0x85, 0x30, 0x39, 0xdc, 0xf8, 0x25, 0x58, 0x89, 0x8d, 0xad, 0x60, 0xdf, 0x6f, 0xc1, 0x02, - 0xf6, 0x9b, 0xf4, 0x7d, 0x8a, 0x87, 0x41, 0x10, 0x38, 0x8c, 0x28, 0xc3, 0x4f, 0xd4, 0xad, 0x99, - 0xef, 0x9d, 0x60, 0x21, 0x39, 0xb3, 0x26, 0x60, 0x47, 0xbe, 0x77, 0x62, 0xfc, 0xb5, 0x22, 0x14, - 0xf6, 0xbd, 0x99, 0xee, 0x00, 0x9d, 0x4b, 0x39, 0x40, 0x0b, 0x73, 0x8b, 0xa5, 0xcc, 0x29, 0x42, - 0x63, 0xc5, 0x33, 0x62, 0x69, 0x52, 0xb9, 0x07, 0x8b, 0x8c, 0x4f, 0x84, 0x9e, 0x25, 0x2e, 0x1e, - 0xf1, 0xcd, 0x99, 0x2f, 0x3e, 0x7b, 0x1a, 0x0e, 0xbd, 0x3d, 0x0e, 0x27, 0xab, 0x50, 0x50, 0xca, - 0x3b, 0xa2, 0xd9, 0x27, 0x59, 0x87, 0x05, 0xbc, 0x30, 0x25, 0xef, 0xcc, 0x8b, 0x2f, 0xf2, 0x3e, - 0xac, 0xc4, 0xf3, 0xe5, 0xac, 0x48, 0x68, 0x06, 0x7a, 0xc6, 0xc8, 0x93, 0x6e, 0x02, 0xe3, 0x23, - 0xd1, 0xad, 0xf9, 0x82, 0x59, 0x3e, 0xa5, 0x14, 0x51, 0x1a, 0xd3, 0xab, 0xc4, 0x98, 0xde, 0x1d, - 0xa8, 0x85, 0x93, 0x0b, 0x6b, 0x66, 0x5f, 0x4d, 0x3c, 0x5b, 0xde, 0xac, 0x84, 0x70, 0x72, 0x71, - 0xc4, 0x21, 0xe4, 0x03, 0x80, 0xe9, 0x6c, 0x26, 0xd6, 0x1e, 0x9e, 0x67, 0x46, 0x53, 0xf9, 0xf0, - 0xe8, 0x88, 0x4f, 0x39, 0xb3, 0x3a, 0x9d, 0xcd, 0xf8, 0x4f, 0x96, 0xc0, 0x9e, 0xaa, 0x04, 0xf5, - 0x58, 0x82, 0xf6, 0xa1, 0x4a, 0x60, 0x4f, 0x65, 0x82, 0x5d, 0x58, 0xcc, 0x0c, 0x90, 0x72, 0x5b, - 0xde, 0x43, 0xf1, 0x66, 0x5b, 0x19, 0xab, 0xb9, 0x31, 0xd2, 0x61, 0x9b, 0xdf, 0x03, 0xf2, 0x17, - 0x8c, 0x41, 0x32, 0x84, 0xaa, 0x6a, 0x50, 0x2a, 0xf2, 0x49, 0x2d, 0x15, 0xf9, 0x84, 0x31, 0x52, - 0x2e, 0xe9, 0xa9, 0x3d, 0x02, 0x34, 0x51, 0x4f, 0xdc, 0xe0, 0x32, 0x4e, 0xa0, 0xaa, 0x5a, 0x8d, - 0x67, 0x52, 0x9e, 0x17, 0x5a, 0xc1, 0xb9, 0x2d, 0xae, 0x43, 0xd6, 0xcd, 0x2a, 0x83, 0x0c, 0x18, - 0x80, 0xac, 0xc1, 0x42, 0x40, 0xc3, 0xe8, 0xd4, 0xa1, 0x14, 0xd0, 0x90, 0x1f, 0x41, 0x8d, 0xce, - 0x9d, 0xc9, 0x38, 0x76, 0x27, 0x1f, 0x10, 0xc4, 0x8f, 0xf5, 0xfe, 0x4b, 0x0e, 0x4a, 0x3c, 0x66, - 0xc9, 0xdb, 0xb0, 0xc4, 0xeb, 0xa4, 0x3c, 0xdc, 0x85, 0x1b, 0x12, 0x17, 0x4a, 0x87, 0xc2, 0xb9, - 0x9d, 0xad, 0x55, 0x2d, 0x08, 0x54, 0x24, 0xdb, 0x68, 0x81, 0xa0, 0xee, 0x40, 0x55, 0x35, 0x4f, - 0x9b, 0xcf, 0x15, 0xd9, 0x3a, 0xf2, 0x3a, 0x14, 0xcf, 0xbd, 0x99, 0x34, 0xc6, 0x42, 0x34, 0x5a, - 0x26, 0xc2, 0xa3, 0xba, 0xb0, 0x32, 0xa2, 0xdb, 0x6b, 0x05, 0x51, 0x17, 0x56, 0x88, 0x8c, 0xe4, - 0x90, 0xe8, 0xc7, 0x85, 0x8c, 0x7e, 0x3c, 0x86, 0x25, 0xc6, 0x9c, 0x34, 0x5f, 0xa8, 0xeb, 0x77, - 0xf2, 0x6f, 0x33, 0xa5, 0x6b, 0x34, 0x99, 0x8f, 0xa9, 0x6e, 0x0e, 0x47, 0x77, 0x65, 0x01, 0x97, - 0xca, 0xae, 0xf1, 0xbb, 0x39, 0xce, 0xf4, 0x58, 0xbe, 0xe4, 0x1e, 0x14, 0x5d, 0xe9, 0x37, 0x15, - 0xa9, 0x56, 0xea, 0xa6, 0x27, 0xa3, 0x33, 0x91, 0x82, 0x4d, 0x0f, 0xf4, 0x36, 0xd2, 0x73, 0x6f, - 0x98, 0x35, 0x77, 0x3e, 0x55, 0xd6, 0xe4, 0x6f, 0xc9, 0x66, 0x25, 0x2c, 0xb1, 0xbc, 0xf5, 0x8a, - 0x77, 0x6c, 0x69, 0x7e, 0xcf, 0xc5, 0xd8, 0x36, 0x2e, 0x15, 0xb3, 0xf1, 0x19, 0xd5, 0xfc, 0x9d, - 0xff, 0x20, 0x0f, 0x8d, 0x58, 0x8d, 0xd0, 0xf1, 0x9b, 0xed, 0x4a, 0xfc, 0xb4, 0x58, 0x8c, 0x37, - 0xfa, 0xd7, 0x0a, 0xdd, 0x59, 0xeb, 0xa7, 0x7c, 0xac, 0x9f, 0x94, 0xe3, 0x63, 0x41, 0x77, 0x7c, - 0x7c, 0x00, 0xd5, 0x28, 0xf8, 0x57, 0xbc, 0x4a, 0xac, 0x3c, 0x79, 0xdf, 0x35, 0x22, 0x8a, 0x5c, - 0x25, 0x4b, 0xba, 0xab, 0xe4, 0x77, 0x35, 0xcf, 0xba, 0x05, 0xcc, 0xc6, 0xc8, 0xea, 0xd1, 0x9f, - 0x8a, 0x5f, 0x9d, 0xf1, 0x05, 0xd4, 0xb4, 0xca, 0xeb, 0xde, 0x69, 0xb9, 0x98, 0x77, 0x9a, 0xba, - 0x55, 0x9f, 0x8f, 0x6e, 0xd5, 0x1b, 0xbf, 0x96, 0x87, 0x06, 0x5b, 0x5f, 0x8e, 0x7b, 0x76, 0xe4, - 0x4d, 0x9c, 0x11, 0x9e, 0x1e, 0xab, 0x15, 0x26, 0xa4, 0x3f, 0xb9, 0xce, 0xc4, 0x12, 0xe3, 0xc2, - 0x9f, 0x1e, 0x54, 0x86, 0xef, 0x1c, 0x2a, 0xa8, 0x8c, 0x01, 0x0d, 0xc6, 0xad, 0xf1, 0x1c, 0x38, - 0x0a, 0x14, 0x66, 0xd6, 0x4e, 0x29, 0xdd, 0xb6, 0x03, 0xce, 0xb6, 0xdf, 0x87, 0x15, 0x46, 0x83, - 0x71, 0x1e, 0xa6, 0xce, 0x64, 0xe2, 0x44, 0xd7, 0x45, 0x0b, 0x66, 0xf3, 0x94, 0x52, 0xd3, 0x0e, - 0xe9, 0x21, 0x43, 0x88, 0xb8, 0x62, 0x95, 0xb1, 0x13, 0xd8, 0x27, 0x91, 0x7b, 0xbe, 0xfa, 0x96, - 0xee, 0x15, 0x91, 0x07, 0x8b, 0xf0, 0xbe, 0x12, 0xe1, 0x52, 0x30, 0x7d, 0x62, 0x26, 0x95, 0x93, - 0x33, 0xc9, 0xf8, 0x67, 0x79, 0xa8, 0x69, 0xd3, 0xf2, 0x55, 0xb6, 0xfc, 0xdb, 0xa9, 0xd3, 0xfe, - 0xaa, 0x7e, 0xb0, 0xff, 0x66, 0xbc, 0xc8, 0x82, 0xba, 0x53, 0xa8, 0x4f, 0xe0, 0x5b, 0x50, 0x65, - 0xab, 0xee, 0x43, 0x3c, 0x15, 0x11, 0x11, 0xff, 0x10, 0x70, 0x34, 0x3f, 0x91, 0xc8, 0x87, 0x88, - 0x2c, 0x45, 0xc8, 0x87, 0x0c, 0xf9, 0xa2, 0x3b, 0x45, 0x9f, 0x42, 0x5d, 0xe4, 0x8a, 0x63, 0x2a, - 0x74, 0x95, 0x55, 0x4d, 0x9c, 0x50, 0xe3, 0x6d, 0xd6, 0x78, 0x71, 0x7c, 0xf0, 0x45, 0xc2, 0x87, - 0x32, 0x61, 0xe5, 0x65, 0x09, 0x1f, 0xf2, 0x0f, 0x63, 0x4f, 0x5d, 0xd3, 0x42, 0x9f, 0x56, 0xc9, - 0xc7, 0x3e, 0x80, 0x15, 0xc9, 0xae, 0xe6, 0xae, 0xed, 0xba, 0xde, 0xdc, 0x1d, 0x51, 0x79, 0x65, - 0x9d, 0x08, 0xd4, 0x71, 0x84, 0x31, 0xc6, 0x2a, 0x14, 0x0d, 0xf7, 0x8d, 0xbd, 0x0f, 0x25, 0xae, - 0x2c, 0x70, 0x89, 0x28, 0x9b, 0x71, 0x71, 0x12, 0x72, 0x0f, 0x4a, 0x5c, 0x67, 0xc8, 0x5f, 0xcb, - 0x6c, 0x38, 0x81, 0xd1, 0x06, 0xc2, 0x12, 0x1e, 0xd2, 0xd0, 0x77, 0x46, 0x41, 0x74, 0x1b, 0xbe, - 0x14, 0x5e, 0xcd, 0x44, 0x59, 0xd1, 0x61, 0x4a, 0x44, 0x89, 0x66, 0x23, 0x4e, 0xc3, 0x36, 0xa6, - 0x95, 0x58, 0x1e, 0x42, 0x86, 0x9b, 0xc0, 0xfa, 0x09, 0x0d, 0x9f, 0x53, 0xea, 0xba, 0x4c, 0x42, - 0x1b, 0x51, 0x37, 0xf4, 0xed, 0x09, 0x1b, 0x24, 0xde, 0x82, 0x47, 0xa9, 0x5c, 0x23, 0xb3, 0xe4, - 0x76, 0x94, 0x70, 0x47, 0xa5, 0xe3, 0xbc, 0x63, 0xed, 0x24, 0x0b, 0xb7, 0xf9, 0x0b, 0xb0, 0x79, - 0x7d, 0xa2, 0x0c, 0xdb, 0xc5, 0xbd, 0x38, 0x57, 0x51, 0x47, 0xf3, 0x13, 0xcf, 0x0e, 0x79, 0x6d, - 0x74, 0xce, 0xd2, 0x83, 0x9a, 0x86, 0x89, 0xe4, 0x8b, 0x1c, 0x4a, 0x9c, 0xfc, 0x83, 0xed, 0x48, - 0xae, 0xe7, 0x4f, 0xf1, 0x28, 0x7c, 0x6c, 0x45, 0xb9, 0xe7, 0xcc, 0xa5, 0x08, 0x8e, 0xde, 0x53, - 0xc6, 0x16, 0x2c, 0xa1, 0xba, 0xa1, 0x6d, 0x74, 0x2f, 0x92, 0x50, 0x8d, 0x55, 0x20, 0x3d, 0xce, - 0xbb, 0x74, 0x3f, 0xe1, 0x3f, 0x2a, 0x40, 0x4d, 0x03, 0xb3, 0xdd, 0x08, 0x9d, 0xab, 0xad, 0xb1, - 0x63, 0x4f, 0xa9, 0xf4, 0x3b, 0x68, 0x98, 0x0d, 0x84, 0xee, 0x0a, 0x20, 0xdb, 0x8b, 0xed, 0x8b, - 0x33, 0xcb, 0x9b, 0x87, 0xd6, 0x98, 0x9e, 0xf9, 0x54, 0xd6, 0xb2, 0x6e, 0x5f, 0x9c, 0xf5, 0xe7, - 0xe1, 0x2e, 0xc2, 0x64, 0xec, 0x25, 0x8d, 0xaa, 0xa0, 0x62, 0x2f, 0x45, 0x54, 0xc2, 0x29, 0x9d, - 0xcf, 0xcc, 0xa2, 0x72, 0x4a, 0xe7, 0x2a, 0x6c, 0x72, 0x03, 0x2d, 0xa5, 0x37, 0xd0, 0x8f, 0x61, - 0x9d, 0x6f, 0xa0, 0x82, 0x35, 0x5b, 0x89, 0x95, 0xbc, 0x8a, 0x58, 0xd1, 0x48, 0x4d, 0x16, 0x6f, - 0xb2, 0x16, 0x48, 0xb6, 0x14, 0x38, 0x3f, 0xe2, 0x8c, 0x2c, 0x67, 0xb2, 0x96, 0x89, 0xcc, 0x07, - 0xce, 0x8f, 0xa8, 0x8c, 0xfd, 0x14, 0xa3, 0x14, 0x37, 0x06, 0xa7, 0x8e, 0x9b, 0xa4, 0xb4, 0x2f, - 0xe3, 0x94, 0x55, 0x41, 0x69, 0x5f, 0xea, 0x94, 0x8f, 0x60, 0x63, 0x4a, 0xc7, 0x8e, 0x1d, 0xcf, - 0xd6, 0x8a, 0x84, 0xc3, 0x55, 0x8e, 0xd6, 0xd2, 0x0c, 0xb8, 0x35, 0x81, 0xf5, 0xc6, 0x8f, 0xbc, - 0xe9, 0x89, 0xc3, 0x65, 0x16, 0xee, 0x17, 0x58, 0x34, 0x17, 0xdd, 0xf9, 0xf4, 0xe7, 0x11, 0xcc, - 0x92, 0x04, 0x46, 0x03, 0x6a, 0x83, 0xd0, 0x9b, 0xc9, 0x61, 0x5e, 0x84, 0x3a, 0xff, 0x14, 0xd1, - 0x1e, 0x6e, 0xc1, 0x4d, 0x64, 0x09, 0x43, 0x6f, 0xe6, 0x4d, 0xbc, 0xb3, 0xab, 0x98, 0x69, 0xfd, - 0x5f, 0xe7, 0x60, 0x25, 0x86, 0x15, 0xec, 0xf5, 0x63, 0xce, 0xcf, 0xd4, 0x4d, 0xf1, 0x5c, 0xec, - 0x9a, 0x20, 0x1b, 0x2f, 0x4e, 0xc8, 0x99, 0x99, 0xbc, 0x3d, 0xde, 0x8e, 0x02, 0xab, 0xc9, 0x84, - 0x9c, 0xa5, 0xb4, 0xd2, 0x2c, 0x45, 0xa4, 0x97, 0x21, 0xd7, 0x64, 0x16, 0x3f, 0x23, 0x6e, 0x75, - 0x8e, 0x45, 0x93, 0x0b, 0xf1, 0x7b, 0x5f, 0xba, 0x19, 0x5e, 0xd6, 0x20, 0xb2, 0xcd, 0x07, 0xc6, - 0x9f, 0xe6, 0x01, 0xa2, 0xda, 0x91, 0xbb, 0xba, 0xdc, 0xc2, 0xda, 0xc0, 0x5d, 0x4f, 0x35, 0x39, - 0xe5, 0x0d, 0xa8, 0xab, 0x1b, 0x21, 0x91, 0x34, 0x54, 0x93, 0x30, 0x26, 0x12, 0xbd, 0x0b, 0x4b, - 0x67, 0x13, 0xef, 0x04, 0xa5, 0x56, 0x21, 0xbb, 0xa0, 0x73, 0x0f, 0x66, 0xb5, 0xc8, 0x51, 0x2a, - 0x3c, 0xa2, 0x92, 0x9f, 0x8a, 0x99, 0x17, 0x47, 0x62, 0xd2, 0xd0, 0xe7, 0xb0, 0x88, 0x9d, 0x1c, - 0x55, 0xb1, 0x7c, 0xad, 0x68, 0xd5, 0x70, 0xa3, 0x0f, 0x34, 0xf7, 0x24, 0x05, 0xa9, 0x3b, 0xa9, - 0xb1, 0xf9, 0xe9, 0x48, 0x51, 0xbf, 0x95, 0x57, 0xfe, 0xf3, 0xd1, 0xb0, 0xbe, 0x58, 0x81, 0xfe, - 0x71, 0xbc, 0xfd, 0x5e, 0xe4, 0xbe, 0xf0, 0x05, 0x2c, 0xfa, 0x7c, 0x87, 0x95, 0xdb, 0x6f, 0xf1, - 0x05, 0xdb, 0x6f, 0xc3, 0x8f, 0x89, 0x6d, 0xdf, 0x86, 0xa6, 0x3d, 0xbe, 0xa0, 0x7e, 0xe8, 0xe0, - 0x69, 0x20, 0x0a, 0xfb, 0xc2, 0x5b, 0x5d, 0x83, 0xa3, 0x54, 0xfd, 0x0e, 0x2c, 0x89, 0x70, 0x2a, - 0x8a, 0x52, 0x44, 0x2c, 0x8d, 0xc0, 0x8c, 0xd0, 0xf8, 0xc7, 0xd2, 0x61, 0x3f, 0x3e, 0x55, 0x5f, - 0xdc, 0x2b, 0x7a, 0x0b, 0xf3, 0x69, 0x07, 0x0d, 0xb1, 0x2a, 0xc4, 0x21, 0xa3, 0x60, 0xae, 0x1c, - 0x28, 0x8e, 0x18, 0xe3, 0xdd, 0x5a, 0x7c, 0x95, 0x6e, 0x35, 0xfe, 0x30, 0x07, 0xe5, 0x7d, 0x6f, - 0xb6, 0xef, 0xf0, 0x6b, 0x5f, 0x38, 0x1d, 0xd5, 0x19, 0xf8, 0x02, 0xfb, 0x44, 0xd7, 0xc4, 0x17, - 0x5c, 0x07, 0xcf, 0x94, 0x59, 0x1b, 0x71, 0x99, 0xf5, 0xbb, 0x70, 0x0b, 0x5d, 0x0c, 0x7c, 0x6f, - 0xe6, 0xf9, 0x8c, 0xef, 0xd8, 0x13, 0x2e, 0xbb, 0x7a, 0x6e, 0x78, 0x2e, 0x37, 0x82, 0x9b, 0xa7, - 0x94, 0x1e, 0x69, 0x14, 0x87, 0x8a, 0x00, 0x43, 0x41, 0x4c, 0xc2, 0x0b, 0x8b, 0xdb, 0x40, 0x84, - 0x70, 0xcd, 0xb7, 0x87, 0x25, 0x86, 0xe8, 0x20, 0x1c, 0xc5, 0x6b, 0xe3, 0x33, 0xa8, 0x2a, 0x73, - 0x1a, 0x79, 0x17, 0xaa, 0xe7, 0xde, 0x4c, 0xd8, 0xdc, 0x72, 0xb1, 0x2b, 0xf3, 0xa2, 0xd5, 0x66, - 0xe5, 0x9c, 0xff, 0x08, 0x8c, 0xff, 0x5b, 0x86, 0x72, 0xd7, 0xbd, 0xf0, 0x9c, 0x11, 0xba, 0xf2, - 0x4f, 0xe9, 0xd4, 0x93, 0x11, 0xa2, 0xd8, 0x6f, 0xd4, 0xd4, 0xa3, 0xa0, 0xa2, 0x05, 0xa1, 0xa9, - 0xab, 0x70, 0xa2, 0x6b, 0xb0, 0xe0, 0xeb, 0x51, 0x41, 0x4b, 0x3e, 0x5e, 0x94, 0x52, 0x9b, 0x7f, - 0x49, 0x8b, 0xf4, 0xc5, 0xf2, 0xe2, 0xde, 0xd3, 0xd8, 0x65, 0x3c, 0x9c, 0x43, 0x15, 0x21, 0xd8, - 0x61, 0xaf, 0x41, 0x59, 0x58, 0xd6, 0xf9, 0x7d, 0x59, 0x7e, 0x1e, 0x21, 0x40, 0x38, 0x1b, 0x7c, - 0xca, 0x5d, 0x44, 0x94, 0x54, 0x5e, 0x30, 0xeb, 0x12, 0xb8, 0x6b, 0x73, 0xff, 0x7c, 0x4e, 0xcf, - 0x49, 0xf8, 0x2e, 0x06, 0x1c, 0x84, 0x04, 0x19, 0xf1, 0x77, 0xab, 0x99, 0xf1, 0x77, 0xf1, 0x3e, - 0x87, 0xda, 0x32, 0x78, 0x13, 0x81, 0x87, 0x54, 0xd5, 0xe0, 0x32, 0xdc, 0xb5, 0xb0, 0x5a, 0xf1, - 0x48, 0x27, 0xd2, 0x6a, 0xf5, 0x26, 0x34, 0x4e, 0xed, 0xc9, 0xe4, 0xc4, 0x1e, 0x3d, 0xe3, 0xb6, - 0x93, 0x3a, 0xb7, 0x2f, 0x4b, 0x20, 0x1a, 0x4f, 0xee, 0x40, 0x4d, 0x1b, 0x65, 0x74, 0x5b, 0x2f, - 0x9a, 0x10, 0x8d, 0x6f, 0xd2, 0x86, 0xba, 0xf8, 0x0a, 0x36, 0x54, 0xcd, 0x7d, 0x7f, 0x29, 0xee, - 0xbe, 0x7f, 0x0b, 0xb7, 0x06, 0x61, 0x3f, 0x69, 0xf2, 0xf8, 0x9d, 0xf6, 0x98, 0x5b, 0x4f, 0xd0, - 0x54, 0xc8, 0x3b, 0x8f, 0xe3, 0x97, 0xc5, 0xfd, 0x07, 0x84, 0x71, 0x92, 0xdb, 0xfc, 0x20, 0x60, - 0x66, 0x3b, 0x63, 0xbc, 0x9d, 0x26, 0xce, 0x8c, 0xec, 0x69, 0x78, 0x64, 0x3b, 0xe8, 0x0e, 0x2a, - 0xd1, 0xb8, 0xd5, 0xaf, 0xf0, 0xfe, 0x17, 0xe8, 0x01, 0x8f, 0xe3, 0xa3, 0x28, 0xa6, 0x2a, 0x54, - 0x89, 0x59, 0x13, 0x24, 0x38, 0x0f, 0x3e, 0x44, 0x2f, 0xc2, 0x90, 0x62, 0x30, 0x92, 0x45, 0x75, - 0x64, 0x26, 0x66, 0xa9, 0xfc, 0xcf, 0x0f, 0xdf, 0x39, 0x25, 0x93, 0x54, 0xb9, 0x0f, 0xc0, 0x7a, - 0x6c, 0x2f, 0x11, 0xa4, 0xe8, 0x03, 0xc0, 0x09, 0xc8, 0x67, 0xda, 0x1e, 0xd2, 0x42, 0xe2, 0xd7, - 0x12, 0xf9, 0x5f, 0x77, 0x1f, 0xf8, 0x36, 0x80, 0x13, 0xb0, 0xed, 0x32, 0xa0, 0xee, 0x18, 0x63, - 0x8a, 0x54, 0xcc, 0xaa, 0x13, 0x3c, 0xe1, 0x80, 0x94, 0xa1, 0x6c, 0x33, 0x1d, 0x22, 0xf8, 0x1b, - 0xdd, 0x82, 0xda, 0x50, 0xd7, 0x7b, 0x82, 0x54, 0xa0, 0xd8, 0x3f, 0xea, 0xf4, 0x9a, 0x37, 0x48, - 0x0d, 0xca, 0x83, 0xce, 0x70, 0x78, 0x80, 0xce, 0x06, 0x75, 0xa8, 0xa8, 0xa0, 0x02, 0x79, 0xf6, - 0xd5, 0xde, 0xd9, 0xe9, 0x1c, 0x0d, 0x3b, 0xbb, 0xcd, 0xc2, 0xf7, 0x8b, 0x95, 0x7c, 0xb3, 0x60, - 0xfc, 0xef, 0x02, 0xd4, 0xb4, 0x8e, 0x7a, 0x31, 0xbf, 0x8e, 0x87, 0xaf, 0xca, 0x27, 0xc3, 0x57, - 0xe9, 0x07, 0x45, 0x22, 0xc4, 0x97, 0x3c, 0x28, 0x7a, 0x13, 0x1a, 0x22, 0xba, 0xa8, 0xe6, 0x32, - 0x52, 0x32, 0xeb, 0x1c, 0x28, 0xb8, 0x39, 0x86, 0x28, 0x41, 0x22, 0xbc, 0xfc, 0x5d, 0x12, 0xf3, - 0x07, 0x41, 0x78, 0xfd, 0x1b, 0xef, 0xee, 0x07, 0xde, 0xe4, 0x82, 0x72, 0x0a, 0x2e, 0x01, 0xd7, - 0x04, 0x6c, 0x28, 0xc2, 0xbf, 0x08, 0x96, 0xa9, 0xc5, 0xc8, 0x28, 0x99, 0x75, 0x0e, 0x14, 0x05, - 0xbd, 0x2f, 0xe7, 0x18, 0x77, 0xa0, 0xdb, 0x48, 0x4f, 0x98, 0xd8, 0xfc, 0x3a, 0x48, 0x99, 0x66, - 0xab, 0x38, 0x77, 0xbe, 0x95, 0x4e, 0xf7, 0x72, 0x13, 0x2d, 0x79, 0x17, 0xc8, 0x74, 0x36, 0xb3, - 0x32, 0x8c, 0xa6, 0x45, 0x73, 0x69, 0x3a, 0x9b, 0x0d, 0x35, 0x7b, 0x1f, 0x79, 0x0d, 0x0a, 0xf6, - 0x74, 0x86, 0xac, 0x25, 0x32, 0x2e, 0xb6, 0x0f, 0x8f, 0x4c, 0x06, 0xfe, 0x06, 0xac, 0xbd, 0xbf, - 0x99, 0x83, 0x42, 0xfb, 0xf0, 0xe8, 0x27, 0x64, 0x92, 0xc5, 0xc8, 0xa7, 0xd1, 0xf6, 0x80, 0xbf, - 0xf9, 0x6d, 0x4a, 0xb1, 0xa3, 0xf0, 0xbb, 0x06, 0xea, 0xdb, 0xf8, 0x1b, 0x39, 0x20, 0x6d, 0xc6, - 0x91, 0xb0, 0x43, 0x95, 0xa2, 0x1c, 0xed, 0x33, 0x39, 0x7d, 0x9f, 0xc9, 0x60, 0xe7, 0xf9, 0x4c, - 0x76, 0xfe, 0x32, 0xc6, 0x17, 0x5b, 0xba, 0xcb, 0xa9, 0xa5, 0x6b, 0xec, 0x41, 0xed, 0x48, 0x8b, - 0x5a, 0x7d, 0x97, 0xed, 0x8a, 0x32, 0x5e, 0x35, 0xdf, 0x2f, 0xb9, 0x51, 0xd8, 0x17, 0x61, 0xaa, - 0xb5, 0x0a, 0xe7, 0xb5, 0x0a, 0x1b, 0x7f, 0x2f, 0xc7, 0x23, 0x2e, 0xaa, 0xf6, 0x45, 0x81, 0xb2, - 0xe5, 0x81, 0x6f, 0x14, 0x9b, 0xa7, 0x26, 0x8f, 0x74, 0x45, 0x58, 0x1d, 0xac, 0xbd, 0xe5, 0x9d, - 0x9e, 0x06, 0x54, 0xfa, 0xcd, 0xd5, 0x10, 0xd6, 0x47, 0x90, 0xd4, 0x9e, 0x98, 0x8a, 0xe6, 0xf0, - 0xfc, 0x03, 0xe1, 0x2c, 0xc7, 0xb4, 0xa7, 0x43, 0xfb, 0x52, 0x94, 0x1a, 0xb0, 0x11, 0x10, 0xa7, - 0x4e, 0x32, 0x36, 0x85, 0xfa, 0x36, 0xfe, 0xb6, 0x08, 0x1f, 0x94, 0x1c, 0x82, 0xfb, 0x50, 0x51, - 0xb9, 0xc6, 0xa5, 0x0a, 0x49, 0xa9, 0xf0, 0x4c, 0x76, 0x41, 0x6b, 0x56, 0xac, 0xc6, 0x9c, 0x5b, - 0xe0, 0xc9, 0x61, 0x57, 0xab, 0xf5, 0x7b, 0x40, 0x4e, 0x1d, 0x3f, 0x49, 0xcc, 0xb9, 0x47, 0x13, - 0x31, 0x1a, 0xb5, 0x71, 0x0c, 0x2b, 0x92, 0xed, 0x69, 0x2a, 0x5d, 0x7c, 0x7c, 0x73, 0x2f, 0xd9, - 0xd8, 0xf2, 0xa9, 0x8d, 0xcd, 0xf8, 0x8d, 0x12, 0x94, 0x65, 0x90, 0xf8, 0xac, 0xa8, 0xe5, 0xd5, - 0x78, 0xd4, 0xf2, 0x56, 0x2c, 0x92, 0x29, 0x0e, 0xbd, 0x90, 0x71, 0xde, 0x49, 0x8a, 0x29, 0xda, - 0x09, 0x58, 0x4c, 0x54, 0x11, 0x27, 0x60, 0xa5, 0xf8, 0x09, 0x58, 0x56, 0x24, 0x77, 0x2e, 0x6e, - 0xa7, 0x22, 0xb9, 0xdf, 0x02, 0x2e, 0x3b, 0x69, 0x0e, 0xc3, 0x15, 0x04, 0x88, 0xf8, 0x2a, 0x9a, - 0xa8, 0x55, 0x49, 0x8a, 0x5a, 0xaf, 0x2c, 0x06, 0x7d, 0x0c, 0x0b, 0x3c, 0x14, 0x99, 0x88, 0xb5, - 0x21, 0x37, 0x4b, 0xd1, 0x57, 0xf2, 0x3f, 0xbf, 0x87, 0x66, 0x0a, 0x5a, 0x3d, 0x5c, 0x6f, 0x2d, - 0x16, 0xae, 0x57, 0x3f, 0x99, 0xab, 0xc7, 0x4f, 0xe6, 0xee, 0x41, 0x53, 0x75, 0x1c, 0x9a, 0x94, - 0xdd, 0x40, 0x5c, 0xab, 0x5f, 0x94, 0x70, 0xc6, 0xde, 0x7b, 0x41, 0xb4, 0xd9, 0x2f, 0xc6, 0x36, - 0x7b, 0xc6, 0x7c, 0xdb, 0x61, 0x48, 0xa7, 0xb3, 0x50, 0x6e, 0xf6, 0x5a, 0xf0, 0x7c, 0x3e, 0xf2, - 0xfc, 0x9e, 0x9e, 0x1c, 0x5e, 0x3e, 0x3b, 0xb6, 0x61, 0xf1, 0xd4, 0x76, 0x26, 0x73, 0x9f, 0x5a, - 0x3e, 0xb5, 0x03, 0xcf, 0x45, 0xfe, 0x10, 0xc9, 0x1d, 0xa2, 0x89, 0x7b, 0x9c, 0xc6, 0x44, 0x12, - 0xb3, 0x71, 0xaa, 0x7f, 0xe2, 0xad, 0x58, 0xbd, 0x27, 0xd8, 0x1e, 0x2c, 0x22, 0x6e, 0x70, 0xff, - 0xbf, 0x6e, 0xcf, 0xda, 0x3b, 0xe8, 0x3e, 0xde, 0x1f, 0x36, 0x73, 0xec, 0x73, 0x70, 0xbc, 0xb3, - 0xd3, 0xe9, 0xec, 0xe2, 0x9e, 0x0c, 0xb0, 0xb0, 0xd7, 0xee, 0x1e, 0x88, 0x1d, 0xb9, 0xd8, 0x2c, - 0x19, 0x7f, 0x94, 0x87, 0x9a, 0xd6, 0x1a, 0x8c, 0xa5, 0xc3, 0x7f, 0x32, 0xfe, 0x5b, 0x16, 0xb1, - 0x74, 0x38, 0xa4, 0x3b, 0x26, 0x8f, 0xd4, 0x18, 0xf1, 0x10, 0x40, 0xb7, 0xd3, 0x1d, 0xb2, 0x25, - 0x77, 0x34, 0x6d, 0x90, 0x54, 0x14, 0xfd, 0xfc, 0xb5, 0x51, 0xf4, 0xc9, 0xdb, 0xb0, 0x24, 0x4b, - 0x96, 0x63, 0x22, 0x0e, 0x6f, 0x04, 0x58, 0x0c, 0xc9, 0xdb, 0x22, 0x1c, 0x91, 0xd8, 0x96, 0x19, - 0x5d, 0x51, 0xfa, 0xc9, 0xab, 0x9d, 0x19, 0x87, 0xae, 0x2c, 0x3a, 0x4e, 0x78, 0x80, 0x28, 0x01, - 0x47, 0x74, 0xa7, 0x44, 0xc7, 0xf6, 0x88, 0x85, 0xc4, 0x1e, 0xf1, 0x09, 0x40, 0xd4, 0x9e, 0x78, - 0xef, 0xde, 0x88, 0xf7, 0x6e, 0x4e, 0xeb, 0xdd, 0xbc, 0xf1, 0x8f, 0x04, 0x67, 0x13, 0x43, 0xa5, - 0x4c, 0xb9, 0xef, 0x83, 0x34, 0x2e, 0x5b, 0x78, 0xaf, 0x66, 0x36, 0xa1, 0xa1, 0x0c, 0x1a, 0xb0, - 0x2c, 0x30, 0x5d, 0x85, 0x48, 0x71, 0xe2, 0x7c, 0x9a, 0x13, 0xbf, 0x01, 0x75, 0x8c, 0x6f, 0x29, - 0x0a, 0x92, 0x01, 0xa6, 0xa7, 0xf6, 0xa5, 0x2c, 0x3b, 0xc6, 0x82, 0x8b, 0x09, 0x16, 0xfc, 0x77, - 0x72, 0x3c, 0x18, 0x5a, 0x54, 0xd1, 0x88, 0x07, 0xab, 0x3c, 0xe3, 0x3c, 0x58, 0x90, 0x9a, 0x0a, - 0x7f, 0x0d, 0x5f, 0xcd, 0x67, 0xf3, 0xd5, 0x6c, 0x8e, 0x5d, 0xc8, 0xe4, 0xd8, 0xc6, 0x25, 0xb4, - 0x76, 0x29, 0xeb, 0x8a, 0xf6, 0x64, 0x92, 0xec, 0xcb, 0x07, 0xb0, 0xca, 0x86, 0x10, 0xdd, 0x5f, - 0x38, 0x46, 0xdf, 0xd1, 0x08, 0xc7, 0xc9, 0x44, 0xb8, 0xb1, 0xdd, 0x87, 0x65, 0x91, 0x02, 0x17, - 0xad, 0x1e, 0x79, 0x6e, 0x89, 0x23, 0xd0, 0x6d, 0x97, 0xd1, 0x1a, 0xb7, 0xe0, 0x66, 0x46, 0xc9, - 0xc2, 0xe6, 0xf7, 0x9b, 0x39, 0x58, 0x6b, 0xf3, 0x08, 0x4b, 0xdf, 0x58, 0xcc, 0x80, 0xcf, 0xe1, - 0xa6, 0xba, 0x82, 0xa3, 0x5d, 0x1d, 0xd6, 0x2b, 0x29, 0x6f, 0xef, 0x68, 0x17, 0xcf, 0xb0, 0xae, - 0x2d, 0x58, 0x4f, 0xd6, 0x46, 0x54, 0x74, 0x0f, 0x96, 0x77, 0xe9, 0xc9, 0xfc, 0xec, 0x80, 0x5e, - 0x44, 0x75, 0x24, 0x50, 0x0c, 0xce, 0xbd, 0xe7, 0xa2, 0xa3, 0xf0, 0x37, 0xfa, 0xe8, 0x33, 0x1a, - 0x2b, 0x98, 0xd1, 0x91, 0x3c, 0x33, 0x42, 0xc8, 0x60, 0x46, 0x47, 0xc6, 0x23, 0x20, 0x7a, 0x3e, - 0x62, 0x8e, 0x30, 0x1d, 0x78, 0x7e, 0x62, 0x05, 0x57, 0x41, 0x48, 0xa7, 0xf2, 0xfa, 0x3c, 0x04, - 0xf3, 0x93, 0x01, 0x87, 0x18, 0xef, 0x40, 0xfd, 0xc8, 0xbe, 0x32, 0xe9, 0x0f, 0xc5, 0x0d, 0xf4, - 0x0d, 0x28, 0xcf, 0xec, 0x2b, 0xb6, 0x11, 0xa8, 0xe3, 0x63, 0x44, 0x1b, 0xbf, 0x57, 0x84, 0x05, - 0x4e, 0x49, 0xee, 0xf2, 0x07, 0x76, 0x1c, 0x17, 0x19, 0xb1, 0xdc, 0x12, 0x35, 0x50, 0x6a, 0xd7, - 0xcc, 0xa7, 0x77, 0x4d, 0x61, 0xeb, 0x96, 0xe1, 0x3b, 0xe5, 0x41, 0x9f, 0x3b, 0x9f, 0xca, 0x98, - 0x9d, 0xf1, 0x78, 0x42, 0xc5, 0xe8, 0xc9, 0x26, 0x1e, 0x4b, 0x25, 0xee, 0x1f, 0x12, 0x69, 0xda, - 0xbc, 0x76, 0x52, 0x18, 0x10, 0x1b, 0xa6, 0x0e, 0xca, 0x54, 0xe7, 0xcb, 0x32, 0x3c, 0x43, 0x5c, - 0x9d, 0x4f, 0xa9, 0xed, 0x95, 0x97, 0xab, 0xed, 0xdc, 0x08, 0xfe, 0x02, 0xb5, 0x1d, 0x5e, 0x41, - 0x6d, 0x7f, 0x05, 0x57, 0x8b, 0x9b, 0x50, 0x41, 0x09, 0x4f, 0xdb, 0x3f, 0x99, 0x64, 0xc7, 0xf6, - 0xcf, 0x4f, 0x35, 0xc5, 0x96, 0x3b, 0x86, 0x69, 0x1b, 0x98, 0x49, 0x7f, 0xf8, 0xd3, 0x31, 0x8c, - 0x3e, 0x85, 0xb2, 0x80, 0xb2, 0x09, 0xed, 0xda, 0x53, 0x19, 0xa4, 0x1a, 0x7f, 0xb3, 0x6e, 0xc3, - 0xb0, 0xad, 0x3f, 0x9c, 0x3b, 0x3e, 0x1d, 0xcb, 0xe0, 0x91, 0x0e, 0x72, 0x0f, 0x06, 0x61, 0x0d, - 0x64, 0x4a, 0xb6, 0x2b, 0xdf, 0xd6, 0xa8, 0x98, 0x65, 0x27, 0x78, 0xc2, 0x3e, 0x0d, 0x02, 0x4d, - 0x7c, 0x12, 0x60, 0xe6, 0xf9, 0x52, 0x3c, 0x31, 0x7e, 0x3f, 0x07, 0x4d, 0xb1, 0xba, 0x14, 0x4e, - 0x57, 0x60, 0x4b, 0xd7, 0xf9, 0x31, 0xbd, 0x38, 0x14, 0xa4, 0x01, 0x0d, 0x34, 0xed, 0x29, 0x59, - 0x85, 0x9b, 0x26, 0x6b, 0x0c, 0xb8, 0x27, 0xe4, 0x95, 0xd7, 0xa1, 0x26, 0x6f, 0x10, 0x4d, 0x9d, - 0x89, 0x7c, 0x9d, 0x8d, 0x5f, 0x21, 0x3a, 0x74, 0x26, 0x52, 0xd4, 0xf1, 0x6d, 0x11, 0x32, 0x24, - 0x87, 0xa2, 0x8e, 0x69, 0x87, 0xd4, 0xf8, 0x27, 0x39, 0x58, 0xd6, 0x9a, 0x22, 0xd6, 0xed, 0x77, - 0xa0, 0xae, 0xde, 0x3c, 0xa1, 0x4a, 0xc6, 0xde, 0x88, 0xf3, 0xa8, 0x28, 0x59, 0x6d, 0xa4, 0x20, - 0x01, 0xab, 0xcc, 0xd8, 0xbe, 0xe2, 0xd7, 0x5c, 0xe6, 0x53, 0xa9, 0x97, 0x8f, 0xed, 0xab, 0x3d, - 0x4a, 0x07, 0xf3, 0x29, 0xb9, 0x0b, 0xf5, 0xe7, 0x94, 0x3e, 0x53, 0x04, 0x9c, 0xb1, 0x03, 0x83, - 0x09, 0x0a, 0x03, 0x1a, 0x53, 0xcf, 0x0d, 0xcf, 0x15, 0x89, 0xd0, 0x2f, 0x10, 0xc8, 0x69, 0x8c, - 0x7f, 0x9b, 0x87, 0x15, 0x6e, 0x40, 0x16, 0xa7, 0x10, 0x82, 0x75, 0xb5, 0x60, 0x81, 0x1f, 0x08, - 0x70, 0xe6, 0xb5, 0x7f, 0xc3, 0x14, 0xdf, 0xe4, 0xe3, 0x57, 0x34, 0x7a, 0xcb, 0x68, 0x23, 0xd7, - 0x74, 0x7f, 0x21, 0xdd, 0xfd, 0xd7, 0x77, 0x6f, 0x96, 0x4f, 0x42, 0x29, 0xcb, 0x27, 0xe1, 0x55, - 0x3c, 0x01, 0x52, 0xf1, 0x2e, 0xca, 0xe9, 0xb8, 0xd3, 0x8f, 0x60, 0x23, 0x46, 0x83, 0xdc, 0xda, - 0x39, 0x75, 0xd4, 0x83, 0x09, 0xab, 0x1a, 0xf5, 0x40, 0xe2, 0xb6, 0xcb, 0x50, 0x0a, 0x46, 0xde, - 0x0c, 0x7d, 0xeb, 0xe3, 0xbd, 0x2a, 0xb6, 0x89, 0xdf, 0xc9, 0x41, 0x6b, 0x2f, 0x0a, 0xe0, 0xed, - 0x04, 0xa1, 0xe7, 0xab, 0xb7, 0x28, 0x6e, 0x03, 0xf0, 0x97, 0xe2, 0xd0, 0x0c, 0x22, 0x22, 0xaf, - 0x21, 0x04, 0x8d, 0x20, 0x37, 0xa1, 0x42, 0xdd, 0x31, 0x47, 0xf2, 0xd9, 0x50, 0xa6, 0xee, 0x58, - 0x9a, 0x50, 0x52, 0x9b, 0x7c, 0x23, 0x2e, 0xbe, 0x88, 0x18, 0x42, 0xac, 0x77, 0xe8, 0x05, 0x0a, - 0x1b, 0x45, 0x15, 0x43, 0xe8, 0xd0, 0xbe, 0xc4, 0x2b, 0x12, 0x81, 0xf1, 0x4f, 0xf3, 0xb0, 0x14, - 0xd5, 0x8f, 0x47, 0x51, 0xbb, 0x9b, 0x8a, 0x07, 0x27, 0xdc, 0xa9, 0x14, 0x0f, 0xbf, 0x2b, 0xa6, - 0x84, 0xc3, 0xb4, 0x35, 0xcd, 0xb4, 0x5e, 0xe1, 0x0b, 0xb4, 0xeb, 0x12, 0x03, 0x6a, 0x92, 0xc2, - 0x9b, 0x87, 0x5a, 0xbc, 0xec, 0x2a, 0x27, 0xe9, 0xcf, 0x43, 0xa6, 0x5e, 0xdb, 0x53, 0x26, 0xad, - 0x08, 0x05, 0xb7, 0x64, 0x4f, 0xc3, 0x2e, 0x3e, 0x49, 0xc8, 0xc0, 0x2c, 0x19, 0x1f, 0x4c, 0x46, - 0xc5, 0xe8, 0x9b, 0x5c, 0xdb, 0xe2, 0xa3, 0x87, 0x9a, 0x96, 0xae, 0x8a, 0xf0, 0x87, 0x90, 0x94, - 0x2a, 0xf2, 0x3a, 0xd4, 0x78, 0xe6, 0x51, 0x88, 0x13, 0x0c, 0x5e, 0x19, 0x76, 0x5d, 0xc4, 0x0b, - 0x33, 0xa7, 0x37, 0x8f, 0x59, 0x6e, 0x80, 0x17, 0x25, 0x5f, 0x8f, 0x53, 0x2d, 0xb6, 0xd4, 0x19, - 0x66, 0x4d, 0xc1, 0x7a, 0x01, 0x93, 0x56, 0x6e, 0x66, 0x8c, 0xae, 0x60, 0x06, 0x3b, 0xa0, 0x45, - 0x7b, 0x97, 0x83, 0xc0, 0x39, 0xc2, 0xba, 0xe4, 0xbe, 0xf1, 0xae, 0x37, 0x9b, 0xa7, 0x71, 0x40, - 0xa4, 0x85, 0xf3, 0x81, 0x8e, 0xc5, 0xe2, 0x41, 0x99, 0x8e, 0x8f, 0x36, 0x57, 0x80, 0x8f, 0x60, - 0xb3, 0x73, 0xc9, 0x18, 0x8b, 0xba, 0x2c, 0x30, 0x7a, 0x36, 0x97, 0xc7, 0xab, 0x89, 0x53, 0x96, - 0xdc, 0x2b, 0x9d, 0xb2, 0x8c, 0x79, 0x04, 0x0c, 0x95, 0xd7, 0x8f, 0x93, 0x09, 0xb7, 0x2f, 0xd9, - 0xae, 0x75, 0x82, 0x59, 0xc8, 0x80, 0x3b, 0x0c, 0xc4, 0x33, 0x35, 0x02, 0x58, 0x3a, 0x9c, 0x4f, - 0x42, 0x67, 0x47, 0x81, 0xc8, 0xc7, 0x22, 0x0d, 0x96, 0x23, 0x7b, 0x2d, 0xb3, 0x20, 0x50, 0x05, - 0x61, 0x67, 0x4d, 0x59, 0x46, 0x56, 0xba, 0xbc, 0xa5, 0x69, 0xbc, 0x04, 0xe3, 0x26, 0x6c, 0x44, - 0x5f, 0xbc, 0xdb, 0xe4, 0x8e, 0xf4, 0x77, 0x73, 0xfc, 0xda, 0x16, 0xc7, 0x0d, 0x5c, 0x7b, 0x16, - 0x9c, 0x7b, 0x21, 0xe9, 0xc0, 0x4a, 0xe0, 0xb8, 0x67, 0x13, 0xaa, 0x67, 0x1f, 0x88, 0x4e, 0x58, - 0x8b, 0xd7, 0x8d, 0x27, 0x0d, 0xcc, 0x65, 0x9e, 0x22, 0xca, 0x2d, 0x20, 0xdb, 0xd7, 0x55, 0x32, - 0x9a, 0x16, 0x89, 0xde, 0x48, 0x57, 0xbe, 0x0b, 0x8b, 0xf1, 0x82, 0xc8, 0xa7, 0x22, 0x70, 0x4c, - 0x54, 0xab, 0x42, 0x22, 0x6c, 0x46, 0x34, 0x21, 0x6a, 0x51, 0xdf, 0x07, 0xc6, 0x5f, 0xcf, 0x41, - 0xcb, 0xa4, 0x6c, 0xe6, 0x6a, 0xb5, 0x94, 0x73, 0xe6, 0x3b, 0xa9, 0x5c, 0xaf, 0x6f, 0xab, 0x8c, - 0x47, 0x23, 0x6b, 0xf4, 0xde, 0xb5, 0x83, 0xb1, 0x7f, 0x23, 0xd5, 0xa2, 0xed, 0x0a, 0x2c, 0x70, - 0x12, 0x63, 0x03, 0xd6, 0x44, 0x7d, 0x64, 0x5d, 0x22, 0x7f, 0x80, 0x58, 0x89, 0x31, 0x7f, 0x80, - 0x4d, 0x68, 0xf1, 0xf8, 0x0e, 0x7a, 0x23, 0x44, 0xc2, 0x5d, 0x20, 0x87, 0xf6, 0xc8, 0xf6, 0x3d, - 0xcf, 0x3d, 0xa2, 0xbe, 0xb8, 0x06, 0x80, 0x82, 0x28, 0x1e, 0x95, 0x4b, 0x89, 0x99, 0x7f, 0xc9, - 0x87, 0x04, 0x3c, 0x57, 0x3a, 0x18, 0xf2, 0x2f, 0xc3, 0x87, 0x95, 0x6d, 0xfb, 0x19, 0x95, 0x39, - 0xc9, 0x2e, 0xfa, 0x02, 0x6a, 0x33, 0x95, 0xa9, 0xec, 0x77, 0x19, 0x93, 0x2b, 0x5d, 0xac, 0xa9, - 0x53, 0x33, 0x2e, 0x85, 0x06, 0x5b, 0x8c, 0x72, 0x33, 0x96, 0x7b, 0x3e, 0x03, 0x3d, 0xa1, 0x57, - 0xdd, 0xb1, 0xf1, 0x10, 0x56, 0xe3, 0x65, 0x0a, 0xd6, 0xb2, 0x09, 0x95, 0xa9, 0x80, 0x89, 0xda, - 0xab, 0x6f, 0xa6, 0xb3, 0x30, 0xbd, 0x53, 0xa6, 0xe9, 0xee, 0xaa, 0x50, 0x0d, 0x5f, 0xc0, 0x46, - 0x0a, 0x23, 0x32, 0xbc, 0x0b, 0x75, 0xad, 0x22, 0xbc, 0x19, 0x45, 0x13, 0x54, 0x4d, 0x02, 0xe3, - 0x73, 0xd8, 0xe0, 0x6a, 0x5b, 0x94, 0x5c, 0x76, 0x41, 0xa2, 0x15, 0xb9, 0x64, 0x2b, 0x3e, 0x96, - 0xba, 0xa6, 0x9e, 0x34, 0x8a, 0x89, 0x39, 0x46, 0x9c, 0xf4, 0x11, 0x93, 0x9f, 0xc6, 0x31, 0xac, - 0xa7, 0xbb, 0x8f, 0xd5, 0xff, 0x2f, 0xd4, 0xe5, 0xb2, 0x7b, 0x22, 0xb4, 0xea, 0x9e, 0xff, 0x9a, - 0xe3, 0xfd, 0x13, 0x43, 0x89, 0x6a, 0x8e, 0x81, 0x4c, 0x69, 0x78, 0xee, 0x8d, 0xad, 0x74, 0xc9, - 0x8f, 0x94, 0x8b, 0x5a, 0x66, 0xda, 0xad, 0x43, 0x4c, 0xa8, 0x61, 0xc4, 0x0d, 0x8e, 0x69, 0x12, - 0xbe, 0x39, 0x82, 0xf5, 0x6c, 0xe2, 0x0c, 0xc7, 0xae, 0x8f, 0xe2, 0xf2, 0xfc, 0xed, 0x6b, 0x9b, - 0xcf, 0xaa, 0xa5, 0x8b, 0xf7, 0xbf, 0x57, 0x81, 0xb2, 0x30, 0xd5, 0x90, 0x2d, 0x28, 0x8e, 0xa4, - 0x93, 0x70, 0x14, 0x17, 0x55, 0x60, 0xe5, 0xff, 0x1d, 0x74, 0x15, 0x66, 0x74, 0xe4, 0x0b, 0x58, - 0x8c, 0xfb, 0xc9, 0x24, 0xe2, 0x17, 0xc5, 0x1d, 0x5c, 0x1a, 0xa3, 0x84, 0x13, 0x41, 0x35, 0x92, - 0xc1, 0xb8, 0x68, 0x5a, 0x39, 0xd7, 0x84, 0x34, 0xcf, 0x65, 0x6a, 0x5d, 0x70, 0x6e, 0x5b, 0x0f, - 0x1f, 0x7d, 0x22, 0x0e, 0x15, 0x6a, 0x08, 0x1c, 0x9c, 0xdb, 0x0f, 0x1f, 0x7d, 0x92, 0x54, 0xd8, - 0x44, 0xf8, 0x22, 0x4d, 0x61, 0x5b, 0x85, 0x12, 0x7f, 0x6d, 0x81, 0x7b, 0x7b, 0xf2, 0x0f, 0x69, - 0xce, 0x98, 0xfb, 0xd4, 0x12, 0x97, 0x85, 0xf8, 0x2e, 0xca, 0xdf, 0xd8, 0x23, 0x02, 0x37, 0x40, - 0x14, 0x37, 0x27, 0xae, 0xc3, 0xc2, 0x79, 0xf4, 0x7c, 0x46, 0xc3, 0x14, 0x5f, 0xc6, 0x9f, 0x96, - 0xa0, 0xa6, 0x75, 0x0a, 0xa9, 0x43, 0xc5, 0xec, 0x0c, 0x3a, 0xe6, 0x97, 0x9d, 0xdd, 0xe6, 0x0d, - 0x72, 0x0f, 0xde, 0xea, 0xf6, 0x76, 0xfa, 0xa6, 0xd9, 0xd9, 0x19, 0x5a, 0x7d, 0xd3, 0x92, 0xe1, - 0x7a, 0x8f, 0xda, 0x4f, 0x0f, 0x3b, 0xbd, 0xa1, 0xb5, 0xdb, 0x19, 0xb6, 0xbb, 0x07, 0x83, 0x66, - 0x8e, 0xbc, 0x06, 0xad, 0x88, 0x52, 0xa2, 0xdb, 0x87, 0xfd, 0xe3, 0xde, 0xb0, 0x99, 0x27, 0x77, - 0xe0, 0xd6, 0x5e, 0xb7, 0xd7, 0x3e, 0xb0, 0x22, 0x9a, 0x9d, 0x83, 0xe1, 0x97, 0x56, 0xe7, 0xe7, - 0x8e, 0xba, 0xe6, 0xd3, 0x66, 0x21, 0x8b, 0x60, 0x7f, 0x78, 0xb0, 0x23, 0x73, 0x28, 0x92, 0x9b, - 0xb0, 0xc6, 0x09, 0x78, 0x12, 0x6b, 0xd8, 0xef, 0x5b, 0x83, 0x7e, 0xbf, 0xd7, 0x2c, 0x91, 0x65, - 0x68, 0x74, 0x7b, 0x5f, 0xb6, 0x0f, 0xba, 0xbb, 0x96, 0xd9, 0x69, 0x1f, 0x1c, 0x36, 0x17, 0xc8, - 0x0a, 0x2c, 0x25, 0xe9, 0xca, 0x2c, 0x0b, 0x49, 0xd7, 0xef, 0x75, 0xfb, 0x3d, 0xeb, 0xcb, 0x8e, - 0x39, 0xe8, 0xf6, 0x7b, 0xcd, 0x0a, 0x59, 0x07, 0x12, 0x47, 0xed, 0x1f, 0xb6, 0x77, 0x9a, 0x55, - 0xb2, 0x06, 0xcb, 0x71, 0xf8, 0x93, 0xce, 0xd3, 0x26, 0x90, 0x16, 0xac, 0xf2, 0x8a, 0x59, 0xdb, - 0x9d, 0x83, 0xfe, 0x57, 0xd6, 0x61, 0xb7, 0xd7, 0x3d, 0x3c, 0x3e, 0x6c, 0xd6, 0x30, 0x68, 0x7a, - 0xa7, 0x63, 0x75, 0x7b, 0x83, 0xe3, 0xbd, 0xbd, 0xee, 0x4e, 0xb7, 0xd3, 0x1b, 0x36, 0xeb, 0xbc, - 0xe4, 0xac, 0x86, 0x37, 0x58, 0x02, 0x71, 0x9f, 0xd6, 0xda, 0xed, 0x0e, 0xda, 0xdb, 0x07, 0x9d, - 0xdd, 0xe6, 0x22, 0xb9, 0x0d, 0x37, 0x87, 0x9d, 0xc3, 0xa3, 0xbe, 0xd9, 0x36, 0x9f, 0xca, 0xfb, - 0xb6, 0xd6, 0x5e, 0xbb, 0x7b, 0x70, 0x6c, 0x76, 0x9a, 0x4b, 0xe4, 0x0d, 0xb8, 0x6d, 0x76, 0x7e, - 0x70, 0xdc, 0x35, 0x3b, 0xbb, 0x56, 0xaf, 0xbf, 0xdb, 0xb1, 0xf6, 0x3a, 0xed, 0xe1, 0xb1, 0xd9, - 0xb1, 0x0e, 0xbb, 0x83, 0x41, 0xb7, 0xf7, 0xb8, 0xd9, 0x24, 0x6f, 0xc1, 0x5d, 0x45, 0xa2, 0x32, - 0x48, 0x50, 0x2d, 0xb3, 0xf6, 0xc9, 0x21, 0xed, 0x75, 0x7e, 0x6e, 0x68, 0x1d, 0x75, 0x3a, 0x66, - 0x93, 0x90, 0x4d, 0x58, 0x8f, 0x8a, 0xe7, 0x05, 0x88, 0xb2, 0x57, 0x18, 0xee, 0xa8, 0x63, 0x1e, - 0xb6, 0x7b, 0x6c, 0x80, 0x63, 0xb8, 0x55, 0x56, 0xed, 0x08, 0x97, 0xac, 0xf6, 0x1a, 0x21, 0xb0, - 0xa8, 0x8d, 0xca, 0x5e, 0xdb, 0x6c, 0xae, 0x93, 0x25, 0xa8, 0x1d, 0x1e, 0x1d, 0x59, 0xc3, 0xee, - 0x61, 0xa7, 0x7f, 0x3c, 0x6c, 0x6e, 0xa4, 0x47, 0xe9, 0xa8, 0xfd, 0xf4, 0xa0, 0xdf, 0xde, 0x6d, - 0xb6, 0xc8, 0x1a, 0x34, 0xbb, 0xbd, 0x61, 0xc7, 0x64, 0xd3, 0x40, 0xe6, 0xfa, 0xdf, 0xca, 0x64, - 0x15, 0x96, 0x64, 0x23, 0x24, 0xf4, 0x8f, 0xcb, 0x64, 0x03, 0xc8, 0x71, 0xcf, 0xec, 0xb4, 0x77, - 0x59, 0x9f, 0x2a, 0xc4, 0x7f, 0x2f, 0x8b, 0xe3, 0xe5, 0xdf, 0x2f, 0x28, 0x39, 0x50, 0xac, 0xe5, - 0xd4, 0x53, 0x58, 0x75, 0xed, 0x09, 0xab, 0x97, 0x3d, 0xbc, 0xaa, 0x29, 0xf7, 0x85, 0x94, 0x72, - 0x9f, 0xb2, 0x1e, 0x35, 0x74, 0xcd, 0xe3, 0x4d, 0x68, 0x4c, 0xf9, 0xb3, 0x58, 0xe2, 0x5d, 0x15, - 0x10, 0xce, 0x9a, 0x1c, 0xc8, 0x1f, 0x55, 0x49, 0xbd, 0x3c, 0x5a, 0x4a, 0xbf, 0x3c, 0x9a, 0xa5, - 0x61, 0x2e, 0x64, 0x69, 0x98, 0xf7, 0x61, 0x99, 0x73, 0x2d, 0xc7, 0x75, 0xa6, 0xd2, 0x6e, 0x23, - 0xde, 0xf1, 0x44, 0xee, 0xc5, 0xe1, 0x52, 0xa1, 0x95, 0x4a, 0xaf, 0xe0, 0x2e, 0x65, 0xa1, 0xef, - 0xc6, 0x74, 0x5d, 0xce, 0x54, 0x94, 0xae, 0xab, 0x4a, 0xb0, 0x2f, 0xa3, 0x12, 0x6a, 0x5a, 0x09, - 0x1c, 0x8e, 0x25, 0xdc, 0x87, 0x65, 0x7a, 0x19, 0xfa, 0xb6, 0xe5, 0xcd, 0xec, 0x1f, 0xce, 0xd1, - 0x45, 0xc6, 0x46, 0x2b, 0x52, 0xdd, 0x5c, 0x42, 0x44, 0x1f, 0xe1, 0xbb, 0x76, 0x68, 0x1b, 0xbf, - 0x08, 0xa0, 0x36, 0x5c, 0x7c, 0x0f, 0xd5, 0xf5, 0xe4, 0x3d, 0xe1, 0xba, 0xc9, 0x3f, 0x70, 0x1c, - 0x43, 0xcf, 0xb7, 0xcf, 0x68, 0x57, 0x9e, 0x0a, 0x47, 0x00, 0x72, 0x0b, 0x0a, 0xde, 0x4c, 0xba, - 0x32, 0x56, 0xe5, 0x43, 0x01, 0x33, 0x93, 0x41, 0x8d, 0x4f, 0x20, 0xdf, 0x9f, 0x5d, 0x2b, 0x45, - 0xe1, 0xa3, 0x6d, 0xfc, 0xa5, 0x86, 0x3c, 0x46, 0x28, 0x96, 0x9f, 0xf7, 0xff, 0x32, 0xd4, 0xb4, - 0x37, 0xde, 0xc8, 0x06, 0xac, 0x7c, 0xd5, 0x1d, 0xf6, 0x3a, 0x83, 0x81, 0x75, 0x74, 0xbc, 0xfd, - 0xa4, 0xf3, 0xd4, 0xda, 0x6f, 0x0f, 0xf6, 0x9b, 0x37, 0x18, 0x9b, 0xe9, 0x75, 0x06, 0xc3, 0xce, - 0x6e, 0x0c, 0x9e, 0x23, 0xaf, 0xc3, 0xe6, 0x71, 0xef, 0x78, 0xd0, 0xd9, 0xb5, 0xb2, 0xd2, 0xe5, - 0xd9, 0xba, 0x12, 0xf8, 0x8c, 0xe4, 0x85, 0xfb, 0xbf, 0x04, 0x8b, 0xf1, 0x60, 0x39, 0x04, 0x60, - 0xe1, 0xa0, 0xf3, 0xb8, 0xbd, 0xf3, 0x94, 0x3f, 0x04, 0x31, 0x18, 0xb6, 0x87, 0xdd, 0x1d, 0x4b, - 0x3c, 0xfc, 0xc0, 0x78, 0x58, 0x8e, 0xd4, 0xa0, 0xdc, 0xee, 0xed, 0xec, 0xf7, 0xcd, 0x41, 0x33, - 0x4f, 0x5e, 0x83, 0x0d, 0xb9, 0x84, 0x76, 0xfa, 0x87, 0x87, 0xdd, 0x21, 0xb2, 0xef, 0xe1, 0xd3, - 0x23, 0xb6, 0x62, 0xee, 0xdb, 0x50, 0x8d, 0xde, 0xac, 0x40, 0x96, 0xd8, 0x1d, 0x76, 0xdb, 0xc3, - 0x68, 0x3f, 0x68, 0xde, 0x60, 0x1c, 0x37, 0x02, 0xe3, 0xc3, 0x13, 0xcd, 0x1c, 0x8f, 0x27, 0x20, - 0x81, 0xbc, 0xf4, 0x66, 0x9e, 0xb1, 0x81, 0x08, 0xba, 0xdd, 0x1f, 0xb2, 0x26, 0xfc, 0x32, 0x2c, - 0xc6, 0x9f, 0x86, 0x20, 0x4d, 0xa8, 0xb3, 0xf2, 0xb5, 0x22, 0x00, 0x16, 0x78, 0x8d, 0x9b, 0x39, - 0xce, 0xf3, 0x77, 0xfa, 0x87, 0xdd, 0xde, 0x63, 0xdc, 0x28, 0x9a, 0x79, 0x06, 0xea, 0x1f, 0x0f, - 0x1f, 0xf7, 0x15, 0xa8, 0xc0, 0x52, 0xf0, 0xe6, 0x34, 0x8b, 0xf7, 0x7f, 0x08, 0xcb, 0xa9, 0x47, - 0x24, 0x58, 0xad, 0xfb, 0xc7, 0xc3, 0x9d, 0xfe, 0xa1, 0x5e, 0x4e, 0x0d, 0xca, 0x3b, 0x07, 0xed, - 0xee, 0x21, 0x1e, 0xd4, 0x34, 0xa0, 0x7a, 0xdc, 0x93, 0x9f, 0xf9, 0xf8, 0xf3, 0x17, 0x05, 0xc6, - 0xbd, 0xf6, 0xba, 0xe6, 0x60, 0x68, 0x0d, 0x86, 0xed, 0xc7, 0x9d, 0x66, 0x91, 0xa5, 0x95, 0xac, - 0xac, 0x74, 0xff, 0x73, 0x58, 0x8c, 0xfb, 0xdd, 0xc7, 0xcf, 0xdf, 0x36, 0x61, 0x7d, 0xbb, 0x33, - 0xfc, 0xaa, 0xd3, 0xe9, 0xe1, 0x90, 0xef, 0x74, 0x7a, 0x43, 0xb3, 0x7d, 0xd0, 0x1d, 0x3e, 0x6d, - 0xe6, 0xee, 0x7f, 0x01, 0xcd, 0xa4, 0xd3, 0x47, 0xcc, 0x4b, 0xe6, 0x45, 0xee, 0x34, 0xf7, 0xff, - 0x43, 0x0e, 0x56, 0xb3, 0x8e, 0x07, 0xd9, 0xc4, 0x14, 0x8c, 0x90, 0xed, 0x94, 0x83, 0x7e, 0xcf, - 0xea, 0xf5, 0x31, 0xfc, 0xfb, 0x26, 0xac, 0x27, 0x10, 0xb2, 0x15, 0x39, 0x72, 0x0b, 0x36, 0x52, - 0x89, 0x2c, 0xb3, 0x7f, 0x8c, 0x63, 0xd9, 0x82, 0xd5, 0x04, 0xb2, 0x63, 0x9a, 0x7d, 0xb3, 0x59, - 0x20, 0xef, 0xc1, 0xbd, 0x04, 0x26, 0x2d, 0x1f, 0x48, 0xf1, 0xa1, 0x48, 0xde, 0x81, 0x37, 0x53, - 0xd4, 0xd1, 0x16, 0x6a, 0x6d, 0xb7, 0x0f, 0x58, 0xf3, 0x9a, 0xa5, 0xfb, 0x7f, 0x58, 0x04, 0x88, - 0x6e, 0xdb, 0xb2, 0xf2, 0x77, 0xdb, 0xc3, 0xf6, 0x41, 0x9f, 0xad, 0x19, 0xb3, 0x3f, 0x64, 0xb9, - 0x9b, 0x9d, 0x1f, 0x34, 0x6f, 0x64, 0x62, 0xfa, 0x47, 0xac, 0x41, 0x1b, 0xb0, 0xc2, 0xe7, 0xdf, - 0x01, 0x6b, 0x06, 0x9b, 0x2e, 0xfc, 0x25, 0x01, 0x26, 0x84, 0x1c, 0x1f, 0xed, 0x99, 0xfd, 0xde, - 0xd0, 0x1a, 0xec, 0x1f, 0x0f, 0x77, 0xf1, 0x61, 0x82, 0x1d, 0xb3, 0x7b, 0xc4, 0xf3, 0x2c, 0xbe, - 0x88, 0x80, 0x65, 0x5d, 0x62, 0x0b, 0xfc, 0x71, 0x7f, 0x30, 0xe8, 0x1e, 0x59, 0x3f, 0x38, 0xee, - 0x98, 0xdd, 0xce, 0x00, 0x13, 0x2e, 0x64, 0xc0, 0x19, 0x7d, 0x99, 0xcd, 0xd9, 0xe1, 0xc1, 0x97, - 0x62, 0xa3, 0x63, 0xa4, 0x95, 0x38, 0x88, 0x51, 0x55, 0xd9, 0xe8, 0xb0, 0xcd, 0x39, 0x23, 0x67, - 0xb8, 0x06, 0xc7, 0xd2, 0xd5, 0xd8, 0x56, 0x9a, 0x5a, 0xf9, 0x98, 0xac, 0x9e, 0x8d, 0x62, 0xa9, - 0x50, 0x22, 0x51, 0xf2, 0xdb, 0xee, 0xae, 0x89, 0x09, 0x16, 0x53, 0x50, 0x46, 0xbb, 0xc4, 0x26, - 0x21, 0xdb, 0xbd, 0x19, 0x49, 0x53, 0x7e, 0x30, 0xcc, 0x32, 0x6b, 0xf1, 0x57, 0xc7, 0x87, 0xdb, - 0x7d, 0x29, 0x06, 0xf0, 0xfa, 0x92, 0x0c, 0x38, 0xa3, 0x5f, 0xc1, 0x97, 0x1f, 0x38, 0x3b, 0x42, - 0xc2, 0x55, 0x1d, 0xc0, 0x28, 0xd6, 0x18, 0x13, 0x94, 0x80, 0x9f, 0xef, 0x98, 0x7d, 0x8b, 0xc9, - 0x59, 0x28, 0x23, 0x32, 0xfa, 0xf5, 0xeb, 0xd1, 0x2c, 0xf5, 0x06, 0xb2, 0xbb, 0x43, 0x5e, 0xd3, - 0xd7, 0xe5, 0x07, 0xc3, 0xdc, 0x79, 0xf8, 0x2f, 0xdf, 0x80, 0xaa, 0xba, 0x8a, 0x43, 0xbe, 0x0f, - 0x8d, 0x58, 0xf8, 0x0d, 0x72, 0x2b, 0x3b, 0x28, 0x07, 0xea, 0x57, 0x9b, 0xaf, 0xbd, 0x28, 0x62, - 0x07, 0x39, 0xd4, 0x4c, 0x1a, 0x3c, 0xb3, 0xd7, 0x92, 0x66, 0x86, 0x58, 0x6e, 0xb7, 0xaf, 0xc1, - 0x8a, 0xec, 0x9e, 0xe0, 0xf3, 0x0b, 0x18, 0xae, 0x52, 0x6c, 0x3c, 0xe4, 0x76, 0x14, 0x0b, 0x5f, - 0x87, 0xcb, 0x0c, 0xa5, 0x02, 0xa9, 0xe1, 0x76, 0x69, 0x68, 0x3b, 0x93, 0x80, 0xec, 0x42, 0x4d, - 0x7b, 0xd1, 0x98, 0xdc, 0xbc, 0xf6, 0x21, 0xe7, 0xcd, 0xcd, 0x2c, 0x94, 0xa8, 0xd2, 0x77, 0xa1, - 0xaa, 0x5e, 0x74, 0x25, 0x1b, 0xda, 0x8b, 0xc3, 0xfa, 0x4b, 0xb8, 0x9b, 0xad, 0x34, 0x42, 0xa4, - 0xdf, 0x85, 0x9a, 0xf6, 0xfc, 0xaa, 0xaa, 0x45, 0xfa, 0xf1, 0x57, 0x55, 0x8b, 0xac, 0xd7, 0x5a, - 0x0f, 0x60, 0x4d, 0x18, 0x4e, 0x4e, 0xe8, 0xd7, 0xe9, 0x1e, 0x92, 0xee, 0x9e, 0x07, 0x39, 0xf2, - 0x05, 0x54, 0xe4, 0xa3, 0xbf, 0x64, 0x3d, 0xfb, 0x11, 0xe5, 0xcd, 0x8d, 0x14, 0x5c, 0x54, 0xa5, - 0x0d, 0x10, 0x3d, 0xdf, 0x4a, 0x64, 0xc3, 0x53, 0x0f, 0xc5, 0xaa, 0x91, 0xc9, 0x78, 0xeb, 0x75, - 0x17, 0x6a, 0xda, 0x4b, 0xad, 0xaa, 0x4f, 0xd2, 0xaf, 0xbc, 0xaa, 0x3e, 0xc9, 0x7a, 0xd8, 0xf5, - 0xfb, 0xd0, 0x88, 0x3d, 0xb9, 0xaa, 0xe6, 0x71, 0xd6, 0x83, 0xae, 0x6a, 0x1e, 0x67, 0xbf, 0xd2, - 0xba, 0x0b, 0x35, 0xed, 0x19, 0x54, 0x55, 0xa3, 0xf4, 0x5b, 0xac, 0xaa, 0x46, 0x19, 0xaf, 0xa6, - 0xb2, 0xd5, 0x10, 0x7f, 0x03, 0x55, 0xad, 0x86, 0xcc, 0xc7, 0x54, 0xd5, 0x6a, 0xc8, 0x7e, 0x38, - 0x95, 0x4d, 0x3d, 0xf5, 0xee, 0x0a, 0xd9, 0x88, 0xd9, 0x2b, 0xa2, 0x07, 0x5c, 0xd4, 0xd4, 0x4b, - 0x3f, 0xd1, 0xf2, 0x18, 0x56, 0xd4, 0xa4, 0x51, 0xaf, 0xa6, 0x04, 0xaa, 0x4e, 0x99, 0x6f, 0xb3, - 0x6c, 0x36, 0x93, 0xd8, 0x07, 0x39, 0xf2, 0x19, 0x94, 0xc5, 0x53, 0x14, 0x64, 0x2d, 0xf9, 0x34, - 0x05, 0xaf, 0xc4, 0x7a, 0xf6, 0x8b, 0x15, 0xe4, 0x08, 0x17, 0xb4, 0xfe, 0x56, 0x84, 0x3e, 0x63, - 0x33, 0x9e, 0x97, 0xd8, 0x7c, 0xfd, 0x3a, 0x74, 0x94, 0x63, 0xf2, 0x7d, 0x93, 0xdb, 0xd7, 0x85, - 0x11, 0x8b, 0xe7, 0x78, 0x5d, 0xbc, 0xd3, 0xc7, 0x50, 0xd7, 0xdf, 0xbf, 0x23, 0xfa, 0x3a, 0x4c, - 0xe6, 0x75, 0x2b, 0x13, 0x27, 0x32, 0xfa, 0x12, 0xd6, 0x55, 0x7f, 0xeb, 0x31, 0xad, 0x02, 0x72, - 0x27, 0x23, 0xd2, 0x55, 0xac, 0xd7, 0x6f, 0x5e, 0x1b, 0x0a, 0xeb, 0x41, 0x0e, 0x99, 0x6c, 0xec, - 0xc9, 0xaa, 0x88, 0xc9, 0x66, 0xbd, 0xd4, 0x15, 0x31, 0xd9, 0xec, 0x77, 0xae, 0xda, 0xb0, 0xa4, - 0xc5, 0xe4, 0x1a, 0x5c, 0xb9, 0x23, 0x35, 0xdf, 0xd3, 0xc1, 0xf9, 0x37, 0xb3, 0xcc, 0xf7, 0x64, - 0x07, 0x6a, 0x7a, 0x58, 0xaf, 0x17, 0x24, 0xdf, 0xd0, 0x50, 0x7a, 0xcc, 0xf4, 0x07, 0x39, 0x72, - 0x00, 0xcd, 0x64, 0x10, 0x5e, 0xb5, 0x84, 0xb3, 0x02, 0x17, 0x6f, 0x26, 0x90, 0xb1, 0xd0, 0xbd, - 0x6c, 0x5e, 0x88, 0xa2, 0xf9, 0x6b, 0xb3, 0x9e, 0x9f, 0xdc, 0x8a, 0x38, 0x5c, 0x76, 0x83, 0xca, - 0x2d, 0x81, 0xc5, 0x6a, 0xdf, 0xcb, 0x3d, 0xc8, 0x91, 0x3d, 0xa8, 0xc7, 0x62, 0x50, 0xc6, 0x6e, - 0x85, 0x25, 0x9a, 0xd9, 0xd2, 0x71, 0x89, 0x76, 0x1e, 0xc2, 0x62, 0xdc, 0x1d, 0x45, 0x55, 0x2c, - 0xd3, 0x67, 0x46, 0x0d, 0x5f, 0xb6, 0x0f, 0x0b, 0xf9, 0x59, 0xa8, 0x31, 0x9e, 0x2c, 0x7d, 0x26, - 0x89, 0xc6, 0xa7, 0x93, 0x63, 0xc6, 0x61, 0xc2, 0x9e, 0x5e, 0xf8, 0xab, 0xf9, 0x1c, 0xb6, 0xeb, - 0x3b, 0xfc, 0x7d, 0x7d, 0xe9, 0x36, 0xc7, 0xc6, 0xff, 0x55, 0x33, 0x21, 0x7b, 0xbc, 0xf0, 0xa1, - 0xc7, 0x83, 0x3d, 0xdc, 0xd4, 0x68, 0x04, 0xec, 0xd5, 0xea, 0xd0, 0xe6, 0x75, 0x10, 0x69, 0x62, - 0x73, 0xf0, 0x15, 0xf3, 0x22, 0x9f, 0x02, 0x44, 0xee, 0xca, 0x24, 0xe1, 0x11, 0xab, 0x16, 0x54, - 0x86, 0x47, 0x73, 0x87, 0xaf, 0x77, 0xe5, 0x92, 0xab, 0x6f, 0xc9, 0x71, 0xef, 0xe0, 0xd8, 0x96, - 0x9c, 0xcc, 0xe6, 0x23, 0x68, 0x1c, 0x78, 0xde, 0xb3, 0xf9, 0x4c, 0x5d, 0xe2, 0x89, 0x3b, 0x84, - 0xed, 0xdb, 0xc1, 0xf9, 0x66, 0xa2, 0x5a, 0xa4, 0x0d, 0xcb, 0x8a, 0x45, 0x44, 0x3e, 0xc1, 0x71, - 0xa2, 0x18, 0x63, 0x48, 0x64, 0xf0, 0x20, 0x47, 0x1e, 0x42, 0x7d, 0x97, 0x8e, 0x30, 0x4a, 0x0e, - 0x3a, 0x08, 0xad, 0xc4, 0x9c, 0x4d, 0xb8, 0x67, 0xd1, 0x66, 0x23, 0x06, 0x94, 0x2c, 0x2e, 0x72, - 0x81, 0xd3, 0xf7, 0x8c, 0xb8, 0x1f, 0x59, 0x8c, 0xc5, 0xa5, 0xdc, 0xe0, 0xbe, 0x84, 0xe5, 0x94, - 0x1b, 0x98, 0xe2, 0x6e, 0xd7, 0xb9, 0xa6, 0x6d, 0xde, 0xbd, 0x9e, 0x40, 0xe4, 0xfb, 0x3d, 0x68, - 0xf0, 0x10, 0xfa, 0x27, 0x94, 0x5f, 0x28, 0x4f, 0x04, 0x48, 0xd4, 0x6f, 0xab, 0x27, 0x59, 0x12, - 0x4f, 0xf0, 0x18, 0x1f, 0xf3, 0xd2, 0xae, 0x6b, 0xab, 0x71, 0x4d, 0x5f, 0x21, 0x57, 0xe3, 0x9a, - 0x75, 0x33, 0xfc, 0x73, 0xa8, 0x3d, 0xa6, 0xa1, 0xbc, 0x00, 0xad, 0xe4, 0xa3, 0xc4, 0x8d, 0xe8, - 0xcd, 0x8c, 0x6b, 0xeb, 0xe4, 0x13, 0x4c, 0xaa, 0x82, 0x79, 0xac, 0x6b, 0xa5, 0xe8, 0x49, 0x97, - 0x12, 0x70, 0x26, 0x7d, 0x68, 0x71, 0x86, 0x54, 0xc5, 0xd3, 0x71, 0xa5, 0x54, 0xc5, 0xb3, 0xc2, - 0x12, 0xfd, 0x2c, 0xef, 0x01, 0xed, 0xca, 0x75, 0x24, 0x82, 0x25, 0x6f, 0x67, 0xab, 0xea, 0xeb, - 0xe4, 0x8f, 0x00, 0x06, 0xa1, 0x37, 0xdb, 0xb5, 0xe9, 0xd4, 0x73, 0x23, 0x9e, 0x10, 0x5d, 0xf6, - 0x8d, 0x16, 0xa2, 0x76, 0xe3, 0x97, 0x7c, 0xa5, 0xc9, 0xa6, 0xb1, 0x21, 0x91, 0xc3, 0x7e, 0xed, - 0x7d, 0x60, 0xd5, 0x9c, 0x8c, 0x3b, 0xc1, 0xc8, 0x24, 0x20, 0xf2, 0xb2, 0x53, 0x92, 0x66, 0xca, - 0x81, 0x4f, 0xad, 0xf5, 0x0c, 0x97, 0xbc, 0xef, 0x42, 0x35, 0x72, 0x4f, 0xda, 0x88, 0x82, 0x9e, - 0xc5, 0x9c, 0x99, 0x14, 0xf7, 0x4e, 0xbb, 0x06, 0xf5, 0x60, 0x85, 0x57, 0x47, 0x6d, 0x7f, 0x78, - 0x8b, 0x53, 0xbd, 0x45, 0x97, 0xf6, 0xc9, 0x51, 0xeb, 0x27, 0xcb, 0xb3, 0x84, 0xad, 0x9f, 0x94, - 0xeb, 0x81, 0x5a, 0x3f, 0xd7, 0xb9, 0x9c, 0xa8, 0xf5, 0x73, 0xbd, 0xd7, 0x42, 0x0f, 0x56, 0x32, - 0x9c, 0x08, 0xc8, 0x1b, 0x52, 0xb1, 0xb9, 0xd6, 0xc1, 0x60, 0x33, 0xf3, 0xb0, 0x99, 0x0c, 0x61, - 0x83, 0xa7, 0x69, 0x4f, 0x26, 0x89, 0x33, 0xeb, 0xd7, 0xb5, 0x04, 0x19, 0xe7, 0xf0, 0x31, 0x51, - 0x26, 0x71, 0x16, 0xdf, 0x83, 0x66, 0xf2, 0xb8, 0x97, 0x5c, 0x4f, 0xbe, 0x79, 0x27, 0x26, 0xb2, - 0xa7, 0x8f, 0x88, 0xc9, 0x97, 0xea, 0xd0, 0x39, 0x51, 0xc7, 0x3b, 0xd1, 0x9b, 0xaa, 0x99, 0x47, - 0xe4, 0x4a, 0x1b, 0xc8, 0x3c, 0xb3, 0x26, 0x3f, 0x07, 0x1b, 0xc9, 0x19, 0x2d, 0x73, 0xbe, 0x9b, - 0xd5, 0x5d, 0xd7, 0x8a, 0x72, 0xf1, 0x06, 0x3d, 0xc8, 0x31, 0x46, 0xac, 0x1f, 0x0d, 0xab, 0x89, - 0x94, 0x71, 0x46, 0xad, 0x26, 0x52, 0xe6, 0x59, 0xf2, 0x11, 0x2c, 0x25, 0x4e, 0x85, 0x95, 0x18, - 0x9c, 0x7d, 0x8e, 0xac, 0xc4, 0xe0, 0xeb, 0x0e, 0x93, 0x07, 0xd0, 0x4c, 0x9e, 0xf7, 0xaa, 0xb1, - 0xbe, 0xe6, 0x0c, 0x79, 0xf3, 0xce, 0xb5, 0xf8, 0x78, 0x35, 0xb5, 0x93, 0xd1, 0x58, 0x35, 0xd3, - 0xe7, 0xb9, 0xb1, 0x6a, 0x66, 0x9c, 0xcb, 0x6e, 0xbf, 0xf3, 0xf3, 0xdf, 0x3a, 0x73, 0xc2, 0xf3, - 0xf9, 0xc9, 0xd6, 0xc8, 0x9b, 0x7e, 0x30, 0x91, 0x56, 0x0d, 0x11, 0xa1, 0xe1, 0x83, 0x89, 0x3b, - 0xfe, 0x00, 0x33, 0x38, 0x59, 0x98, 0xf9, 0x5e, 0xe8, 0x7d, 0xf4, 0xff, 0x02, 0x00, 0x00, 0xff, - 0xff, 0x1c, 0xc8, 0x7f, 0x21, 0x38, 0x96, 0x00, 0x00, +func (x *PendingChannelsResponse_PendingChannel) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PendingChannelsResponse_PendingChannel) ProtoMessage() {} + +func (x *PendingChannelsResponse_PendingChannel) ProtoReflect() protoreflect.Message { + mi := &file_rpc_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 PendingChannelsResponse_PendingChannel.ProtoReflect.Descriptor instead. +func (*PendingChannelsResponse_PendingChannel) Descriptor() ([]byte, []int) { + return file_rpc_proto_rawDescGZIP(), []int{72, 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_LEGACY +} + +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 height at which this channel will be confirmed + ConfirmationHeight uint32 `protobuf:"varint,2,opt,name=confirmation_height,json=confirmationHeight,proto3" json:"confirmation_height,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"` +} + +func (x *PendingChannelsResponse_PendingOpenChannel) Reset() { + *x = PendingChannelsResponse_PendingOpenChannel{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[171] + 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_rpc_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 PendingChannelsResponse_PendingOpenChannel.ProtoReflect.Descriptor instead. +func (*PendingChannelsResponse_PendingOpenChannel) Descriptor() ([]byte, []int) { + return file_rpc_proto_rawDescGZIP(), []int{72, 1} +} + +func (x *PendingChannelsResponse_PendingOpenChannel) GetChannel() *PendingChannelsResponse_PendingChannel { + if x != nil { + return x.Channel + } + return nil +} + +func (x *PendingChannelsResponse_PendingOpenChannel) GetConfirmationHeight() uint32 { + if x != nil { + return x.ConfirmationHeight + } + return 0 +} + +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 +} + +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"` +} + +func (x *PendingChannelsResponse_WaitingCloseChannel) Reset() { + *x = PendingChannelsResponse_WaitingCloseChannel{} + if protoimpl.UnsafeEnabled { + mi := &file_rpc_proto_msgTypes[172] + 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_rpc_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 PendingChannelsResponse_WaitingCloseChannel.ProtoReflect.Descriptor instead. +func (*PendingChannelsResponse_WaitingCloseChannel) Descriptor() ([]byte, []int) { + return file_rpc_proto_rawDescGZIP(), []int{72, 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 +} + +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_rpc_proto_msgTypes[173] + 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_rpc_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 PendingChannelsResponse_Commitments.ProtoReflect.Descriptor instead. +func (*PendingChannelsResponse_Commitments) Descriptor() ([]byte, []int) { + return file_rpc_proto_rawDescGZIP(), []int{72, 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_rpc_proto_msgTypes[174] + 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_rpc_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 PendingChannelsResponse_ClosedChannel.ProtoReflect.Descriptor instead. +func (*PendingChannelsResponse_ClosedChannel) Descriptor() ([]byte, []int) { + return file_rpc_proto_rawDescGZIP(), []int{72, 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_rpc_proto_msgTypes[175] + 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_rpc_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 PendingChannelsResponse_ForceClosedChannel.ProtoReflect.Descriptor instead. +func (*PendingChannelsResponse_ForceClosedChannel) Descriptor() ([]byte, []int) { + return file_rpc_proto_rawDescGZIP(), []int{72, 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_rpc_proto protoreflect.FileDescriptor + +var file_rpc_proto_rawDesc = []byte{ + 0x0a, 0x09, 0x72, 0x70, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x6c, 0x6e, 0x72, + 0x70, 0x63, 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, 0xc6, 0x02, 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, 0x25, 0x0a, 0x0e, 0x64, 0x65, 0x73, + 0x74, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x0d, 0x64, 0x65, 0x73, 0x74, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 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, 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, 0xda, + 0x03, 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, 0x22, 0xf3, 0x02, 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, 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, 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, 0x91, 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, 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, 0xeb, 0x02, 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, 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, 0xa4, + 0x02, 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, 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, 0x26, 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, 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, 0xd7, 0x09, 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, 0x22, 0xb3, 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, 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, 0xd8, 0x05, + 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, 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, 0xdf, 0x04, 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, 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, 0x87, 0x06, 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, 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, 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, 0x37, 0x0a, 0x05, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x63, + 0x68, 0x61, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 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, 0xfb, 0x01, 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, 0x22, 0x96, 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, 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, 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, 0xc0, 0x05, 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, 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, 0xf0, 0x01, 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, 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, + 0x5c, 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, 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, 0x18, 0x0a, 0x16, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x43, 0x68, + 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xfd, 0x11, + 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, 0xa1, + 0x03, 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, 0x1a, 0xf0, 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, 0x2f, 0x0a, 0x13, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, + 0x12, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x69, + 0x67, 0x68, 0x74, 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, 0x1a, 0xd1, 0x01, 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, 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, 0x95, 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, 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, 0x76, + 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, 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, 0x16, 0x0a, 0x14, 0x57, 0x61, 0x6c, 0x6c, 0x65, + 0x74, 0x42, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, + 0xd5, 0x02, 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, 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, 0xae, 0x06, 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, 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, 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, 0x8d, 0x04, 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, 0x23, 0x0a, 0x0d, 0x63, 0x68, 0x61, 0x6e, + 0x5f, 0x63, 0x61, 0x70, 0x61, 0x63, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 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, 0x1f, 0x0a, 0x0b, 0x74, 0x6c, 0x76, 0x5f, + 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 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, 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, 0xb4, 0x02, 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, 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, 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, 0x86, 0x02, + 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, 0x22, 0xbc, 0x02, 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, 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, 0x2e, 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, 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, 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, 0xff, 0x07, 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, 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, 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, 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, + 0xa0, 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, 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, 0x8a, 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, 0x46, 0x0a, 0x0d, 0x50, 0x61, 0x79, 0x6d, 0x65, 0x6e, + 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, + 0x57, 0x4e, 0x10, 0x00, 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, 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, 0xa6, 0x01, 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, 0x22, 0x9c, 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, 0x22, 0x78, 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, 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, 0x8c, 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, 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, 0xb0, 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, 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, 0xb3, + 0x01, 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, 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, 0xd4, 0x02, 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, 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, 0x42, 0x07, 0x0a, 0x05, 0x73, 0x63, + 0x6f, 0x70, 0x65, 0x22, 0x16, 0x0a, 0x14, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x9d, 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, 0x22, 0xbb, 0x02, 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, 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, 0x72, 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, 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, 0xb0, + 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, 0xef, 0x05, 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, 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, 0x2a, 0x7d, + 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, 0x2a, 0x5e, 0x0a, + 0x0e, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, + 0x0a, 0x0a, 0x06, 0x4c, 0x45, 0x47, 0x41, 0x43, 0x59, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x53, + 0x54, 0x41, 0x54, 0x49, 0x43, 0x5f, 0x52, 0x45, 0x4d, 0x4f, 0x54, 0x45, 0x5f, 0x4b, 0x45, 0x59, + 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x41, 0x4e, 0x43, 0x48, 0x4f, 0x52, 0x53, 0x10, 0x02, 0x12, + 0x1c, 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, 0xe7, 0x07, 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, 0xd9, 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, 0x2a, 0xcf, 0x04, 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, 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, 0x32, 0xc9, 0x21, 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, 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, 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, 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, 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_rpc_proto_rawDescOnce sync.Once + file_rpc_proto_rawDescData = file_rpc_proto_rawDesc +) + +func file_rpc_proto_rawDescGZIP() []byte { + file_rpc_proto_rawDescOnce.Do(func() { + file_rpc_proto_rawDescData = protoimpl.X.CompressGZIP(file_rpc_proto_rawDescData) + }) + return file_rpc_proto_rawDescData +} + +var file_rpc_proto_enumTypes = make([]protoimpl.EnumInfo, 18) +var file_rpc_proto_msgTypes = make([]protoimpl.MessageInfo, 186) +var file_rpc_proto_goTypes = []interface{}{ + (AddressType)(0), // 0: lnrpc.AddressType + (CommitmentType)(0), // 1: lnrpc.CommitmentType + (Initiator)(0), // 2: lnrpc.Initiator + (ResolutionType)(0), // 3: lnrpc.ResolutionType + (ResolutionOutcome)(0), // 4: lnrpc.ResolutionOutcome + (NodeMetricType)(0), // 5: lnrpc.NodeMetricType + (InvoiceHTLCState)(0), // 6: lnrpc.InvoiceHTLCState + (PaymentFailureReason)(0), // 7: lnrpc.PaymentFailureReason + (FeatureBit)(0), // 8: lnrpc.FeatureBit + (ChannelCloseSummary_ClosureType)(0), // 9: lnrpc.ChannelCloseSummary.ClosureType + (Peer_SyncType)(0), // 10: lnrpc.Peer.SyncType + (PeerEvent_EventType)(0), // 11: lnrpc.PeerEvent.EventType + (PendingChannelsResponse_ForceClosedChannel_AnchorState)(0), // 12: lnrpc.PendingChannelsResponse.ForceClosedChannel.AnchorState + (ChannelEventUpdate_UpdateType)(0), // 13: lnrpc.ChannelEventUpdate.UpdateType + (Invoice_InvoiceState)(0), // 14: lnrpc.Invoice.InvoiceState + (Payment_PaymentStatus)(0), // 15: lnrpc.Payment.PaymentStatus + (HTLCAttempt_HTLCStatus)(0), // 16: lnrpc.HTLCAttempt.HTLCStatus + (Failure_FailureCode)(0), // 17: lnrpc.Failure.FailureCode + (*Utxo)(nil), // 18: lnrpc.Utxo + (*Transaction)(nil), // 19: lnrpc.Transaction + (*GetTransactionsRequest)(nil), // 20: lnrpc.GetTransactionsRequest + (*TransactionDetails)(nil), // 21: lnrpc.TransactionDetails + (*FeeLimit)(nil), // 22: lnrpc.FeeLimit + (*SendRequest)(nil), // 23: lnrpc.SendRequest + (*SendResponse)(nil), // 24: lnrpc.SendResponse + (*SendToRouteRequest)(nil), // 25: lnrpc.SendToRouteRequest + (*ChannelAcceptRequest)(nil), // 26: lnrpc.ChannelAcceptRequest + (*ChannelAcceptResponse)(nil), // 27: lnrpc.ChannelAcceptResponse + (*ChannelPoint)(nil), // 28: lnrpc.ChannelPoint + (*OutPoint)(nil), // 29: lnrpc.OutPoint + (*LightningAddress)(nil), // 30: lnrpc.LightningAddress + (*EstimateFeeRequest)(nil), // 31: lnrpc.EstimateFeeRequest + (*EstimateFeeResponse)(nil), // 32: lnrpc.EstimateFeeResponse + (*SendManyRequest)(nil), // 33: lnrpc.SendManyRequest + (*SendManyResponse)(nil), // 34: lnrpc.SendManyResponse + (*SendCoinsRequest)(nil), // 35: lnrpc.SendCoinsRequest + (*SendCoinsResponse)(nil), // 36: lnrpc.SendCoinsResponse + (*ListUnspentRequest)(nil), // 37: lnrpc.ListUnspentRequest + (*ListUnspentResponse)(nil), // 38: lnrpc.ListUnspentResponse + (*NewAddressRequest)(nil), // 39: lnrpc.NewAddressRequest + (*NewAddressResponse)(nil), // 40: lnrpc.NewAddressResponse + (*SignMessageRequest)(nil), // 41: lnrpc.SignMessageRequest + (*SignMessageResponse)(nil), // 42: lnrpc.SignMessageResponse + (*VerifyMessageRequest)(nil), // 43: lnrpc.VerifyMessageRequest + (*VerifyMessageResponse)(nil), // 44: lnrpc.VerifyMessageResponse + (*ConnectPeerRequest)(nil), // 45: lnrpc.ConnectPeerRequest + (*ConnectPeerResponse)(nil), // 46: lnrpc.ConnectPeerResponse + (*DisconnectPeerRequest)(nil), // 47: lnrpc.DisconnectPeerRequest + (*DisconnectPeerResponse)(nil), // 48: lnrpc.DisconnectPeerResponse + (*HTLC)(nil), // 49: lnrpc.HTLC + (*ChannelConstraints)(nil), // 50: lnrpc.ChannelConstraints + (*Channel)(nil), // 51: lnrpc.Channel + (*ListChannelsRequest)(nil), // 52: lnrpc.ListChannelsRequest + (*ListChannelsResponse)(nil), // 53: lnrpc.ListChannelsResponse + (*ChannelCloseSummary)(nil), // 54: lnrpc.ChannelCloseSummary + (*Resolution)(nil), // 55: lnrpc.Resolution + (*ClosedChannelsRequest)(nil), // 56: lnrpc.ClosedChannelsRequest + (*ClosedChannelsResponse)(nil), // 57: lnrpc.ClosedChannelsResponse + (*Peer)(nil), // 58: lnrpc.Peer + (*TimestampedError)(nil), // 59: lnrpc.TimestampedError + (*ListPeersRequest)(nil), // 60: lnrpc.ListPeersRequest + (*ListPeersResponse)(nil), // 61: lnrpc.ListPeersResponse + (*PeerEventSubscription)(nil), // 62: lnrpc.PeerEventSubscription + (*PeerEvent)(nil), // 63: lnrpc.PeerEvent + (*GetInfoRequest)(nil), // 64: lnrpc.GetInfoRequest + (*GetInfoResponse)(nil), // 65: lnrpc.GetInfoResponse + (*GetRecoveryInfoRequest)(nil), // 66: lnrpc.GetRecoveryInfoRequest + (*GetRecoveryInfoResponse)(nil), // 67: lnrpc.GetRecoveryInfoResponse + (*Chain)(nil), // 68: lnrpc.Chain + (*ConfirmationUpdate)(nil), // 69: lnrpc.ConfirmationUpdate + (*ChannelOpenUpdate)(nil), // 70: lnrpc.ChannelOpenUpdate + (*ChannelCloseUpdate)(nil), // 71: lnrpc.ChannelCloseUpdate + (*CloseChannelRequest)(nil), // 72: lnrpc.CloseChannelRequest + (*CloseStatusUpdate)(nil), // 73: lnrpc.CloseStatusUpdate + (*PendingUpdate)(nil), // 74: lnrpc.PendingUpdate + (*ReadyForPsbtFunding)(nil), // 75: lnrpc.ReadyForPsbtFunding + (*OpenChannelRequest)(nil), // 76: lnrpc.OpenChannelRequest + (*OpenStatusUpdate)(nil), // 77: lnrpc.OpenStatusUpdate + (*KeyLocator)(nil), // 78: lnrpc.KeyLocator + (*KeyDescriptor)(nil), // 79: lnrpc.KeyDescriptor + (*ChanPointShim)(nil), // 80: lnrpc.ChanPointShim + (*PsbtShim)(nil), // 81: lnrpc.PsbtShim + (*FundingShim)(nil), // 82: lnrpc.FundingShim + (*FundingShimCancel)(nil), // 83: lnrpc.FundingShimCancel + (*FundingPsbtVerify)(nil), // 84: lnrpc.FundingPsbtVerify + (*FundingPsbtFinalize)(nil), // 85: lnrpc.FundingPsbtFinalize + (*FundingTransitionMsg)(nil), // 86: lnrpc.FundingTransitionMsg + (*FundingStateStepResp)(nil), // 87: lnrpc.FundingStateStepResp + (*PendingHTLC)(nil), // 88: lnrpc.PendingHTLC + (*PendingChannelsRequest)(nil), // 89: lnrpc.PendingChannelsRequest + (*PendingChannelsResponse)(nil), // 90: lnrpc.PendingChannelsResponse + (*ChannelEventSubscription)(nil), // 91: lnrpc.ChannelEventSubscription + (*ChannelEventUpdate)(nil), // 92: lnrpc.ChannelEventUpdate + (*WalletAccountBalance)(nil), // 93: lnrpc.WalletAccountBalance + (*WalletBalanceRequest)(nil), // 94: lnrpc.WalletBalanceRequest + (*WalletBalanceResponse)(nil), // 95: lnrpc.WalletBalanceResponse + (*Amount)(nil), // 96: lnrpc.Amount + (*ChannelBalanceRequest)(nil), // 97: lnrpc.ChannelBalanceRequest + (*ChannelBalanceResponse)(nil), // 98: lnrpc.ChannelBalanceResponse + (*QueryRoutesRequest)(nil), // 99: lnrpc.QueryRoutesRequest + (*NodePair)(nil), // 100: lnrpc.NodePair + (*EdgeLocator)(nil), // 101: lnrpc.EdgeLocator + (*QueryRoutesResponse)(nil), // 102: lnrpc.QueryRoutesResponse + (*Hop)(nil), // 103: lnrpc.Hop + (*MPPRecord)(nil), // 104: lnrpc.MPPRecord + (*AMPRecord)(nil), // 105: lnrpc.AMPRecord + (*Route)(nil), // 106: lnrpc.Route + (*NodeInfoRequest)(nil), // 107: lnrpc.NodeInfoRequest + (*NodeInfo)(nil), // 108: lnrpc.NodeInfo + (*LightningNode)(nil), // 109: lnrpc.LightningNode + (*NodeAddress)(nil), // 110: lnrpc.NodeAddress + (*RoutingPolicy)(nil), // 111: lnrpc.RoutingPolicy + (*ChannelEdge)(nil), // 112: lnrpc.ChannelEdge + (*ChannelGraphRequest)(nil), // 113: lnrpc.ChannelGraphRequest + (*ChannelGraph)(nil), // 114: lnrpc.ChannelGraph + (*NodeMetricsRequest)(nil), // 115: lnrpc.NodeMetricsRequest + (*NodeMetricsResponse)(nil), // 116: lnrpc.NodeMetricsResponse + (*FloatMetric)(nil), // 117: lnrpc.FloatMetric + (*ChanInfoRequest)(nil), // 118: lnrpc.ChanInfoRequest + (*NetworkInfoRequest)(nil), // 119: lnrpc.NetworkInfoRequest + (*NetworkInfo)(nil), // 120: lnrpc.NetworkInfo + (*StopRequest)(nil), // 121: lnrpc.StopRequest + (*StopResponse)(nil), // 122: lnrpc.StopResponse + (*GraphTopologySubscription)(nil), // 123: lnrpc.GraphTopologySubscription + (*GraphTopologyUpdate)(nil), // 124: lnrpc.GraphTopologyUpdate + (*NodeUpdate)(nil), // 125: lnrpc.NodeUpdate + (*ChannelEdgeUpdate)(nil), // 126: lnrpc.ChannelEdgeUpdate + (*ClosedChannelUpdate)(nil), // 127: lnrpc.ClosedChannelUpdate + (*HopHint)(nil), // 128: lnrpc.HopHint + (*RouteHint)(nil), // 129: lnrpc.RouteHint + (*Invoice)(nil), // 130: lnrpc.Invoice + (*InvoiceHTLC)(nil), // 131: lnrpc.InvoiceHTLC + (*AMP)(nil), // 132: lnrpc.AMP + (*AddInvoiceResponse)(nil), // 133: lnrpc.AddInvoiceResponse + (*PaymentHash)(nil), // 134: lnrpc.PaymentHash + (*ListInvoiceRequest)(nil), // 135: lnrpc.ListInvoiceRequest + (*ListInvoiceResponse)(nil), // 136: lnrpc.ListInvoiceResponse + (*InvoiceSubscription)(nil), // 137: lnrpc.InvoiceSubscription + (*Payment)(nil), // 138: lnrpc.Payment + (*HTLCAttempt)(nil), // 139: lnrpc.HTLCAttempt + (*ListPaymentsRequest)(nil), // 140: lnrpc.ListPaymentsRequest + (*ListPaymentsResponse)(nil), // 141: lnrpc.ListPaymentsResponse + (*DeleteAllPaymentsRequest)(nil), // 142: lnrpc.DeleteAllPaymentsRequest + (*DeleteAllPaymentsResponse)(nil), // 143: lnrpc.DeleteAllPaymentsResponse + (*AbandonChannelRequest)(nil), // 144: lnrpc.AbandonChannelRequest + (*AbandonChannelResponse)(nil), // 145: lnrpc.AbandonChannelResponse + (*DebugLevelRequest)(nil), // 146: lnrpc.DebugLevelRequest + (*DebugLevelResponse)(nil), // 147: lnrpc.DebugLevelResponse + (*PayReqString)(nil), // 148: lnrpc.PayReqString + (*PayReq)(nil), // 149: lnrpc.PayReq + (*Feature)(nil), // 150: lnrpc.Feature + (*FeeReportRequest)(nil), // 151: lnrpc.FeeReportRequest + (*ChannelFeeReport)(nil), // 152: lnrpc.ChannelFeeReport + (*FeeReportResponse)(nil), // 153: lnrpc.FeeReportResponse + (*PolicyUpdateRequest)(nil), // 154: lnrpc.PolicyUpdateRequest + (*PolicyUpdateResponse)(nil), // 155: lnrpc.PolicyUpdateResponse + (*ForwardingHistoryRequest)(nil), // 156: lnrpc.ForwardingHistoryRequest + (*ForwardingEvent)(nil), // 157: lnrpc.ForwardingEvent + (*ForwardingHistoryResponse)(nil), // 158: lnrpc.ForwardingHistoryResponse + (*ExportChannelBackupRequest)(nil), // 159: lnrpc.ExportChannelBackupRequest + (*ChannelBackup)(nil), // 160: lnrpc.ChannelBackup + (*MultiChanBackup)(nil), // 161: lnrpc.MultiChanBackup + (*ChanBackupExportRequest)(nil), // 162: lnrpc.ChanBackupExportRequest + (*ChanBackupSnapshot)(nil), // 163: lnrpc.ChanBackupSnapshot + (*ChannelBackups)(nil), // 164: lnrpc.ChannelBackups + (*RestoreChanBackupRequest)(nil), // 165: lnrpc.RestoreChanBackupRequest + (*RestoreBackupResponse)(nil), // 166: lnrpc.RestoreBackupResponse + (*ChannelBackupSubscription)(nil), // 167: lnrpc.ChannelBackupSubscription + (*VerifyChanBackupResponse)(nil), // 168: lnrpc.VerifyChanBackupResponse + (*MacaroonPermission)(nil), // 169: lnrpc.MacaroonPermission + (*BakeMacaroonRequest)(nil), // 170: lnrpc.BakeMacaroonRequest + (*BakeMacaroonResponse)(nil), // 171: lnrpc.BakeMacaroonResponse + (*ListMacaroonIDsRequest)(nil), // 172: lnrpc.ListMacaroonIDsRequest + (*ListMacaroonIDsResponse)(nil), // 173: lnrpc.ListMacaroonIDsResponse + (*DeleteMacaroonIDRequest)(nil), // 174: lnrpc.DeleteMacaroonIDRequest + (*DeleteMacaroonIDResponse)(nil), // 175: lnrpc.DeleteMacaroonIDResponse + (*MacaroonPermissionList)(nil), // 176: lnrpc.MacaroonPermissionList + (*ListPermissionsRequest)(nil), // 177: lnrpc.ListPermissionsRequest + (*ListPermissionsResponse)(nil), // 178: lnrpc.ListPermissionsResponse + (*Failure)(nil), // 179: lnrpc.Failure + (*ChannelUpdate)(nil), // 180: lnrpc.ChannelUpdate + (*MacaroonId)(nil), // 181: lnrpc.MacaroonId + (*Op)(nil), // 182: lnrpc.Op + nil, // 183: lnrpc.SendRequest.DestCustomRecordsEntry + nil, // 184: lnrpc.EstimateFeeRequest.AddrToAmountEntry + nil, // 185: lnrpc.SendManyRequest.AddrToAmountEntry + nil, // 186: lnrpc.Peer.FeaturesEntry + nil, // 187: lnrpc.GetInfoResponse.FeaturesEntry + (*PendingChannelsResponse_PendingChannel)(nil), // 188: lnrpc.PendingChannelsResponse.PendingChannel + (*PendingChannelsResponse_PendingOpenChannel)(nil), // 189: lnrpc.PendingChannelsResponse.PendingOpenChannel + (*PendingChannelsResponse_WaitingCloseChannel)(nil), // 190: lnrpc.PendingChannelsResponse.WaitingCloseChannel + (*PendingChannelsResponse_Commitments)(nil), // 191: lnrpc.PendingChannelsResponse.Commitments + (*PendingChannelsResponse_ClosedChannel)(nil), // 192: lnrpc.PendingChannelsResponse.ClosedChannel + (*PendingChannelsResponse_ForceClosedChannel)(nil), // 193: lnrpc.PendingChannelsResponse.ForceClosedChannel + nil, // 194: lnrpc.WalletBalanceResponse.AccountBalanceEntry + nil, // 195: lnrpc.QueryRoutesRequest.DestCustomRecordsEntry + nil, // 196: lnrpc.Hop.CustomRecordsEntry + nil, // 197: lnrpc.LightningNode.FeaturesEntry + nil, // 198: lnrpc.NodeMetricsResponse.BetweennessCentralityEntry + nil, // 199: lnrpc.NodeUpdate.FeaturesEntry + nil, // 200: lnrpc.Invoice.FeaturesEntry + nil, // 201: lnrpc.InvoiceHTLC.CustomRecordsEntry + nil, // 202: lnrpc.PayReq.FeaturesEntry + nil, // 203: lnrpc.ListPermissionsResponse.MethodPermissionsEntry +} +var file_rpc_proto_depIdxs = []int32{ + 0, // 0: lnrpc.Utxo.address_type:type_name -> lnrpc.AddressType + 29, // 1: lnrpc.Utxo.outpoint:type_name -> lnrpc.OutPoint + 19, // 2: lnrpc.TransactionDetails.transactions:type_name -> lnrpc.Transaction + 22, // 3: lnrpc.SendRequest.fee_limit:type_name -> lnrpc.FeeLimit + 183, // 4: lnrpc.SendRequest.dest_custom_records:type_name -> lnrpc.SendRequest.DestCustomRecordsEntry + 8, // 5: lnrpc.SendRequest.dest_features:type_name -> lnrpc.FeatureBit + 106, // 6: lnrpc.SendResponse.payment_route:type_name -> lnrpc.Route + 106, // 7: lnrpc.SendToRouteRequest.route:type_name -> lnrpc.Route + 184, // 8: lnrpc.EstimateFeeRequest.AddrToAmount:type_name -> lnrpc.EstimateFeeRequest.AddrToAmountEntry + 185, // 9: lnrpc.SendManyRequest.AddrToAmount:type_name -> lnrpc.SendManyRequest.AddrToAmountEntry + 18, // 10: lnrpc.ListUnspentResponse.utxos:type_name -> lnrpc.Utxo + 0, // 11: lnrpc.NewAddressRequest.type:type_name -> lnrpc.AddressType + 30, // 12: lnrpc.ConnectPeerRequest.addr:type_name -> lnrpc.LightningAddress + 49, // 13: lnrpc.Channel.pending_htlcs:type_name -> lnrpc.HTLC + 1, // 14: lnrpc.Channel.commitment_type:type_name -> lnrpc.CommitmentType + 50, // 15: lnrpc.Channel.local_constraints:type_name -> lnrpc.ChannelConstraints + 50, // 16: lnrpc.Channel.remote_constraints:type_name -> lnrpc.ChannelConstraints + 51, // 17: lnrpc.ListChannelsResponse.channels:type_name -> lnrpc.Channel + 9, // 18: lnrpc.ChannelCloseSummary.close_type:type_name -> lnrpc.ChannelCloseSummary.ClosureType + 2, // 19: lnrpc.ChannelCloseSummary.open_initiator:type_name -> lnrpc.Initiator + 2, // 20: lnrpc.ChannelCloseSummary.close_initiator:type_name -> lnrpc.Initiator + 55, // 21: lnrpc.ChannelCloseSummary.resolutions:type_name -> lnrpc.Resolution + 3, // 22: lnrpc.Resolution.resolution_type:type_name -> lnrpc.ResolutionType + 4, // 23: lnrpc.Resolution.outcome:type_name -> lnrpc.ResolutionOutcome + 29, // 24: lnrpc.Resolution.outpoint:type_name -> lnrpc.OutPoint + 54, // 25: lnrpc.ClosedChannelsResponse.channels:type_name -> lnrpc.ChannelCloseSummary + 10, // 26: lnrpc.Peer.sync_type:type_name -> lnrpc.Peer.SyncType + 186, // 27: lnrpc.Peer.features:type_name -> lnrpc.Peer.FeaturesEntry + 59, // 28: lnrpc.Peer.errors:type_name -> lnrpc.TimestampedError + 58, // 29: lnrpc.ListPeersResponse.peers:type_name -> lnrpc.Peer + 11, // 30: lnrpc.PeerEvent.type:type_name -> lnrpc.PeerEvent.EventType + 68, // 31: lnrpc.GetInfoResponse.chains:type_name -> lnrpc.Chain + 187, // 32: lnrpc.GetInfoResponse.features:type_name -> lnrpc.GetInfoResponse.FeaturesEntry + 28, // 33: lnrpc.ChannelOpenUpdate.channel_point:type_name -> lnrpc.ChannelPoint + 28, // 34: lnrpc.CloseChannelRequest.channel_point:type_name -> lnrpc.ChannelPoint + 74, // 35: lnrpc.CloseStatusUpdate.close_pending:type_name -> lnrpc.PendingUpdate + 71, // 36: lnrpc.CloseStatusUpdate.chan_close:type_name -> lnrpc.ChannelCloseUpdate + 82, // 37: lnrpc.OpenChannelRequest.funding_shim:type_name -> lnrpc.FundingShim + 74, // 38: lnrpc.OpenStatusUpdate.chan_pending:type_name -> lnrpc.PendingUpdate + 70, // 39: lnrpc.OpenStatusUpdate.chan_open:type_name -> lnrpc.ChannelOpenUpdate + 75, // 40: lnrpc.OpenStatusUpdate.psbt_fund:type_name -> lnrpc.ReadyForPsbtFunding + 78, // 41: lnrpc.KeyDescriptor.key_loc:type_name -> lnrpc.KeyLocator + 28, // 42: lnrpc.ChanPointShim.chan_point:type_name -> lnrpc.ChannelPoint + 79, // 43: lnrpc.ChanPointShim.local_key:type_name -> lnrpc.KeyDescriptor + 80, // 44: lnrpc.FundingShim.chan_point_shim:type_name -> lnrpc.ChanPointShim + 81, // 45: lnrpc.FundingShim.psbt_shim:type_name -> lnrpc.PsbtShim + 82, // 46: lnrpc.FundingTransitionMsg.shim_register:type_name -> lnrpc.FundingShim + 83, // 47: lnrpc.FundingTransitionMsg.shim_cancel:type_name -> lnrpc.FundingShimCancel + 84, // 48: lnrpc.FundingTransitionMsg.psbt_verify:type_name -> lnrpc.FundingPsbtVerify + 85, // 49: lnrpc.FundingTransitionMsg.psbt_finalize:type_name -> lnrpc.FundingPsbtFinalize + 189, // 50: lnrpc.PendingChannelsResponse.pending_open_channels:type_name -> lnrpc.PendingChannelsResponse.PendingOpenChannel + 192, // 51: lnrpc.PendingChannelsResponse.pending_closing_channels:type_name -> lnrpc.PendingChannelsResponse.ClosedChannel + 193, // 52: lnrpc.PendingChannelsResponse.pending_force_closing_channels:type_name -> lnrpc.PendingChannelsResponse.ForceClosedChannel + 190, // 53: lnrpc.PendingChannelsResponse.waiting_close_channels:type_name -> lnrpc.PendingChannelsResponse.WaitingCloseChannel + 51, // 54: lnrpc.ChannelEventUpdate.open_channel:type_name -> lnrpc.Channel + 54, // 55: lnrpc.ChannelEventUpdate.closed_channel:type_name -> lnrpc.ChannelCloseSummary + 28, // 56: lnrpc.ChannelEventUpdate.active_channel:type_name -> lnrpc.ChannelPoint + 28, // 57: lnrpc.ChannelEventUpdate.inactive_channel:type_name -> lnrpc.ChannelPoint + 74, // 58: lnrpc.ChannelEventUpdate.pending_open_channel:type_name -> lnrpc.PendingUpdate + 13, // 59: lnrpc.ChannelEventUpdate.type:type_name -> lnrpc.ChannelEventUpdate.UpdateType + 194, // 60: lnrpc.WalletBalanceResponse.account_balance:type_name -> lnrpc.WalletBalanceResponse.AccountBalanceEntry + 96, // 61: lnrpc.ChannelBalanceResponse.local_balance:type_name -> lnrpc.Amount + 96, // 62: lnrpc.ChannelBalanceResponse.remote_balance:type_name -> lnrpc.Amount + 96, // 63: lnrpc.ChannelBalanceResponse.unsettled_local_balance:type_name -> lnrpc.Amount + 96, // 64: lnrpc.ChannelBalanceResponse.unsettled_remote_balance:type_name -> lnrpc.Amount + 96, // 65: lnrpc.ChannelBalanceResponse.pending_open_local_balance:type_name -> lnrpc.Amount + 96, // 66: lnrpc.ChannelBalanceResponse.pending_open_remote_balance:type_name -> lnrpc.Amount + 22, // 67: lnrpc.QueryRoutesRequest.fee_limit:type_name -> lnrpc.FeeLimit + 101, // 68: lnrpc.QueryRoutesRequest.ignored_edges:type_name -> lnrpc.EdgeLocator + 100, // 69: lnrpc.QueryRoutesRequest.ignored_pairs:type_name -> lnrpc.NodePair + 195, // 70: lnrpc.QueryRoutesRequest.dest_custom_records:type_name -> lnrpc.QueryRoutesRequest.DestCustomRecordsEntry + 129, // 71: lnrpc.QueryRoutesRequest.route_hints:type_name -> lnrpc.RouteHint + 8, // 72: lnrpc.QueryRoutesRequest.dest_features:type_name -> lnrpc.FeatureBit + 106, // 73: lnrpc.QueryRoutesResponse.routes:type_name -> lnrpc.Route + 104, // 74: lnrpc.Hop.mpp_record:type_name -> lnrpc.MPPRecord + 105, // 75: lnrpc.Hop.amp_record:type_name -> lnrpc.AMPRecord + 196, // 76: lnrpc.Hop.custom_records:type_name -> lnrpc.Hop.CustomRecordsEntry + 103, // 77: lnrpc.Route.hops:type_name -> lnrpc.Hop + 109, // 78: lnrpc.NodeInfo.node:type_name -> lnrpc.LightningNode + 112, // 79: lnrpc.NodeInfo.channels:type_name -> lnrpc.ChannelEdge + 110, // 80: lnrpc.LightningNode.addresses:type_name -> lnrpc.NodeAddress + 197, // 81: lnrpc.LightningNode.features:type_name -> lnrpc.LightningNode.FeaturesEntry + 111, // 82: lnrpc.ChannelEdge.node1_policy:type_name -> lnrpc.RoutingPolicy + 111, // 83: lnrpc.ChannelEdge.node2_policy:type_name -> lnrpc.RoutingPolicy + 109, // 84: lnrpc.ChannelGraph.nodes:type_name -> lnrpc.LightningNode + 112, // 85: lnrpc.ChannelGraph.edges:type_name -> lnrpc.ChannelEdge + 5, // 86: lnrpc.NodeMetricsRequest.types:type_name -> lnrpc.NodeMetricType + 198, // 87: lnrpc.NodeMetricsResponse.betweenness_centrality:type_name -> lnrpc.NodeMetricsResponse.BetweennessCentralityEntry + 125, // 88: lnrpc.GraphTopologyUpdate.node_updates:type_name -> lnrpc.NodeUpdate + 126, // 89: lnrpc.GraphTopologyUpdate.channel_updates:type_name -> lnrpc.ChannelEdgeUpdate + 127, // 90: lnrpc.GraphTopologyUpdate.closed_chans:type_name -> lnrpc.ClosedChannelUpdate + 110, // 91: lnrpc.NodeUpdate.node_addresses:type_name -> lnrpc.NodeAddress + 199, // 92: lnrpc.NodeUpdate.features:type_name -> lnrpc.NodeUpdate.FeaturesEntry + 28, // 93: lnrpc.ChannelEdgeUpdate.chan_point:type_name -> lnrpc.ChannelPoint + 111, // 94: lnrpc.ChannelEdgeUpdate.routing_policy:type_name -> lnrpc.RoutingPolicy + 28, // 95: lnrpc.ClosedChannelUpdate.chan_point:type_name -> lnrpc.ChannelPoint + 128, // 96: lnrpc.RouteHint.hop_hints:type_name -> lnrpc.HopHint + 129, // 97: lnrpc.Invoice.route_hints:type_name -> lnrpc.RouteHint + 14, // 98: lnrpc.Invoice.state:type_name -> lnrpc.Invoice.InvoiceState + 131, // 99: lnrpc.Invoice.htlcs:type_name -> lnrpc.InvoiceHTLC + 200, // 100: lnrpc.Invoice.features:type_name -> lnrpc.Invoice.FeaturesEntry + 6, // 101: lnrpc.InvoiceHTLC.state:type_name -> lnrpc.InvoiceHTLCState + 201, // 102: lnrpc.InvoiceHTLC.custom_records:type_name -> lnrpc.InvoiceHTLC.CustomRecordsEntry + 132, // 103: lnrpc.InvoiceHTLC.amp:type_name -> lnrpc.AMP + 130, // 104: lnrpc.ListInvoiceResponse.invoices:type_name -> lnrpc.Invoice + 15, // 105: lnrpc.Payment.status:type_name -> lnrpc.Payment.PaymentStatus + 139, // 106: lnrpc.Payment.htlcs:type_name -> lnrpc.HTLCAttempt + 7, // 107: lnrpc.Payment.failure_reason:type_name -> lnrpc.PaymentFailureReason + 16, // 108: lnrpc.HTLCAttempt.status:type_name -> lnrpc.HTLCAttempt.HTLCStatus + 106, // 109: lnrpc.HTLCAttempt.route:type_name -> lnrpc.Route + 179, // 110: lnrpc.HTLCAttempt.failure:type_name -> lnrpc.Failure + 138, // 111: lnrpc.ListPaymentsResponse.payments:type_name -> lnrpc.Payment + 28, // 112: lnrpc.AbandonChannelRequest.channel_point:type_name -> lnrpc.ChannelPoint + 129, // 113: lnrpc.PayReq.route_hints:type_name -> lnrpc.RouteHint + 202, // 114: lnrpc.PayReq.features:type_name -> lnrpc.PayReq.FeaturesEntry + 152, // 115: lnrpc.FeeReportResponse.channel_fees:type_name -> lnrpc.ChannelFeeReport + 28, // 116: lnrpc.PolicyUpdateRequest.chan_point:type_name -> lnrpc.ChannelPoint + 157, // 117: lnrpc.ForwardingHistoryResponse.forwarding_events:type_name -> lnrpc.ForwardingEvent + 28, // 118: lnrpc.ExportChannelBackupRequest.chan_point:type_name -> lnrpc.ChannelPoint + 28, // 119: lnrpc.ChannelBackup.chan_point:type_name -> lnrpc.ChannelPoint + 28, // 120: lnrpc.MultiChanBackup.chan_points:type_name -> lnrpc.ChannelPoint + 164, // 121: lnrpc.ChanBackupSnapshot.single_chan_backups:type_name -> lnrpc.ChannelBackups + 161, // 122: lnrpc.ChanBackupSnapshot.multi_chan_backup:type_name -> lnrpc.MultiChanBackup + 160, // 123: lnrpc.ChannelBackups.chan_backups:type_name -> lnrpc.ChannelBackup + 164, // 124: lnrpc.RestoreChanBackupRequest.chan_backups:type_name -> lnrpc.ChannelBackups + 169, // 125: lnrpc.BakeMacaroonRequest.permissions:type_name -> lnrpc.MacaroonPermission + 169, // 126: lnrpc.MacaroonPermissionList.permissions:type_name -> lnrpc.MacaroonPermission + 203, // 127: lnrpc.ListPermissionsResponse.method_permissions:type_name -> lnrpc.ListPermissionsResponse.MethodPermissionsEntry + 17, // 128: lnrpc.Failure.code:type_name -> lnrpc.Failure.FailureCode + 180, // 129: lnrpc.Failure.channel_update:type_name -> lnrpc.ChannelUpdate + 182, // 130: lnrpc.MacaroonId.ops:type_name -> lnrpc.Op + 150, // 131: lnrpc.Peer.FeaturesEntry.value:type_name -> lnrpc.Feature + 150, // 132: lnrpc.GetInfoResponse.FeaturesEntry.value:type_name -> lnrpc.Feature + 2, // 133: lnrpc.PendingChannelsResponse.PendingChannel.initiator:type_name -> lnrpc.Initiator + 1, // 134: lnrpc.PendingChannelsResponse.PendingChannel.commitment_type:type_name -> lnrpc.CommitmentType + 188, // 135: lnrpc.PendingChannelsResponse.PendingOpenChannel.channel:type_name -> lnrpc.PendingChannelsResponse.PendingChannel + 188, // 136: lnrpc.PendingChannelsResponse.WaitingCloseChannel.channel:type_name -> lnrpc.PendingChannelsResponse.PendingChannel + 191, // 137: lnrpc.PendingChannelsResponse.WaitingCloseChannel.commitments:type_name -> lnrpc.PendingChannelsResponse.Commitments + 188, // 138: lnrpc.PendingChannelsResponse.ClosedChannel.channel:type_name -> lnrpc.PendingChannelsResponse.PendingChannel + 188, // 139: lnrpc.PendingChannelsResponse.ForceClosedChannel.channel:type_name -> lnrpc.PendingChannelsResponse.PendingChannel + 88, // 140: lnrpc.PendingChannelsResponse.ForceClosedChannel.pending_htlcs:type_name -> lnrpc.PendingHTLC + 12, // 141: lnrpc.PendingChannelsResponse.ForceClosedChannel.anchor:type_name -> lnrpc.PendingChannelsResponse.ForceClosedChannel.AnchorState + 93, // 142: lnrpc.WalletBalanceResponse.AccountBalanceEntry.value:type_name -> lnrpc.WalletAccountBalance + 150, // 143: lnrpc.LightningNode.FeaturesEntry.value:type_name -> lnrpc.Feature + 117, // 144: lnrpc.NodeMetricsResponse.BetweennessCentralityEntry.value:type_name -> lnrpc.FloatMetric + 150, // 145: lnrpc.NodeUpdate.FeaturesEntry.value:type_name -> lnrpc.Feature + 150, // 146: lnrpc.Invoice.FeaturesEntry.value:type_name -> lnrpc.Feature + 150, // 147: lnrpc.PayReq.FeaturesEntry.value:type_name -> lnrpc.Feature + 176, // 148: lnrpc.ListPermissionsResponse.MethodPermissionsEntry.value:type_name -> lnrpc.MacaroonPermissionList + 94, // 149: lnrpc.Lightning.WalletBalance:input_type -> lnrpc.WalletBalanceRequest + 97, // 150: lnrpc.Lightning.ChannelBalance:input_type -> lnrpc.ChannelBalanceRequest + 20, // 151: lnrpc.Lightning.GetTransactions:input_type -> lnrpc.GetTransactionsRequest + 31, // 152: lnrpc.Lightning.EstimateFee:input_type -> lnrpc.EstimateFeeRequest + 35, // 153: lnrpc.Lightning.SendCoins:input_type -> lnrpc.SendCoinsRequest + 37, // 154: lnrpc.Lightning.ListUnspent:input_type -> lnrpc.ListUnspentRequest + 20, // 155: lnrpc.Lightning.SubscribeTransactions:input_type -> lnrpc.GetTransactionsRequest + 33, // 156: lnrpc.Lightning.SendMany:input_type -> lnrpc.SendManyRequest + 39, // 157: lnrpc.Lightning.NewAddress:input_type -> lnrpc.NewAddressRequest + 41, // 158: lnrpc.Lightning.SignMessage:input_type -> lnrpc.SignMessageRequest + 43, // 159: lnrpc.Lightning.VerifyMessage:input_type -> lnrpc.VerifyMessageRequest + 45, // 160: lnrpc.Lightning.ConnectPeer:input_type -> lnrpc.ConnectPeerRequest + 47, // 161: lnrpc.Lightning.DisconnectPeer:input_type -> lnrpc.DisconnectPeerRequest + 60, // 162: lnrpc.Lightning.ListPeers:input_type -> lnrpc.ListPeersRequest + 62, // 163: lnrpc.Lightning.SubscribePeerEvents:input_type -> lnrpc.PeerEventSubscription + 64, // 164: lnrpc.Lightning.GetInfo:input_type -> lnrpc.GetInfoRequest + 66, // 165: lnrpc.Lightning.GetRecoveryInfo:input_type -> lnrpc.GetRecoveryInfoRequest + 89, // 166: lnrpc.Lightning.PendingChannels:input_type -> lnrpc.PendingChannelsRequest + 52, // 167: lnrpc.Lightning.ListChannels:input_type -> lnrpc.ListChannelsRequest + 91, // 168: lnrpc.Lightning.SubscribeChannelEvents:input_type -> lnrpc.ChannelEventSubscription + 56, // 169: lnrpc.Lightning.ClosedChannels:input_type -> lnrpc.ClosedChannelsRequest + 76, // 170: lnrpc.Lightning.OpenChannelSync:input_type -> lnrpc.OpenChannelRequest + 76, // 171: lnrpc.Lightning.OpenChannel:input_type -> lnrpc.OpenChannelRequest + 86, // 172: lnrpc.Lightning.FundingStateStep:input_type -> lnrpc.FundingTransitionMsg + 27, // 173: lnrpc.Lightning.ChannelAcceptor:input_type -> lnrpc.ChannelAcceptResponse + 72, // 174: lnrpc.Lightning.CloseChannel:input_type -> lnrpc.CloseChannelRequest + 144, // 175: lnrpc.Lightning.AbandonChannel:input_type -> lnrpc.AbandonChannelRequest + 23, // 176: lnrpc.Lightning.SendPayment:input_type -> lnrpc.SendRequest + 23, // 177: lnrpc.Lightning.SendPaymentSync:input_type -> lnrpc.SendRequest + 25, // 178: lnrpc.Lightning.SendToRoute:input_type -> lnrpc.SendToRouteRequest + 25, // 179: lnrpc.Lightning.SendToRouteSync:input_type -> lnrpc.SendToRouteRequest + 130, // 180: lnrpc.Lightning.AddInvoice:input_type -> lnrpc.Invoice + 135, // 181: lnrpc.Lightning.ListInvoices:input_type -> lnrpc.ListInvoiceRequest + 134, // 182: lnrpc.Lightning.LookupInvoice:input_type -> lnrpc.PaymentHash + 137, // 183: lnrpc.Lightning.SubscribeInvoices:input_type -> lnrpc.InvoiceSubscription + 148, // 184: lnrpc.Lightning.DecodePayReq:input_type -> lnrpc.PayReqString + 140, // 185: lnrpc.Lightning.ListPayments:input_type -> lnrpc.ListPaymentsRequest + 142, // 186: lnrpc.Lightning.DeleteAllPayments:input_type -> lnrpc.DeleteAllPaymentsRequest + 113, // 187: lnrpc.Lightning.DescribeGraph:input_type -> lnrpc.ChannelGraphRequest + 115, // 188: lnrpc.Lightning.GetNodeMetrics:input_type -> lnrpc.NodeMetricsRequest + 118, // 189: lnrpc.Lightning.GetChanInfo:input_type -> lnrpc.ChanInfoRequest + 107, // 190: lnrpc.Lightning.GetNodeInfo:input_type -> lnrpc.NodeInfoRequest + 99, // 191: lnrpc.Lightning.QueryRoutes:input_type -> lnrpc.QueryRoutesRequest + 119, // 192: lnrpc.Lightning.GetNetworkInfo:input_type -> lnrpc.NetworkInfoRequest + 121, // 193: lnrpc.Lightning.StopDaemon:input_type -> lnrpc.StopRequest + 123, // 194: lnrpc.Lightning.SubscribeChannelGraph:input_type -> lnrpc.GraphTopologySubscription + 146, // 195: lnrpc.Lightning.DebugLevel:input_type -> lnrpc.DebugLevelRequest + 151, // 196: lnrpc.Lightning.FeeReport:input_type -> lnrpc.FeeReportRequest + 154, // 197: lnrpc.Lightning.UpdateChannelPolicy:input_type -> lnrpc.PolicyUpdateRequest + 156, // 198: lnrpc.Lightning.ForwardingHistory:input_type -> lnrpc.ForwardingHistoryRequest + 159, // 199: lnrpc.Lightning.ExportChannelBackup:input_type -> lnrpc.ExportChannelBackupRequest + 162, // 200: lnrpc.Lightning.ExportAllChannelBackups:input_type -> lnrpc.ChanBackupExportRequest + 163, // 201: lnrpc.Lightning.VerifyChanBackup:input_type -> lnrpc.ChanBackupSnapshot + 165, // 202: lnrpc.Lightning.RestoreChannelBackups:input_type -> lnrpc.RestoreChanBackupRequest + 167, // 203: lnrpc.Lightning.SubscribeChannelBackups:input_type -> lnrpc.ChannelBackupSubscription + 170, // 204: lnrpc.Lightning.BakeMacaroon:input_type -> lnrpc.BakeMacaroonRequest + 172, // 205: lnrpc.Lightning.ListMacaroonIDs:input_type -> lnrpc.ListMacaroonIDsRequest + 174, // 206: lnrpc.Lightning.DeleteMacaroonID:input_type -> lnrpc.DeleteMacaroonIDRequest + 177, // 207: lnrpc.Lightning.ListPermissions:input_type -> lnrpc.ListPermissionsRequest + 95, // 208: lnrpc.Lightning.WalletBalance:output_type -> lnrpc.WalletBalanceResponse + 98, // 209: lnrpc.Lightning.ChannelBalance:output_type -> lnrpc.ChannelBalanceResponse + 21, // 210: lnrpc.Lightning.GetTransactions:output_type -> lnrpc.TransactionDetails + 32, // 211: lnrpc.Lightning.EstimateFee:output_type -> lnrpc.EstimateFeeResponse + 36, // 212: lnrpc.Lightning.SendCoins:output_type -> lnrpc.SendCoinsResponse + 38, // 213: lnrpc.Lightning.ListUnspent:output_type -> lnrpc.ListUnspentResponse + 19, // 214: lnrpc.Lightning.SubscribeTransactions:output_type -> lnrpc.Transaction + 34, // 215: lnrpc.Lightning.SendMany:output_type -> lnrpc.SendManyResponse + 40, // 216: lnrpc.Lightning.NewAddress:output_type -> lnrpc.NewAddressResponse + 42, // 217: lnrpc.Lightning.SignMessage:output_type -> lnrpc.SignMessageResponse + 44, // 218: lnrpc.Lightning.VerifyMessage:output_type -> lnrpc.VerifyMessageResponse + 46, // 219: lnrpc.Lightning.ConnectPeer:output_type -> lnrpc.ConnectPeerResponse + 48, // 220: lnrpc.Lightning.DisconnectPeer:output_type -> lnrpc.DisconnectPeerResponse + 61, // 221: lnrpc.Lightning.ListPeers:output_type -> lnrpc.ListPeersResponse + 63, // 222: lnrpc.Lightning.SubscribePeerEvents:output_type -> lnrpc.PeerEvent + 65, // 223: lnrpc.Lightning.GetInfo:output_type -> lnrpc.GetInfoResponse + 67, // 224: lnrpc.Lightning.GetRecoveryInfo:output_type -> lnrpc.GetRecoveryInfoResponse + 90, // 225: lnrpc.Lightning.PendingChannels:output_type -> lnrpc.PendingChannelsResponse + 53, // 226: lnrpc.Lightning.ListChannels:output_type -> lnrpc.ListChannelsResponse + 92, // 227: lnrpc.Lightning.SubscribeChannelEvents:output_type -> lnrpc.ChannelEventUpdate + 57, // 228: lnrpc.Lightning.ClosedChannels:output_type -> lnrpc.ClosedChannelsResponse + 28, // 229: lnrpc.Lightning.OpenChannelSync:output_type -> lnrpc.ChannelPoint + 77, // 230: lnrpc.Lightning.OpenChannel:output_type -> lnrpc.OpenStatusUpdate + 87, // 231: lnrpc.Lightning.FundingStateStep:output_type -> lnrpc.FundingStateStepResp + 26, // 232: lnrpc.Lightning.ChannelAcceptor:output_type -> lnrpc.ChannelAcceptRequest + 73, // 233: lnrpc.Lightning.CloseChannel:output_type -> lnrpc.CloseStatusUpdate + 145, // 234: lnrpc.Lightning.AbandonChannel:output_type -> lnrpc.AbandonChannelResponse + 24, // 235: lnrpc.Lightning.SendPayment:output_type -> lnrpc.SendResponse + 24, // 236: lnrpc.Lightning.SendPaymentSync:output_type -> lnrpc.SendResponse + 24, // 237: lnrpc.Lightning.SendToRoute:output_type -> lnrpc.SendResponse + 24, // 238: lnrpc.Lightning.SendToRouteSync:output_type -> lnrpc.SendResponse + 133, // 239: lnrpc.Lightning.AddInvoice:output_type -> lnrpc.AddInvoiceResponse + 136, // 240: lnrpc.Lightning.ListInvoices:output_type -> lnrpc.ListInvoiceResponse + 130, // 241: lnrpc.Lightning.LookupInvoice:output_type -> lnrpc.Invoice + 130, // 242: lnrpc.Lightning.SubscribeInvoices:output_type -> lnrpc.Invoice + 149, // 243: lnrpc.Lightning.DecodePayReq:output_type -> lnrpc.PayReq + 141, // 244: lnrpc.Lightning.ListPayments:output_type -> lnrpc.ListPaymentsResponse + 143, // 245: lnrpc.Lightning.DeleteAllPayments:output_type -> lnrpc.DeleteAllPaymentsResponse + 114, // 246: lnrpc.Lightning.DescribeGraph:output_type -> lnrpc.ChannelGraph + 116, // 247: lnrpc.Lightning.GetNodeMetrics:output_type -> lnrpc.NodeMetricsResponse + 112, // 248: lnrpc.Lightning.GetChanInfo:output_type -> lnrpc.ChannelEdge + 108, // 249: lnrpc.Lightning.GetNodeInfo:output_type -> lnrpc.NodeInfo + 102, // 250: lnrpc.Lightning.QueryRoutes:output_type -> lnrpc.QueryRoutesResponse + 120, // 251: lnrpc.Lightning.GetNetworkInfo:output_type -> lnrpc.NetworkInfo + 122, // 252: lnrpc.Lightning.StopDaemon:output_type -> lnrpc.StopResponse + 124, // 253: lnrpc.Lightning.SubscribeChannelGraph:output_type -> lnrpc.GraphTopologyUpdate + 147, // 254: lnrpc.Lightning.DebugLevel:output_type -> lnrpc.DebugLevelResponse + 153, // 255: lnrpc.Lightning.FeeReport:output_type -> lnrpc.FeeReportResponse + 155, // 256: lnrpc.Lightning.UpdateChannelPolicy:output_type -> lnrpc.PolicyUpdateResponse + 158, // 257: lnrpc.Lightning.ForwardingHistory:output_type -> lnrpc.ForwardingHistoryResponse + 160, // 258: lnrpc.Lightning.ExportChannelBackup:output_type -> lnrpc.ChannelBackup + 163, // 259: lnrpc.Lightning.ExportAllChannelBackups:output_type -> lnrpc.ChanBackupSnapshot + 168, // 260: lnrpc.Lightning.VerifyChanBackup:output_type -> lnrpc.VerifyChanBackupResponse + 166, // 261: lnrpc.Lightning.RestoreChannelBackups:output_type -> lnrpc.RestoreBackupResponse + 163, // 262: lnrpc.Lightning.SubscribeChannelBackups:output_type -> lnrpc.ChanBackupSnapshot + 171, // 263: lnrpc.Lightning.BakeMacaroon:output_type -> lnrpc.BakeMacaroonResponse + 173, // 264: lnrpc.Lightning.ListMacaroonIDs:output_type -> lnrpc.ListMacaroonIDsResponse + 175, // 265: lnrpc.Lightning.DeleteMacaroonID:output_type -> lnrpc.DeleteMacaroonIDResponse + 178, // 266: lnrpc.Lightning.ListPermissions:output_type -> lnrpc.ListPermissionsResponse + 208, // [208:267] is the sub-list for method output_type + 149, // [149:208] is the sub-list for method input_type + 149, // [149:149] is the sub-list for extension type_name + 149, // [149:149] is the sub-list for extension extendee + 0, // [0:149] is the sub-list for field type_name +} + +func init() { file_rpc_proto_init() } +func file_rpc_proto_init() { + if File_rpc_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_rpc_proto_msgTypes[0].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_rpc_proto_msgTypes[1].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_rpc_proto_msgTypes[2].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_rpc_proto_msgTypes[3].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_rpc_proto_msgTypes[4].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_rpc_proto_msgTypes[5].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_rpc_proto_msgTypes[6].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_rpc_proto_msgTypes[7].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_rpc_proto_msgTypes[8].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_rpc_proto_msgTypes[9].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_rpc_proto_msgTypes[10].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_rpc_proto_msgTypes[11].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_rpc_proto_msgTypes[12].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_rpc_proto_msgTypes[13].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_rpc_proto_msgTypes[14].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_rpc_proto_msgTypes[15].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_rpc_proto_msgTypes[16].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_rpc_proto_msgTypes[17].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_rpc_proto_msgTypes[18].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_rpc_proto_msgTypes[19].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_rpc_proto_msgTypes[20].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_rpc_proto_msgTypes[21].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_rpc_proto_msgTypes[22].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_rpc_proto_msgTypes[23].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_rpc_proto_msgTypes[24].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_rpc_proto_msgTypes[25].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_rpc_proto_msgTypes[26].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_rpc_proto_msgTypes[27].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_rpc_proto_msgTypes[28].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_rpc_proto_msgTypes[29].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_rpc_proto_msgTypes[30].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_rpc_proto_msgTypes[31].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_rpc_proto_msgTypes[32].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_rpc_proto_msgTypes[33].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_rpc_proto_msgTypes[34].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_rpc_proto_msgTypes[35].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_rpc_proto_msgTypes[36].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_rpc_proto_msgTypes[37].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_rpc_proto_msgTypes[38].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_rpc_proto_msgTypes[39].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_rpc_proto_msgTypes[40].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_rpc_proto_msgTypes[41].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_rpc_proto_msgTypes[42].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_rpc_proto_msgTypes[43].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_rpc_proto_msgTypes[44].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_rpc_proto_msgTypes[45].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_rpc_proto_msgTypes[46].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_rpc_proto_msgTypes[47].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_rpc_proto_msgTypes[48].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_rpc_proto_msgTypes[49].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_rpc_proto_msgTypes[50].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_rpc_proto_msgTypes[51].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_rpc_proto_msgTypes[52].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_rpc_proto_msgTypes[53].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_rpc_proto_msgTypes[54].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_rpc_proto_msgTypes[55].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_rpc_proto_msgTypes[56].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_rpc_proto_msgTypes[57].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_rpc_proto_msgTypes[58].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_rpc_proto_msgTypes[59].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_rpc_proto_msgTypes[60].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_rpc_proto_msgTypes[61].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_rpc_proto_msgTypes[62].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_rpc_proto_msgTypes[63].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_rpc_proto_msgTypes[64].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_rpc_proto_msgTypes[65].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_rpc_proto_msgTypes[66].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_rpc_proto_msgTypes[67].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_rpc_proto_msgTypes[68].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_rpc_proto_msgTypes[69].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_rpc_proto_msgTypes[70].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_rpc_proto_msgTypes[71].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_rpc_proto_msgTypes[72].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_rpc_proto_msgTypes[73].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_rpc_proto_msgTypes[74].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_rpc_proto_msgTypes[75].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_rpc_proto_msgTypes[76].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_rpc_proto_msgTypes[77].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_rpc_proto_msgTypes[78].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_rpc_proto_msgTypes[79].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_rpc_proto_msgTypes[80].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_rpc_proto_msgTypes[81].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_rpc_proto_msgTypes[82].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_rpc_proto_msgTypes[83].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_rpc_proto_msgTypes[84].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_rpc_proto_msgTypes[85].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_rpc_proto_msgTypes[86].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_rpc_proto_msgTypes[87].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_rpc_proto_msgTypes[88].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_rpc_proto_msgTypes[89].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_rpc_proto_msgTypes[90].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_rpc_proto_msgTypes[91].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_rpc_proto_msgTypes[92].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_rpc_proto_msgTypes[93].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_rpc_proto_msgTypes[94].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_rpc_proto_msgTypes[95].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_rpc_proto_msgTypes[96].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_rpc_proto_msgTypes[97].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_rpc_proto_msgTypes[98].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_rpc_proto_msgTypes[99].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_rpc_proto_msgTypes[100].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_rpc_proto_msgTypes[101].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_rpc_proto_msgTypes[102].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_rpc_proto_msgTypes[103].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_rpc_proto_msgTypes[104].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_rpc_proto_msgTypes[105].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_rpc_proto_msgTypes[106].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_rpc_proto_msgTypes[107].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_rpc_proto_msgTypes[108].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_rpc_proto_msgTypes[109].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_rpc_proto_msgTypes[110].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_rpc_proto_msgTypes[111].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_rpc_proto_msgTypes[112].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_rpc_proto_msgTypes[113].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_rpc_proto_msgTypes[114].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_rpc_proto_msgTypes[115].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_rpc_proto_msgTypes[116].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_rpc_proto_msgTypes[117].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_rpc_proto_msgTypes[118].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_rpc_proto_msgTypes[119].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_rpc_proto_msgTypes[120].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_rpc_proto_msgTypes[121].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_rpc_proto_msgTypes[122].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_rpc_proto_msgTypes[123].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_rpc_proto_msgTypes[124].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_rpc_proto_msgTypes[125].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_rpc_proto_msgTypes[126].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_rpc_proto_msgTypes[127].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_rpc_proto_msgTypes[128].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_rpc_proto_msgTypes[129].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_rpc_proto_msgTypes[130].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_rpc_proto_msgTypes[131].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_rpc_proto_msgTypes[132].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_rpc_proto_msgTypes[133].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_rpc_proto_msgTypes[134].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_rpc_proto_msgTypes[135].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_rpc_proto_msgTypes[136].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_rpc_proto_msgTypes[137].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_rpc_proto_msgTypes[138].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_rpc_proto_msgTypes[139].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_rpc_proto_msgTypes[140].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_rpc_proto_msgTypes[141].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_rpc_proto_msgTypes[142].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_rpc_proto_msgTypes[143].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_rpc_proto_msgTypes[144].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_rpc_proto_msgTypes[145].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_rpc_proto_msgTypes[146].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_rpc_proto_msgTypes[147].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_rpc_proto_msgTypes[148].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_rpc_proto_msgTypes[149].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_rpc_proto_msgTypes[150].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_rpc_proto_msgTypes[151].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_rpc_proto_msgTypes[152].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_rpc_proto_msgTypes[153].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_rpc_proto_msgTypes[154].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_rpc_proto_msgTypes[155].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_rpc_proto_msgTypes[156].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_rpc_proto_msgTypes[157].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_rpc_proto_msgTypes[158].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_rpc_proto_msgTypes[159].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_rpc_proto_msgTypes[160].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_rpc_proto_msgTypes[161].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_rpc_proto_msgTypes[162].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_rpc_proto_msgTypes[163].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_rpc_proto_msgTypes[164].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_rpc_proto_msgTypes[170].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_rpc_proto_msgTypes[171].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_rpc_proto_msgTypes[172].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_rpc_proto_msgTypes[173].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_rpc_proto_msgTypes[174].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_rpc_proto_msgTypes[175].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_rpc_proto_msgTypes[4].OneofWrappers = []interface{}{ + (*FeeLimit_Fixed)(nil), + (*FeeLimit_FixedMsat)(nil), + (*FeeLimit_Percent)(nil), + } + file_rpc_proto_msgTypes[10].OneofWrappers = []interface{}{ + (*ChannelPoint_FundingTxidBytes)(nil), + (*ChannelPoint_FundingTxidStr)(nil), + } + file_rpc_proto_msgTypes[55].OneofWrappers = []interface{}{ + (*CloseStatusUpdate_ClosePending)(nil), + (*CloseStatusUpdate_ChanClose)(nil), + } + file_rpc_proto_msgTypes[59].OneofWrappers = []interface{}{ + (*OpenStatusUpdate_ChanPending)(nil), + (*OpenStatusUpdate_ChanOpen)(nil), + (*OpenStatusUpdate_PsbtFund)(nil), + } + file_rpc_proto_msgTypes[64].OneofWrappers = []interface{}{ + (*FundingShim_ChanPointShim)(nil), + (*FundingShim_PsbtShim)(nil), + } + file_rpc_proto_msgTypes[68].OneofWrappers = []interface{}{ + (*FundingTransitionMsg_ShimRegister)(nil), + (*FundingTransitionMsg_ShimCancel)(nil), + (*FundingTransitionMsg_PsbtVerify)(nil), + (*FundingTransitionMsg_PsbtFinalize)(nil), + } + file_rpc_proto_msgTypes[74].OneofWrappers = []interface{}{ + (*ChannelEventUpdate_OpenChannel)(nil), + (*ChannelEventUpdate_ClosedChannel)(nil), + (*ChannelEventUpdate_ActiveChannel)(nil), + (*ChannelEventUpdate_InactiveChannel)(nil), + (*ChannelEventUpdate_PendingOpenChannel)(nil), + } + file_rpc_proto_msgTypes[136].OneofWrappers = []interface{}{ + (*PolicyUpdateRequest_Global)(nil), + (*PolicyUpdateRequest_ChanPoint)(nil), + } + file_rpc_proto_msgTypes[147].OneofWrappers = []interface{}{ + (*RestoreChanBackupRequest_ChanBackups)(nil), + (*RestoreChanBackupRequest_MultiChanBackup)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_rpc_proto_rawDesc, + NumEnums: 18, + NumMessages: 186, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_rpc_proto_goTypes, + DependencyIndexes: file_rpc_proto_depIdxs, + EnumInfos: file_rpc_proto_enumTypes, + MessageInfos: file_rpc_proto_msgTypes, + }.Build() + File_rpc_proto = out.File + file_rpc_proto_rawDesc = nil + file_rpc_proto_goTypes = nil + file_rpc_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 +const _ = grpc.SupportPackageIsVersion6 // LightningClient is the client API for Lightning service. // @@ -14212,6 +19975,7 @@ type LightningClient interface { //never broadcast. Only available for non-externally funded channels in dev //build. AbandonChannel(ctx context.Context, in *AbandonChannelRequest, opts ...grpc.CallOption) (*AbandonChannelResponse, error) + // Deprecated: Do not use. // lncli: `sendpayment` //Deprecated, use routerrpc.SendPaymentV2. SendPayment dispatches a //bi-directional streaming RPC for sending payments through the Lightning @@ -14225,6 +19989,7 @@ type LightningClient interface { //Additionally, this RPC expects the destination's public key and the payment //hash (if any) to be encoded as hex strings. SendPaymentSync(ctx context.Context, in *SendRequest, opts ...grpc.CallOption) (*SendResponse, error) + // Deprecated: Do not use. // lncli: `sendtoroute` //Deprecated, use routerrpc.SendToRouteV2. SendToRoute is a bi-directional //streaming RPC for sending payment through the Lightning Network. This @@ -14407,10 +20172,10 @@ type LightningClient interface { } type lightningClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewLightningClient(cc *grpc.ClientConn) LightningClient { +func NewLightningClient(cc grpc.ClientConnInterface) LightningClient { return &lightningClient{cc} } @@ -15358,6 +21123,7 @@ type LightningServer interface { //never broadcast. Only available for non-externally funded channels in dev //build. AbandonChannel(context.Context, *AbandonChannelRequest) (*AbandonChannelResponse, error) + // Deprecated: Do not use. // lncli: `sendpayment` //Deprecated, use routerrpc.SendPaymentV2. SendPayment dispatches a //bi-directional streaming RPC for sending payments through the Lightning @@ -15371,6 +21137,7 @@ type LightningServer interface { //Additionally, this RPC expects the destination's public key and the payment //hash (if any) to be encoded as hex strings. SendPaymentSync(context.Context, *SendRequest) (*SendResponse, error) + // Deprecated: Do not use. // lncli: `sendtoroute` //Deprecated, use routerrpc.SendToRouteV2. SendToRoute is a bi-directional //streaming RPC for sending payment through the Lightning Network. This @@ -15556,181 +21323,181 @@ type LightningServer interface { type UnimplementedLightningServer struct { } -func (*UnimplementedLightningServer) WalletBalance(ctx context.Context, req *WalletBalanceRequest) (*WalletBalanceResponse, error) { +func (*UnimplementedLightningServer) WalletBalance(context.Context, *WalletBalanceRequest) (*WalletBalanceResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method WalletBalance not implemented") } -func (*UnimplementedLightningServer) ChannelBalance(ctx context.Context, req *ChannelBalanceRequest) (*ChannelBalanceResponse, error) { +func (*UnimplementedLightningServer) ChannelBalance(context.Context, *ChannelBalanceRequest) (*ChannelBalanceResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ChannelBalance not implemented") } -func (*UnimplementedLightningServer) GetTransactions(ctx context.Context, req *GetTransactionsRequest) (*TransactionDetails, error) { +func (*UnimplementedLightningServer) GetTransactions(context.Context, *GetTransactionsRequest) (*TransactionDetails, error) { return nil, status.Errorf(codes.Unimplemented, "method GetTransactions not implemented") } -func (*UnimplementedLightningServer) EstimateFee(ctx context.Context, req *EstimateFeeRequest) (*EstimateFeeResponse, error) { +func (*UnimplementedLightningServer) EstimateFee(context.Context, *EstimateFeeRequest) (*EstimateFeeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method EstimateFee not implemented") } -func (*UnimplementedLightningServer) SendCoins(ctx context.Context, req *SendCoinsRequest) (*SendCoinsResponse, error) { +func (*UnimplementedLightningServer) SendCoins(context.Context, *SendCoinsRequest) (*SendCoinsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SendCoins not implemented") } -func (*UnimplementedLightningServer) ListUnspent(ctx context.Context, req *ListUnspentRequest) (*ListUnspentResponse, error) { +func (*UnimplementedLightningServer) ListUnspent(context.Context, *ListUnspentRequest) (*ListUnspentResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListUnspent not implemented") } -func (*UnimplementedLightningServer) SubscribeTransactions(req *GetTransactionsRequest, srv Lightning_SubscribeTransactionsServer) error { +func (*UnimplementedLightningServer) SubscribeTransactions(*GetTransactionsRequest, Lightning_SubscribeTransactionsServer) error { return status.Errorf(codes.Unimplemented, "method SubscribeTransactions not implemented") } -func (*UnimplementedLightningServer) SendMany(ctx context.Context, req *SendManyRequest) (*SendManyResponse, error) { +func (*UnimplementedLightningServer) SendMany(context.Context, *SendManyRequest) (*SendManyResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SendMany not implemented") } -func (*UnimplementedLightningServer) NewAddress(ctx context.Context, req *NewAddressRequest) (*NewAddressResponse, error) { +func (*UnimplementedLightningServer) NewAddress(context.Context, *NewAddressRequest) (*NewAddressResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method NewAddress not implemented") } -func (*UnimplementedLightningServer) SignMessage(ctx context.Context, req *SignMessageRequest) (*SignMessageResponse, error) { +func (*UnimplementedLightningServer) SignMessage(context.Context, *SignMessageRequest) (*SignMessageResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SignMessage not implemented") } -func (*UnimplementedLightningServer) VerifyMessage(ctx context.Context, req *VerifyMessageRequest) (*VerifyMessageResponse, error) { +func (*UnimplementedLightningServer) VerifyMessage(context.Context, *VerifyMessageRequest) (*VerifyMessageResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method VerifyMessage not implemented") } -func (*UnimplementedLightningServer) ConnectPeer(ctx context.Context, req *ConnectPeerRequest) (*ConnectPeerResponse, error) { +func (*UnimplementedLightningServer) ConnectPeer(context.Context, *ConnectPeerRequest) (*ConnectPeerResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ConnectPeer not implemented") } -func (*UnimplementedLightningServer) DisconnectPeer(ctx context.Context, req *DisconnectPeerRequest) (*DisconnectPeerResponse, error) { +func (*UnimplementedLightningServer) DisconnectPeer(context.Context, *DisconnectPeerRequest) (*DisconnectPeerResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DisconnectPeer not implemented") } -func (*UnimplementedLightningServer) ListPeers(ctx context.Context, req *ListPeersRequest) (*ListPeersResponse, error) { +func (*UnimplementedLightningServer) ListPeers(context.Context, *ListPeersRequest) (*ListPeersResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListPeers not implemented") } -func (*UnimplementedLightningServer) SubscribePeerEvents(req *PeerEventSubscription, srv Lightning_SubscribePeerEventsServer) error { +func (*UnimplementedLightningServer) SubscribePeerEvents(*PeerEventSubscription, Lightning_SubscribePeerEventsServer) error { return status.Errorf(codes.Unimplemented, "method SubscribePeerEvents not implemented") } -func (*UnimplementedLightningServer) GetInfo(ctx context.Context, req *GetInfoRequest) (*GetInfoResponse, error) { +func (*UnimplementedLightningServer) GetInfo(context.Context, *GetInfoRequest) (*GetInfoResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetInfo not implemented") } -func (*UnimplementedLightningServer) GetRecoveryInfo(ctx context.Context, req *GetRecoveryInfoRequest) (*GetRecoveryInfoResponse, error) { +func (*UnimplementedLightningServer) GetRecoveryInfo(context.Context, *GetRecoveryInfoRequest) (*GetRecoveryInfoResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetRecoveryInfo not implemented") } -func (*UnimplementedLightningServer) PendingChannels(ctx context.Context, req *PendingChannelsRequest) (*PendingChannelsResponse, error) { +func (*UnimplementedLightningServer) PendingChannels(context.Context, *PendingChannelsRequest) (*PendingChannelsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method PendingChannels not implemented") } -func (*UnimplementedLightningServer) ListChannels(ctx context.Context, req *ListChannelsRequest) (*ListChannelsResponse, error) { +func (*UnimplementedLightningServer) ListChannels(context.Context, *ListChannelsRequest) (*ListChannelsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListChannels not implemented") } -func (*UnimplementedLightningServer) SubscribeChannelEvents(req *ChannelEventSubscription, srv Lightning_SubscribeChannelEventsServer) error { +func (*UnimplementedLightningServer) SubscribeChannelEvents(*ChannelEventSubscription, Lightning_SubscribeChannelEventsServer) error { return status.Errorf(codes.Unimplemented, "method SubscribeChannelEvents not implemented") } -func (*UnimplementedLightningServer) ClosedChannels(ctx context.Context, req *ClosedChannelsRequest) (*ClosedChannelsResponse, error) { +func (*UnimplementedLightningServer) ClosedChannels(context.Context, *ClosedChannelsRequest) (*ClosedChannelsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ClosedChannels not implemented") } -func (*UnimplementedLightningServer) OpenChannelSync(ctx context.Context, req *OpenChannelRequest) (*ChannelPoint, error) { +func (*UnimplementedLightningServer) OpenChannelSync(context.Context, *OpenChannelRequest) (*ChannelPoint, error) { return nil, status.Errorf(codes.Unimplemented, "method OpenChannelSync not implemented") } -func (*UnimplementedLightningServer) OpenChannel(req *OpenChannelRequest, srv Lightning_OpenChannelServer) error { +func (*UnimplementedLightningServer) OpenChannel(*OpenChannelRequest, Lightning_OpenChannelServer) error { return status.Errorf(codes.Unimplemented, "method OpenChannel not implemented") } -func (*UnimplementedLightningServer) FundingStateStep(ctx context.Context, req *FundingTransitionMsg) (*FundingStateStepResp, error) { +func (*UnimplementedLightningServer) FundingStateStep(context.Context, *FundingTransitionMsg) (*FundingStateStepResp, error) { return nil, status.Errorf(codes.Unimplemented, "method FundingStateStep not implemented") } -func (*UnimplementedLightningServer) ChannelAcceptor(srv Lightning_ChannelAcceptorServer) error { +func (*UnimplementedLightningServer) ChannelAcceptor(Lightning_ChannelAcceptorServer) error { return status.Errorf(codes.Unimplemented, "method ChannelAcceptor not implemented") } -func (*UnimplementedLightningServer) CloseChannel(req *CloseChannelRequest, srv Lightning_CloseChannelServer) error { +func (*UnimplementedLightningServer) CloseChannel(*CloseChannelRequest, Lightning_CloseChannelServer) error { return status.Errorf(codes.Unimplemented, "method CloseChannel not implemented") } -func (*UnimplementedLightningServer) AbandonChannel(ctx context.Context, req *AbandonChannelRequest) (*AbandonChannelResponse, error) { +func (*UnimplementedLightningServer) AbandonChannel(context.Context, *AbandonChannelRequest) (*AbandonChannelResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AbandonChannel not implemented") } -func (*UnimplementedLightningServer) SendPayment(srv Lightning_SendPaymentServer) error { +func (*UnimplementedLightningServer) SendPayment(Lightning_SendPaymentServer) error { return status.Errorf(codes.Unimplemented, "method SendPayment not implemented") } -func (*UnimplementedLightningServer) SendPaymentSync(ctx context.Context, req *SendRequest) (*SendResponse, error) { +func (*UnimplementedLightningServer) SendPaymentSync(context.Context, *SendRequest) (*SendResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SendPaymentSync not implemented") } -func (*UnimplementedLightningServer) SendToRoute(srv Lightning_SendToRouteServer) error { +func (*UnimplementedLightningServer) SendToRoute(Lightning_SendToRouteServer) error { return status.Errorf(codes.Unimplemented, "method SendToRoute not implemented") } -func (*UnimplementedLightningServer) SendToRouteSync(ctx context.Context, req *SendToRouteRequest) (*SendResponse, error) { +func (*UnimplementedLightningServer) SendToRouteSync(context.Context, *SendToRouteRequest) (*SendResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SendToRouteSync not implemented") } -func (*UnimplementedLightningServer) AddInvoice(ctx context.Context, req *Invoice) (*AddInvoiceResponse, error) { +func (*UnimplementedLightningServer) AddInvoice(context.Context, *Invoice) (*AddInvoiceResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AddInvoice not implemented") } -func (*UnimplementedLightningServer) ListInvoices(ctx context.Context, req *ListInvoiceRequest) (*ListInvoiceResponse, error) { +func (*UnimplementedLightningServer) ListInvoices(context.Context, *ListInvoiceRequest) (*ListInvoiceResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListInvoices not implemented") } -func (*UnimplementedLightningServer) LookupInvoice(ctx context.Context, req *PaymentHash) (*Invoice, error) { +func (*UnimplementedLightningServer) LookupInvoice(context.Context, *PaymentHash) (*Invoice, error) { return nil, status.Errorf(codes.Unimplemented, "method LookupInvoice not implemented") } -func (*UnimplementedLightningServer) SubscribeInvoices(req *InvoiceSubscription, srv Lightning_SubscribeInvoicesServer) error { +func (*UnimplementedLightningServer) SubscribeInvoices(*InvoiceSubscription, Lightning_SubscribeInvoicesServer) error { return status.Errorf(codes.Unimplemented, "method SubscribeInvoices not implemented") } -func (*UnimplementedLightningServer) DecodePayReq(ctx context.Context, req *PayReqString) (*PayReq, error) { +func (*UnimplementedLightningServer) DecodePayReq(context.Context, *PayReqString) (*PayReq, error) { return nil, status.Errorf(codes.Unimplemented, "method DecodePayReq not implemented") } -func (*UnimplementedLightningServer) ListPayments(ctx context.Context, req *ListPaymentsRequest) (*ListPaymentsResponse, error) { +func (*UnimplementedLightningServer) ListPayments(context.Context, *ListPaymentsRequest) (*ListPaymentsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListPayments not implemented") } -func (*UnimplementedLightningServer) DeleteAllPayments(ctx context.Context, req *DeleteAllPaymentsRequest) (*DeleteAllPaymentsResponse, error) { +func (*UnimplementedLightningServer) DeleteAllPayments(context.Context, *DeleteAllPaymentsRequest) (*DeleteAllPaymentsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteAllPayments not implemented") } -func (*UnimplementedLightningServer) DescribeGraph(ctx context.Context, req *ChannelGraphRequest) (*ChannelGraph, error) { +func (*UnimplementedLightningServer) DescribeGraph(context.Context, *ChannelGraphRequest) (*ChannelGraph, error) { return nil, status.Errorf(codes.Unimplemented, "method DescribeGraph not implemented") } -func (*UnimplementedLightningServer) GetNodeMetrics(ctx context.Context, req *NodeMetricsRequest) (*NodeMetricsResponse, error) { +func (*UnimplementedLightningServer) GetNodeMetrics(context.Context, *NodeMetricsRequest) (*NodeMetricsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetNodeMetrics not implemented") } -func (*UnimplementedLightningServer) GetChanInfo(ctx context.Context, req *ChanInfoRequest) (*ChannelEdge, error) { +func (*UnimplementedLightningServer) GetChanInfo(context.Context, *ChanInfoRequest) (*ChannelEdge, error) { return nil, status.Errorf(codes.Unimplemented, "method GetChanInfo not implemented") } -func (*UnimplementedLightningServer) GetNodeInfo(ctx context.Context, req *NodeInfoRequest) (*NodeInfo, error) { +func (*UnimplementedLightningServer) GetNodeInfo(context.Context, *NodeInfoRequest) (*NodeInfo, error) { return nil, status.Errorf(codes.Unimplemented, "method GetNodeInfo not implemented") } -func (*UnimplementedLightningServer) QueryRoutes(ctx context.Context, req *QueryRoutesRequest) (*QueryRoutesResponse, error) { +func (*UnimplementedLightningServer) QueryRoutes(context.Context, *QueryRoutesRequest) (*QueryRoutesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method QueryRoutes not implemented") } -func (*UnimplementedLightningServer) GetNetworkInfo(ctx context.Context, req *NetworkInfoRequest) (*NetworkInfo, error) { +func (*UnimplementedLightningServer) GetNetworkInfo(context.Context, *NetworkInfoRequest) (*NetworkInfo, error) { return nil, status.Errorf(codes.Unimplemented, "method GetNetworkInfo not implemented") } -func (*UnimplementedLightningServer) StopDaemon(ctx context.Context, req *StopRequest) (*StopResponse, error) { +func (*UnimplementedLightningServer) StopDaemon(context.Context, *StopRequest) (*StopResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method StopDaemon not implemented") } -func (*UnimplementedLightningServer) SubscribeChannelGraph(req *GraphTopologySubscription, srv Lightning_SubscribeChannelGraphServer) error { +func (*UnimplementedLightningServer) SubscribeChannelGraph(*GraphTopologySubscription, Lightning_SubscribeChannelGraphServer) error { return status.Errorf(codes.Unimplemented, "method SubscribeChannelGraph not implemented") } -func (*UnimplementedLightningServer) DebugLevel(ctx context.Context, req *DebugLevelRequest) (*DebugLevelResponse, error) { +func (*UnimplementedLightningServer) DebugLevel(context.Context, *DebugLevelRequest) (*DebugLevelResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DebugLevel not implemented") } -func (*UnimplementedLightningServer) FeeReport(ctx context.Context, req *FeeReportRequest) (*FeeReportResponse, error) { +func (*UnimplementedLightningServer) FeeReport(context.Context, *FeeReportRequest) (*FeeReportResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FeeReport not implemented") } -func (*UnimplementedLightningServer) UpdateChannelPolicy(ctx context.Context, req *PolicyUpdateRequest) (*PolicyUpdateResponse, error) { +func (*UnimplementedLightningServer) UpdateChannelPolicy(context.Context, *PolicyUpdateRequest) (*PolicyUpdateResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateChannelPolicy not implemented") } -func (*UnimplementedLightningServer) ForwardingHistory(ctx context.Context, req *ForwardingHistoryRequest) (*ForwardingHistoryResponse, error) { +func (*UnimplementedLightningServer) ForwardingHistory(context.Context, *ForwardingHistoryRequest) (*ForwardingHistoryResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ForwardingHistory not implemented") } -func (*UnimplementedLightningServer) ExportChannelBackup(ctx context.Context, req *ExportChannelBackupRequest) (*ChannelBackup, error) { +func (*UnimplementedLightningServer) ExportChannelBackup(context.Context, *ExportChannelBackupRequest) (*ChannelBackup, error) { return nil, status.Errorf(codes.Unimplemented, "method ExportChannelBackup not implemented") } -func (*UnimplementedLightningServer) ExportAllChannelBackups(ctx context.Context, req *ChanBackupExportRequest) (*ChanBackupSnapshot, error) { +func (*UnimplementedLightningServer) ExportAllChannelBackups(context.Context, *ChanBackupExportRequest) (*ChanBackupSnapshot, error) { return nil, status.Errorf(codes.Unimplemented, "method ExportAllChannelBackups not implemented") } -func (*UnimplementedLightningServer) VerifyChanBackup(ctx context.Context, req *ChanBackupSnapshot) (*VerifyChanBackupResponse, error) { +func (*UnimplementedLightningServer) VerifyChanBackup(context.Context, *ChanBackupSnapshot) (*VerifyChanBackupResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method VerifyChanBackup not implemented") } -func (*UnimplementedLightningServer) RestoreChannelBackups(ctx context.Context, req *RestoreChanBackupRequest) (*RestoreBackupResponse, error) { +func (*UnimplementedLightningServer) RestoreChannelBackups(context.Context, *RestoreChanBackupRequest) (*RestoreBackupResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method RestoreChannelBackups not implemented") } -func (*UnimplementedLightningServer) SubscribeChannelBackups(req *ChannelBackupSubscription, srv Lightning_SubscribeChannelBackupsServer) error { +func (*UnimplementedLightningServer) SubscribeChannelBackups(*ChannelBackupSubscription, Lightning_SubscribeChannelBackupsServer) error { return status.Errorf(codes.Unimplemented, "method SubscribeChannelBackups not implemented") } -func (*UnimplementedLightningServer) BakeMacaroon(ctx context.Context, req *BakeMacaroonRequest) (*BakeMacaroonResponse, error) { +func (*UnimplementedLightningServer) BakeMacaroon(context.Context, *BakeMacaroonRequest) (*BakeMacaroonResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method BakeMacaroon not implemented") } -func (*UnimplementedLightningServer) ListMacaroonIDs(ctx context.Context, req *ListMacaroonIDsRequest) (*ListMacaroonIDsResponse, error) { +func (*UnimplementedLightningServer) ListMacaroonIDs(context.Context, *ListMacaroonIDsRequest) (*ListMacaroonIDsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListMacaroonIDs not implemented") } -func (*UnimplementedLightningServer) DeleteMacaroonID(ctx context.Context, req *DeleteMacaroonIDRequest) (*DeleteMacaroonIDResponse, error) { +func (*UnimplementedLightningServer) DeleteMacaroonID(context.Context, *DeleteMacaroonIDRequest) (*DeleteMacaroonIDResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteMacaroonID not implemented") } -func (*UnimplementedLightningServer) ListPermissions(ctx context.Context, req *ListPermissionsRequest) (*ListPermissionsResponse, error) { +func (*UnimplementedLightningServer) ListPermissions(context.Context, *ListPermissionsRequest) (*ListPermissionsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListPermissions not implemented") } diff --git a/lnrpc/signrpc/signer.pb.go b/lnrpc/signrpc/signer.pb.go index 75e7ff7da..34ae727aa 100644 --- a/lnrpc/signrpc/signer.pb.go +++ b/lnrpc/signrpc/signer.pb.go @@ -1,79 +1,96 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.6.1 // source: signrpc/signer.proto package signrpc import ( context "context" - fmt "fmt" proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + KeyIndex int32 `protobuf:"varint,2,opt,name=key_index,json=keyIndex,proto3" json:"key_index,omitempty"` } -func (m *KeyLocator) Reset() { *m = KeyLocator{} } -func (m *KeyLocator) String() string { return proto.CompactTextString(m) } -func (*KeyLocator) ProtoMessage() {} +func (x *KeyLocator) Reset() { + *x = KeyLocator{} + if protoimpl.UnsafeEnabled { + mi := &file_signrpc_signer_proto_msgTypes[0] + 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_signrpc_signer_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 KeyLocator.ProtoReflect.Descriptor instead. func (*KeyLocator) Descriptor() ([]byte, []int) { - return fileDescriptor_4ecd772f6c7ffacf, []int{0} + return file_signrpc_signer_proto_rawDescGZIP(), []int{0} } -func (m *KeyLocator) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_KeyLocator.Unmarshal(m, b) -} -func (m *KeyLocator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_KeyLocator.Marshal(b, m, deterministic) -} -func (m *KeyLocator) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeyLocator.Merge(m, src) -} -func (m *KeyLocator) XXX_Size() int { - return xxx_messageInfo_KeyLocator.Size(m) -} -func (m *KeyLocator) XXX_DiscardUnknown() { - xxx_messageInfo_KeyLocator.DiscardUnknown(m) -} - -var xxx_messageInfo_KeyLocator proto.InternalMessageInfo - -func (m *KeyLocator) GetKeyFamily() int32 { - if m != nil { - return m.KeyFamily +func (x *KeyLocator) GetKeyFamily() int32 { + if x != nil { + return x.KeyFamily } return 0 } -func (m *KeyLocator) GetKeyIndex() int32 { - if m != nil { - return m.KeyIndex +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. Either this or the KeyLocator //must be specified. @@ -81,101 +98,117 @@ type KeyDescriptor struct { // //The key locator that identifies which key to use for signing. Either this //or the raw bytes of the target key must be specified. - KeyLoc *KeyLocator `protobuf:"bytes,2,opt,name=key_loc,json=keyLoc,proto3" json:"key_loc,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + KeyLoc *KeyLocator `protobuf:"bytes,2,opt,name=key_loc,json=keyLoc,proto3" json:"key_loc,omitempty"` } -func (m *KeyDescriptor) Reset() { *m = KeyDescriptor{} } -func (m *KeyDescriptor) String() string { return proto.CompactTextString(m) } -func (*KeyDescriptor) ProtoMessage() {} +func (x *KeyDescriptor) Reset() { + *x = KeyDescriptor{} + if protoimpl.UnsafeEnabled { + mi := &file_signrpc_signer_proto_msgTypes[1] + 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_signrpc_signer_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 KeyDescriptor.ProtoReflect.Descriptor instead. func (*KeyDescriptor) Descriptor() ([]byte, []int) { - return fileDescriptor_4ecd772f6c7ffacf, []int{1} + return file_signrpc_signer_proto_rawDescGZIP(), []int{1} } -func (m *KeyDescriptor) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_KeyDescriptor.Unmarshal(m, b) -} -func (m *KeyDescriptor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_KeyDescriptor.Marshal(b, m, deterministic) -} -func (m *KeyDescriptor) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeyDescriptor.Merge(m, src) -} -func (m *KeyDescriptor) XXX_Size() int { - return xxx_messageInfo_KeyDescriptor.Size(m) -} -func (m *KeyDescriptor) XXX_DiscardUnknown() { - xxx_messageInfo_KeyDescriptor.DiscardUnknown(m) -} - -var xxx_messageInfo_KeyDescriptor proto.InternalMessageInfo - -func (m *KeyDescriptor) GetRawKeyBytes() []byte { - if m != nil { - return m.RawKeyBytes +func (x *KeyDescriptor) GetRawKeyBytes() []byte { + if x != nil { + return x.RawKeyBytes } return nil } -func (m *KeyDescriptor) GetKeyLoc() *KeyLocator { - if m != nil { - return m.KeyLoc +func (x *KeyDescriptor) GetKeyLoc() *KeyLocator { + if x != nil { + return x.KeyLoc } return nil } type TxOut struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The value of the output being spent. Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // The script of the output being spent. - PkScript []byte `protobuf:"bytes,2,opt,name=pk_script,json=pkScript,proto3" json:"pk_script,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + PkScript []byte `protobuf:"bytes,2,opt,name=pk_script,json=pkScript,proto3" json:"pk_script,omitempty"` } -func (m *TxOut) Reset() { *m = TxOut{} } -func (m *TxOut) String() string { return proto.CompactTextString(m) } -func (*TxOut) ProtoMessage() {} +func (x *TxOut) Reset() { + *x = TxOut{} + if protoimpl.UnsafeEnabled { + mi := &file_signrpc_signer_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TxOut) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TxOut) ProtoMessage() {} + +func (x *TxOut) ProtoReflect() protoreflect.Message { + mi := &file_signrpc_signer_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 TxOut.ProtoReflect.Descriptor instead. func (*TxOut) Descriptor() ([]byte, []int) { - return fileDescriptor_4ecd772f6c7ffacf, []int{2} + return file_signrpc_signer_proto_rawDescGZIP(), []int{2} } -func (m *TxOut) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TxOut.Unmarshal(m, b) -} -func (m *TxOut) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TxOut.Marshal(b, m, deterministic) -} -func (m *TxOut) XXX_Merge(src proto.Message) { - xxx_messageInfo_TxOut.Merge(m, src) -} -func (m *TxOut) XXX_Size() int { - return xxx_messageInfo_TxOut.Size(m) -} -func (m *TxOut) XXX_DiscardUnknown() { - xxx_messageInfo_TxOut.DiscardUnknown(m) -} - -var xxx_messageInfo_TxOut proto.InternalMessageInfo - -func (m *TxOut) GetValue() int64 { - if m != nil { - return m.Value +func (x *TxOut) GetValue() int64 { + if x != nil { + return x.Value } return 0 } -func (m *TxOut) GetPkScript() []byte { - if m != nil { - return m.PkScript +func (x *TxOut) GetPkScript() []byte { + if x != nil { + return x.PkScript } return nil } type SignDescriptor struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //A descriptor that precisely describes *which* key to use for signing. This //may provide the raw public key directly, or require the Signer to re-derive @@ -217,359 +250,415 @@ type SignDescriptor struct { Sighash uint32 `protobuf:"varint,7,opt,name=sighash,proto3" json:"sighash,omitempty"` // //The target input within the transaction that should be signed. - InputIndex int32 `protobuf:"varint,8,opt,name=input_index,json=inputIndex,proto3" json:"input_index,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + InputIndex int32 `protobuf:"varint,8,opt,name=input_index,json=inputIndex,proto3" json:"input_index,omitempty"` } -func (m *SignDescriptor) Reset() { *m = SignDescriptor{} } -func (m *SignDescriptor) String() string { return proto.CompactTextString(m) } -func (*SignDescriptor) ProtoMessage() {} +func (x *SignDescriptor) Reset() { + *x = SignDescriptor{} + if protoimpl.UnsafeEnabled { + mi := &file_signrpc_signer_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SignDescriptor) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SignDescriptor) ProtoMessage() {} + +func (x *SignDescriptor) ProtoReflect() protoreflect.Message { + mi := &file_signrpc_signer_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 SignDescriptor.ProtoReflect.Descriptor instead. func (*SignDescriptor) Descriptor() ([]byte, []int) { - return fileDescriptor_4ecd772f6c7ffacf, []int{3} + return file_signrpc_signer_proto_rawDescGZIP(), []int{3} } -func (m *SignDescriptor) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SignDescriptor.Unmarshal(m, b) -} -func (m *SignDescriptor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SignDescriptor.Marshal(b, m, deterministic) -} -func (m *SignDescriptor) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignDescriptor.Merge(m, src) -} -func (m *SignDescriptor) XXX_Size() int { - return xxx_messageInfo_SignDescriptor.Size(m) -} -func (m *SignDescriptor) XXX_DiscardUnknown() { - xxx_messageInfo_SignDescriptor.DiscardUnknown(m) -} - -var xxx_messageInfo_SignDescriptor proto.InternalMessageInfo - -func (m *SignDescriptor) GetKeyDesc() *KeyDescriptor { - if m != nil { - return m.KeyDesc +func (x *SignDescriptor) GetKeyDesc() *KeyDescriptor { + if x != nil { + return x.KeyDesc } return nil } -func (m *SignDescriptor) GetSingleTweak() []byte { - if m != nil { - return m.SingleTweak +func (x *SignDescriptor) GetSingleTweak() []byte { + if x != nil { + return x.SingleTweak } return nil } -func (m *SignDescriptor) GetDoubleTweak() []byte { - if m != nil { - return m.DoubleTweak +func (x *SignDescriptor) GetDoubleTweak() []byte { + if x != nil { + return x.DoubleTweak } return nil } -func (m *SignDescriptor) GetWitnessScript() []byte { - if m != nil { - return m.WitnessScript +func (x *SignDescriptor) GetWitnessScript() []byte { + if x != nil { + return x.WitnessScript } return nil } -func (m *SignDescriptor) GetOutput() *TxOut { - if m != nil { - return m.Output +func (x *SignDescriptor) GetOutput() *TxOut { + if x != nil { + return x.Output } return nil } -func (m *SignDescriptor) GetSighash() uint32 { - if m != nil { - return m.Sighash +func (x *SignDescriptor) GetSighash() uint32 { + if x != nil { + return x.Sighash } return 0 } -func (m *SignDescriptor) GetInputIndex() int32 { - if m != nil { - return m.InputIndex +func (x *SignDescriptor) GetInputIndex() int32 { + if x != nil { + return x.InputIndex } return 0 } type SignReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The raw bytes of the transaction to be signed. RawTxBytes []byte `protobuf:"bytes,1,opt,name=raw_tx_bytes,json=rawTxBytes,proto3" json:"raw_tx_bytes,omitempty"` // A set of sign descriptors, for each input to be signed. - SignDescs []*SignDescriptor `protobuf:"bytes,2,rep,name=sign_descs,json=signDescs,proto3" json:"sign_descs,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SignDescs []*SignDescriptor `protobuf:"bytes,2,rep,name=sign_descs,json=signDescs,proto3" json:"sign_descs,omitempty"` } -func (m *SignReq) Reset() { *m = SignReq{} } -func (m *SignReq) String() string { return proto.CompactTextString(m) } -func (*SignReq) ProtoMessage() {} +func (x *SignReq) Reset() { + *x = SignReq{} + if protoimpl.UnsafeEnabled { + mi := &file_signrpc_signer_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SignReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SignReq) ProtoMessage() {} + +func (x *SignReq) ProtoReflect() protoreflect.Message { + mi := &file_signrpc_signer_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 SignReq.ProtoReflect.Descriptor instead. func (*SignReq) Descriptor() ([]byte, []int) { - return fileDescriptor_4ecd772f6c7ffacf, []int{4} + return file_signrpc_signer_proto_rawDescGZIP(), []int{4} } -func (m *SignReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SignReq.Unmarshal(m, b) -} -func (m *SignReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SignReq.Marshal(b, m, deterministic) -} -func (m *SignReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignReq.Merge(m, src) -} -func (m *SignReq) XXX_Size() int { - return xxx_messageInfo_SignReq.Size(m) -} -func (m *SignReq) XXX_DiscardUnknown() { - xxx_messageInfo_SignReq.DiscardUnknown(m) -} - -var xxx_messageInfo_SignReq proto.InternalMessageInfo - -func (m *SignReq) GetRawTxBytes() []byte { - if m != nil { - return m.RawTxBytes +func (x *SignReq) GetRawTxBytes() []byte { + if x != nil { + return x.RawTxBytes } return nil } -func (m *SignReq) GetSignDescs() []*SignDescriptor { - if m != nil { - return m.SignDescs +func (x *SignReq) GetSignDescs() []*SignDescriptor { + if x != nil { + return x.SignDescs } return nil } type SignResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //A set of signatures realized in a fixed 64-byte format ordered in ascending //input order. - RawSigs [][]byte `protobuf:"bytes,1,rep,name=raw_sigs,json=rawSigs,proto3" json:"raw_sigs,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + RawSigs [][]byte `protobuf:"bytes,1,rep,name=raw_sigs,json=rawSigs,proto3" json:"raw_sigs,omitempty"` } -func (m *SignResp) Reset() { *m = SignResp{} } -func (m *SignResp) String() string { return proto.CompactTextString(m) } -func (*SignResp) ProtoMessage() {} +func (x *SignResp) Reset() { + *x = SignResp{} + if protoimpl.UnsafeEnabled { + mi := &file_signrpc_signer_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SignResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SignResp) ProtoMessage() {} + +func (x *SignResp) ProtoReflect() protoreflect.Message { + mi := &file_signrpc_signer_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 SignResp.ProtoReflect.Descriptor instead. func (*SignResp) Descriptor() ([]byte, []int) { - return fileDescriptor_4ecd772f6c7ffacf, []int{5} + return file_signrpc_signer_proto_rawDescGZIP(), []int{5} } -func (m *SignResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SignResp.Unmarshal(m, b) -} -func (m *SignResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SignResp.Marshal(b, m, deterministic) -} -func (m *SignResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignResp.Merge(m, src) -} -func (m *SignResp) XXX_Size() int { - return xxx_messageInfo_SignResp.Size(m) -} -func (m *SignResp) XXX_DiscardUnknown() { - xxx_messageInfo_SignResp.DiscardUnknown(m) -} - -var xxx_messageInfo_SignResp proto.InternalMessageInfo - -func (m *SignResp) GetRawSigs() [][]byte { - if m != nil { - return m.RawSigs +func (x *SignResp) GetRawSigs() [][]byte { + if x != nil { + return x.RawSigs } return nil } type InputScript struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The serializes witness stack for the specified input. Witness [][]byte `protobuf:"bytes,1,rep,name=witness,proto3" json:"witness,omitempty"` // //The optional sig script for the specified witness that will only be set if //the input specified is a nested p2sh witness program. - SigScript []byte `protobuf:"bytes,2,opt,name=sig_script,json=sigScript,proto3" json:"sig_script,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SigScript []byte `protobuf:"bytes,2,opt,name=sig_script,json=sigScript,proto3" json:"sig_script,omitempty"` } -func (m *InputScript) Reset() { *m = InputScript{} } -func (m *InputScript) String() string { return proto.CompactTextString(m) } -func (*InputScript) ProtoMessage() {} +func (x *InputScript) Reset() { + *x = InputScript{} + if protoimpl.UnsafeEnabled { + mi := &file_signrpc_signer_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InputScript) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InputScript) ProtoMessage() {} + +func (x *InputScript) ProtoReflect() protoreflect.Message { + mi := &file_signrpc_signer_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 InputScript.ProtoReflect.Descriptor instead. func (*InputScript) Descriptor() ([]byte, []int) { - return fileDescriptor_4ecd772f6c7ffacf, []int{6} + return file_signrpc_signer_proto_rawDescGZIP(), []int{6} } -func (m *InputScript) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InputScript.Unmarshal(m, b) -} -func (m *InputScript) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InputScript.Marshal(b, m, deterministic) -} -func (m *InputScript) XXX_Merge(src proto.Message) { - xxx_messageInfo_InputScript.Merge(m, src) -} -func (m *InputScript) XXX_Size() int { - return xxx_messageInfo_InputScript.Size(m) -} -func (m *InputScript) XXX_DiscardUnknown() { - xxx_messageInfo_InputScript.DiscardUnknown(m) -} - -var xxx_messageInfo_InputScript proto.InternalMessageInfo - -func (m *InputScript) GetWitness() [][]byte { - if m != nil { - return m.Witness +func (x *InputScript) GetWitness() [][]byte { + if x != nil { + return x.Witness } return nil } -func (m *InputScript) GetSigScript() []byte { - if m != nil { - return m.SigScript +func (x *InputScript) GetSigScript() []byte { + if x != nil { + return x.SigScript } return nil } type InputScriptResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The set of fully valid input scripts requested. - InputScripts []*InputScript `protobuf:"bytes,1,rep,name=input_scripts,json=inputScripts,proto3" json:"input_scripts,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + InputScripts []*InputScript `protobuf:"bytes,1,rep,name=input_scripts,json=inputScripts,proto3" json:"input_scripts,omitempty"` } -func (m *InputScriptResp) Reset() { *m = InputScriptResp{} } -func (m *InputScriptResp) String() string { return proto.CompactTextString(m) } -func (*InputScriptResp) ProtoMessage() {} +func (x *InputScriptResp) Reset() { + *x = InputScriptResp{} + if protoimpl.UnsafeEnabled { + mi := &file_signrpc_signer_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InputScriptResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InputScriptResp) ProtoMessage() {} + +func (x *InputScriptResp) ProtoReflect() protoreflect.Message { + mi := &file_signrpc_signer_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 InputScriptResp.ProtoReflect.Descriptor instead. func (*InputScriptResp) Descriptor() ([]byte, []int) { - return fileDescriptor_4ecd772f6c7ffacf, []int{7} + return file_signrpc_signer_proto_rawDescGZIP(), []int{7} } -func (m *InputScriptResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InputScriptResp.Unmarshal(m, b) -} -func (m *InputScriptResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InputScriptResp.Marshal(b, m, deterministic) -} -func (m *InputScriptResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_InputScriptResp.Merge(m, src) -} -func (m *InputScriptResp) XXX_Size() int { - return xxx_messageInfo_InputScriptResp.Size(m) -} -func (m *InputScriptResp) XXX_DiscardUnknown() { - xxx_messageInfo_InputScriptResp.DiscardUnknown(m) -} - -var xxx_messageInfo_InputScriptResp proto.InternalMessageInfo - -func (m *InputScriptResp) GetInputScripts() []*InputScript { - if m != nil { - return m.InputScripts +func (x *InputScriptResp) GetInputScripts() []*InputScript { + if x != nil { + return x.InputScripts } return nil } type SignMessageReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The message to be signed. Msg []byte `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + KeyLoc *KeyLocator `protobuf:"bytes,2,opt,name=key_loc,json=keyLoc,proto3" json:"key_loc,omitempty"` } -func (m *SignMessageReq) Reset() { *m = SignMessageReq{} } -func (m *SignMessageReq) String() string { return proto.CompactTextString(m) } -func (*SignMessageReq) ProtoMessage() {} +func (x *SignMessageReq) Reset() { + *x = SignMessageReq{} + if protoimpl.UnsafeEnabled { + mi := &file_signrpc_signer_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SignMessageReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SignMessageReq) ProtoMessage() {} + +func (x *SignMessageReq) ProtoReflect() protoreflect.Message { + mi := &file_signrpc_signer_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 SignMessageReq.ProtoReflect.Descriptor instead. func (*SignMessageReq) Descriptor() ([]byte, []int) { - return fileDescriptor_4ecd772f6c7ffacf, []int{8} + return file_signrpc_signer_proto_rawDescGZIP(), []int{8} } -func (m *SignMessageReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SignMessageReq.Unmarshal(m, b) -} -func (m *SignMessageReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SignMessageReq.Marshal(b, m, deterministic) -} -func (m *SignMessageReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignMessageReq.Merge(m, src) -} -func (m *SignMessageReq) XXX_Size() int { - return xxx_messageInfo_SignMessageReq.Size(m) -} -func (m *SignMessageReq) XXX_DiscardUnknown() { - xxx_messageInfo_SignMessageReq.DiscardUnknown(m) -} - -var xxx_messageInfo_SignMessageReq proto.InternalMessageInfo - -func (m *SignMessageReq) GetMsg() []byte { - if m != nil { - return m.Msg +func (x *SignMessageReq) GetMsg() []byte { + if x != nil { + return x.Msg } return nil } -func (m *SignMessageReq) GetKeyLoc() *KeyLocator { - if m != nil { - return m.KeyLoc +func (x *SignMessageReq) GetKeyLoc() *KeyLocator { + if x != nil { + return x.KeyLoc } return nil } type SignMessageResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //The signature for the given message in the fixed-size LN wire format. - Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"` } -func (m *SignMessageResp) Reset() { *m = SignMessageResp{} } -func (m *SignMessageResp) String() string { return proto.CompactTextString(m) } -func (*SignMessageResp) ProtoMessage() {} +func (x *SignMessageResp) Reset() { + *x = SignMessageResp{} + if protoimpl.UnsafeEnabled { + mi := &file_signrpc_signer_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SignMessageResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SignMessageResp) ProtoMessage() {} + +func (x *SignMessageResp) ProtoReflect() protoreflect.Message { + mi := &file_signrpc_signer_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 SignMessageResp.ProtoReflect.Descriptor instead. func (*SignMessageResp) Descriptor() ([]byte, []int) { - return fileDescriptor_4ecd772f6c7ffacf, []int{9} + return file_signrpc_signer_proto_rawDescGZIP(), []int{9} } -func (m *SignMessageResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SignMessageResp.Unmarshal(m, b) -} -func (m *SignMessageResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SignMessageResp.Marshal(b, m, deterministic) -} -func (m *SignMessageResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_SignMessageResp.Merge(m, src) -} -func (m *SignMessageResp) XXX_Size() int { - return xxx_messageInfo_SignMessageResp.Size(m) -} -func (m *SignMessageResp) XXX_DiscardUnknown() { - xxx_messageInfo_SignMessageResp.DiscardUnknown(m) -} - -var xxx_messageInfo_SignMessageResp proto.InternalMessageInfo - -func (m *SignMessageResp) GetSignature() []byte { - if m != nil { - return m.Signature +func (x *SignMessageResp) GetSignature() []byte { + if x != nil { + return x.Signature } return nil } type VerifyMessageReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The message over which the signature is to be verified. Msg []byte `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` // @@ -577,282 +666,603 @@ type VerifyMessageReq struct { //message. Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // The public key the signature has to be valid for. - Pubkey []byte `protobuf:"bytes,3,opt,name=pubkey,proto3" json:"pubkey,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Pubkey []byte `protobuf:"bytes,3,opt,name=pubkey,proto3" json:"pubkey,omitempty"` } -func (m *VerifyMessageReq) Reset() { *m = VerifyMessageReq{} } -func (m *VerifyMessageReq) String() string { return proto.CompactTextString(m) } -func (*VerifyMessageReq) ProtoMessage() {} +func (x *VerifyMessageReq) Reset() { + *x = VerifyMessageReq{} + if protoimpl.UnsafeEnabled { + mi := &file_signrpc_signer_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VerifyMessageReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VerifyMessageReq) ProtoMessage() {} + +func (x *VerifyMessageReq) ProtoReflect() protoreflect.Message { + mi := &file_signrpc_signer_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 VerifyMessageReq.ProtoReflect.Descriptor instead. func (*VerifyMessageReq) Descriptor() ([]byte, []int) { - return fileDescriptor_4ecd772f6c7ffacf, []int{10} + return file_signrpc_signer_proto_rawDescGZIP(), []int{10} } -func (m *VerifyMessageReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VerifyMessageReq.Unmarshal(m, b) -} -func (m *VerifyMessageReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VerifyMessageReq.Marshal(b, m, deterministic) -} -func (m *VerifyMessageReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_VerifyMessageReq.Merge(m, src) -} -func (m *VerifyMessageReq) XXX_Size() int { - return xxx_messageInfo_VerifyMessageReq.Size(m) -} -func (m *VerifyMessageReq) XXX_DiscardUnknown() { - xxx_messageInfo_VerifyMessageReq.DiscardUnknown(m) -} - -var xxx_messageInfo_VerifyMessageReq proto.InternalMessageInfo - -func (m *VerifyMessageReq) GetMsg() []byte { - if m != nil { - return m.Msg +func (x *VerifyMessageReq) GetMsg() []byte { + if x != nil { + return x.Msg } return nil } -func (m *VerifyMessageReq) GetSignature() []byte { - if m != nil { - return m.Signature +func (x *VerifyMessageReq) GetSignature() []byte { + if x != nil { + return x.Signature } return nil } -func (m *VerifyMessageReq) GetPubkey() []byte { - if m != nil { - return m.Pubkey +func (x *VerifyMessageReq) GetPubkey() []byte { + if x != nil { + return x.Pubkey } return nil } type VerifyMessageResp 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"` } -func (m *VerifyMessageResp) Reset() { *m = VerifyMessageResp{} } -func (m *VerifyMessageResp) String() string { return proto.CompactTextString(m) } -func (*VerifyMessageResp) ProtoMessage() {} +func (x *VerifyMessageResp) Reset() { + *x = VerifyMessageResp{} + if protoimpl.UnsafeEnabled { + mi := &file_signrpc_signer_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VerifyMessageResp) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VerifyMessageResp) ProtoMessage() {} + +func (x *VerifyMessageResp) ProtoReflect() protoreflect.Message { + mi := &file_signrpc_signer_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 VerifyMessageResp.ProtoReflect.Descriptor instead. func (*VerifyMessageResp) Descriptor() ([]byte, []int) { - return fileDescriptor_4ecd772f6c7ffacf, []int{11} + return file_signrpc_signer_proto_rawDescGZIP(), []int{11} } -func (m *VerifyMessageResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VerifyMessageResp.Unmarshal(m, b) -} -func (m *VerifyMessageResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VerifyMessageResp.Marshal(b, m, deterministic) -} -func (m *VerifyMessageResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_VerifyMessageResp.Merge(m, src) -} -func (m *VerifyMessageResp) XXX_Size() int { - return xxx_messageInfo_VerifyMessageResp.Size(m) -} -func (m *VerifyMessageResp) XXX_DiscardUnknown() { - xxx_messageInfo_VerifyMessageResp.DiscardUnknown(m) -} - -var xxx_messageInfo_VerifyMessageResp proto.InternalMessageInfo - -func (m *VerifyMessageResp) GetValid() bool { - if m != nil { - return m.Valid +func (x *VerifyMessageResp) GetValid() bool { + if x != nil { + return x.Valid } return false } type SharedKeyRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The ephemeral public key to use for the DH key derivation. EphemeralPubkey []byte `protobuf:"bytes,1,opt,name=ephemeral_pubkey,json=ephemeralPubkey,proto3" json:"ephemeral_pubkey,omitempty"` // //Deprecated. The optional key locator of the local key that should be used. //If this parameter is not set then the node's identity private key will be //used. - KeyLoc *KeyLocator `protobuf:"bytes,2,opt,name=key_loc,json=keyLoc,proto3" json:"key_loc,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + KeyLoc *KeyLocator `protobuf:"bytes,2,opt,name=key_loc,json=keyLoc,proto3" json:"key_loc,omitempty"` // //A key descriptor describes the key used for performing ECDH. Either a key //locator or a raw public key is expected, if neither is supplied, defaults to //the node's identity private key. - KeyDesc *KeyDescriptor `protobuf:"bytes,3,opt,name=key_desc,json=keyDesc,proto3" json:"key_desc,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + KeyDesc *KeyDescriptor `protobuf:"bytes,3,opt,name=key_desc,json=keyDesc,proto3" json:"key_desc,omitempty"` } -func (m *SharedKeyRequest) Reset() { *m = SharedKeyRequest{} } -func (m *SharedKeyRequest) String() string { return proto.CompactTextString(m) } -func (*SharedKeyRequest) ProtoMessage() {} +func (x *SharedKeyRequest) Reset() { + *x = SharedKeyRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_signrpc_signer_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SharedKeyRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SharedKeyRequest) ProtoMessage() {} + +func (x *SharedKeyRequest) ProtoReflect() protoreflect.Message { + mi := &file_signrpc_signer_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 SharedKeyRequest.ProtoReflect.Descriptor instead. func (*SharedKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_4ecd772f6c7ffacf, []int{12} + return file_signrpc_signer_proto_rawDescGZIP(), []int{12} } -func (m *SharedKeyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SharedKeyRequest.Unmarshal(m, b) -} -func (m *SharedKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SharedKeyRequest.Marshal(b, m, deterministic) -} -func (m *SharedKeyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SharedKeyRequest.Merge(m, src) -} -func (m *SharedKeyRequest) XXX_Size() int { - return xxx_messageInfo_SharedKeyRequest.Size(m) -} -func (m *SharedKeyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SharedKeyRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SharedKeyRequest proto.InternalMessageInfo - -func (m *SharedKeyRequest) GetEphemeralPubkey() []byte { - if m != nil { - return m.EphemeralPubkey +func (x *SharedKeyRequest) GetEphemeralPubkey() []byte { + if x != nil { + return x.EphemeralPubkey } return nil } // Deprecated: Do not use. -func (m *SharedKeyRequest) GetKeyLoc() *KeyLocator { - if m != nil { - return m.KeyLoc +func (x *SharedKeyRequest) GetKeyLoc() *KeyLocator { + if x != nil { + return x.KeyLoc } return nil } -func (m *SharedKeyRequest) GetKeyDesc() *KeyDescriptor { - if m != nil { - return m.KeyDesc +func (x *SharedKeyRequest) GetKeyDesc() *KeyDescriptor { + if x != nil { + return x.KeyDesc } return nil } type SharedKeyResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The shared public key, hashed with sha256. - SharedKey []byte `protobuf:"bytes,1,opt,name=shared_key,json=sharedKey,proto3" json:"shared_key,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SharedKey []byte `protobuf:"bytes,1,opt,name=shared_key,json=sharedKey,proto3" json:"shared_key,omitempty"` } -func (m *SharedKeyResponse) Reset() { *m = SharedKeyResponse{} } -func (m *SharedKeyResponse) String() string { return proto.CompactTextString(m) } -func (*SharedKeyResponse) ProtoMessage() {} +func (x *SharedKeyResponse) Reset() { + *x = SharedKeyResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_signrpc_signer_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SharedKeyResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SharedKeyResponse) ProtoMessage() {} + +func (x *SharedKeyResponse) ProtoReflect() protoreflect.Message { + mi := &file_signrpc_signer_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 SharedKeyResponse.ProtoReflect.Descriptor instead. func (*SharedKeyResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_4ecd772f6c7ffacf, []int{13} + return file_signrpc_signer_proto_rawDescGZIP(), []int{13} } -func (m *SharedKeyResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SharedKeyResponse.Unmarshal(m, b) -} -func (m *SharedKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SharedKeyResponse.Marshal(b, m, deterministic) -} -func (m *SharedKeyResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SharedKeyResponse.Merge(m, src) -} -func (m *SharedKeyResponse) XXX_Size() int { - return xxx_messageInfo_SharedKeyResponse.Size(m) -} -func (m *SharedKeyResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SharedKeyResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_SharedKeyResponse proto.InternalMessageInfo - -func (m *SharedKeyResponse) GetSharedKey() []byte { - if m != nil { - return m.SharedKey +func (x *SharedKeyResponse) GetSharedKey() []byte { + if x != nil { + return x.SharedKey } return nil } -func init() { - proto.RegisterType((*KeyLocator)(nil), "signrpc.KeyLocator") - proto.RegisterType((*KeyDescriptor)(nil), "signrpc.KeyDescriptor") - proto.RegisterType((*TxOut)(nil), "signrpc.TxOut") - proto.RegisterType((*SignDescriptor)(nil), "signrpc.SignDescriptor") - proto.RegisterType((*SignReq)(nil), "signrpc.SignReq") - proto.RegisterType((*SignResp)(nil), "signrpc.SignResp") - proto.RegisterType((*InputScript)(nil), "signrpc.InputScript") - proto.RegisterType((*InputScriptResp)(nil), "signrpc.InputScriptResp") - proto.RegisterType((*SignMessageReq)(nil), "signrpc.SignMessageReq") - proto.RegisterType((*SignMessageResp)(nil), "signrpc.SignMessageResp") - proto.RegisterType((*VerifyMessageReq)(nil), "signrpc.VerifyMessageReq") - proto.RegisterType((*VerifyMessageResp)(nil), "signrpc.VerifyMessageResp") - proto.RegisterType((*SharedKeyRequest)(nil), "signrpc.SharedKeyRequest") - proto.RegisterType((*SharedKeyResponse)(nil), "signrpc.SharedKeyResponse") +var File_signrpc_signer_proto protoreflect.FileDescriptor + +var file_signrpc_signer_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x73, 0x69, 0x67, 0x6e, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x72, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x73, 0x69, 0x67, 0x6e, 0x72, 0x70, 0x63, 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, 0x61, 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, 0x2c, + 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x5f, 0x6c, 0x6f, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x13, 0x2e, 0x73, 0x69, 0x67, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4b, 0x65, 0x79, 0x4c, 0x6f, 0x63, + 0x61, 0x74, 0x6f, 0x72, 0x52, 0x06, 0x6b, 0x65, 0x79, 0x4c, 0x6f, 0x63, 0x22, 0x3a, 0x0a, 0x05, + 0x54, 0x78, 0x4f, 0x75, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, + 0x6b, 0x5f, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, + 0x70, 0x6b, 0x53, 0x63, 0x72, 0x69, 0x70, 0x74, 0x22, 0x93, 0x02, 0x0a, 0x0e, 0x53, 0x69, 0x67, + 0x6e, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x12, 0x31, 0x0a, 0x08, 0x6b, + 0x65, 0x79, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, + 0x73, 0x69, 0x67, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4b, 0x65, 0x79, 0x44, 0x65, 0x73, 0x63, 0x72, + 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x44, 0x65, 0x73, 0x63, 0x12, 0x21, + 0x0a, 0x0c, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x5f, 0x74, 0x77, 0x65, 0x61, 0x6b, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x73, 0x69, 0x6e, 0x67, 0x6c, 0x65, 0x54, 0x77, 0x65, 0x61, + 0x6b, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x77, 0x65, 0x61, + 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x54, + 0x77, 0x65, 0x61, 0x6b, 0x12, 0x25, 0x0a, 0x0e, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x5f, + 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x77, 0x69, + 0x74, 0x6e, 0x65, 0x73, 0x73, 0x53, 0x63, 0x72, 0x69, 0x70, 0x74, 0x12, 0x26, 0x0a, 0x06, 0x6f, + 0x75, 0x74, 0x70, 0x75, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x73, 0x69, + 0x67, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x78, 0x4f, 0x75, 0x74, 0x52, 0x06, 0x6f, 0x75, 0x74, + 0x70, 0x75, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x69, 0x67, 0x68, 0x61, 0x73, 0x68, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x69, 0x67, 0x68, 0x61, 0x73, 0x68, 0x12, 0x1f, 0x0a, + 0x0b, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x05, 0x52, 0x0a, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x22, 0x63, + 0x0a, 0x07, 0x53, 0x69, 0x67, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x20, 0x0a, 0x0c, 0x72, 0x61, 0x77, + 0x5f, 0x74, 0x78, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x0a, 0x72, 0x61, 0x77, 0x54, 0x78, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x36, 0x0a, 0x0a, 0x73, + 0x69, 0x67, 0x6e, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x17, 0x2e, 0x73, 0x69, 0x67, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x44, 0x65, + 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x09, 0x73, 0x69, 0x67, 0x6e, 0x44, 0x65, + 0x73, 0x63, 0x73, 0x22, 0x25, 0x0a, 0x08, 0x53, 0x69, 0x67, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, + 0x19, 0x0a, 0x08, 0x72, 0x61, 0x77, 0x5f, 0x73, 0x69, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0c, 0x52, 0x07, 0x72, 0x61, 0x77, 0x53, 0x69, 0x67, 0x73, 0x22, 0x46, 0x0a, 0x0b, 0x49, 0x6e, + 0x70, 0x75, 0x74, 0x53, 0x63, 0x72, 0x69, 0x70, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x77, 0x69, 0x74, + 0x6e, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x07, 0x77, 0x69, 0x74, 0x6e, + 0x65, 0x73, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x69, 0x67, 0x5f, 0x73, 0x63, 0x72, 0x69, 0x70, + 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x69, 0x67, 0x53, 0x63, 0x72, 0x69, + 0x70, 0x74, 0x22, 0x4c, 0x0a, 0x0f, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x53, 0x63, 0x72, 0x69, 0x70, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x39, 0x0a, 0x0d, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x73, + 0x63, 0x72, 0x69, 0x70, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x73, + 0x69, 0x67, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x53, 0x63, 0x72, 0x69, + 0x70, 0x74, 0x52, 0x0c, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x53, 0x63, 0x72, 0x69, 0x70, 0x74, 0x73, + 0x22, 0x50, 0x0a, 0x0e, 0x53, 0x69, 0x67, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, + 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x03, 0x6d, 0x73, 0x67, 0x12, 0x2c, 0x0a, 0x07, 0x6b, 0x65, 0x79, 0x5f, 0x6c, 0x6f, 0x63, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x73, 0x69, 0x67, 0x6e, 0x72, 0x70, 0x63, 0x2e, + 0x4b, 0x65, 0x79, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x06, 0x6b, 0x65, 0x79, 0x4c, + 0x6f, 0x63, 0x22, 0x2f, 0x0a, 0x0f, 0x53, 0x69, 0x67, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x52, 0x65, 0x73, 0x70, 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, 0x22, 0x5a, 0x0a, 0x10, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x4d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 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, 0x0c, 0x52, 0x09, 0x73, 0x69, + 0x67, 0x6e, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x75, 0x62, 0x6b, 0x65, + 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x22, + 0x29, 0x0a, 0x11, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x22, 0xa2, 0x01, 0x0a, 0x10, 0x53, + 0x68, 0x61, 0x72, 0x65, 0x64, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x29, 0x0a, 0x10, 0x65, 0x70, 0x68, 0x65, 0x6d, 0x65, 0x72, 0x61, 0x6c, 0x5f, 0x70, 0x75, 0x62, + 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x65, 0x70, 0x68, 0x65, 0x6d, + 0x65, 0x72, 0x61, 0x6c, 0x50, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x12, 0x30, 0x0a, 0x07, 0x6b, 0x65, + 0x79, 0x5f, 0x6c, 0x6f, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x73, 0x69, + 0x67, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4b, 0x65, 0x79, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x6f, 0x72, + 0x42, 0x02, 0x18, 0x01, 0x52, 0x06, 0x6b, 0x65, 0x79, 0x4c, 0x6f, 0x63, 0x12, 0x31, 0x0a, 0x08, + 0x6b, 0x65, 0x79, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, + 0x2e, 0x73, 0x69, 0x67, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4b, 0x65, 0x79, 0x44, 0x65, 0x73, 0x63, + 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x44, 0x65, 0x73, 0x63, 0x22, + 0x32, 0x0a, 0x11, 0x53, 0x68, 0x61, 0x72, 0x65, 0x64, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x5f, 0x6b, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, + 0x4b, 0x65, 0x79, 0x32, 0xd4, 0x02, 0x0a, 0x06, 0x53, 0x69, 0x67, 0x6e, 0x65, 0x72, 0x12, 0x34, + 0x0a, 0x0d, 0x53, 0x69, 0x67, 0x6e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x61, 0x77, 0x12, + 0x10, 0x2e, 0x73, 0x69, 0x67, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x52, 0x65, + 0x71, 0x1a, 0x11, 0x2e, 0x73, 0x69, 0x67, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x69, 0x67, 0x6e, + 0x52, 0x65, 0x73, 0x70, 0x12, 0x40, 0x0a, 0x12, 0x43, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x49, + 0x6e, 0x70, 0x75, 0x74, 0x53, 0x63, 0x72, 0x69, 0x70, 0x74, 0x12, 0x10, 0x2e, 0x73, 0x69, 0x67, + 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x52, 0x65, 0x71, 0x1a, 0x18, 0x2e, 0x73, + 0x69, 0x67, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x53, 0x63, 0x72, 0x69, + 0x70, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x40, 0x0a, 0x0b, 0x53, 0x69, 0x67, 0x6e, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x17, 0x2e, 0x73, 0x69, 0x67, 0x6e, 0x72, 0x70, 0x63, 0x2e, + 0x53, 0x69, 0x67, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x18, + 0x2e, 0x73, 0x69, 0x67, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x69, 0x67, 0x6e, 0x4d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x46, 0x0a, 0x0d, 0x56, 0x65, 0x72, 0x69, + 0x66, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x19, 0x2e, 0x73, 0x69, 0x67, 0x6e, + 0x72, 0x70, 0x63, 0x2e, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, + 0x65, 0x52, 0x65, 0x71, 0x1a, 0x1a, 0x2e, 0x73, 0x69, 0x67, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x56, + 0x65, 0x72, 0x69, 0x66, 0x79, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x12, 0x48, 0x0a, 0x0f, 0x44, 0x65, 0x72, 0x69, 0x76, 0x65, 0x53, 0x68, 0x61, 0x72, 0x65, 0x64, + 0x4b, 0x65, 0x79, 0x12, 0x19, 0x2e, 0x73, 0x69, 0x67, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x68, + 0x61, 0x72, 0x65, 0x64, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, + 0x2e, 0x73, 0x69, 0x67, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x64, 0x4b, + 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x2f, 0x5a, 0x2d, 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, 0x2f, 0x73, 0x69, 0x67, 0x6e, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, } -func init() { proto.RegisterFile("signrpc/signer.proto", fileDescriptor_4ecd772f6c7ffacf) } +var ( + file_signrpc_signer_proto_rawDescOnce sync.Once + file_signrpc_signer_proto_rawDescData = file_signrpc_signer_proto_rawDesc +) -var fileDescriptor_4ecd772f6c7ffacf = []byte{ - // 775 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x55, 0xed, 0x8e, 0xdb, 0x44, - 0x14, 0x55, 0x12, 0x36, 0xc9, 0x5e, 0x27, 0xbb, 0xd9, 0x61, 0x55, 0xdc, 0x05, 0xc4, 0x62, 0xa9, - 0x68, 0x2b, 0x41, 0x02, 0x01, 0x21, 0xc1, 0x2f, 0xb4, 0x54, 0xab, 0x56, 0x29, 0x6a, 0xe5, 0xac, - 0xf8, 0xd1, 0x3f, 0x96, 0xe3, 0xdc, 0x3a, 0x23, 0x3b, 0xf6, 0xec, 0xcc, 0xb8, 0x8e, 0x9f, 0x83, - 0x37, 0xe0, 0x99, 0x78, 0x20, 0x34, 0x1f, 0x71, 0xec, 0x14, 0x50, 0xf9, 0xb5, 0xbe, 0xc7, 0x77, - 0xce, 0x3d, 0x7b, 0xce, 0x9d, 0x18, 0x2e, 0x05, 0x8d, 0x33, 0xce, 0xa2, 0x99, 0xfa, 0x8b, 0x7c, - 0xca, 0x78, 0x2e, 0x73, 0x32, 0xb0, 0xa8, 0xf7, 0x1c, 0x60, 0x81, 0xd5, 0xcb, 0x3c, 0x0a, 0x65, - 0xce, 0xc9, 0xe7, 0x00, 0x09, 0x56, 0xc1, 0xdb, 0x70, 0x4b, 0xd3, 0xca, 0xed, 0x5c, 0x77, 0x6e, - 0x4e, 0xfc, 0xd3, 0x04, 0xab, 0x3b, 0x0d, 0x90, 0x4f, 0x41, 0x15, 0x01, 0xcd, 0xd6, 0xb8, 0x73, - 0xbb, 0xfa, 0xed, 0x30, 0xc1, 0xea, 0x85, 0xaa, 0xbd, 0x10, 0xc6, 0x0b, 0xac, 0x9e, 0xa1, 0x88, - 0x38, 0x65, 0x8a, 0xcc, 0x83, 0x31, 0x0f, 0xcb, 0x40, 0x9d, 0x58, 0x55, 0x12, 0x85, 0xe6, 0x1b, - 0xf9, 0x0e, 0x0f, 0xcb, 0x05, 0x56, 0xb7, 0x0a, 0x22, 0x5f, 0xc3, 0x40, 0xbd, 0x4f, 0xf3, 0x48, - 0xf3, 0x39, 0xf3, 0x8f, 0xa7, 0x56, 0xd9, 0xf4, 0x20, 0xcb, 0xef, 0x27, 0xfa, 0xd9, 0xfb, 0x19, - 0x4e, 0xee, 0x77, 0xaf, 0x0a, 0x49, 0x2e, 0xe1, 0xe4, 0x5d, 0x98, 0x16, 0xa8, 0x29, 0x7b, 0xbe, - 0x29, 0x94, 0x3c, 0x96, 0x04, 0x66, 0xbe, 0xa6, 0x1b, 0xf9, 0x43, 0x96, 0x2c, 0x75, 0xed, 0xfd, - 0xd1, 0x85, 0xb3, 0x25, 0x8d, 0xb3, 0x86, 0xc0, 0xef, 0x40, 0xa9, 0x0f, 0xd6, 0x28, 0x22, 0x4d, - 0xe4, 0xcc, 0x1f, 0x35, 0xa7, 0x1f, 0x3a, 0x7d, 0x25, 0x52, 0x95, 0xe4, 0x4b, 0x18, 0x09, 0x9a, - 0xc5, 0x29, 0x06, 0xb2, 0xc4, 0x30, 0xb1, 0x53, 0x1c, 0x83, 0xdd, 0x2b, 0x48, 0xb5, 0xac, 0xf3, - 0x62, 0x55, 0xb7, 0xf4, 0x4c, 0x8b, 0xc1, 0x4c, 0xcb, 0x13, 0x38, 0x2b, 0xa9, 0xcc, 0x50, 0x88, - 0xbd, 0xda, 0x8f, 0x74, 0xd3, 0xd8, 0xa2, 0x46, 0x32, 0xf9, 0x0a, 0xfa, 0x79, 0x21, 0x59, 0x21, - 0xdd, 0x13, 0xad, 0xee, 0xac, 0x56, 0xa7, 0x5d, 0xf0, 0xed, 0x5b, 0xe2, 0x82, 0x8a, 0x73, 0x13, - 0x8a, 0x8d, 0x3b, 0xb8, 0xee, 0xdc, 0x8c, 0xfd, 0x7d, 0x49, 0xbe, 0x00, 0x87, 0x66, 0xac, 0x90, - 0x36, 0xb2, 0xa1, 0x8e, 0x0c, 0x34, 0x64, 0x42, 0x8b, 0x60, 0xa0, 0x4c, 0xf1, 0xf1, 0x81, 0x5c, - 0xc3, 0x48, 0xc5, 0x25, 0x77, 0xad, 0xb4, 0x80, 0x87, 0xe5, 0xfd, 0xce, 0x84, 0xf5, 0x23, 0x80, - 0x12, 0xa0, 0x0d, 0x13, 0x6e, 0xf7, 0xba, 0x77, 0xe3, 0xcc, 0x3f, 0xa9, 0x35, 0xb5, 0xcd, 0xf5, - 0x4f, 0x85, 0xad, 0x85, 0xf7, 0x04, 0x86, 0x66, 0x88, 0x60, 0xe4, 0x31, 0x0c, 0xd5, 0x14, 0x41, - 0x63, 0x35, 0xa1, 0x77, 0x33, 0xf2, 0x07, 0x3c, 0x2c, 0x97, 0x34, 0x16, 0xde, 0x1d, 0x38, 0x2f, - 0x94, 0x32, 0xfb, 0xdf, 0xbb, 0x30, 0xb0, 0x76, 0xec, 0x1b, 0x6d, 0xa9, 0xb6, 0x54, 0xd0, 0xb8, - 0x1d, 0xb4, 0x1a, 0x67, 0x93, 0x7e, 0x09, 0xe7, 0x0d, 0x1e, 0x3d, 0xf5, 0x27, 0x18, 0x1b, 0x1f, - 0xcc, 0x19, 0xc3, 0xe8, 0xcc, 0x2f, 0x6b, 0xf1, 0xcd, 0x03, 0x23, 0x7a, 0x28, 0x84, 0xf7, 0xda, - 0xac, 0xcd, 0x6f, 0x28, 0x44, 0x18, 0xa3, 0x32, 0x6a, 0x02, 0xbd, 0xad, 0x88, 0xad, 0x3f, 0xea, - 0xf1, 0x7f, 0x6e, 0xf1, 0x0c, 0xce, 0x5b, 0x8c, 0x82, 0x91, 0xcf, 0x40, 0xdb, 0x15, 0xca, 0x82, - 0xa3, 0x25, 0x3e, 0x00, 0xde, 0x1b, 0x98, 0xfc, 0x8e, 0x9c, 0xbe, 0xad, 0xfe, 0x53, 0x44, 0x8b, - 0xa3, 0x7b, 0xc4, 0x41, 0x1e, 0x41, 0x9f, 0x15, 0xab, 0x04, 0x2b, 0xbb, 0x8f, 0xb6, 0xf2, 0x9e, - 0xc2, 0xc5, 0x11, 0xb7, 0x60, 0xf6, 0x7a, 0xd1, 0xb5, 0xa6, 0x1f, 0xfa, 0xa6, 0xf0, 0xfe, 0xec, - 0xc0, 0x64, 0xb9, 0x09, 0x39, 0xae, 0x17, 0x58, 0xf9, 0xf8, 0x50, 0xa0, 0x90, 0xe4, 0x29, 0x4c, - 0x90, 0x6d, 0x70, 0x8b, 0x3c, 0x4c, 0x03, 0x3b, 0xc1, 0x88, 0x3a, 0xaf, 0xf1, 0xd7, 0x1a, 0x26, - 0xdf, 0x7e, 0x88, 0x4b, 0xb7, 0x5d, 0xb7, 0xb3, 0x77, 0xaa, 0x75, 0x41, 0x7b, 0x1f, 0x74, 0x41, - 0xbd, 0x39, 0x5c, 0x34, 0x34, 0x0a, 0x96, 0x67, 0x02, 0xf5, 0xc2, 0x68, 0x30, 0x38, 0xc8, 0x3b, - 0x15, 0xfb, 0xb6, 0xf9, 0x5f, 0x5d, 0xe8, 0x2f, 0xf5, 0xaf, 0x23, 0xf9, 0x01, 0xc6, 0xea, 0xe9, - 0x95, 0xbe, 0x58, 0x7e, 0x58, 0x92, 0x49, 0x6b, 0xbf, 0x7d, 0x7c, 0xb8, 0xba, 0x38, 0x42, 0x04, - 0x23, 0xbf, 0x00, 0xf9, 0x35, 0xdf, 0xb2, 0x42, 0x62, 0x73, 0x81, 0xdf, 0x3f, 0xea, 0xfe, 0xe3, - 0xbe, 0x19, 0x06, 0xa7, 0xb1, 0x13, 0xa4, 0x7d, 0xab, 0x0e, 0xb1, 0x37, 0x18, 0x8e, 0x57, 0xe8, - 0x0e, 0xc6, 0xad, 0x20, 0xc9, 0xe3, 0xba, 0xf5, 0x78, 0x79, 0xae, 0xae, 0xfe, 0xed, 0x95, 0x60, - 0xe4, 0x39, 0x9c, 0x3f, 0x43, 0x4e, 0xdf, 0x61, 0x6d, 0x63, 0x83, 0xe9, 0x38, 0xfe, 0x06, 0xd3, - 0x7b, 0xae, 0xdf, 0xce, 0xde, 0x7c, 0x13, 0x53, 0xb9, 0x29, 0x56, 0xd3, 0x28, 0xdf, 0xce, 0x52, - 0x1a, 0x6f, 0x64, 0x46, 0xb3, 0x38, 0x43, 0x59, 0xe6, 0x3c, 0x99, 0xa5, 0xd9, 0x7a, 0x96, 0xd6, - 0x5f, 0x26, 0xce, 0xa2, 0x55, 0x5f, 0x7f, 0x9b, 0xbe, 0xff, 0x3b, 0x00, 0x00, 0xff, 0xff, 0x7d, - 0x28, 0x4a, 0xad, 0xb3, 0x06, 0x00, 0x00, +func file_signrpc_signer_proto_rawDescGZIP() []byte { + file_signrpc_signer_proto_rawDescOnce.Do(func() { + file_signrpc_signer_proto_rawDescData = protoimpl.X.CompressGZIP(file_signrpc_signer_proto_rawDescData) + }) + return file_signrpc_signer_proto_rawDescData +} + +var file_signrpc_signer_proto_msgTypes = make([]protoimpl.MessageInfo, 14) +var file_signrpc_signer_proto_goTypes = []interface{}{ + (*KeyLocator)(nil), // 0: signrpc.KeyLocator + (*KeyDescriptor)(nil), // 1: signrpc.KeyDescriptor + (*TxOut)(nil), // 2: signrpc.TxOut + (*SignDescriptor)(nil), // 3: signrpc.SignDescriptor + (*SignReq)(nil), // 4: signrpc.SignReq + (*SignResp)(nil), // 5: signrpc.SignResp + (*InputScript)(nil), // 6: signrpc.InputScript + (*InputScriptResp)(nil), // 7: signrpc.InputScriptResp + (*SignMessageReq)(nil), // 8: signrpc.SignMessageReq + (*SignMessageResp)(nil), // 9: signrpc.SignMessageResp + (*VerifyMessageReq)(nil), // 10: signrpc.VerifyMessageReq + (*VerifyMessageResp)(nil), // 11: signrpc.VerifyMessageResp + (*SharedKeyRequest)(nil), // 12: signrpc.SharedKeyRequest + (*SharedKeyResponse)(nil), // 13: signrpc.SharedKeyResponse +} +var file_signrpc_signer_proto_depIdxs = []int32{ + 0, // 0: signrpc.KeyDescriptor.key_loc:type_name -> signrpc.KeyLocator + 1, // 1: signrpc.SignDescriptor.key_desc:type_name -> signrpc.KeyDescriptor + 2, // 2: signrpc.SignDescriptor.output:type_name -> signrpc.TxOut + 3, // 3: signrpc.SignReq.sign_descs:type_name -> signrpc.SignDescriptor + 6, // 4: signrpc.InputScriptResp.input_scripts:type_name -> signrpc.InputScript + 0, // 5: signrpc.SignMessageReq.key_loc:type_name -> signrpc.KeyLocator + 0, // 6: signrpc.SharedKeyRequest.key_loc:type_name -> signrpc.KeyLocator + 1, // 7: signrpc.SharedKeyRequest.key_desc:type_name -> signrpc.KeyDescriptor + 4, // 8: signrpc.Signer.SignOutputRaw:input_type -> signrpc.SignReq + 4, // 9: signrpc.Signer.ComputeInputScript:input_type -> signrpc.SignReq + 8, // 10: signrpc.Signer.SignMessage:input_type -> signrpc.SignMessageReq + 10, // 11: signrpc.Signer.VerifyMessage:input_type -> signrpc.VerifyMessageReq + 12, // 12: signrpc.Signer.DeriveSharedKey:input_type -> signrpc.SharedKeyRequest + 5, // 13: signrpc.Signer.SignOutputRaw:output_type -> signrpc.SignResp + 7, // 14: signrpc.Signer.ComputeInputScript:output_type -> signrpc.InputScriptResp + 9, // 15: signrpc.Signer.SignMessage:output_type -> signrpc.SignMessageResp + 11, // 16: signrpc.Signer.VerifyMessage:output_type -> signrpc.VerifyMessageResp + 13, // 17: signrpc.Signer.DeriveSharedKey:output_type -> signrpc.SharedKeyResponse + 13, // [13:18] is the sub-list for method output_type + 8, // [8:13] is the sub-list for method input_type + 8, // [8:8] is the sub-list for extension type_name + 8, // [8:8] is the sub-list for extension extendee + 0, // [0:8] is the sub-list for field type_name +} + +func init() { file_signrpc_signer_proto_init() } +func file_signrpc_signer_proto_init() { + if File_signrpc_signer_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_signrpc_signer_proto_msgTypes[0].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_signrpc_signer_proto_msgTypes[1].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_signrpc_signer_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TxOut); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_signrpc_signer_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SignDescriptor); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_signrpc_signer_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SignReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_signrpc_signer_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SignResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_signrpc_signer_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InputScript); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_signrpc_signer_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InputScriptResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_signrpc_signer_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SignMessageReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_signrpc_signer_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SignMessageResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_signrpc_signer_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VerifyMessageReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_signrpc_signer_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VerifyMessageResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_signrpc_signer_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SharedKeyRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_signrpc_signer_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SharedKeyResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_signrpc_signer_proto_rawDesc, + NumEnums: 0, + NumMessages: 14, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_signrpc_signer_proto_goTypes, + DependencyIndexes: file_signrpc_signer_proto_depIdxs, + MessageInfos: file_signrpc_signer_proto_msgTypes, + }.Build() + File_signrpc_signer_proto = out.File + file_signrpc_signer_proto_rawDesc = nil + file_signrpc_signer_proto_goTypes = nil + file_signrpc_signer_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 +const _ = grpc.SupportPackageIsVersion6 // SignerClient is the client API for Signer service. // @@ -907,10 +1317,10 @@ type SignerClient interface { } type signerClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewSignerClient(cc *grpc.ClientConn) SignerClient { +func NewSignerClient(cc grpc.ClientConnInterface) SignerClient { return &signerClient{cc} } @@ -1013,19 +1423,19 @@ type SignerServer interface { type UnimplementedSignerServer struct { } -func (*UnimplementedSignerServer) SignOutputRaw(ctx context.Context, req *SignReq) (*SignResp, error) { +func (*UnimplementedSignerServer) SignOutputRaw(context.Context, *SignReq) (*SignResp, error) { return nil, status.Errorf(codes.Unimplemented, "method SignOutputRaw not implemented") } -func (*UnimplementedSignerServer) ComputeInputScript(ctx context.Context, req *SignReq) (*InputScriptResp, error) { +func (*UnimplementedSignerServer) ComputeInputScript(context.Context, *SignReq) (*InputScriptResp, error) { return nil, status.Errorf(codes.Unimplemented, "method ComputeInputScript not implemented") } -func (*UnimplementedSignerServer) SignMessage(ctx context.Context, req *SignMessageReq) (*SignMessageResp, error) { +func (*UnimplementedSignerServer) SignMessage(context.Context, *SignMessageReq) (*SignMessageResp, error) { return nil, status.Errorf(codes.Unimplemented, "method SignMessage not implemented") } -func (*UnimplementedSignerServer) VerifyMessage(ctx context.Context, req *VerifyMessageReq) (*VerifyMessageResp, error) { +func (*UnimplementedSignerServer) VerifyMessage(context.Context, *VerifyMessageReq) (*VerifyMessageResp, error) { return nil, status.Errorf(codes.Unimplemented, "method VerifyMessage not implemented") } -func (*UnimplementedSignerServer) DeriveSharedKey(ctx context.Context, req *SharedKeyRequest) (*SharedKeyResponse, error) { +func (*UnimplementedSignerServer) DeriveSharedKey(context.Context, *SharedKeyRequest) (*SharedKeyResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method DeriveSharedKey not implemented") } diff --git a/lnrpc/stateservice.pb.go b/lnrpc/stateservice.pb.go index a1d1aeef5..7954e2650 100644 --- a/lnrpc/stateservice.pb.go +++ b/lnrpc/stateservice.pb.go @@ -1,28 +1,33 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.6.1 // source: stateservice.proto package lnrpc import ( context "context" - fmt "fmt" proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type WalletState int32 @@ -33,133 +38,249 @@ const ( WalletState_RPC_ACTIVE WalletState = 3 ) -var WalletState_name = map[int32]string{ - 0: "NON_EXISTING", - 1: "LOCKED", - 2: "UNLOCKED", - 3: "RPC_ACTIVE", -} +// Enum value maps for WalletState. +var ( + WalletState_name = map[int32]string{ + 0: "NON_EXISTING", + 1: "LOCKED", + 2: "UNLOCKED", + 3: "RPC_ACTIVE", + } + WalletState_value = map[string]int32{ + "NON_EXISTING": 0, + "LOCKED": 1, + "UNLOCKED": 2, + "RPC_ACTIVE": 3, + } +) -var WalletState_value = map[string]int32{ - "NON_EXISTING": 0, - "LOCKED": 1, - "UNLOCKED": 2, - "RPC_ACTIVE": 3, +func (x WalletState) Enum() *WalletState { + p := new(WalletState) + *p = x + return p } func (x WalletState) String() string { - return proto.EnumName(WalletState_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (WalletState) Descriptor() protoreflect.EnumDescriptor { + return file_stateservice_proto_enumTypes[0].Descriptor() +} + +func (WalletState) Type() protoreflect.EnumType { + return &file_stateservice_proto_enumTypes[0] +} + +func (x WalletState) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use WalletState.Descriptor instead. func (WalletState) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_9cd64a11048f05dd, []int{0} + return file_stateservice_proto_rawDescGZIP(), []int{0} } type SubscribeStateRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *SubscribeStateRequest) Reset() { *m = SubscribeStateRequest{} } -func (m *SubscribeStateRequest) String() string { return proto.CompactTextString(m) } -func (*SubscribeStateRequest) ProtoMessage() {} +func (x *SubscribeStateRequest) Reset() { + *x = SubscribeStateRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_stateservice_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SubscribeStateRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SubscribeStateRequest) ProtoMessage() {} + +func (x *SubscribeStateRequest) ProtoReflect() protoreflect.Message { + mi := &file_stateservice_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 SubscribeStateRequest.ProtoReflect.Descriptor instead. func (*SubscribeStateRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9cd64a11048f05dd, []int{0} + return file_stateservice_proto_rawDescGZIP(), []int{0} } -func (m *SubscribeStateRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SubscribeStateRequest.Unmarshal(m, b) -} -func (m *SubscribeStateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SubscribeStateRequest.Marshal(b, m, deterministic) -} -func (m *SubscribeStateRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubscribeStateRequest.Merge(m, src) -} -func (m *SubscribeStateRequest) XXX_Size() int { - return xxx_messageInfo_SubscribeStateRequest.Size(m) -} -func (m *SubscribeStateRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SubscribeStateRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SubscribeStateRequest proto.InternalMessageInfo - type SubscribeStateResponse struct { - State WalletState `protobuf:"varint,1,opt,name=state,proto3,enum=lnrpc.WalletState" json:"state,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + State WalletState `protobuf:"varint,1,opt,name=state,proto3,enum=lnrpc.WalletState" json:"state,omitempty"` } -func (m *SubscribeStateResponse) Reset() { *m = SubscribeStateResponse{} } -func (m *SubscribeStateResponse) String() string { return proto.CompactTextString(m) } -func (*SubscribeStateResponse) ProtoMessage() {} +func (x *SubscribeStateResponse) Reset() { + *x = SubscribeStateResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_stateservice_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SubscribeStateResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SubscribeStateResponse) ProtoMessage() {} + +func (x *SubscribeStateResponse) ProtoReflect() protoreflect.Message { + mi := &file_stateservice_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 SubscribeStateResponse.ProtoReflect.Descriptor instead. func (*SubscribeStateResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_9cd64a11048f05dd, []int{1} + return file_stateservice_proto_rawDescGZIP(), []int{1} } -func (m *SubscribeStateResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SubscribeStateResponse.Unmarshal(m, b) -} -func (m *SubscribeStateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SubscribeStateResponse.Marshal(b, m, deterministic) -} -func (m *SubscribeStateResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SubscribeStateResponse.Merge(m, src) -} -func (m *SubscribeStateResponse) XXX_Size() int { - return xxx_messageInfo_SubscribeStateResponse.Size(m) -} -func (m *SubscribeStateResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SubscribeStateResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_SubscribeStateResponse proto.InternalMessageInfo - -func (m *SubscribeStateResponse) GetState() WalletState { - if m != nil { - return m.State +func (x *SubscribeStateResponse) GetState() WalletState { + if x != nil { + return x.State } return WalletState_NON_EXISTING } -func init() { - proto.RegisterEnum("lnrpc.WalletState", WalletState_name, WalletState_value) - proto.RegisterType((*SubscribeStateRequest)(nil), "lnrpc.SubscribeStateRequest") - proto.RegisterType((*SubscribeStateResponse)(nil), "lnrpc.SubscribeStateResponse") +var File_stateservice_proto protoreflect.FileDescriptor + +var file_stateservice_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x73, 0x74, 0x61, 0x74, 0x65, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x22, 0x17, 0x0a, 0x15, 0x53, + 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x22, 0x42, 0x0a, 0x16, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, + 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, + 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x12, 0x2e, + 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, + 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2a, 0x49, 0x0a, 0x0b, 0x57, 0x61, 0x6c, 0x6c, + 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x4e, 0x4f, 0x4e, 0x5f, 0x45, + 0x58, 0x49, 0x53, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x4c, 0x4f, 0x43, + 0x4b, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x55, 0x4e, 0x4c, 0x4f, 0x43, 0x4b, 0x45, + 0x44, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x52, 0x50, 0x43, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, + 0x45, 0x10, 0x03, 0x32, 0x58, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x4f, 0x0a, 0x0e, + 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1c, + 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6c, + 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 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, } -func init() { proto.RegisterFile("stateservice.proto", fileDescriptor_9cd64a11048f05dd) } +var ( + file_stateservice_proto_rawDescOnce sync.Once + file_stateservice_proto_rawDescData = file_stateservice_proto_rawDesc +) -var fileDescriptor_9cd64a11048f05dd = []byte{ - // 245 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x2a, 0x2e, 0x49, 0x2c, - 0x49, 0x2d, 0x4e, 0x2d, 0x2a, 0xcb, 0x4c, 0x4e, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, - 0xcd, 0xc9, 0x2b, 0x2a, 0x48, 0x56, 0x12, 0xe7, 0x12, 0x0d, 0x2e, 0x4d, 0x2a, 0x4e, 0x2e, 0xca, - 0x4c, 0x4a, 0x0d, 0x06, 0xa9, 0x0a, 0x4a, 0x2d, 0x2c, 0x4d, 0x2d, 0x2e, 0x51, 0x72, 0xe2, 0x12, - 0x43, 0x97, 0x28, 0x2e, 0xc8, 0xcf, 0x2b, 0x4e, 0x15, 0xd2, 0xe0, 0x62, 0x05, 0x9b, 0x27, 0xc1, - 0xa8, 0xc0, 0xa8, 0xc1, 0x67, 0x24, 0xa4, 0x07, 0x36, 0x49, 0x2f, 0x3c, 0x31, 0x27, 0x27, 0xb5, - 0x04, 0xa2, 0x14, 0xa2, 0x40, 0xcb, 0x93, 0x8b, 0x1b, 0x49, 0x54, 0x48, 0x80, 0x8b, 0xc7, 0xcf, - 0xdf, 0x2f, 0xde, 0x35, 0xc2, 0x33, 0x38, 0xc4, 0xd3, 0xcf, 0x5d, 0x80, 0x41, 0x88, 0x8b, 0x8b, - 0xcd, 0xc7, 0xdf, 0xd9, 0xdb, 0xd5, 0x45, 0x80, 0x51, 0x88, 0x87, 0x8b, 0x23, 0xd4, 0x0f, 0xca, - 0x63, 0x12, 0xe2, 0xe3, 0xe2, 0x0a, 0x0a, 0x70, 0x8e, 0x77, 0x74, 0x0e, 0xf1, 0x0c, 0x73, 0x15, - 0x60, 0x36, 0x8a, 0xe0, 0x62, 0x85, 0x18, 0xe2, 0xcf, 0xc5, 0x87, 0xea, 0x2e, 0x21, 0x19, 0xa8, - 0x03, 0xb0, 0xfa, 0x43, 0x4a, 0x16, 0x87, 0x2c, 0xc4, 0x33, 0x06, 0x8c, 0x4e, 0xea, 0x51, 0xaa, - 0xe9, 0x99, 0x25, 0x19, 0xa5, 0x49, 0x7a, 0xc9, 0xf9, 0xb9, 0xfa, 0x39, 0x99, 0xe9, 0x19, 0x25, - 0x79, 0x99, 0x79, 0xe9, 0x79, 0xa9, 0x25, 0xe5, 0xf9, 0x45, 0xd9, 0xfa, 0x39, 0x79, 0x29, 0xfa, - 0x60, 0x13, 0x92, 0xd8, 0xc0, 0x01, 0x67, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0x75, 0x6a, 0x2f, - 0xe2, 0x4e, 0x01, 0x00, 0x00, +func file_stateservice_proto_rawDescGZIP() []byte { + file_stateservice_proto_rawDescOnce.Do(func() { + file_stateservice_proto_rawDescData = protoimpl.X.CompressGZIP(file_stateservice_proto_rawDescData) + }) + return file_stateservice_proto_rawDescData +} + +var file_stateservice_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_stateservice_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_stateservice_proto_goTypes = []interface{}{ + (WalletState)(0), // 0: lnrpc.WalletState + (*SubscribeStateRequest)(nil), // 1: lnrpc.SubscribeStateRequest + (*SubscribeStateResponse)(nil), // 2: lnrpc.SubscribeStateResponse +} +var file_stateservice_proto_depIdxs = []int32{ + 0, // 0: lnrpc.SubscribeStateResponse.state:type_name -> lnrpc.WalletState + 1, // 1: lnrpc.State.SubscribeState:input_type -> lnrpc.SubscribeStateRequest + 2, // 2: lnrpc.State.SubscribeState:output_type -> lnrpc.SubscribeStateResponse + 2, // [2:3] is the sub-list for method output_type + 1, // [1:2] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_stateservice_proto_init() } +func file_stateservice_proto_init() { + if File_stateservice_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_stateservice_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SubscribeStateRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_stateservice_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SubscribeStateResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_stateservice_proto_rawDesc, + NumEnums: 1, + NumMessages: 2, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_stateservice_proto_goTypes, + DependencyIndexes: file_stateservice_proto_depIdxs, + EnumInfos: file_stateservice_proto_enumTypes, + MessageInfos: file_stateservice_proto_msgTypes, + }.Build() + File_stateservice_proto = out.File + file_stateservice_proto_rawDesc = nil + file_stateservice_proto_goTypes = nil + file_stateservice_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 +const _ = grpc.SupportPackageIsVersion6 // StateClient is the client API for State service. // @@ -171,10 +292,10 @@ type StateClient interface { } type stateClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewStateClient(cc *grpc.ClientConn) StateClient { +func NewStateClient(cc grpc.ClientConnInterface) StateClient { return &stateClient{cc} } @@ -221,7 +342,7 @@ type StateServer interface { type UnimplementedStateServer struct { } -func (*UnimplementedStateServer) SubscribeState(req *SubscribeStateRequest, srv State_SubscribeStateServer) error { +func (*UnimplementedStateServer) SubscribeState(*SubscribeStateRequest, State_SubscribeStateServer) error { return status.Errorf(codes.Unimplemented, "method SubscribeState not implemented") } diff --git a/lnrpc/verrpc/verrpc.pb.go b/lnrpc/verrpc/verrpc.pb.go index 674085c7b..824b15fcb 100644 --- a/lnrpc/verrpc/verrpc.pb.go +++ b/lnrpc/verrpc/verrpc.pb.go @@ -1,61 +1,77 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.6.1 // source: verrpc/verrpc.proto package verrpc import ( context "context" - fmt "fmt" proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type VersionRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *VersionRequest) Reset() { *m = VersionRequest{} } -func (m *VersionRequest) String() string { return proto.CompactTextString(m) } -func (*VersionRequest) ProtoMessage() {} +func (x *VersionRequest) Reset() { + *x = VersionRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_verrpc_verrpc_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *VersionRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*VersionRequest) ProtoMessage() {} + +func (x *VersionRequest) ProtoReflect() protoreflect.Message { + mi := &file_verrpc_verrpc_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 VersionRequest.ProtoReflect.Descriptor instead. func (*VersionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_494312204cefa0e6, []int{0} + return file_verrpc_verrpc_proto_rawDescGZIP(), []int{0} } -func (m *VersionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VersionRequest.Unmarshal(m, b) -} -func (m *VersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VersionRequest.Marshal(b, m, deterministic) -} -func (m *VersionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_VersionRequest.Merge(m, src) -} -func (m *VersionRequest) XXX_Size() int { - return xxx_messageInfo_VersionRequest.Size(m) -} -func (m *VersionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_VersionRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_VersionRequest proto.InternalMessageInfo - type Version struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A verbose description of the daemon's commit. Commit string `protobuf:"bytes,1,opt,name=commit,proto3" json:"commit,omitempty"` // The SHA1 commit hash that the daemon is compiled with. @@ -73,137 +89,223 @@ type Version struct { // The list of build tags that were supplied during compilation. BuildTags []string `protobuf:"bytes,8,rep,name=build_tags,json=buildTags,proto3" json:"build_tags,omitempty"` // The version of go that compiled the executable. - GoVersion string `protobuf:"bytes,9,opt,name=go_version,json=goVersion,proto3" json:"go_version,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + GoVersion string `protobuf:"bytes,9,opt,name=go_version,json=goVersion,proto3" json:"go_version,omitempty"` } -func (m *Version) Reset() { *m = Version{} } -func (m *Version) String() string { return proto.CompactTextString(m) } -func (*Version) ProtoMessage() {} +func (x *Version) Reset() { + *x = Version{} + if protoimpl.UnsafeEnabled { + mi := &file_verrpc_verrpc_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Version) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Version) ProtoMessage() {} + +func (x *Version) ProtoReflect() protoreflect.Message { + mi := &file_verrpc_verrpc_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 Version.ProtoReflect.Descriptor instead. func (*Version) Descriptor() ([]byte, []int) { - return fileDescriptor_494312204cefa0e6, []int{1} + return file_verrpc_verrpc_proto_rawDescGZIP(), []int{1} } -func (m *Version) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Version.Unmarshal(m, b) -} -func (m *Version) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Version.Marshal(b, m, deterministic) -} -func (m *Version) XXX_Merge(src proto.Message) { - xxx_messageInfo_Version.Merge(m, src) -} -func (m *Version) XXX_Size() int { - return xxx_messageInfo_Version.Size(m) -} -func (m *Version) XXX_DiscardUnknown() { - xxx_messageInfo_Version.DiscardUnknown(m) -} - -var xxx_messageInfo_Version proto.InternalMessageInfo - -func (m *Version) GetCommit() string { - if m != nil { - return m.Commit +func (x *Version) GetCommit() string { + if x != nil { + return x.Commit } return "" } -func (m *Version) GetCommitHash() string { - if m != nil { - return m.CommitHash +func (x *Version) GetCommitHash() string { + if x != nil { + return x.CommitHash } return "" } -func (m *Version) GetVersion() string { - if m != nil { - return m.Version +func (x *Version) GetVersion() string { + if x != nil { + return x.Version } return "" } -func (m *Version) GetAppMajor() uint32 { - if m != nil { - return m.AppMajor +func (x *Version) GetAppMajor() uint32 { + if x != nil { + return x.AppMajor } return 0 } -func (m *Version) GetAppMinor() uint32 { - if m != nil { - return m.AppMinor +func (x *Version) GetAppMinor() uint32 { + if x != nil { + return x.AppMinor } return 0 } -func (m *Version) GetAppPatch() uint32 { - if m != nil { - return m.AppPatch +func (x *Version) GetAppPatch() uint32 { + if x != nil { + return x.AppPatch } return 0 } -func (m *Version) GetAppPreRelease() string { - if m != nil { - return m.AppPreRelease +func (x *Version) GetAppPreRelease() string { + if x != nil { + return x.AppPreRelease } return "" } -func (m *Version) GetBuildTags() []string { - if m != nil { - return m.BuildTags +func (x *Version) GetBuildTags() []string { + if x != nil { + return x.BuildTags } return nil } -func (m *Version) GetGoVersion() string { - if m != nil { - return m.GoVersion +func (x *Version) GetGoVersion() string { + if x != nil { + return x.GoVersion } return "" } -func init() { - proto.RegisterType((*VersionRequest)(nil), "verrpc.VersionRequest") - proto.RegisterType((*Version)(nil), "verrpc.Version") +var File_verrpc_verrpc_proto protoreflect.FileDescriptor + +var file_verrpc_verrpc_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x76, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2f, 0x76, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x76, 0x65, 0x72, 0x72, 0x70, 0x63, 0x22, 0x10, 0x0a, + 0x0e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, + 0x99, 0x02, 0x0a, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x63, + 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x6f, 0x6d, + 0x6d, 0x69, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x5f, 0x68, 0x61, + 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, + 0x48, 0x61, 0x73, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1b, + 0x0a, 0x09, 0x61, 0x70, 0x70, 0x5f, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x08, 0x61, 0x70, 0x70, 0x4d, 0x61, 0x6a, 0x6f, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x61, + 0x70, 0x70, 0x5f, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, + 0x61, 0x70, 0x70, 0x4d, 0x69, 0x6e, 0x6f, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x70, 0x70, 0x5f, + 0x70, 0x61, 0x74, 0x63, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x61, 0x70, 0x70, + 0x50, 0x61, 0x74, 0x63, 0x68, 0x12, 0x26, 0x0a, 0x0f, 0x61, 0x70, 0x70, 0x5f, 0x70, 0x72, 0x65, + 0x5f, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, + 0x61, 0x70, 0x70, 0x50, 0x72, 0x65, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x12, 0x1d, 0x0a, + 0x0a, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x74, 0x61, 0x67, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x09, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x54, 0x61, 0x67, 0x73, 0x12, 0x1d, 0x0a, 0x0a, + 0x67, 0x6f, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x09, 0x67, 0x6f, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x42, 0x0a, 0x09, 0x56, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x12, 0x35, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x56, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x2e, 0x76, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2e, + 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0f, + 0x2e, 0x76, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42, + 0x2e, 0x5a, 0x2c, 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, 0x2f, 0x76, 0x65, 0x72, 0x72, 0x70, 0x63, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -func init() { proto.RegisterFile("verrpc/verrpc.proto", fileDescriptor_494312204cefa0e6) } +var ( + file_verrpc_verrpc_proto_rawDescOnce sync.Once + file_verrpc_verrpc_proto_rawDescData = file_verrpc_verrpc_proto_rawDesc +) -var fileDescriptor_494312204cefa0e6 = []byte{ - // 300 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x91, 0x51, 0x4b, 0xf3, 0x30, - 0x14, 0x86, 0xd9, 0xf6, 0x7d, 0xdd, 0x72, 0x64, 0x4e, 0x22, 0x48, 0x50, 0xc4, 0xb1, 0x0b, 0xd9, - 0x85, 0xb4, 0xa0, 0xf8, 0x07, 0x76, 0xa3, 0x37, 0x82, 0x14, 0xf1, 0xc2, 0x9b, 0x92, 0x75, 0x87, - 0x34, 0xda, 0x26, 0x31, 0xc9, 0xe6, 0x6f, 0xf1, 0xdf, 0x4a, 0x93, 0xae, 0x43, 0xaf, 0x7a, 0x9e, - 0xf7, 0x29, 0xa7, 0xe5, 0x3d, 0x70, 0xba, 0x43, 0x6b, 0x4d, 0x99, 0xc5, 0x47, 0x6a, 0xac, 0xf6, - 0x9a, 0x26, 0x91, 0x16, 0x27, 0x70, 0xfc, 0x8a, 0xd6, 0x49, 0xad, 0x72, 0xfc, 0xdc, 0xa2, 0xf3, - 0x8b, 0xef, 0x21, 0x8c, 0xbb, 0x88, 0x9e, 0x41, 0x52, 0xea, 0xa6, 0x91, 0x9e, 0x0d, 0xe6, 0x83, - 0x25, 0xc9, 0x3b, 0xa2, 0x57, 0x70, 0x14, 0xa7, 0xa2, 0xe2, 0xae, 0x62, 0xc3, 0x20, 0x21, 0x46, - 0x8f, 0xdc, 0x55, 0x94, 0xc1, 0x78, 0x17, 0x77, 0xb0, 0x51, 0x90, 0x7b, 0xa4, 0x17, 0x40, 0xb8, - 0x31, 0x45, 0xc3, 0xdf, 0xb5, 0x65, 0xff, 0xe6, 0x83, 0xe5, 0x34, 0x9f, 0x70, 0x63, 0x9e, 0x5a, - 0xee, 0xa5, 0x54, 0xda, 0xb2, 0xff, 0x07, 0xd9, 0xf2, 0x5e, 0x1a, 0xee, 0xcb, 0x8a, 0x25, 0xbd, - 0x7c, 0x6e, 0x99, 0x5e, 0xc3, 0x2c, 0x48, 0x8b, 0x85, 0xc5, 0x1a, 0xb9, 0x43, 0x36, 0x0e, 0x1f, - 0x9e, 0xb6, 0xaf, 0x58, 0xcc, 0x63, 0x48, 0x2f, 0x01, 0xd6, 0x5b, 0x59, 0x6f, 0x0a, 0xcf, 0x85, - 0x63, 0x93, 0xf9, 0x68, 0x49, 0x72, 0x12, 0x92, 0x17, 0x2e, 0x5c, 0xab, 0x85, 0x2e, 0xf6, 0xbf, - 0x4e, 0xc2, 0x06, 0x22, 0x74, 0xd7, 0xc7, 0xed, 0x0a, 0x48, 0x37, 0xa2, 0xa5, 0xf7, 0x00, 0x0f, - 0xe8, 0xfb, 0xaa, 0xd2, 0xae, 0xdf, 0xdf, 0x75, 0x9e, 0xcf, 0xfe, 0xe4, 0xab, 0xf4, 0xed, 0x46, - 0x48, 0x5f, 0x6d, 0xd7, 0x69, 0xa9, 0x9b, 0xac, 0x96, 0xa2, 0xf2, 0x4a, 0x2a, 0xa1, 0xd0, 0x7f, - 0x69, 0xfb, 0x91, 0xd5, 0x6a, 0x93, 0xd5, 0xea, 0x70, 0xaf, 0x75, 0x12, 0x0e, 0x76, 0xf7, 0x13, - 0x00, 0x00, 0xff, 0xff, 0x00, 0x3d, 0xb5, 0x81, 0xc7, 0x01, 0x00, 0x00, +func file_verrpc_verrpc_proto_rawDescGZIP() []byte { + file_verrpc_verrpc_proto_rawDescOnce.Do(func() { + file_verrpc_verrpc_proto_rawDescData = protoimpl.X.CompressGZIP(file_verrpc_verrpc_proto_rawDescData) + }) + return file_verrpc_verrpc_proto_rawDescData +} + +var file_verrpc_verrpc_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_verrpc_verrpc_proto_goTypes = []interface{}{ + (*VersionRequest)(nil), // 0: verrpc.VersionRequest + (*Version)(nil), // 1: verrpc.Version +} +var file_verrpc_verrpc_proto_depIdxs = []int32{ + 0, // 0: verrpc.Versioner.GetVersion:input_type -> verrpc.VersionRequest + 1, // 1: verrpc.Versioner.GetVersion:output_type -> verrpc.Version + 1, // [1:2] is the sub-list for method output_type + 0, // [0:1] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_verrpc_verrpc_proto_init() } +func file_verrpc_verrpc_proto_init() { + if File_verrpc_verrpc_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_verrpc_verrpc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VersionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_verrpc_verrpc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Version); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_verrpc_verrpc_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_verrpc_verrpc_proto_goTypes, + DependencyIndexes: file_verrpc_verrpc_proto_depIdxs, + MessageInfos: file_verrpc_verrpc_proto_msgTypes, + }.Build() + File_verrpc_verrpc_proto = out.File + file_verrpc_verrpc_proto_rawDesc = nil + file_verrpc_verrpc_proto_goTypes = nil + file_verrpc_verrpc_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 +const _ = grpc.SupportPackageIsVersion6 // VersionerClient is the client API for Versioner service. // @@ -216,10 +318,10 @@ type VersionerClient interface { } type versionerClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewVersionerClient(cc *grpc.ClientConn) VersionerClient { +func NewVersionerClient(cc grpc.ClientConnInterface) VersionerClient { return &versionerClient{cc} } @@ -244,7 +346,7 @@ type VersionerServer interface { type UnimplementedVersionerServer struct { } -func (*UnimplementedVersionerServer) GetVersion(ctx context.Context, req *VersionRequest) (*Version, error) { +func (*UnimplementedVersionerServer) GetVersion(context.Context, *VersionRequest) (*Version, error) { return nil, status.Errorf(codes.Unimplemented, "method GetVersion not implemented") } diff --git a/lnrpc/walletrpc/walletkit.pb.go b/lnrpc/walletrpc/walletkit.pb.go index 2cc64a627..732e26d40 100644 --- a/lnrpc/walletrpc/walletkit.pb.go +++ b/lnrpc/walletrpc/walletkit.pb.go @@ -1,30 +1,35 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.6.1 // source: walletrpc/walletkit.proto package walletrpc import ( context "context" - fmt "fmt" proto "github.com/golang/protobuf/proto" lnrpc "github.com/lightningnetwork/lnd/lnrpc" signrpc "github.com/lightningnetwork/lnd/lnrpc/signrpc" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type AddressType int32 @@ -35,26 +40,47 @@ const ( AddressType_HYBRID_NESTED_WITNESS_PUBKEY_HASH AddressType = 3 ) -var AddressType_name = map[int32]string{ - 0: "UNKNOWN", - 1: "WITNESS_PUBKEY_HASH", - 2: "NESTED_WITNESS_PUBKEY_HASH", - 3: "HYBRID_NESTED_WITNESS_PUBKEY_HASH", -} +// Enum value maps for AddressType. +var ( + AddressType_name = map[int32]string{ + 0: "UNKNOWN", + 1: "WITNESS_PUBKEY_HASH", + 2: "NESTED_WITNESS_PUBKEY_HASH", + 3: "HYBRID_NESTED_WITNESS_PUBKEY_HASH", + } + AddressType_value = map[string]int32{ + "UNKNOWN": 0, + "WITNESS_PUBKEY_HASH": 1, + "NESTED_WITNESS_PUBKEY_HASH": 2, + "HYBRID_NESTED_WITNESS_PUBKEY_HASH": 3, + } +) -var AddressType_value = map[string]int32{ - "UNKNOWN": 0, - "WITNESS_PUBKEY_HASH": 1, - "NESTED_WITNESS_PUBKEY_HASH": 2, - "HYBRID_NESTED_WITNESS_PUBKEY_HASH": 3, +func (x AddressType) Enum() *AddressType { + p := new(AddressType) + *p = x + return p } func (x AddressType) String() string { - return proto.EnumName(AddressType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (AddressType) Descriptor() protoreflect.EnumDescriptor { + return file_walletrpc_walletkit_proto_enumTypes[0].Descriptor() +} + +func (AddressType) Type() protoreflect.EnumType { + return &file_walletrpc_walletkit_proto_enumTypes[0] +} + +func (x AddressType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use AddressType.Descriptor instead. func (AddressType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_6cc6942ac78249e5, []int{0} + return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{0} } type WitnessType int32 @@ -123,147 +149,188 @@ const ( WitnessType_COMMITMENT_ANCHOR WitnessType = 13 ) -var WitnessType_name = map[int32]string{ - 0: "UNKNOWN_WITNESS", - 1: "COMMITMENT_TIME_LOCK", - 2: "COMMITMENT_NO_DELAY", - 3: "COMMITMENT_REVOKE", - 4: "HTLC_OFFERED_REVOKE", - 5: "HTLC_ACCEPTED_REVOKE", - 6: "HTLC_OFFERED_TIMEOUT_SECOND_LEVEL", - 7: "HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL", - 8: "HTLC_OFFERED_REMOTE_TIMEOUT", - 9: "HTLC_ACCEPTED_REMOTE_SUCCESS", - 10: "HTLC_SECOND_LEVEL_REVOKE", - 11: "WITNESS_KEY_HASH", - 12: "NESTED_WITNESS_KEY_HASH", - 13: "COMMITMENT_ANCHOR", -} +// Enum value maps for WitnessType. +var ( + WitnessType_name = map[int32]string{ + 0: "UNKNOWN_WITNESS", + 1: "COMMITMENT_TIME_LOCK", + 2: "COMMITMENT_NO_DELAY", + 3: "COMMITMENT_REVOKE", + 4: "HTLC_OFFERED_REVOKE", + 5: "HTLC_ACCEPTED_REVOKE", + 6: "HTLC_OFFERED_TIMEOUT_SECOND_LEVEL", + 7: "HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL", + 8: "HTLC_OFFERED_REMOTE_TIMEOUT", + 9: "HTLC_ACCEPTED_REMOTE_SUCCESS", + 10: "HTLC_SECOND_LEVEL_REVOKE", + 11: "WITNESS_KEY_HASH", + 12: "NESTED_WITNESS_KEY_HASH", + 13: "COMMITMENT_ANCHOR", + } + WitnessType_value = map[string]int32{ + "UNKNOWN_WITNESS": 0, + "COMMITMENT_TIME_LOCK": 1, + "COMMITMENT_NO_DELAY": 2, + "COMMITMENT_REVOKE": 3, + "HTLC_OFFERED_REVOKE": 4, + "HTLC_ACCEPTED_REVOKE": 5, + "HTLC_OFFERED_TIMEOUT_SECOND_LEVEL": 6, + "HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL": 7, + "HTLC_OFFERED_REMOTE_TIMEOUT": 8, + "HTLC_ACCEPTED_REMOTE_SUCCESS": 9, + "HTLC_SECOND_LEVEL_REVOKE": 10, + "WITNESS_KEY_HASH": 11, + "NESTED_WITNESS_KEY_HASH": 12, + "COMMITMENT_ANCHOR": 13, + } +) -var WitnessType_value = map[string]int32{ - "UNKNOWN_WITNESS": 0, - "COMMITMENT_TIME_LOCK": 1, - "COMMITMENT_NO_DELAY": 2, - "COMMITMENT_REVOKE": 3, - "HTLC_OFFERED_REVOKE": 4, - "HTLC_ACCEPTED_REVOKE": 5, - "HTLC_OFFERED_TIMEOUT_SECOND_LEVEL": 6, - "HTLC_ACCEPTED_SUCCESS_SECOND_LEVEL": 7, - "HTLC_OFFERED_REMOTE_TIMEOUT": 8, - "HTLC_ACCEPTED_REMOTE_SUCCESS": 9, - "HTLC_SECOND_LEVEL_REVOKE": 10, - "WITNESS_KEY_HASH": 11, - "NESTED_WITNESS_KEY_HASH": 12, - "COMMITMENT_ANCHOR": 13, +func (x WitnessType) Enum() *WitnessType { + p := new(WitnessType) + *p = x + return p } func (x WitnessType) String() string { - return proto.EnumName(WitnessType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (WitnessType) Descriptor() protoreflect.EnumDescriptor { + return file_walletrpc_walletkit_proto_enumTypes[1].Descriptor() +} + +func (WitnessType) Type() protoreflect.EnumType { + return &file_walletrpc_walletkit_proto_enumTypes[1] +} + +func (x WitnessType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use WitnessType.Descriptor instead. func (WitnessType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_6cc6942ac78249e5, []int{1} + return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{1} } 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Account string `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"` } -func (m *ListUnspentRequest) Reset() { *m = ListUnspentRequest{} } -func (m *ListUnspentRequest) String() string { return proto.CompactTextString(m) } -func (*ListUnspentRequest) ProtoMessage() {} +func (x *ListUnspentRequest) Reset() { + *x = ListUnspentRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_walletrpc_walletkit_proto_msgTypes[0] + 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_walletrpc_walletkit_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 ListUnspentRequest.ProtoReflect.Descriptor instead. func (*ListUnspentRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6cc6942ac78249e5, []int{0} + return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{0} } -func (m *ListUnspentRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListUnspentRequest.Unmarshal(m, b) -} -func (m *ListUnspentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListUnspentRequest.Marshal(b, m, deterministic) -} -func (m *ListUnspentRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListUnspentRequest.Merge(m, src) -} -func (m *ListUnspentRequest) XXX_Size() int { - return xxx_messageInfo_ListUnspentRequest.Size(m) -} -func (m *ListUnspentRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListUnspentRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListUnspentRequest proto.InternalMessageInfo - -func (m *ListUnspentRequest) GetMinConfs() int32 { - if m != nil { - return m.MinConfs +func (x *ListUnspentRequest) GetMinConfs() int32 { + if x != nil { + return x.MinConfs } return 0 } -func (m *ListUnspentRequest) GetMaxConfs() int32 { - if m != nil { - return m.MaxConfs +func (x *ListUnspentRequest) GetMaxConfs() int32 { + if x != nil { + return x.MaxConfs } return 0 } -func (m *ListUnspentRequest) GetAccount() string { - if m != nil { - return m.Account +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 satisfying the specified number of confirmations. - Utxos []*lnrpc.Utxo `protobuf:"bytes,1,rep,name=utxos,proto3" json:"utxos,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Utxos []*lnrpc.Utxo `protobuf:"bytes,1,rep,name=utxos,proto3" json:"utxos,omitempty"` } -func (m *ListUnspentResponse) Reset() { *m = ListUnspentResponse{} } -func (m *ListUnspentResponse) String() string { return proto.CompactTextString(m) } -func (*ListUnspentResponse) ProtoMessage() {} +func (x *ListUnspentResponse) Reset() { + *x = ListUnspentResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_walletrpc_walletkit_proto_msgTypes[1] + 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_walletrpc_walletkit_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 ListUnspentResponse.ProtoReflect.Descriptor instead. func (*ListUnspentResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6cc6942ac78249e5, []int{1} + return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{1} } -func (m *ListUnspentResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListUnspentResponse.Unmarshal(m, b) -} -func (m *ListUnspentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListUnspentResponse.Marshal(b, m, deterministic) -} -func (m *ListUnspentResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListUnspentResponse.Merge(m, src) -} -func (m *ListUnspentResponse) XXX_Size() int { - return xxx_messageInfo_ListUnspentResponse.Size(m) -} -func (m *ListUnspentResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListUnspentResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListUnspentResponse proto.InternalMessageInfo - -func (m *ListUnspentResponse) GetUtxos() []*lnrpc.Utxo { - if m != nil { - return m.Utxos +func (x *ListUnspentResponse) GetUtxos() []*lnrpc.Utxo { + if x != nil { + return x.Utxos } return nil } type LeaseOutputRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //An ID of 32 random bytes that must be unique for each distinct application //using this RPC which will be used to bound the output lease to. @@ -272,180 +339,211 @@ type LeaseOutputRequest struct { Outpoint *lnrpc.OutPoint `protobuf:"bytes,2,opt,name=outpoint,proto3" json:"outpoint,omitempty"` // The time in seconds before the lock expires. If set to zero, the default // lock duration is used. - ExpirationSeconds uint64 `protobuf:"varint,3,opt,name=expiration_seconds,json=expirationSeconds,proto3" json:"expiration_seconds,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ExpirationSeconds uint64 `protobuf:"varint,3,opt,name=expiration_seconds,json=expirationSeconds,proto3" json:"expiration_seconds,omitempty"` } -func (m *LeaseOutputRequest) Reset() { *m = LeaseOutputRequest{} } -func (m *LeaseOutputRequest) String() string { return proto.CompactTextString(m) } -func (*LeaseOutputRequest) ProtoMessage() {} +func (x *LeaseOutputRequest) Reset() { + *x = LeaseOutputRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_walletrpc_walletkit_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LeaseOutputRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LeaseOutputRequest) ProtoMessage() {} + +func (x *LeaseOutputRequest) ProtoReflect() protoreflect.Message { + mi := &file_walletrpc_walletkit_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 LeaseOutputRequest.ProtoReflect.Descriptor instead. func (*LeaseOutputRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6cc6942ac78249e5, []int{2} + return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{2} } -func (m *LeaseOutputRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LeaseOutputRequest.Unmarshal(m, b) -} -func (m *LeaseOutputRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LeaseOutputRequest.Marshal(b, m, deterministic) -} -func (m *LeaseOutputRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_LeaseOutputRequest.Merge(m, src) -} -func (m *LeaseOutputRequest) XXX_Size() int { - return xxx_messageInfo_LeaseOutputRequest.Size(m) -} -func (m *LeaseOutputRequest) XXX_DiscardUnknown() { - xxx_messageInfo_LeaseOutputRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_LeaseOutputRequest proto.InternalMessageInfo - -func (m *LeaseOutputRequest) GetId() []byte { - if m != nil { - return m.Id +func (x *LeaseOutputRequest) GetId() []byte { + if x != nil { + return x.Id } return nil } -func (m *LeaseOutputRequest) GetOutpoint() *lnrpc.OutPoint { - if m != nil { - return m.Outpoint +func (x *LeaseOutputRequest) GetOutpoint() *lnrpc.OutPoint { + if x != nil { + return x.Outpoint } return nil } -func (m *LeaseOutputRequest) GetExpirationSeconds() uint64 { - if m != nil { - return m.ExpirationSeconds +func (x *LeaseOutputRequest) GetExpirationSeconds() uint64 { + if x != nil { + return x.ExpirationSeconds } return 0 } type LeaseOutputResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //The absolute expiration of the output lease represented as a unix timestamp. - Expiration uint64 `protobuf:"varint,1,opt,name=expiration,proto3" json:"expiration,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Expiration uint64 `protobuf:"varint,1,opt,name=expiration,proto3" json:"expiration,omitempty"` } -func (m *LeaseOutputResponse) Reset() { *m = LeaseOutputResponse{} } -func (m *LeaseOutputResponse) String() string { return proto.CompactTextString(m) } -func (*LeaseOutputResponse) ProtoMessage() {} +func (x *LeaseOutputResponse) Reset() { + *x = LeaseOutputResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_walletrpc_walletkit_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LeaseOutputResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LeaseOutputResponse) ProtoMessage() {} + +func (x *LeaseOutputResponse) ProtoReflect() protoreflect.Message { + mi := &file_walletrpc_walletkit_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 LeaseOutputResponse.ProtoReflect.Descriptor instead. func (*LeaseOutputResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6cc6942ac78249e5, []int{3} + return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{3} } -func (m *LeaseOutputResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LeaseOutputResponse.Unmarshal(m, b) -} -func (m *LeaseOutputResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LeaseOutputResponse.Marshal(b, m, deterministic) -} -func (m *LeaseOutputResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_LeaseOutputResponse.Merge(m, src) -} -func (m *LeaseOutputResponse) XXX_Size() int { - return xxx_messageInfo_LeaseOutputResponse.Size(m) -} -func (m *LeaseOutputResponse) XXX_DiscardUnknown() { - xxx_messageInfo_LeaseOutputResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_LeaseOutputResponse proto.InternalMessageInfo - -func (m *LeaseOutputResponse) GetExpiration() uint64 { - if m != nil { - return m.Expiration +func (x *LeaseOutputResponse) GetExpiration() uint64 { + if x != nil { + return x.Expiration } return 0 } type ReleaseOutputRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The unique ID that was used to lock the output. Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // The identifying outpoint of the output being released. - Outpoint *lnrpc.OutPoint `protobuf:"bytes,2,opt,name=outpoint,proto3" json:"outpoint,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Outpoint *lnrpc.OutPoint `protobuf:"bytes,2,opt,name=outpoint,proto3" json:"outpoint,omitempty"` } -func (m *ReleaseOutputRequest) Reset() { *m = ReleaseOutputRequest{} } -func (m *ReleaseOutputRequest) String() string { return proto.CompactTextString(m) } -func (*ReleaseOutputRequest) ProtoMessage() {} +func (x *ReleaseOutputRequest) Reset() { + *x = ReleaseOutputRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_walletrpc_walletkit_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReleaseOutputRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReleaseOutputRequest) ProtoMessage() {} + +func (x *ReleaseOutputRequest) ProtoReflect() protoreflect.Message { + mi := &file_walletrpc_walletkit_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 ReleaseOutputRequest.ProtoReflect.Descriptor instead. func (*ReleaseOutputRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6cc6942ac78249e5, []int{4} + return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{4} } -func (m *ReleaseOutputRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReleaseOutputRequest.Unmarshal(m, b) -} -func (m *ReleaseOutputRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReleaseOutputRequest.Marshal(b, m, deterministic) -} -func (m *ReleaseOutputRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReleaseOutputRequest.Merge(m, src) -} -func (m *ReleaseOutputRequest) XXX_Size() int { - return xxx_messageInfo_ReleaseOutputRequest.Size(m) -} -func (m *ReleaseOutputRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ReleaseOutputRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ReleaseOutputRequest proto.InternalMessageInfo - -func (m *ReleaseOutputRequest) GetId() []byte { - if m != nil { - return m.Id +func (x *ReleaseOutputRequest) GetId() []byte { + if x != nil { + return x.Id } return nil } -func (m *ReleaseOutputRequest) GetOutpoint() *lnrpc.OutPoint { - if m != nil { - return m.Outpoint +func (x *ReleaseOutputRequest) GetOutpoint() *lnrpc.OutPoint { + if x != nil { + return x.Outpoint } return nil } type ReleaseOutputResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ReleaseOutputResponse) Reset() { *m = ReleaseOutputResponse{} } -func (m *ReleaseOutputResponse) String() string { return proto.CompactTextString(m) } -func (*ReleaseOutputResponse) ProtoMessage() {} +func (x *ReleaseOutputResponse) Reset() { + *x = ReleaseOutputResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_walletrpc_walletkit_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ReleaseOutputResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ReleaseOutputResponse) ProtoMessage() {} + +func (x *ReleaseOutputResponse) ProtoReflect() protoreflect.Message { + mi := &file_walletrpc_walletkit_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 ReleaseOutputResponse.ProtoReflect.Descriptor instead. func (*ReleaseOutputResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6cc6942ac78249e5, []int{5} + return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{5} } -func (m *ReleaseOutputResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ReleaseOutputResponse.Unmarshal(m, b) -} -func (m *ReleaseOutputResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ReleaseOutputResponse.Marshal(b, m, deterministic) -} -func (m *ReleaseOutputResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ReleaseOutputResponse.Merge(m, src) -} -func (m *ReleaseOutputResponse) XXX_Size() int { - return xxx_messageInfo_ReleaseOutputResponse.Size(m) -} -func (m *ReleaseOutputResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ReleaseOutputResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ReleaseOutputResponse proto.InternalMessageInfo - type KeyReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //Is the key finger print of the root pubkey that this request is targeting. //This allows the WalletKit to possibly serve out keys for multiple HD chains @@ -454,135 +552,159 @@ type KeyReq struct { // //The target key family to derive a key from. In other contexts, this is //known as the "account". - KeyFamily int32 `protobuf:"varint,2,opt,name=key_family,json=keyFamily,proto3" json:"key_family,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + KeyFamily int32 `protobuf:"varint,2,opt,name=key_family,json=keyFamily,proto3" json:"key_family,omitempty"` } -func (m *KeyReq) Reset() { *m = KeyReq{} } -func (m *KeyReq) String() string { return proto.CompactTextString(m) } -func (*KeyReq) ProtoMessage() {} +func (x *KeyReq) Reset() { + *x = KeyReq{} + if protoimpl.UnsafeEnabled { + mi := &file_walletrpc_walletkit_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *KeyReq) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*KeyReq) ProtoMessage() {} + +func (x *KeyReq) ProtoReflect() protoreflect.Message { + mi := &file_walletrpc_walletkit_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 KeyReq.ProtoReflect.Descriptor instead. func (*KeyReq) Descriptor() ([]byte, []int) { - return fileDescriptor_6cc6942ac78249e5, []int{6} + return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{6} } -func (m *KeyReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_KeyReq.Unmarshal(m, b) -} -func (m *KeyReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_KeyReq.Marshal(b, m, deterministic) -} -func (m *KeyReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_KeyReq.Merge(m, src) -} -func (m *KeyReq) XXX_Size() int { - return xxx_messageInfo_KeyReq.Size(m) -} -func (m *KeyReq) XXX_DiscardUnknown() { - xxx_messageInfo_KeyReq.DiscardUnknown(m) -} - -var xxx_messageInfo_KeyReq proto.InternalMessageInfo - -func (m *KeyReq) GetKeyFingerPrint() int32 { - if m != nil { - return m.KeyFingerPrint +func (x *KeyReq) GetKeyFingerPrint() int32 { + if x != nil { + return x.KeyFingerPrint } return 0 } -func (m *KeyReq) GetKeyFamily() int32 { - if m != nil { - return m.KeyFamily +func (x *KeyReq) GetKeyFamily() int32 { + if x != nil { + return x.KeyFamily } return 0 } type AddrRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //The name of the account to retrieve the next address of. If empty, the //default wallet account is used. - Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Account string `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"` } -func (m *AddrRequest) Reset() { *m = AddrRequest{} } -func (m *AddrRequest) String() string { return proto.CompactTextString(m) } -func (*AddrRequest) ProtoMessage() {} +func (x *AddrRequest) Reset() { + *x = AddrRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_walletrpc_walletkit_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddrRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddrRequest) ProtoMessage() {} + +func (x *AddrRequest) ProtoReflect() protoreflect.Message { + mi := &file_walletrpc_walletkit_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 AddrRequest.ProtoReflect.Descriptor instead. func (*AddrRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6cc6942ac78249e5, []int{7} + return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{7} } -func (m *AddrRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AddrRequest.Unmarshal(m, b) -} -func (m *AddrRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AddrRequest.Marshal(b, m, deterministic) -} -func (m *AddrRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddrRequest.Merge(m, src) -} -func (m *AddrRequest) XXX_Size() int { - return xxx_messageInfo_AddrRequest.Size(m) -} -func (m *AddrRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AddrRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_AddrRequest proto.InternalMessageInfo - -func (m *AddrRequest) GetAccount() string { - if m != nil { - return m.Account +func (x *AddrRequest) GetAccount() string { + if x != nil { + return x.Account } return "" } type AddrResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //The address encoded using a bech32 format. - Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` } -func (m *AddrResponse) Reset() { *m = AddrResponse{} } -func (m *AddrResponse) String() string { return proto.CompactTextString(m) } -func (*AddrResponse) ProtoMessage() {} +func (x *AddrResponse) Reset() { + *x = AddrResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_walletrpc_walletkit_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddrResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddrResponse) ProtoMessage() {} + +func (x *AddrResponse) ProtoReflect() protoreflect.Message { + mi := &file_walletrpc_walletkit_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 AddrResponse.ProtoReflect.Descriptor instead. func (*AddrResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6cc6942ac78249e5, []int{8} + return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{8} } -func (m *AddrResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AddrResponse.Unmarshal(m, b) -} -func (m *AddrResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AddrResponse.Marshal(b, m, deterministic) -} -func (m *AddrResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddrResponse.Merge(m, src) -} -func (m *AddrResponse) XXX_Size() int { - return xxx_messageInfo_AddrResponse.Size(m) -} -func (m *AddrResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AddrResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_AddrResponse proto.InternalMessageInfo - -func (m *AddrResponse) GetAddr() string { - if m != nil { - return m.Addr +func (x *AddrResponse) GetAddr() string { + if x != nil { + return x.Addr } return "" } type Account struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The name used to identify the account. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // @@ -619,182 +741,206 @@ type Account struct { //single public keys are imported into. InternalKeyCount uint32 `protobuf:"varint,7,opt,name=internal_key_count,json=internalKeyCount,proto3" json:"internal_key_count,omitempty"` // Whether the wallet stores private keys for the account. - WatchOnly bool `protobuf:"varint,8,opt,name=watch_only,json=watchOnly,proto3" json:"watch_only,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + WatchOnly bool `protobuf:"varint,8,opt,name=watch_only,json=watchOnly,proto3" json:"watch_only,omitempty"` } -func (m *Account) Reset() { *m = Account{} } -func (m *Account) String() string { return proto.CompactTextString(m) } -func (*Account) ProtoMessage() {} +func (x *Account) Reset() { + *x = Account{} + if protoimpl.UnsafeEnabled { + mi := &file_walletrpc_walletkit_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Account) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Account) ProtoMessage() {} + +func (x *Account) ProtoReflect() protoreflect.Message { + mi := &file_walletrpc_walletkit_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 Account.ProtoReflect.Descriptor instead. func (*Account) Descriptor() ([]byte, []int) { - return fileDescriptor_6cc6942ac78249e5, []int{9} + return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{9} } -func (m *Account) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Account.Unmarshal(m, b) -} -func (m *Account) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Account.Marshal(b, m, deterministic) -} -func (m *Account) XXX_Merge(src proto.Message) { - xxx_messageInfo_Account.Merge(m, src) -} -func (m *Account) XXX_Size() int { - return xxx_messageInfo_Account.Size(m) -} -func (m *Account) XXX_DiscardUnknown() { - xxx_messageInfo_Account.DiscardUnknown(m) -} - -var xxx_messageInfo_Account proto.InternalMessageInfo - -func (m *Account) GetName() string { - if m != nil { - return m.Name +func (x *Account) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *Account) GetAddressType() AddressType { - if m != nil { - return m.AddressType +func (x *Account) GetAddressType() AddressType { + if x != nil { + return x.AddressType } return AddressType_UNKNOWN } -func (m *Account) GetExtendedPublicKey() string { - if m != nil { - return m.ExtendedPublicKey +func (x *Account) GetExtendedPublicKey() string { + if x != nil { + return x.ExtendedPublicKey } return "" } -func (m *Account) GetMasterKeyFingerprint() uint32 { - if m != nil { - return m.MasterKeyFingerprint +func (x *Account) GetMasterKeyFingerprint() uint32 { + if x != nil { + return x.MasterKeyFingerprint } return 0 } -func (m *Account) GetDerivationPath() string { - if m != nil { - return m.DerivationPath +func (x *Account) GetDerivationPath() string { + if x != nil { + return x.DerivationPath } return "" } -func (m *Account) GetExternalKeyCount() uint32 { - if m != nil { - return m.ExternalKeyCount +func (x *Account) GetExternalKeyCount() uint32 { + if x != nil { + return x.ExternalKeyCount } return 0 } -func (m *Account) GetInternalKeyCount() uint32 { - if m != nil { - return m.InternalKeyCount +func (x *Account) GetInternalKeyCount() uint32 { + if x != nil { + return x.InternalKeyCount } return 0 } -func (m *Account) GetWatchOnly() bool { - if m != nil { - return m.WatchOnly +func (x *Account) GetWatchOnly() bool { + if x != nil { + return x.WatchOnly } return false } type ListAccountsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // An optional filter to only return accounts matching this name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // An optional filter to only return accounts matching this address type. - AddressType AddressType `protobuf:"varint,2,opt,name=address_type,json=addressType,proto3,enum=walletrpc.AddressType" json:"address_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + AddressType AddressType `protobuf:"varint,2,opt,name=address_type,json=addressType,proto3,enum=walletrpc.AddressType" json:"address_type,omitempty"` } -func (m *ListAccountsRequest) Reset() { *m = ListAccountsRequest{} } -func (m *ListAccountsRequest) String() string { return proto.CompactTextString(m) } -func (*ListAccountsRequest) ProtoMessage() {} +func (x *ListAccountsRequest) Reset() { + *x = ListAccountsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_walletrpc_walletkit_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListAccountsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListAccountsRequest) ProtoMessage() {} + +func (x *ListAccountsRequest) ProtoReflect() protoreflect.Message { + mi := &file_walletrpc_walletkit_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 ListAccountsRequest.ProtoReflect.Descriptor instead. func (*ListAccountsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6cc6942ac78249e5, []int{10} + return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{10} } -func (m *ListAccountsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListAccountsRequest.Unmarshal(m, b) -} -func (m *ListAccountsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListAccountsRequest.Marshal(b, m, deterministic) -} -func (m *ListAccountsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListAccountsRequest.Merge(m, src) -} -func (m *ListAccountsRequest) XXX_Size() int { - return xxx_messageInfo_ListAccountsRequest.Size(m) -} -func (m *ListAccountsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListAccountsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListAccountsRequest proto.InternalMessageInfo - -func (m *ListAccountsRequest) GetName() string { - if m != nil { - return m.Name +func (x *ListAccountsRequest) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *ListAccountsRequest) GetAddressType() AddressType { - if m != nil { - return m.AddressType +func (x *ListAccountsRequest) GetAddressType() AddressType { + if x != nil { + return x.AddressType } return AddressType_UNKNOWN } type ListAccountsResponse struct { - Accounts []*Account `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Accounts []*Account `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"` } -func (m *ListAccountsResponse) Reset() { *m = ListAccountsResponse{} } -func (m *ListAccountsResponse) String() string { return proto.CompactTextString(m) } -func (*ListAccountsResponse) ProtoMessage() {} +func (x *ListAccountsResponse) Reset() { + *x = ListAccountsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_walletrpc_walletkit_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListAccountsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListAccountsResponse) ProtoMessage() {} + +func (x *ListAccountsResponse) ProtoReflect() protoreflect.Message { + mi := &file_walletrpc_walletkit_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 ListAccountsResponse.ProtoReflect.Descriptor instead. func (*ListAccountsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6cc6942ac78249e5, []int{11} + return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{11} } -func (m *ListAccountsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListAccountsResponse.Unmarshal(m, b) -} -func (m *ListAccountsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListAccountsResponse.Marshal(b, m, deterministic) -} -func (m *ListAccountsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListAccountsResponse.Merge(m, src) -} -func (m *ListAccountsResponse) XXX_Size() int { - return xxx_messageInfo_ListAccountsResponse.Size(m) -} -func (m *ListAccountsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListAccountsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListAccountsResponse proto.InternalMessageInfo - -func (m *ListAccountsResponse) GetAccounts() []*Account { - if m != nil { - return m.Accounts +func (x *ListAccountsResponse) GetAccounts() []*Account { + if x != nil { + return x.Accounts } return nil } type ImportAccountRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A name to identify the account with. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // @@ -811,273 +957,319 @@ type ImportAccountRequest struct { //An address type is only required when the extended account public key has a //legacy version (xpub, tpub, etc.), such that the wallet cannot detect what //address scheme it belongs to. - AddressType AddressType `protobuf:"varint,4,opt,name=address_type,json=addressType,proto3,enum=walletrpc.AddressType" json:"address_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + AddressType AddressType `protobuf:"varint,4,opt,name=address_type,json=addressType,proto3,enum=walletrpc.AddressType" json:"address_type,omitempty"` } -func (m *ImportAccountRequest) Reset() { *m = ImportAccountRequest{} } -func (m *ImportAccountRequest) String() string { return proto.CompactTextString(m) } -func (*ImportAccountRequest) ProtoMessage() {} +func (x *ImportAccountRequest) Reset() { + *x = ImportAccountRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_walletrpc_walletkit_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ImportAccountRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ImportAccountRequest) ProtoMessage() {} + +func (x *ImportAccountRequest) ProtoReflect() protoreflect.Message { + mi := &file_walletrpc_walletkit_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 ImportAccountRequest.ProtoReflect.Descriptor instead. func (*ImportAccountRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6cc6942ac78249e5, []int{12} + return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{12} } -func (m *ImportAccountRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImportAccountRequest.Unmarshal(m, b) -} -func (m *ImportAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImportAccountRequest.Marshal(b, m, deterministic) -} -func (m *ImportAccountRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImportAccountRequest.Merge(m, src) -} -func (m *ImportAccountRequest) XXX_Size() int { - return xxx_messageInfo_ImportAccountRequest.Size(m) -} -func (m *ImportAccountRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ImportAccountRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ImportAccountRequest proto.InternalMessageInfo - -func (m *ImportAccountRequest) GetName() string { - if m != nil { - return m.Name +func (x *ImportAccountRequest) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *ImportAccountRequest) GetExtendedPublicKey() string { - if m != nil { - return m.ExtendedPublicKey +func (x *ImportAccountRequest) GetExtendedPublicKey() string { + if x != nil { + return x.ExtendedPublicKey } return "" } -func (m *ImportAccountRequest) GetMasterKeyFingerprint() uint32 { - if m != nil { - return m.MasterKeyFingerprint +func (x *ImportAccountRequest) GetMasterKeyFingerprint() uint32 { + if x != nil { + return x.MasterKeyFingerprint } return 0 } -func (m *ImportAccountRequest) GetAddressType() AddressType { - if m != nil { - return m.AddressType +func (x *ImportAccountRequest) GetAddressType() AddressType { + if x != nil { + return x.AddressType } return AddressType_UNKNOWN } type ImportAccountResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ImportAccountResponse) Reset() { *m = ImportAccountResponse{} } -func (m *ImportAccountResponse) String() string { return proto.CompactTextString(m) } -func (*ImportAccountResponse) ProtoMessage() {} +func (x *ImportAccountResponse) Reset() { + *x = ImportAccountResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_walletrpc_walletkit_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ImportAccountResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ImportAccountResponse) ProtoMessage() {} + +func (x *ImportAccountResponse) ProtoReflect() protoreflect.Message { + mi := &file_walletrpc_walletkit_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 ImportAccountResponse.ProtoReflect.Descriptor instead. func (*ImportAccountResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6cc6942ac78249e5, []int{13} + return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{13} } -func (m *ImportAccountResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImportAccountResponse.Unmarshal(m, b) -} -func (m *ImportAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImportAccountResponse.Marshal(b, m, deterministic) -} -func (m *ImportAccountResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImportAccountResponse.Merge(m, src) -} -func (m *ImportAccountResponse) XXX_Size() int { - return xxx_messageInfo_ImportAccountResponse.Size(m) -} -func (m *ImportAccountResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ImportAccountResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ImportAccountResponse proto.InternalMessageInfo - type ImportPublicKeyRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // A compressed public key represented as raw bytes. PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"` // The type of address that will be generated from the public key. - AddressType AddressType `protobuf:"varint,2,opt,name=address_type,json=addressType,proto3,enum=walletrpc.AddressType" json:"address_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + AddressType AddressType `protobuf:"varint,2,opt,name=address_type,json=addressType,proto3,enum=walletrpc.AddressType" json:"address_type,omitempty"` } -func (m *ImportPublicKeyRequest) Reset() { *m = ImportPublicKeyRequest{} } -func (m *ImportPublicKeyRequest) String() string { return proto.CompactTextString(m) } -func (*ImportPublicKeyRequest) ProtoMessage() {} +func (x *ImportPublicKeyRequest) Reset() { + *x = ImportPublicKeyRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_walletrpc_walletkit_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ImportPublicKeyRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ImportPublicKeyRequest) ProtoMessage() {} + +func (x *ImportPublicKeyRequest) ProtoReflect() protoreflect.Message { + mi := &file_walletrpc_walletkit_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 ImportPublicKeyRequest.ProtoReflect.Descriptor instead. func (*ImportPublicKeyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6cc6942ac78249e5, []int{14} + return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{14} } -func (m *ImportPublicKeyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImportPublicKeyRequest.Unmarshal(m, b) -} -func (m *ImportPublicKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImportPublicKeyRequest.Marshal(b, m, deterministic) -} -func (m *ImportPublicKeyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImportPublicKeyRequest.Merge(m, src) -} -func (m *ImportPublicKeyRequest) XXX_Size() int { - return xxx_messageInfo_ImportPublicKeyRequest.Size(m) -} -func (m *ImportPublicKeyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ImportPublicKeyRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ImportPublicKeyRequest proto.InternalMessageInfo - -func (m *ImportPublicKeyRequest) GetPublicKey() []byte { - if m != nil { - return m.PublicKey +func (x *ImportPublicKeyRequest) GetPublicKey() []byte { + if x != nil { + return x.PublicKey } return nil } -func (m *ImportPublicKeyRequest) GetAddressType() AddressType { - if m != nil { - return m.AddressType +func (x *ImportPublicKeyRequest) GetAddressType() AddressType { + if x != nil { + return x.AddressType } return AddressType_UNKNOWN } type ImportPublicKeyResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ImportPublicKeyResponse) Reset() { *m = ImportPublicKeyResponse{} } -func (m *ImportPublicKeyResponse) String() string { return proto.CompactTextString(m) } -func (*ImportPublicKeyResponse) ProtoMessage() {} +func (x *ImportPublicKeyResponse) Reset() { + *x = ImportPublicKeyResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_walletrpc_walletkit_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ImportPublicKeyResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ImportPublicKeyResponse) ProtoMessage() {} + +func (x *ImportPublicKeyResponse) ProtoReflect() protoreflect.Message { + mi := &file_walletrpc_walletkit_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 ImportPublicKeyResponse.ProtoReflect.Descriptor instead. func (*ImportPublicKeyResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6cc6942ac78249e5, []int{15} + return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{15} } -func (m *ImportPublicKeyResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ImportPublicKeyResponse.Unmarshal(m, b) -} -func (m *ImportPublicKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ImportPublicKeyResponse.Marshal(b, m, deterministic) -} -func (m *ImportPublicKeyResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ImportPublicKeyResponse.Merge(m, src) -} -func (m *ImportPublicKeyResponse) XXX_Size() int { - return xxx_messageInfo_ImportPublicKeyResponse.Size(m) -} -func (m *ImportPublicKeyResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ImportPublicKeyResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ImportPublicKeyResponse proto.InternalMessageInfo - type Transaction struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //The raw serialized transaction. TxHex []byte `protobuf:"bytes,1,opt,name=tx_hex,json=txHex,proto3" json:"tx_hex,omitempty"` // //An optional label to save with the transaction. Limited to 500 characters. - Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` } -func (m *Transaction) Reset() { *m = Transaction{} } -func (m *Transaction) String() string { return proto.CompactTextString(m) } -func (*Transaction) ProtoMessage() {} +func (x *Transaction) Reset() { + *x = Transaction{} + if protoimpl.UnsafeEnabled { + mi := &file_walletrpc_walletkit_proto_msgTypes[16] + 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_walletrpc_walletkit_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 Transaction.ProtoReflect.Descriptor instead. func (*Transaction) Descriptor() ([]byte, []int) { - return fileDescriptor_6cc6942ac78249e5, []int{16} + return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{16} } -func (m *Transaction) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Transaction.Unmarshal(m, b) -} -func (m *Transaction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Transaction.Marshal(b, m, deterministic) -} -func (m *Transaction) XXX_Merge(src proto.Message) { - xxx_messageInfo_Transaction.Merge(m, src) -} -func (m *Transaction) XXX_Size() int { - return xxx_messageInfo_Transaction.Size(m) -} -func (m *Transaction) XXX_DiscardUnknown() { - xxx_messageInfo_Transaction.DiscardUnknown(m) -} - -var xxx_messageInfo_Transaction proto.InternalMessageInfo - -func (m *Transaction) GetTxHex() []byte { - if m != nil { - return m.TxHex +func (x *Transaction) GetTxHex() []byte { + if x != nil { + return x.TxHex } return nil } -func (m *Transaction) GetLabel() string { - if m != nil { - return m.Label +func (x *Transaction) GetLabel() string { + if x != nil { + return x.Label } return "" } type PublishResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //If blank, then no error occurred and the transaction was successfully //published. If not the empty string, then a string representation of the //broadcast error. // //TODO(roasbeef): map to a proper enum type - PublishError string `protobuf:"bytes,1,opt,name=publish_error,json=publishError,proto3" json:"publish_error,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + PublishError string `protobuf:"bytes,1,opt,name=publish_error,json=publishError,proto3" json:"publish_error,omitempty"` } -func (m *PublishResponse) Reset() { *m = PublishResponse{} } -func (m *PublishResponse) String() string { return proto.CompactTextString(m) } -func (*PublishResponse) ProtoMessage() {} +func (x *PublishResponse) Reset() { + *x = PublishResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_walletrpc_walletkit_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PublishResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PublishResponse) ProtoMessage() {} + +func (x *PublishResponse) ProtoReflect() protoreflect.Message { + mi := &file_walletrpc_walletkit_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 PublishResponse.ProtoReflect.Descriptor instead. func (*PublishResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6cc6942ac78249e5, []int{17} + return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{17} } -func (m *PublishResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PublishResponse.Unmarshal(m, b) -} -func (m *PublishResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PublishResponse.Marshal(b, m, deterministic) -} -func (m *PublishResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_PublishResponse.Merge(m, src) -} -func (m *PublishResponse) XXX_Size() int { - return xxx_messageInfo_PublishResponse.Size(m) -} -func (m *PublishResponse) XXX_DiscardUnknown() { - xxx_messageInfo_PublishResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_PublishResponse proto.InternalMessageInfo - -func (m *PublishResponse) GetPublishError() string { - if m != nil { - return m.PublishError +func (x *PublishResponse) GetPublishError() string { + if x != nil { + return x.PublishError } return "" } type SendOutputsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //The number of satoshis per kilo weight that should be used when crafting //this transaction. @@ -1091,197 +1283,229 @@ type SendOutputsRequest struct { // the 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 transaction. - SpendUnconfirmed bool `protobuf:"varint,5,opt,name=spend_unconfirmed,json=spendUnconfirmed,proto3" json:"spend_unconfirmed,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SpendUnconfirmed bool `protobuf:"varint,5,opt,name=spend_unconfirmed,json=spendUnconfirmed,proto3" json:"spend_unconfirmed,omitempty"` } -func (m *SendOutputsRequest) Reset() { *m = SendOutputsRequest{} } -func (m *SendOutputsRequest) String() string { return proto.CompactTextString(m) } -func (*SendOutputsRequest) ProtoMessage() {} +func (x *SendOutputsRequest) Reset() { + *x = SendOutputsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_walletrpc_walletkit_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SendOutputsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SendOutputsRequest) ProtoMessage() {} + +func (x *SendOutputsRequest) ProtoReflect() protoreflect.Message { + mi := &file_walletrpc_walletkit_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 SendOutputsRequest.ProtoReflect.Descriptor instead. func (*SendOutputsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6cc6942ac78249e5, []int{18} + return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{18} } -func (m *SendOutputsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SendOutputsRequest.Unmarshal(m, b) -} -func (m *SendOutputsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SendOutputsRequest.Marshal(b, m, deterministic) -} -func (m *SendOutputsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_SendOutputsRequest.Merge(m, src) -} -func (m *SendOutputsRequest) XXX_Size() int { - return xxx_messageInfo_SendOutputsRequest.Size(m) -} -func (m *SendOutputsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_SendOutputsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_SendOutputsRequest proto.InternalMessageInfo - -func (m *SendOutputsRequest) GetSatPerKw() int64 { - if m != nil { - return m.SatPerKw +func (x *SendOutputsRequest) GetSatPerKw() int64 { + if x != nil { + return x.SatPerKw } return 0 } -func (m *SendOutputsRequest) GetOutputs() []*signrpc.TxOut { - if m != nil { - return m.Outputs +func (x *SendOutputsRequest) GetOutputs() []*signrpc.TxOut { + if x != nil { + return x.Outputs } return nil } -func (m *SendOutputsRequest) GetLabel() string { - if m != nil { - return m.Label +func (x *SendOutputsRequest) GetLabel() string { + if x != nil { + return x.Label } return "" } -func (m *SendOutputsRequest) GetMinConfs() int32 { - if m != nil { - return m.MinConfs +func (x *SendOutputsRequest) GetMinConfs() int32 { + if x != nil { + return x.MinConfs } return 0 } -func (m *SendOutputsRequest) GetSpendUnconfirmed() bool { - if m != nil { - return m.SpendUnconfirmed +func (x *SendOutputsRequest) GetSpendUnconfirmed() bool { + if x != nil { + return x.SpendUnconfirmed } return false } type SendOutputsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //The serialized transaction sent out on the network. - RawTx []byte `protobuf:"bytes,1,opt,name=raw_tx,json=rawTx,proto3" json:"raw_tx,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + RawTx []byte `protobuf:"bytes,1,opt,name=raw_tx,json=rawTx,proto3" json:"raw_tx,omitempty"` } -func (m *SendOutputsResponse) Reset() { *m = SendOutputsResponse{} } -func (m *SendOutputsResponse) String() string { return proto.CompactTextString(m) } -func (*SendOutputsResponse) ProtoMessage() {} +func (x *SendOutputsResponse) Reset() { + *x = SendOutputsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_walletrpc_walletkit_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *SendOutputsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*SendOutputsResponse) ProtoMessage() {} + +func (x *SendOutputsResponse) ProtoReflect() protoreflect.Message { + mi := &file_walletrpc_walletkit_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 SendOutputsResponse.ProtoReflect.Descriptor instead. func (*SendOutputsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6cc6942ac78249e5, []int{19} + return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{19} } -func (m *SendOutputsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SendOutputsResponse.Unmarshal(m, b) -} -func (m *SendOutputsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SendOutputsResponse.Marshal(b, m, deterministic) -} -func (m *SendOutputsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SendOutputsResponse.Merge(m, src) -} -func (m *SendOutputsResponse) XXX_Size() int { - return xxx_messageInfo_SendOutputsResponse.Size(m) -} -func (m *SendOutputsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SendOutputsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_SendOutputsResponse proto.InternalMessageInfo - -func (m *SendOutputsResponse) GetRawTx() []byte { - if m != nil { - return m.RawTx +func (x *SendOutputsResponse) GetRawTx() []byte { + if x != nil { + return x.RawTx } return nil } type EstimateFeeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //The number of confirmations to shoot for when estimating the fee. - ConfTarget int32 `protobuf:"varint,1,opt,name=conf_target,json=confTarget,proto3" json:"conf_target,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ConfTarget int32 `protobuf:"varint,1,opt,name=conf_target,json=confTarget,proto3" json:"conf_target,omitempty"` } -func (m *EstimateFeeRequest) Reset() { *m = EstimateFeeRequest{} } -func (m *EstimateFeeRequest) String() string { return proto.CompactTextString(m) } -func (*EstimateFeeRequest) ProtoMessage() {} +func (x *EstimateFeeRequest) Reset() { + *x = EstimateFeeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_walletrpc_walletkit_proto_msgTypes[20] + 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_walletrpc_walletkit_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 EstimateFeeRequest.ProtoReflect.Descriptor instead. func (*EstimateFeeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6cc6942ac78249e5, []int{20} + return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{20} } -func (m *EstimateFeeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EstimateFeeRequest.Unmarshal(m, b) -} -func (m *EstimateFeeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EstimateFeeRequest.Marshal(b, m, deterministic) -} -func (m *EstimateFeeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_EstimateFeeRequest.Merge(m, src) -} -func (m *EstimateFeeRequest) XXX_Size() int { - return xxx_messageInfo_EstimateFeeRequest.Size(m) -} -func (m *EstimateFeeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_EstimateFeeRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_EstimateFeeRequest proto.InternalMessageInfo - -func (m *EstimateFeeRequest) GetConfTarget() int32 { - if m != nil { - return m.ConfTarget +func (x *EstimateFeeRequest) GetConfTarget() int32 { + if x != nil { + return x.ConfTarget } return 0 } type EstimateFeeResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //The amount of satoshis per kw that should be used in order to reach the //confirmation target in the request. - SatPerKw int64 `protobuf:"varint,1,opt,name=sat_per_kw,json=satPerKw,proto3" json:"sat_per_kw,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SatPerKw int64 `protobuf:"varint,1,opt,name=sat_per_kw,json=satPerKw,proto3" json:"sat_per_kw,omitempty"` } -func (m *EstimateFeeResponse) Reset() { *m = EstimateFeeResponse{} } -func (m *EstimateFeeResponse) String() string { return proto.CompactTextString(m) } -func (*EstimateFeeResponse) ProtoMessage() {} +func (x *EstimateFeeResponse) Reset() { + *x = EstimateFeeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_walletrpc_walletkit_proto_msgTypes[21] + 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_walletrpc_walletkit_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 EstimateFeeResponse.ProtoReflect.Descriptor instead. func (*EstimateFeeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6cc6942ac78249e5, []int{21} + return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{21} } -func (m *EstimateFeeResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_EstimateFeeResponse.Unmarshal(m, b) -} -func (m *EstimateFeeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_EstimateFeeResponse.Marshal(b, m, deterministic) -} -func (m *EstimateFeeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_EstimateFeeResponse.Merge(m, src) -} -func (m *EstimateFeeResponse) XXX_Size() int { - return xxx_messageInfo_EstimateFeeResponse.Size(m) -} -func (m *EstimateFeeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_EstimateFeeResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_EstimateFeeResponse proto.InternalMessageInfo - -func (m *EstimateFeeResponse) GetSatPerKw() int64 { - if m != nil { - return m.SatPerKw +func (x *EstimateFeeResponse) GetSatPerKw() int64 { + if x != nil { + return x.SatPerKw } return 0 } type PendingSweep struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The outpoint of the output we're attempting to sweep. Outpoint *lnrpc.OutPoint `protobuf:"bytes,1,opt,name=outpoint,proto3" json:"outpoint,omitempty"` // The witness type of the output we're attempting to sweep. @@ -1293,7 +1517,9 @@ type PendingSweep struct { //The fee rate we'll use to sweep the output, expressed in sat/vbyte. The fee //rate is only determined once a sweeping transaction for the output is //created, so it's possible for this to be 0 before this. - SatPerByte uint32 `protobuf:"varint,4,opt,name=sat_per_byte,json=satPerByte,proto3" json:"sat_per_byte,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + SatPerByte uint32 `protobuf:"varint,4,opt,name=sat_per_byte,json=satPerByte,proto3" json:"sat_per_byte,omitempty"` // The number of broadcast attempts we've made to sweep the output. BroadcastAttempts uint32 `protobuf:"varint,5,opt,name=broadcast_attempts,json=broadcastAttempts,proto3" json:"broadcast_attempts,omitempty"` // @@ -1304,7 +1530,9 @@ type PendingSweep struct { RequestedConfTarget uint32 `protobuf:"varint,8,opt,name=requested_conf_target,json=requestedConfTarget,proto3" json:"requested_conf_target,omitempty"` // Deprecated, use requested_sat_per_vbyte. // The requested fee rate, expressed in sat/vbyte, for this output. - RequestedSatPerByte uint32 `protobuf:"varint,9,opt,name=requested_sat_per_byte,json=requestedSatPerByte,proto3" json:"requested_sat_per_byte,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + RequestedSatPerByte uint32 `protobuf:"varint,9,opt,name=requested_sat_per_byte,json=requestedSatPerByte,proto3" json:"requested_sat_per_byte,omitempty"` // //The fee rate we'll use to sweep the output, expressed in sat/vbyte. The fee //rate is only determined once a sweeping transaction for the output is @@ -1315,189 +1543,212 @@ type PendingSweep struct { // //Whether this input must be force-swept. This means that it is swept even //if it has a negative yield. - Force bool `protobuf:"varint,7,opt,name=force,proto3" json:"force,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Force bool `protobuf:"varint,7,opt,name=force,proto3" json:"force,omitempty"` } -func (m *PendingSweep) Reset() { *m = PendingSweep{} } -func (m *PendingSweep) String() string { return proto.CompactTextString(m) } -func (*PendingSweep) ProtoMessage() {} +func (x *PendingSweep) Reset() { + *x = PendingSweep{} + if protoimpl.UnsafeEnabled { + mi := &file_walletrpc_walletkit_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PendingSweep) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PendingSweep) ProtoMessage() {} + +func (x *PendingSweep) ProtoReflect() protoreflect.Message { + mi := &file_walletrpc_walletkit_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 PendingSweep.ProtoReflect.Descriptor instead. func (*PendingSweep) Descriptor() ([]byte, []int) { - return fileDescriptor_6cc6942ac78249e5, []int{22} + return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{22} } -func (m *PendingSweep) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PendingSweep.Unmarshal(m, b) -} -func (m *PendingSweep) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PendingSweep.Marshal(b, m, deterministic) -} -func (m *PendingSweep) XXX_Merge(src proto.Message) { - xxx_messageInfo_PendingSweep.Merge(m, src) -} -func (m *PendingSweep) XXX_Size() int { - return xxx_messageInfo_PendingSweep.Size(m) -} -func (m *PendingSweep) XXX_DiscardUnknown() { - xxx_messageInfo_PendingSweep.DiscardUnknown(m) -} - -var xxx_messageInfo_PendingSweep proto.InternalMessageInfo - -func (m *PendingSweep) GetOutpoint() *lnrpc.OutPoint { - if m != nil { - return m.Outpoint +func (x *PendingSweep) GetOutpoint() *lnrpc.OutPoint { + if x != nil { + return x.Outpoint } return nil } -func (m *PendingSweep) GetWitnessType() WitnessType { - if m != nil { - return m.WitnessType +func (x *PendingSweep) GetWitnessType() WitnessType { + if x != nil { + return x.WitnessType } return WitnessType_UNKNOWN_WITNESS } -func (m *PendingSweep) GetAmountSat() uint32 { - if m != nil { - return m.AmountSat +func (x *PendingSweep) GetAmountSat() uint32 { + if x != nil { + return x.AmountSat } return 0 } // Deprecated: Do not use. -func (m *PendingSweep) GetSatPerByte() uint32 { - if m != nil { - return m.SatPerByte +func (x *PendingSweep) GetSatPerByte() uint32 { + if x != nil { + return x.SatPerByte } return 0 } -func (m *PendingSweep) GetBroadcastAttempts() uint32 { - if m != nil { - return m.BroadcastAttempts +func (x *PendingSweep) GetBroadcastAttempts() uint32 { + if x != nil { + return x.BroadcastAttempts } return 0 } -func (m *PendingSweep) GetNextBroadcastHeight() uint32 { - if m != nil { - return m.NextBroadcastHeight +func (x *PendingSweep) GetNextBroadcastHeight() uint32 { + if x != nil { + return x.NextBroadcastHeight } return 0 } -func (m *PendingSweep) GetRequestedConfTarget() uint32 { - if m != nil { - return m.RequestedConfTarget +func (x *PendingSweep) GetRequestedConfTarget() uint32 { + if x != nil { + return x.RequestedConfTarget } return 0 } // Deprecated: Do not use. -func (m *PendingSweep) GetRequestedSatPerByte() uint32 { - if m != nil { - return m.RequestedSatPerByte +func (x *PendingSweep) GetRequestedSatPerByte() uint32 { + if x != nil { + return x.RequestedSatPerByte } return 0 } -func (m *PendingSweep) GetSatPerVbyte() uint64 { - if m != nil { - return m.SatPerVbyte +func (x *PendingSweep) GetSatPerVbyte() uint64 { + if x != nil { + return x.SatPerVbyte } return 0 } -func (m *PendingSweep) GetRequestedSatPerVbyte() uint64 { - if m != nil { - return m.RequestedSatPerVbyte +func (x *PendingSweep) GetRequestedSatPerVbyte() uint64 { + if x != nil { + return x.RequestedSatPerVbyte } return 0 } -func (m *PendingSweep) GetForce() bool { - if m != nil { - return m.Force +func (x *PendingSweep) GetForce() bool { + if x != nil { + return x.Force } return false } type PendingSweepsRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *PendingSweepsRequest) Reset() { *m = PendingSweepsRequest{} } -func (m *PendingSweepsRequest) String() string { return proto.CompactTextString(m) } -func (*PendingSweepsRequest) ProtoMessage() {} +func (x *PendingSweepsRequest) Reset() { + *x = PendingSweepsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_walletrpc_walletkit_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PendingSweepsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PendingSweepsRequest) ProtoMessage() {} + +func (x *PendingSweepsRequest) ProtoReflect() protoreflect.Message { + mi := &file_walletrpc_walletkit_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 PendingSweepsRequest.ProtoReflect.Descriptor instead. func (*PendingSweepsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6cc6942ac78249e5, []int{23} + return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{23} } -func (m *PendingSweepsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PendingSweepsRequest.Unmarshal(m, b) -} -func (m *PendingSweepsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PendingSweepsRequest.Marshal(b, m, deterministic) -} -func (m *PendingSweepsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PendingSweepsRequest.Merge(m, src) -} -func (m *PendingSweepsRequest) XXX_Size() int { - return xxx_messageInfo_PendingSweepsRequest.Size(m) -} -func (m *PendingSweepsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PendingSweepsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_PendingSweepsRequest proto.InternalMessageInfo - type PendingSweepsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //The set of outputs currently being swept by lnd's central batching engine. - PendingSweeps []*PendingSweep `protobuf:"bytes,1,rep,name=pending_sweeps,json=pendingSweeps,proto3" json:"pending_sweeps,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + PendingSweeps []*PendingSweep `protobuf:"bytes,1,rep,name=pending_sweeps,json=pendingSweeps,proto3" json:"pending_sweeps,omitempty"` } -func (m *PendingSweepsResponse) Reset() { *m = PendingSweepsResponse{} } -func (m *PendingSweepsResponse) String() string { return proto.CompactTextString(m) } -func (*PendingSweepsResponse) ProtoMessage() {} +func (x *PendingSweepsResponse) Reset() { + *x = PendingSweepsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_walletrpc_walletkit_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PendingSweepsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PendingSweepsResponse) ProtoMessage() {} + +func (x *PendingSweepsResponse) ProtoReflect() protoreflect.Message { + mi := &file_walletrpc_walletkit_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 PendingSweepsResponse.ProtoReflect.Descriptor instead. func (*PendingSweepsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6cc6942ac78249e5, []int{24} + return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{24} } -func (m *PendingSweepsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PendingSweepsResponse.Unmarshal(m, b) -} -func (m *PendingSweepsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PendingSweepsResponse.Marshal(b, m, deterministic) -} -func (m *PendingSweepsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_PendingSweepsResponse.Merge(m, src) -} -func (m *PendingSweepsResponse) XXX_Size() int { - return xxx_messageInfo_PendingSweepsResponse.Size(m) -} -func (m *PendingSweepsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_PendingSweepsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_PendingSweepsResponse proto.InternalMessageInfo - -func (m *PendingSweepsResponse) GetPendingSweeps() []*PendingSweep { - if m != nil { - return m.PendingSweeps +func (x *PendingSweepsResponse) GetPendingSweeps() []*PendingSweep { + if x != nil { + return x.PendingSweeps } return nil } type BumpFeeRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The input we're attempting to bump the fee of. Outpoint *lnrpc.OutPoint `protobuf:"bytes,1,opt,name=outpoint,proto3" json:"outpoint,omitempty"` // The target number of blocks that the input should be spent within. @@ -1506,7 +1757,9 @@ type BumpFeeRequest struct { //Deprecated, use sat_per_vbyte. //The fee rate, expressed in sat/vbyte, that should be used to spend the input //with. - SatPerByte uint32 `protobuf:"varint,3,opt,name=sat_per_byte,json=satPerByte,proto3" json:"sat_per_byte,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + SatPerByte uint32 `protobuf:"varint,3,opt,name=sat_per_byte,json=satPerByte,proto3" json:"sat_per_byte,omitempty"` // //Whether this input must be force-swept. This means that it is swept even //if it has a negative yield. @@ -1514,181 +1767,229 @@ type BumpFeeRequest struct { // //The fee rate, expressed in sat/vbyte, that should be used to spend the input //with. - SatPerVbyte uint64 `protobuf:"varint,5,opt,name=sat_per_vbyte,json=satPerVbyte,proto3" json:"sat_per_vbyte,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SatPerVbyte uint64 `protobuf:"varint,5,opt,name=sat_per_vbyte,json=satPerVbyte,proto3" json:"sat_per_vbyte,omitempty"` } -func (m *BumpFeeRequest) Reset() { *m = BumpFeeRequest{} } -func (m *BumpFeeRequest) String() string { return proto.CompactTextString(m) } -func (*BumpFeeRequest) ProtoMessage() {} +func (x *BumpFeeRequest) Reset() { + *x = BumpFeeRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_walletrpc_walletkit_proto_msgTypes[25] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BumpFeeRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BumpFeeRequest) ProtoMessage() {} + +func (x *BumpFeeRequest) ProtoReflect() protoreflect.Message { + mi := &file_walletrpc_walletkit_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 BumpFeeRequest.ProtoReflect.Descriptor instead. func (*BumpFeeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6cc6942ac78249e5, []int{25} + return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{25} } -func (m *BumpFeeRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BumpFeeRequest.Unmarshal(m, b) -} -func (m *BumpFeeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BumpFeeRequest.Marshal(b, m, deterministic) -} -func (m *BumpFeeRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_BumpFeeRequest.Merge(m, src) -} -func (m *BumpFeeRequest) XXX_Size() int { - return xxx_messageInfo_BumpFeeRequest.Size(m) -} -func (m *BumpFeeRequest) XXX_DiscardUnknown() { - xxx_messageInfo_BumpFeeRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_BumpFeeRequest proto.InternalMessageInfo - -func (m *BumpFeeRequest) GetOutpoint() *lnrpc.OutPoint { - if m != nil { - return m.Outpoint +func (x *BumpFeeRequest) GetOutpoint() *lnrpc.OutPoint { + if x != nil { + return x.Outpoint } return nil } -func (m *BumpFeeRequest) GetTargetConf() uint32 { - if m != nil { - return m.TargetConf +func (x *BumpFeeRequest) GetTargetConf() uint32 { + if x != nil { + return x.TargetConf } return 0 } // Deprecated: Do not use. -func (m *BumpFeeRequest) GetSatPerByte() uint32 { - if m != nil { - return m.SatPerByte +func (x *BumpFeeRequest) GetSatPerByte() uint32 { + if x != nil { + return x.SatPerByte } return 0 } -func (m *BumpFeeRequest) GetForce() bool { - if m != nil { - return m.Force +func (x *BumpFeeRequest) GetForce() bool { + if x != nil { + return x.Force } return false } -func (m *BumpFeeRequest) GetSatPerVbyte() uint64 { - if m != nil { - return m.SatPerVbyte +func (x *BumpFeeRequest) GetSatPerVbyte() uint64 { + if x != nil { + return x.SatPerVbyte } return 0 } type BumpFeeResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *BumpFeeResponse) Reset() { *m = BumpFeeResponse{} } -func (m *BumpFeeResponse) String() string { return proto.CompactTextString(m) } -func (*BumpFeeResponse) ProtoMessage() {} +func (x *BumpFeeResponse) Reset() { + *x = BumpFeeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_walletrpc_walletkit_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *BumpFeeResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*BumpFeeResponse) ProtoMessage() {} + +func (x *BumpFeeResponse) ProtoReflect() protoreflect.Message { + mi := &file_walletrpc_walletkit_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 BumpFeeResponse.ProtoReflect.Descriptor instead. func (*BumpFeeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6cc6942ac78249e5, []int{26} + return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{26} } -func (m *BumpFeeResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BumpFeeResponse.Unmarshal(m, b) -} -func (m *BumpFeeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BumpFeeResponse.Marshal(b, m, deterministic) -} -func (m *BumpFeeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_BumpFeeResponse.Merge(m, src) -} -func (m *BumpFeeResponse) XXX_Size() int { - return xxx_messageInfo_BumpFeeResponse.Size(m) -} -func (m *BumpFeeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_BumpFeeResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_BumpFeeResponse proto.InternalMessageInfo - type ListSweepsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //Retrieve the full sweep transaction details. If false, only the sweep txids //will be returned. Note that some sweeps that LND publishes will have been //replaced-by-fee, so will not be included in this output. - Verbose bool `protobuf:"varint,1,opt,name=verbose,proto3" json:"verbose,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Verbose bool `protobuf:"varint,1,opt,name=verbose,proto3" json:"verbose,omitempty"` } -func (m *ListSweepsRequest) Reset() { *m = ListSweepsRequest{} } -func (m *ListSweepsRequest) String() string { return proto.CompactTextString(m) } -func (*ListSweepsRequest) ProtoMessage() {} +func (x *ListSweepsRequest) Reset() { + *x = ListSweepsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_walletrpc_walletkit_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListSweepsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListSweepsRequest) ProtoMessage() {} + +func (x *ListSweepsRequest) ProtoReflect() protoreflect.Message { + mi := &file_walletrpc_walletkit_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 ListSweepsRequest.ProtoReflect.Descriptor instead. func (*ListSweepsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6cc6942ac78249e5, []int{27} + return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{27} } -func (m *ListSweepsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListSweepsRequest.Unmarshal(m, b) -} -func (m *ListSweepsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListSweepsRequest.Marshal(b, m, deterministic) -} -func (m *ListSweepsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListSweepsRequest.Merge(m, src) -} -func (m *ListSweepsRequest) XXX_Size() int { - return xxx_messageInfo_ListSweepsRequest.Size(m) -} -func (m *ListSweepsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListSweepsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListSweepsRequest proto.InternalMessageInfo - -func (m *ListSweepsRequest) GetVerbose() bool { - if m != nil { - return m.Verbose +func (x *ListSweepsRequest) GetVerbose() bool { + if x != nil { + return x.Verbose } return false } type ListSweepsResponse struct { - // Types that are valid to be assigned to Sweeps: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Sweeps: // *ListSweepsResponse_TransactionDetails // *ListSweepsResponse_TransactionIds - Sweeps isListSweepsResponse_Sweeps `protobuf_oneof:"sweeps"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Sweeps isListSweepsResponse_Sweeps `protobuf_oneof:"sweeps"` } -func (m *ListSweepsResponse) Reset() { *m = ListSweepsResponse{} } -func (m *ListSweepsResponse) String() string { return proto.CompactTextString(m) } -func (*ListSweepsResponse) ProtoMessage() {} +func (x *ListSweepsResponse) Reset() { + *x = ListSweepsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_walletrpc_walletkit_proto_msgTypes[28] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListSweepsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListSweepsResponse) ProtoMessage() {} + +func (x *ListSweepsResponse) ProtoReflect() protoreflect.Message { + mi := &file_walletrpc_walletkit_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 ListSweepsResponse.ProtoReflect.Descriptor instead. func (*ListSweepsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6cc6942ac78249e5, []int{28} + return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{28} } -func (m *ListSweepsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListSweepsResponse.Unmarshal(m, b) -} -func (m *ListSweepsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListSweepsResponse.Marshal(b, m, deterministic) -} -func (m *ListSweepsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListSweepsResponse.Merge(m, src) -} -func (m *ListSweepsResponse) XXX_Size() int { - return xxx_messageInfo_ListSweepsResponse.Size(m) -} -func (m *ListSweepsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListSweepsResponse.DiscardUnknown(m) +func (m *ListSweepsResponse) GetSweeps() isListSweepsResponse_Sweeps { + if m != nil { + return m.Sweeps + } + return nil } -var xxx_messageInfo_ListSweepsResponse proto.InternalMessageInfo +func (x *ListSweepsResponse) GetTransactionDetails() *lnrpc.TransactionDetails { + if x, ok := x.GetSweeps().(*ListSweepsResponse_TransactionDetails); ok { + return x.TransactionDetails + } + return nil +} + +func (x *ListSweepsResponse) GetTransactionIds() *ListSweepsResponse_TransactionIDs { + if x, ok := x.GetSweeps().(*ListSweepsResponse_TransactionIds); ok { + return x.TransactionIds + } + return nil +} type isListSweepsResponse_Sweeps interface { isListSweepsResponse_Sweeps() @@ -1706,173 +2007,120 @@ func (*ListSweepsResponse_TransactionDetails) isListSweepsResponse_Sweeps() {} func (*ListSweepsResponse_TransactionIds) isListSweepsResponse_Sweeps() {} -func (m *ListSweepsResponse) GetSweeps() isListSweepsResponse_Sweeps { - if m != nil { - return m.Sweeps - } - return nil -} - -func (m *ListSweepsResponse) GetTransactionDetails() *lnrpc.TransactionDetails { - if x, ok := m.GetSweeps().(*ListSweepsResponse_TransactionDetails); ok { - return x.TransactionDetails - } - return nil -} - -func (m *ListSweepsResponse) GetTransactionIds() *ListSweepsResponse_TransactionIDs { - if x, ok := m.GetSweeps().(*ListSweepsResponse_TransactionIds); ok { - return x.TransactionIds - } - return nil -} - -// XXX_OneofWrappers is for the internal use of the proto package. -func (*ListSweepsResponse) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*ListSweepsResponse_TransactionDetails)(nil), - (*ListSweepsResponse_TransactionIds)(nil), - } -} - -type ListSweepsResponse_TransactionIDs struct { - // - //Reversed, hex-encoded string representing the transaction ids of the - //sweeps that our node has broadcast. Note that these transactions may - //not have confirmed yet, we record sweeps on broadcast, not confirmation. - TransactionIds []string `protobuf:"bytes,1,rep,name=transaction_ids,json=transactionIds,proto3" json:"transaction_ids,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *ListSweepsResponse_TransactionIDs) Reset() { *m = ListSweepsResponse_TransactionIDs{} } -func (m *ListSweepsResponse_TransactionIDs) String() string { return proto.CompactTextString(m) } -func (*ListSweepsResponse_TransactionIDs) ProtoMessage() {} -func (*ListSweepsResponse_TransactionIDs) Descriptor() ([]byte, []int) { - return fileDescriptor_6cc6942ac78249e5, []int{28, 0} -} - -func (m *ListSweepsResponse_TransactionIDs) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListSweepsResponse_TransactionIDs.Unmarshal(m, b) -} -func (m *ListSweepsResponse_TransactionIDs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListSweepsResponse_TransactionIDs.Marshal(b, m, deterministic) -} -func (m *ListSweepsResponse_TransactionIDs) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListSweepsResponse_TransactionIDs.Merge(m, src) -} -func (m *ListSweepsResponse_TransactionIDs) XXX_Size() int { - return xxx_messageInfo_ListSweepsResponse_TransactionIDs.Size(m) -} -func (m *ListSweepsResponse_TransactionIDs) XXX_DiscardUnknown() { - xxx_messageInfo_ListSweepsResponse_TransactionIDs.DiscardUnknown(m) -} - -var xxx_messageInfo_ListSweepsResponse_TransactionIDs proto.InternalMessageInfo - -func (m *ListSweepsResponse_TransactionIDs) GetTransactionIds() []string { - if m != nil { - return m.TransactionIds - } - return nil -} - type LabelTransactionRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The txid of the transaction to label. Txid []byte `protobuf:"bytes,1,opt,name=txid,proto3" json:"txid,omitempty"` // The label to add to the transaction, limited to 500 characters. Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` // Whether to overwrite the existing label, if it is present. - Overwrite bool `protobuf:"varint,3,opt,name=overwrite,proto3" json:"overwrite,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Overwrite bool `protobuf:"varint,3,opt,name=overwrite,proto3" json:"overwrite,omitempty"` } -func (m *LabelTransactionRequest) Reset() { *m = LabelTransactionRequest{} } -func (m *LabelTransactionRequest) String() string { return proto.CompactTextString(m) } -func (*LabelTransactionRequest) ProtoMessage() {} +func (x *LabelTransactionRequest) Reset() { + *x = LabelTransactionRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_walletrpc_walletkit_proto_msgTypes[29] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LabelTransactionRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LabelTransactionRequest) ProtoMessage() {} + +func (x *LabelTransactionRequest) ProtoReflect() protoreflect.Message { + mi := &file_walletrpc_walletkit_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 LabelTransactionRequest.ProtoReflect.Descriptor instead. func (*LabelTransactionRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6cc6942ac78249e5, []int{29} + return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{29} } -func (m *LabelTransactionRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LabelTransactionRequest.Unmarshal(m, b) -} -func (m *LabelTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LabelTransactionRequest.Marshal(b, m, deterministic) -} -func (m *LabelTransactionRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_LabelTransactionRequest.Merge(m, src) -} -func (m *LabelTransactionRequest) XXX_Size() int { - return xxx_messageInfo_LabelTransactionRequest.Size(m) -} -func (m *LabelTransactionRequest) XXX_DiscardUnknown() { - xxx_messageInfo_LabelTransactionRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_LabelTransactionRequest proto.InternalMessageInfo - -func (m *LabelTransactionRequest) GetTxid() []byte { - if m != nil { - return m.Txid +func (x *LabelTransactionRequest) GetTxid() []byte { + if x != nil { + return x.Txid } return nil } -func (m *LabelTransactionRequest) GetLabel() string { - if m != nil { - return m.Label +func (x *LabelTransactionRequest) GetLabel() string { + if x != nil { + return x.Label } return "" } -func (m *LabelTransactionRequest) GetOverwrite() bool { - if m != nil { - return m.Overwrite +func (x *LabelTransactionRequest) GetOverwrite() bool { + if x != nil { + return x.Overwrite } return false } type LabelTransactionResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *LabelTransactionResponse) Reset() { *m = LabelTransactionResponse{} } -func (m *LabelTransactionResponse) String() string { return proto.CompactTextString(m) } -func (*LabelTransactionResponse) ProtoMessage() {} +func (x *LabelTransactionResponse) Reset() { + *x = LabelTransactionResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_walletrpc_walletkit_proto_msgTypes[30] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *LabelTransactionResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*LabelTransactionResponse) ProtoMessage() {} + +func (x *LabelTransactionResponse) ProtoReflect() protoreflect.Message { + mi := &file_walletrpc_walletkit_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 LabelTransactionResponse.ProtoReflect.Descriptor instead. func (*LabelTransactionResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6cc6942ac78249e5, []int{30} + return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{30} } -func (m *LabelTransactionResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LabelTransactionResponse.Unmarshal(m, b) -} -func (m *LabelTransactionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LabelTransactionResponse.Marshal(b, m, deterministic) -} -func (m *LabelTransactionResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_LabelTransactionResponse.Merge(m, src) -} -func (m *LabelTransactionResponse) XXX_Size() int { - return xxx_messageInfo_LabelTransactionResponse.Size(m) -} -func (m *LabelTransactionResponse) XXX_DiscardUnknown() { - xxx_messageInfo_LabelTransactionResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_LabelTransactionResponse proto.InternalMessageInfo - type FundPsbtRequest struct { - // Types that are valid to be assigned to Template: + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Template: // *FundPsbtRequest_Psbt // *FundPsbtRequest_Raw Template isFundPsbtRequest_Template `protobuf_oneof:"template"` - // Types that are valid to be assigned to Fees: + // Types that are assignable to Fees: // *FundPsbtRequest_TargetConf // *FundPsbtRequest_SatPerVbyte Fees isFundPsbtRequest_Fees `protobuf_oneof:"fees"` @@ -1884,53 +2132,41 @@ type FundPsbtRequest struct { // the transaction must satisfy. MinConfs int32 `protobuf:"varint,6,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,7,opt,name=spend_unconfirmed,json=spendUnconfirmed,proto3" json:"spend_unconfirmed,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SpendUnconfirmed bool `protobuf:"varint,7,opt,name=spend_unconfirmed,json=spendUnconfirmed,proto3" json:"spend_unconfirmed,omitempty"` } -func (m *FundPsbtRequest) Reset() { *m = FundPsbtRequest{} } -func (m *FundPsbtRequest) String() string { return proto.CompactTextString(m) } -func (*FundPsbtRequest) ProtoMessage() {} +func (x *FundPsbtRequest) Reset() { + *x = FundPsbtRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_walletrpc_walletkit_proto_msgTypes[31] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FundPsbtRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FundPsbtRequest) ProtoMessage() {} + +func (x *FundPsbtRequest) ProtoReflect() protoreflect.Message { + mi := &file_walletrpc_walletkit_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 FundPsbtRequest.ProtoReflect.Descriptor instead. func (*FundPsbtRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6cc6942ac78249e5, []int{31} + return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{31} } -func (m *FundPsbtRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FundPsbtRequest.Unmarshal(m, b) -} -func (m *FundPsbtRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FundPsbtRequest.Marshal(b, m, deterministic) -} -func (m *FundPsbtRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_FundPsbtRequest.Merge(m, src) -} -func (m *FundPsbtRequest) XXX_Size() int { - return xxx_messageInfo_FundPsbtRequest.Size(m) -} -func (m *FundPsbtRequest) XXX_DiscardUnknown() { - xxx_messageInfo_FundPsbtRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_FundPsbtRequest proto.InternalMessageInfo - -type isFundPsbtRequest_Template interface { - isFundPsbtRequest_Template() -} - -type FundPsbtRequest_Psbt struct { - Psbt []byte `protobuf:"bytes,1,opt,name=psbt,proto3,oneof"` -} - -type FundPsbtRequest_Raw struct { - Raw *TxTemplate `protobuf:"bytes,2,opt,name=raw,proto3,oneof"` -} - -func (*FundPsbtRequest_Psbt) isFundPsbtRequest_Template() {} - -func (*FundPsbtRequest_Raw) isFundPsbtRequest_Template() {} - func (m *FundPsbtRequest) GetTemplate() isFundPsbtRequest_Template { if m != nil { return m.Template @@ -1938,36 +2174,20 @@ func (m *FundPsbtRequest) GetTemplate() isFundPsbtRequest_Template { return nil } -func (m *FundPsbtRequest) GetPsbt() []byte { - if x, ok := m.GetTemplate().(*FundPsbtRequest_Psbt); ok { +func (x *FundPsbtRequest) GetPsbt() []byte { + if x, ok := x.GetTemplate().(*FundPsbtRequest_Psbt); ok { return x.Psbt } return nil } -func (m *FundPsbtRequest) GetRaw() *TxTemplate { - if x, ok := m.GetTemplate().(*FundPsbtRequest_Raw); ok { +func (x *FundPsbtRequest) GetRaw() *TxTemplate { + if x, ok := x.GetTemplate().(*FundPsbtRequest_Raw); ok { return x.Raw } return nil } -type isFundPsbtRequest_Fees interface { - isFundPsbtRequest_Fees() -} - -type FundPsbtRequest_TargetConf struct { - TargetConf uint32 `protobuf:"varint,3,opt,name=target_conf,json=targetConf,proto3,oneof"` -} - -type FundPsbtRequest_SatPerVbyte struct { - SatPerVbyte uint64 `protobuf:"varint,4,opt,name=sat_per_vbyte,json=satPerVbyte,proto3,oneof"` -} - -func (*FundPsbtRequest_TargetConf) isFundPsbtRequest_Fees() {} - -func (*FundPsbtRequest_SatPerVbyte) isFundPsbtRequest_Fees() {} - func (m *FundPsbtRequest) GetFees() isFundPsbtRequest_Fees { if m != nil { return m.Fees @@ -1975,52 +2195,94 @@ func (m *FundPsbtRequest) GetFees() isFundPsbtRequest_Fees { return nil } -func (m *FundPsbtRequest) GetTargetConf() uint32 { - if x, ok := m.GetFees().(*FundPsbtRequest_TargetConf); ok { +func (x *FundPsbtRequest) GetTargetConf() uint32 { + if x, ok := x.GetFees().(*FundPsbtRequest_TargetConf); ok { return x.TargetConf } return 0 } -func (m *FundPsbtRequest) GetSatPerVbyte() uint64 { - if x, ok := m.GetFees().(*FundPsbtRequest_SatPerVbyte); ok { +func (x *FundPsbtRequest) GetSatPerVbyte() uint64 { + if x, ok := x.GetFees().(*FundPsbtRequest_SatPerVbyte); ok { return x.SatPerVbyte } return 0 } -func (m *FundPsbtRequest) GetAccount() string { - if m != nil { - return m.Account +func (x *FundPsbtRequest) GetAccount() string { + if x != nil { + return x.Account } return "" } -func (m *FundPsbtRequest) GetMinConfs() int32 { - if m != nil { - return m.MinConfs +func (x *FundPsbtRequest) GetMinConfs() int32 { + if x != nil { + return x.MinConfs } return 0 } -func (m *FundPsbtRequest) GetSpendUnconfirmed() bool { - if m != nil { - return m.SpendUnconfirmed +func (x *FundPsbtRequest) GetSpendUnconfirmed() bool { + if x != nil { + return x.SpendUnconfirmed } return false } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*FundPsbtRequest) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*FundPsbtRequest_Psbt)(nil), - (*FundPsbtRequest_Raw)(nil), - (*FundPsbtRequest_TargetConf)(nil), - (*FundPsbtRequest_SatPerVbyte)(nil), - } +type isFundPsbtRequest_Template interface { + isFundPsbtRequest_Template() } +type FundPsbtRequest_Psbt struct { + // + //Use an existing PSBT packet as the template for the funded PSBT. + // + //The packet must contain at least one non-dust output. If one or more + //inputs are specified, no coin selection is performed. In that case every + //input must be an UTXO known to the wallet that has not been locked + //before. The sum of all inputs must be sufficiently greater than the sum + //of all outputs to pay a miner fee with the specified fee rate. A change + //output is added to the PSBT if necessary. + Psbt []byte `protobuf:"bytes,1,opt,name=psbt,proto3,oneof"` +} + +type FundPsbtRequest_Raw struct { + // + //Use the outputs and optional inputs from this raw template. + Raw *TxTemplate `protobuf:"bytes,2,opt,name=raw,proto3,oneof"` +} + +func (*FundPsbtRequest_Psbt) isFundPsbtRequest_Template() {} + +func (*FundPsbtRequest_Raw) isFundPsbtRequest_Template() {} + +type isFundPsbtRequest_Fees interface { + isFundPsbtRequest_Fees() +} + +type FundPsbtRequest_TargetConf struct { + // + //The target number of blocks that the transaction should be confirmed in. + TargetConf uint32 `protobuf:"varint,3,opt,name=target_conf,json=targetConf,proto3,oneof"` +} + +type FundPsbtRequest_SatPerVbyte struct { + // + //The fee rate, expressed in sat/vbyte, that should be used to spend the + //input with. + SatPerVbyte uint64 `protobuf:"varint,4,opt,name=sat_per_vbyte,json=satPerVbyte,proto3,oneof"` +} + +func (*FundPsbtRequest_TargetConf) isFundPsbtRequest_Fees() {} + +func (*FundPsbtRequest_SatPerVbyte) isFundPsbtRequest_Fees() {} + type FundPsbtResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //The funded but not yet signed PSBT packet. FundedPsbt []byte `protobuf:"bytes,1,opt,name=funded_psbt,json=fundedPsbt,proto3" json:"funded_psbt,omitempty"` @@ -2030,59 +2292,67 @@ type FundPsbtResponse struct { // //The list of lock leases that were acquired for the inputs in the funded PSBT //packet. - LockedUtxos []*UtxoLease `protobuf:"bytes,3,rep,name=locked_utxos,json=lockedUtxos,proto3" json:"locked_utxos,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + LockedUtxos []*UtxoLease `protobuf:"bytes,3,rep,name=locked_utxos,json=lockedUtxos,proto3" json:"locked_utxos,omitempty"` } -func (m *FundPsbtResponse) Reset() { *m = FundPsbtResponse{} } -func (m *FundPsbtResponse) String() string { return proto.CompactTextString(m) } -func (*FundPsbtResponse) ProtoMessage() {} +func (x *FundPsbtResponse) Reset() { + *x = FundPsbtResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_walletrpc_walletkit_proto_msgTypes[32] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FundPsbtResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FundPsbtResponse) ProtoMessage() {} + +func (x *FundPsbtResponse) ProtoReflect() protoreflect.Message { + mi := &file_walletrpc_walletkit_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 FundPsbtResponse.ProtoReflect.Descriptor instead. func (*FundPsbtResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6cc6942ac78249e5, []int{32} + return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{32} } -func (m *FundPsbtResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FundPsbtResponse.Unmarshal(m, b) -} -func (m *FundPsbtResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FundPsbtResponse.Marshal(b, m, deterministic) -} -func (m *FundPsbtResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_FundPsbtResponse.Merge(m, src) -} -func (m *FundPsbtResponse) XXX_Size() int { - return xxx_messageInfo_FundPsbtResponse.Size(m) -} -func (m *FundPsbtResponse) XXX_DiscardUnknown() { - xxx_messageInfo_FundPsbtResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_FundPsbtResponse proto.InternalMessageInfo - -func (m *FundPsbtResponse) GetFundedPsbt() []byte { - if m != nil { - return m.FundedPsbt +func (x *FundPsbtResponse) GetFundedPsbt() []byte { + if x != nil { + return x.FundedPsbt } return nil } -func (m *FundPsbtResponse) GetChangeOutputIndex() int32 { - if m != nil { - return m.ChangeOutputIndex +func (x *FundPsbtResponse) GetChangeOutputIndex() int32 { + if x != nil { + return x.ChangeOutputIndex } return 0 } -func (m *FundPsbtResponse) GetLockedUtxos() []*UtxoLease { - if m != nil { - return m.LockedUtxos +func (x *FundPsbtResponse) GetLockedUtxos() []*UtxoLease { + if x != nil { + return x.LockedUtxos } return nil } type TxTemplate struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //An optional list of inputs to use. Every input must be an UTXO known to the //wallet that has not been locked before. The sum of all inputs must be @@ -2094,52 +2364,60 @@ type TxTemplate struct { Inputs []*lnrpc.OutPoint `protobuf:"bytes,1,rep,name=inputs,proto3" json:"inputs,omitempty"` // //A map of all addresses and the amounts to send to in the funded PSBT. - Outputs map[string]uint64 `protobuf:"bytes,2,rep,name=outputs,proto3" json:"outputs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Outputs map[string]uint64 `protobuf:"bytes,2,rep,name=outputs,proto3" json:"outputs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` } -func (m *TxTemplate) Reset() { *m = TxTemplate{} } -func (m *TxTemplate) String() string { return proto.CompactTextString(m) } -func (*TxTemplate) ProtoMessage() {} +func (x *TxTemplate) Reset() { + *x = TxTemplate{} + if protoimpl.UnsafeEnabled { + mi := &file_walletrpc_walletkit_proto_msgTypes[33] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TxTemplate) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TxTemplate) ProtoMessage() {} + +func (x *TxTemplate) ProtoReflect() protoreflect.Message { + mi := &file_walletrpc_walletkit_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 TxTemplate.ProtoReflect.Descriptor instead. func (*TxTemplate) Descriptor() ([]byte, []int) { - return fileDescriptor_6cc6942ac78249e5, []int{33} + return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{33} } -func (m *TxTemplate) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TxTemplate.Unmarshal(m, b) -} -func (m *TxTemplate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TxTemplate.Marshal(b, m, deterministic) -} -func (m *TxTemplate) XXX_Merge(src proto.Message) { - xxx_messageInfo_TxTemplate.Merge(m, src) -} -func (m *TxTemplate) XXX_Size() int { - return xxx_messageInfo_TxTemplate.Size(m) -} -func (m *TxTemplate) XXX_DiscardUnknown() { - xxx_messageInfo_TxTemplate.DiscardUnknown(m) -} - -var xxx_messageInfo_TxTemplate proto.InternalMessageInfo - -func (m *TxTemplate) GetInputs() []*lnrpc.OutPoint { - if m != nil { - return m.Inputs +func (x *TxTemplate) GetInputs() []*lnrpc.OutPoint { + if x != nil { + return x.Inputs } return nil } -func (m *TxTemplate) GetOutputs() map[string]uint64 { - if m != nil { - return m.Outputs +func (x *TxTemplate) GetOutputs() map[string]uint64 { + if x != nil { + return x.Outputs } return nil } type UtxoLease struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //A 32 byte random ID that identifies the lease. Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` @@ -2147,59 +2425,67 @@ type UtxoLease struct { Outpoint *lnrpc.OutPoint `protobuf:"bytes,2,opt,name=outpoint,proto3" json:"outpoint,omitempty"` // //The absolute expiration of the output lease represented as a unix timestamp. - Expiration uint64 `protobuf:"varint,3,opt,name=expiration,proto3" json:"expiration,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Expiration uint64 `protobuf:"varint,3,opt,name=expiration,proto3" json:"expiration,omitempty"` } -func (m *UtxoLease) Reset() { *m = UtxoLease{} } -func (m *UtxoLease) String() string { return proto.CompactTextString(m) } -func (*UtxoLease) ProtoMessage() {} +func (x *UtxoLease) Reset() { + *x = UtxoLease{} + if protoimpl.UnsafeEnabled { + mi := &file_walletrpc_walletkit_proto_msgTypes[34] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UtxoLease) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UtxoLease) ProtoMessage() {} + +func (x *UtxoLease) ProtoReflect() protoreflect.Message { + mi := &file_walletrpc_walletkit_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 UtxoLease.ProtoReflect.Descriptor instead. func (*UtxoLease) Descriptor() ([]byte, []int) { - return fileDescriptor_6cc6942ac78249e5, []int{34} + return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{34} } -func (m *UtxoLease) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UtxoLease.Unmarshal(m, b) -} -func (m *UtxoLease) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UtxoLease.Marshal(b, m, deterministic) -} -func (m *UtxoLease) XXX_Merge(src proto.Message) { - xxx_messageInfo_UtxoLease.Merge(m, src) -} -func (m *UtxoLease) XXX_Size() int { - return xxx_messageInfo_UtxoLease.Size(m) -} -func (m *UtxoLease) XXX_DiscardUnknown() { - xxx_messageInfo_UtxoLease.DiscardUnknown(m) -} - -var xxx_messageInfo_UtxoLease proto.InternalMessageInfo - -func (m *UtxoLease) GetId() []byte { - if m != nil { - return m.Id +func (x *UtxoLease) GetId() []byte { + if x != nil { + return x.Id } return nil } -func (m *UtxoLease) GetOutpoint() *lnrpc.OutPoint { - if m != nil { - return m.Outpoint +func (x *UtxoLease) GetOutpoint() *lnrpc.OutPoint { + if x != nil { + return x.Outpoint } return nil } -func (m *UtxoLease) GetExpiration() uint64 { - if m != nil { - return m.Expiration +func (x *UtxoLease) GetExpiration() uint64 { + if x != nil { + return x.Expiration } return 0 } type FinalizePsbtRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //A PSBT that should be signed and finalized. The PSBT must contain all //required inputs, outputs, UTXO data and partial signatures of all other @@ -2208,372 +2494,1310 @@ type FinalizePsbtRequest struct { // //The name of the account to finalize the PSBT with. If empty, the default //wallet account is used. - Account string `protobuf:"bytes,5,opt,name=account,proto3" json:"account,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Account string `protobuf:"bytes,5,opt,name=account,proto3" json:"account,omitempty"` } -func (m *FinalizePsbtRequest) Reset() { *m = FinalizePsbtRequest{} } -func (m *FinalizePsbtRequest) String() string { return proto.CompactTextString(m) } -func (*FinalizePsbtRequest) ProtoMessage() {} +func (x *FinalizePsbtRequest) Reset() { + *x = FinalizePsbtRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_walletrpc_walletkit_proto_msgTypes[35] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FinalizePsbtRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FinalizePsbtRequest) ProtoMessage() {} + +func (x *FinalizePsbtRequest) ProtoReflect() protoreflect.Message { + mi := &file_walletrpc_walletkit_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 FinalizePsbtRequest.ProtoReflect.Descriptor instead. func (*FinalizePsbtRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6cc6942ac78249e5, []int{35} + return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{35} } -func (m *FinalizePsbtRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FinalizePsbtRequest.Unmarshal(m, b) -} -func (m *FinalizePsbtRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FinalizePsbtRequest.Marshal(b, m, deterministic) -} -func (m *FinalizePsbtRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_FinalizePsbtRequest.Merge(m, src) -} -func (m *FinalizePsbtRequest) XXX_Size() int { - return xxx_messageInfo_FinalizePsbtRequest.Size(m) -} -func (m *FinalizePsbtRequest) XXX_DiscardUnknown() { - xxx_messageInfo_FinalizePsbtRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_FinalizePsbtRequest proto.InternalMessageInfo - -func (m *FinalizePsbtRequest) GetFundedPsbt() []byte { - if m != nil { - return m.FundedPsbt +func (x *FinalizePsbtRequest) GetFundedPsbt() []byte { + if x != nil { + return x.FundedPsbt } return nil } -func (m *FinalizePsbtRequest) GetAccount() string { - if m != nil { - return m.Account +func (x *FinalizePsbtRequest) GetAccount() string { + if x != nil { + return x.Account } return "" } type FinalizePsbtResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The fully signed and finalized transaction in PSBT format. SignedPsbt []byte `protobuf:"bytes,1,opt,name=signed_psbt,json=signedPsbt,proto3" json:"signed_psbt,omitempty"` // The fully signed and finalized transaction in the raw wire format. - RawFinalTx []byte `protobuf:"bytes,2,opt,name=raw_final_tx,json=rawFinalTx,proto3" json:"raw_final_tx,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + RawFinalTx []byte `protobuf:"bytes,2,opt,name=raw_final_tx,json=rawFinalTx,proto3" json:"raw_final_tx,omitempty"` } -func (m *FinalizePsbtResponse) Reset() { *m = FinalizePsbtResponse{} } -func (m *FinalizePsbtResponse) String() string { return proto.CompactTextString(m) } -func (*FinalizePsbtResponse) ProtoMessage() {} +func (x *FinalizePsbtResponse) Reset() { + *x = FinalizePsbtResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_walletrpc_walletkit_proto_msgTypes[36] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FinalizePsbtResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FinalizePsbtResponse) ProtoMessage() {} + +func (x *FinalizePsbtResponse) ProtoReflect() protoreflect.Message { + mi := &file_walletrpc_walletkit_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 FinalizePsbtResponse.ProtoReflect.Descriptor instead. func (*FinalizePsbtResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6cc6942ac78249e5, []int{36} + return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{36} } -func (m *FinalizePsbtResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_FinalizePsbtResponse.Unmarshal(m, b) -} -func (m *FinalizePsbtResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_FinalizePsbtResponse.Marshal(b, m, deterministic) -} -func (m *FinalizePsbtResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_FinalizePsbtResponse.Merge(m, src) -} -func (m *FinalizePsbtResponse) XXX_Size() int { - return xxx_messageInfo_FinalizePsbtResponse.Size(m) -} -func (m *FinalizePsbtResponse) XXX_DiscardUnknown() { - xxx_messageInfo_FinalizePsbtResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_FinalizePsbtResponse proto.InternalMessageInfo - -func (m *FinalizePsbtResponse) GetSignedPsbt() []byte { - if m != nil { - return m.SignedPsbt +func (x *FinalizePsbtResponse) GetSignedPsbt() []byte { + if x != nil { + return x.SignedPsbt } return nil } -func (m *FinalizePsbtResponse) GetRawFinalTx() []byte { - if m != nil { - return m.RawFinalTx +func (x *FinalizePsbtResponse) GetRawFinalTx() []byte { + if x != nil { + return x.RawFinalTx } return nil } type ListLeasesRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *ListLeasesRequest) Reset() { *m = ListLeasesRequest{} } -func (m *ListLeasesRequest) String() string { return proto.CompactTextString(m) } -func (*ListLeasesRequest) ProtoMessage() {} +func (x *ListLeasesRequest) Reset() { + *x = ListLeasesRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_walletrpc_walletkit_proto_msgTypes[37] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListLeasesRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListLeasesRequest) ProtoMessage() {} + +func (x *ListLeasesRequest) ProtoReflect() protoreflect.Message { + mi := &file_walletrpc_walletkit_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 ListLeasesRequest.ProtoReflect.Descriptor instead. func (*ListLeasesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_6cc6942ac78249e5, []int{37} + return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{37} } -func (m *ListLeasesRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListLeasesRequest.Unmarshal(m, b) -} -func (m *ListLeasesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListLeasesRequest.Marshal(b, m, deterministic) -} -func (m *ListLeasesRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListLeasesRequest.Merge(m, src) -} -func (m *ListLeasesRequest) XXX_Size() int { - return xxx_messageInfo_ListLeasesRequest.Size(m) -} -func (m *ListLeasesRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListLeasesRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListLeasesRequest proto.InternalMessageInfo - type ListLeasesResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The list of currently leased utxos. - LockedUtxos []*UtxoLease `protobuf:"bytes,1,rep,name=locked_utxos,json=lockedUtxos,proto3" json:"locked_utxos,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + LockedUtxos []*UtxoLease `protobuf:"bytes,1,rep,name=locked_utxos,json=lockedUtxos,proto3" json:"locked_utxos,omitempty"` } -func (m *ListLeasesResponse) Reset() { *m = ListLeasesResponse{} } -func (m *ListLeasesResponse) String() string { return proto.CompactTextString(m) } -func (*ListLeasesResponse) ProtoMessage() {} +func (x *ListLeasesResponse) Reset() { + *x = ListLeasesResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_walletrpc_walletkit_proto_msgTypes[38] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListLeasesResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListLeasesResponse) ProtoMessage() {} + +func (x *ListLeasesResponse) ProtoReflect() protoreflect.Message { + mi := &file_walletrpc_walletkit_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 ListLeasesResponse.ProtoReflect.Descriptor instead. func (*ListLeasesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_6cc6942ac78249e5, []int{38} + return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{38} } -func (m *ListLeasesResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListLeasesResponse.Unmarshal(m, b) -} -func (m *ListLeasesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListLeasesResponse.Marshal(b, m, deterministic) -} -func (m *ListLeasesResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListLeasesResponse.Merge(m, src) -} -func (m *ListLeasesResponse) XXX_Size() int { - return xxx_messageInfo_ListLeasesResponse.Size(m) -} -func (m *ListLeasesResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListLeasesResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListLeasesResponse proto.InternalMessageInfo - -func (m *ListLeasesResponse) GetLockedUtxos() []*UtxoLease { - if m != nil { - return m.LockedUtxos +func (x *ListLeasesResponse) GetLockedUtxos() []*UtxoLease { + if x != nil { + return x.LockedUtxos } return nil } -func init() { - proto.RegisterEnum("walletrpc.AddressType", AddressType_name, AddressType_value) - proto.RegisterEnum("walletrpc.WitnessType", WitnessType_name, WitnessType_value) - proto.RegisterType((*ListUnspentRequest)(nil), "walletrpc.ListUnspentRequest") - proto.RegisterType((*ListUnspentResponse)(nil), "walletrpc.ListUnspentResponse") - proto.RegisterType((*LeaseOutputRequest)(nil), "walletrpc.LeaseOutputRequest") - proto.RegisterType((*LeaseOutputResponse)(nil), "walletrpc.LeaseOutputResponse") - proto.RegisterType((*ReleaseOutputRequest)(nil), "walletrpc.ReleaseOutputRequest") - proto.RegisterType((*ReleaseOutputResponse)(nil), "walletrpc.ReleaseOutputResponse") - proto.RegisterType((*KeyReq)(nil), "walletrpc.KeyReq") - proto.RegisterType((*AddrRequest)(nil), "walletrpc.AddrRequest") - proto.RegisterType((*AddrResponse)(nil), "walletrpc.AddrResponse") - proto.RegisterType((*Account)(nil), "walletrpc.Account") - proto.RegisterType((*ListAccountsRequest)(nil), "walletrpc.ListAccountsRequest") - proto.RegisterType((*ListAccountsResponse)(nil), "walletrpc.ListAccountsResponse") - proto.RegisterType((*ImportAccountRequest)(nil), "walletrpc.ImportAccountRequest") - proto.RegisterType((*ImportAccountResponse)(nil), "walletrpc.ImportAccountResponse") - proto.RegisterType((*ImportPublicKeyRequest)(nil), "walletrpc.ImportPublicKeyRequest") - proto.RegisterType((*ImportPublicKeyResponse)(nil), "walletrpc.ImportPublicKeyResponse") - proto.RegisterType((*Transaction)(nil), "walletrpc.Transaction") - proto.RegisterType((*PublishResponse)(nil), "walletrpc.PublishResponse") - proto.RegisterType((*SendOutputsRequest)(nil), "walletrpc.SendOutputsRequest") - proto.RegisterType((*SendOutputsResponse)(nil), "walletrpc.SendOutputsResponse") - proto.RegisterType((*EstimateFeeRequest)(nil), "walletrpc.EstimateFeeRequest") - proto.RegisterType((*EstimateFeeResponse)(nil), "walletrpc.EstimateFeeResponse") - proto.RegisterType((*PendingSweep)(nil), "walletrpc.PendingSweep") - proto.RegisterType((*PendingSweepsRequest)(nil), "walletrpc.PendingSweepsRequest") - proto.RegisterType((*PendingSweepsResponse)(nil), "walletrpc.PendingSweepsResponse") - proto.RegisterType((*BumpFeeRequest)(nil), "walletrpc.BumpFeeRequest") - proto.RegisterType((*BumpFeeResponse)(nil), "walletrpc.BumpFeeResponse") - proto.RegisterType((*ListSweepsRequest)(nil), "walletrpc.ListSweepsRequest") - proto.RegisterType((*ListSweepsResponse)(nil), "walletrpc.ListSweepsResponse") - proto.RegisterType((*ListSweepsResponse_TransactionIDs)(nil), "walletrpc.ListSweepsResponse.TransactionIDs") - proto.RegisterType((*LabelTransactionRequest)(nil), "walletrpc.LabelTransactionRequest") - proto.RegisterType((*LabelTransactionResponse)(nil), "walletrpc.LabelTransactionResponse") - proto.RegisterType((*FundPsbtRequest)(nil), "walletrpc.FundPsbtRequest") - proto.RegisterType((*FundPsbtResponse)(nil), "walletrpc.FundPsbtResponse") - proto.RegisterType((*TxTemplate)(nil), "walletrpc.TxTemplate") - proto.RegisterMapType((map[string]uint64)(nil), "walletrpc.TxTemplate.OutputsEntry") - proto.RegisterType((*UtxoLease)(nil), "walletrpc.UtxoLease") - proto.RegisterType((*FinalizePsbtRequest)(nil), "walletrpc.FinalizePsbtRequest") - proto.RegisterType((*FinalizePsbtResponse)(nil), "walletrpc.FinalizePsbtResponse") - proto.RegisterType((*ListLeasesRequest)(nil), "walletrpc.ListLeasesRequest") - proto.RegisterType((*ListLeasesResponse)(nil), "walletrpc.ListLeasesResponse") +type ListSweepsResponse_TransactionIDs struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // + //Reversed, hex-encoded string representing the transaction ids of the + //sweeps that our node has broadcast. Note that these transactions may + //not have confirmed yet, we record sweeps on broadcast, not confirmation. + TransactionIds []string `protobuf:"bytes,1,rep,name=transaction_ids,json=transactionIds,proto3" json:"transaction_ids,omitempty"` } -func init() { proto.RegisterFile("walletrpc/walletkit.proto", fileDescriptor_6cc6942ac78249e5) } +func (x *ListSweepsResponse_TransactionIDs) Reset() { + *x = ListSweepsResponse_TransactionIDs{} + if protoimpl.UnsafeEnabled { + mi := &file_walletrpc_walletkit_proto_msgTypes[39] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} -var fileDescriptor_6cc6942ac78249e5 = []byte{ - // 2262 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x59, 0x5f, 0x53, 0xe3, 0xc8, - 0x11, 0x5f, 0xff, 0x01, 0xec, 0xb6, 0x0d, 0x66, 0x6c, 0xfe, 0xac, 0x97, 0x5d, 0x58, 0x5d, 0x92, - 0x25, 0x77, 0x7b, 0xa6, 0xc2, 0x65, 0x73, 0xbb, 0x9b, 0x54, 0x2a, 0x60, 0x4c, 0x99, 0xb2, 0xc1, - 0x8e, 0x6c, 0x96, 0x6c, 0xf2, 0xa0, 0x12, 0xd6, 0x80, 0x55, 0xd8, 0x92, 0x4e, 0x1a, 0x63, 0xfb, - 0x9e, 0xee, 0x3b, 0xe4, 0x29, 0x55, 0xf9, 0x0e, 0xa9, 0xca, 0x73, 0x2a, 0x5f, 0x20, 0xdf, 0x22, - 0x9f, 0x23, 0x0f, 0xa9, 0xf9, 0x23, 0x69, 0x24, 0x1b, 0x6e, 0xaf, 0xee, 0x9e, 0xb0, 0xfa, 0xd7, - 0xdd, 0xd3, 0xd3, 0xdd, 0x33, 0xdd, 0x3d, 0xc0, 0xd3, 0x89, 0x3e, 0x1c, 0x62, 0xe2, 0x3a, 0xfd, - 0x03, 0xfe, 0xeb, 0xce, 0x24, 0x55, 0xc7, 0xb5, 0x89, 0x8d, 0xb2, 0x01, 0x54, 0xc9, 0xba, 0x4e, - 0x9f, 0x53, 0x2b, 0x65, 0xcf, 0xbc, 0xb5, 0x28, 0x3b, 0xfd, 0x8b, 0x5d, 0x4e, 0x55, 0x06, 0x80, - 0x5a, 0xa6, 0x47, 0x2e, 0x2d, 0xcf, 0xc1, 0x16, 0x51, 0xf1, 0x37, 0x63, 0xec, 0x11, 0xf4, 0x0c, - 0xb2, 0x23, 0xd3, 0xd2, 0xfa, 0xb6, 0x75, 0xe3, 0x6d, 0x27, 0xf6, 0x12, 0xfb, 0x4b, 0x6a, 0x66, - 0x64, 0x5a, 0x35, 0xfa, 0xcd, 0x40, 0x7d, 0x2a, 0xc0, 0xa4, 0x00, 0xf5, 0x29, 0x07, 0xb7, 0x61, - 0x45, 0xef, 0xf7, 0xed, 0xb1, 0x45, 0xb6, 0x53, 0x7b, 0x89, 0xfd, 0xac, 0xea, 0x7f, 0x2a, 0x6f, - 0xa1, 0x14, 0x59, 0xc9, 0x73, 0x6c, 0xcb, 0xc3, 0xe8, 0x25, 0x2c, 0x8d, 0xc9, 0xd4, 0xa6, 0xcb, - 0xa4, 0xf6, 0x73, 0x87, 0xb9, 0xea, 0x90, 0x1a, 0x59, 0xbd, 0x24, 0x53, 0x5b, 0xe5, 0x88, 0xf2, - 0x5d, 0x02, 0x50, 0x0b, 0xeb, 0x1e, 0x6e, 0x8f, 0x89, 0x33, 0x0e, 0x8c, 0x5c, 0x85, 0xa4, 0x69, - 0x30, 0xeb, 0xf2, 0x6a, 0xd2, 0x34, 0xd0, 0x17, 0x90, 0xb1, 0xc7, 0xc4, 0xb1, 0x4d, 0x8b, 0x30, - 0xb3, 0x72, 0x87, 0x6b, 0x42, 0x59, 0x7b, 0x4c, 0x3a, 0x94, 0xac, 0x06, 0x0c, 0xe8, 0x4b, 0x40, - 0x78, 0xea, 0x98, 0xae, 0x4e, 0x4c, 0xdb, 0xd2, 0x3c, 0xdc, 0xb7, 0x2d, 0xc3, 0x63, 0x26, 0xa7, - 0xd5, 0xf5, 0x10, 0xe9, 0x72, 0x40, 0x79, 0x03, 0xa5, 0x88, 0x05, 0xc2, 0xf8, 0x17, 0x00, 0x21, - 0x2f, 0x33, 0x25, 0xad, 0x4a, 0x14, 0xa5, 0x0b, 0x65, 0x15, 0x0f, 0x7f, 0x5a, 0xd3, 0x95, 0x2d, - 0xd8, 0x88, 0x29, 0xe5, 0xd6, 0x28, 0x7f, 0x84, 0xe5, 0x26, 0x9e, 0xa9, 0xf8, 0x1b, 0xb4, 0x0f, - 0xc5, 0x3b, 0x3c, 0xd3, 0x6e, 0x4c, 0xeb, 0x16, 0xbb, 0x9a, 0xe3, 0x52, 0xbd, 0x3c, 0x8c, 0xab, - 0x77, 0x78, 0x76, 0xca, 0xc8, 0x1d, 0x4a, 0x45, 0xcf, 0x01, 0x18, 0xa7, 0x3e, 0x32, 0x87, 0x33, - 0x11, 0xcd, 0x2c, 0xe5, 0x61, 0x04, 0xe5, 0x15, 0xe4, 0x8e, 0x0c, 0xc3, 0xf5, 0xed, 0x96, 0xa2, - 0x9b, 0x88, 0x46, 0x57, 0x81, 0x3c, 0x67, 0x14, 0x9e, 0x41, 0x90, 0xd6, 0x0d, 0xc3, 0x15, 0x6c, - 0xec, 0xb7, 0xf2, 0xdf, 0x24, 0xac, 0x1c, 0x71, 0x7e, 0x8a, 0x5b, 0xfa, 0x08, 0xfb, 0x38, 0xfd, - 0x8d, 0xde, 0x41, 0x9e, 0xf2, 0x61, 0xcf, 0xd3, 0xc8, 0xcc, 0xc1, 0xcc, 0x9a, 0xd5, 0xc3, 0xcd, - 0x6a, 0x90, 0xce, 0xd5, 0x23, 0x0e, 0xf7, 0x66, 0x0e, 0x56, 0x73, 0x7a, 0xf8, 0x81, 0xaa, 0x50, - 0xc2, 0x53, 0x82, 0x2d, 0x03, 0x1b, 0x9a, 0x33, 0xbe, 0x1e, 0x9a, 0x7d, 0xed, 0x0e, 0xcf, 0x44, - 0x0a, 0xae, 0xfb, 0x50, 0x87, 0x21, 0x4d, 0x3c, 0x43, 0xbf, 0x86, 0xcd, 0x91, 0xee, 0x11, 0xec, - 0x6a, 0xa1, 0x9f, 0xb8, 0x9b, 0xd2, 0x7b, 0x89, 0xfd, 0x82, 0x5a, 0xe6, 0x68, 0xd3, 0x77, 0x16, - 0xc3, 0xd0, 0x2b, 0x58, 0x33, 0xb0, 0x6b, 0xde, 0xf3, 0xa4, 0x71, 0x74, 0x32, 0xd8, 0x5e, 0x62, - 0x2b, 0xac, 0x86, 0xe4, 0x8e, 0x4e, 0x06, 0xe8, 0x35, 0xcd, 0x2e, 0x82, 0x5d, 0x4b, 0x1f, 0xb2, - 0x05, 0xb8, 0xcb, 0x96, 0x99, 0xea, 0xa2, 0x8f, 0x34, 0xf1, 0xac, 0xc6, 0x7c, 0xf1, 0x1a, 0x90, - 0x69, 0xcd, 0x71, 0xaf, 0x70, 0x6e, 0x1f, 0x09, 0xb8, 0x9f, 0x03, 0x4c, 0x74, 0xd2, 0x1f, 0x68, - 0xb6, 0x35, 0x9c, 0x6d, 0x67, 0xf6, 0x12, 0xfb, 0x19, 0x35, 0xcb, 0x28, 0x6d, 0x6b, 0x38, 0x53, - 0x0c, 0x7e, 0xcc, 0x84, 0x9f, 0x3d, 0x3f, 0x72, 0x3f, 0xad, 0xbf, 0x95, 0x53, 0x28, 0x47, 0x57, - 0x11, 0x61, 0xaf, 0x42, 0x46, 0x64, 0x84, 0x7f, 0xa0, 0x91, 0xac, 0x8e, 0x43, 0x6a, 0xc0, 0xa3, - 0xfc, 0x27, 0x01, 0xe5, 0xb3, 0x91, 0x63, 0xbb, 0xbe, 0xaa, 0xc7, 0xec, 0x7d, 0x20, 0xc8, 0xc9, - 0x1f, 0x1e, 0xe4, 0xd4, 0x23, 0x41, 0x8e, 0x7b, 0x25, 0xfd, 0xe9, 0x5e, 0xd9, 0x82, 0x8d, 0xd8, - 0x66, 0xc4, 0xc9, 0x74, 0x61, 0x93, 0x03, 0x81, 0x71, 0xfe, 0x3e, 0x9f, 0x03, 0x48, 0x5b, 0xe1, - 0x37, 0x42, 0xd6, 0x09, 0xb6, 0xf0, 0x23, 0x42, 0xf4, 0x14, 0xb6, 0xe6, 0xd6, 0x14, 0xe6, 0xbc, - 0x87, 0x5c, 0xcf, 0xd5, 0x2d, 0x4f, 0xef, 0xd3, 0x8c, 0x45, 0x1b, 0xb0, 0x4c, 0xa6, 0xda, 0x00, - 0x4f, 0xc5, 0xfa, 0x4b, 0x64, 0xda, 0xc0, 0x53, 0x54, 0x86, 0xa5, 0xa1, 0x7e, 0x8d, 0x87, 0xc2, - 0xc1, 0xfc, 0x43, 0xf9, 0x0d, 0xac, 0x31, 0x85, 0xde, 0x20, 0x08, 0xfa, 0x67, 0x50, 0x70, 0x38, - 0x49, 0xc3, 0xae, 0x6b, 0xfb, 0x87, 0x3e, 0x2f, 0x88, 0x75, 0x4a, 0x53, 0xfe, 0x95, 0x00, 0xd4, - 0xc5, 0x96, 0xc1, 0xef, 0xac, 0x20, 0x2f, 0x77, 0x00, 0x3c, 0x9d, 0x68, 0x0e, 0x0d, 0xd2, 0x84, - 0x09, 0xa6, 0xd4, 0x8c, 0xa7, 0x93, 0x0e, 0x76, 0x9b, 0x13, 0xb4, 0x0f, 0x2b, 0x36, 0xe7, 0xdf, - 0x4e, 0xb2, 0x6c, 0x5a, 0xad, 0x8a, 0x2a, 0x56, 0xed, 0x4d, 0xdb, 0x63, 0xa2, 0xfa, 0x70, 0x68, - 0x6c, 0x4a, 0x32, 0x36, 0x5a, 0xc7, 0xd2, 0xb1, 0x3a, 0xf6, 0x05, 0xac, 0xd3, 0x52, 0x64, 0x68, - 0x63, 0x8b, 0x32, 0x98, 0xee, 0x08, 0x1b, 0xec, 0x3c, 0x67, 0xd4, 0x22, 0x03, 0x2e, 0x43, 0xba, - 0xf2, 0x1a, 0x4a, 0x11, 0xeb, 0xc5, 0xd6, 0x37, 0x60, 0xd9, 0xd5, 0x27, 0x1a, 0x09, 0x5c, 0xe7, - 0xea, 0x93, 0xde, 0x54, 0x79, 0x03, 0xa8, 0xee, 0x11, 0x73, 0xa4, 0x13, 0x7c, 0x8a, 0xb1, 0xbf, - 0xd7, 0x5d, 0xc8, 0x51, 0x85, 0x1a, 0xd1, 0xdd, 0x5b, 0xec, 0x5f, 0xc8, 0x40, 0x49, 0x3d, 0x46, - 0x51, 0xbe, 0x82, 0x52, 0x44, 0x4c, 0x2c, 0xf2, 0xa8, 0x8f, 0x94, 0xff, 0xa5, 0x20, 0xdf, 0xc1, - 0x96, 0x61, 0x5a, 0xb7, 0xdd, 0x09, 0xc6, 0x4e, 0xa4, 0x98, 0x24, 0xbe, 0xaf, 0x0e, 0xbe, 0x83, - 0xfc, 0xc4, 0x24, 0xd6, 0x23, 0x09, 0x76, 0xc5, 0x61, 0x9e, 0x60, 0x93, 0xf0, 0x83, 0xa6, 0xae, - 0x3e, 0xa2, 0x69, 0xae, 0x79, 0xba, 0x7f, 0xa4, 0xb2, 0x9c, 0xd2, 0xd5, 0x09, 0xfa, 0x19, 0xe4, - 0x7d, 0xab, 0xaf, 0x67, 0x84, 0x9f, 0xa3, 0xc2, 0x71, 0x72, 0x3b, 0xa1, 0x02, 0xb7, 0xfd, 0x78, - 0x46, 0x30, 0xad, 0xc3, 0xd7, 0xae, 0xad, 0x1b, 0x7d, 0xdd, 0x23, 0x9a, 0x4e, 0x08, 0x1e, 0x39, - 0xc4, 0x63, 0x51, 0x28, 0xa8, 0xeb, 0x01, 0x72, 0x24, 0x00, 0x74, 0x08, 0x1b, 0x16, 0x9e, 0x12, - 0x2d, 0x94, 0x19, 0x60, 0xf3, 0x76, 0xe0, 0xdf, 0xad, 0x25, 0x0a, 0x1e, 0xfb, 0x58, 0x83, 0x41, - 0x54, 0xc6, 0xe5, 0x11, 0xc0, 0x86, 0x26, 0x07, 0x20, 0xc3, 0x65, 0x02, 0xb0, 0x16, 0x44, 0x02, - 0x7d, 0x0d, 0x9b, 0xa1, 0x4c, 0x64, 0x1b, 0xd9, 0x60, 0x1b, 0xa1, 0x60, 0x37, 0xdc, 0x8f, 0x02, - 0x05, 0x9f, 0xfd, 0x9e, 0xf1, 0x03, 0x6b, 0x0a, 0x72, 0x7c, 0xcb, 0x1f, 0x28, 0x09, 0xbd, 0x81, - 0xad, 0x79, 0xe5, 0x9c, 0x3b, 0xc7, 0xb8, 0xcb, 0x31, 0xcd, 0x5c, 0xac, 0x0c, 0x4b, 0x37, 0xb6, - 0xdb, 0xc7, 0xac, 0x32, 0x64, 0x54, 0xfe, 0xa1, 0x6c, 0x42, 0x59, 0x8e, 0xbe, 0x7f, 0xb0, 0x94, - 0x2b, 0xd8, 0x88, 0xd1, 0x45, 0x36, 0xfd, 0x1e, 0x56, 0x1d, 0x0e, 0x68, 0x1e, 0x43, 0xc4, 0x45, - 0xbd, 0x25, 0xc5, 0x5c, 0x96, 0x54, 0x0b, 0x8e, 0xac, 0x47, 0xf9, 0x77, 0x02, 0x56, 0x8f, 0xc7, - 0x23, 0x47, 0x4a, 0xec, 0x1f, 0x94, 0x71, 0xbb, 0x90, 0xe3, 0xfe, 0x67, 0xb1, 0x60, 0x09, 0x57, - 0x50, 0x81, 0x93, 0x68, 0x04, 0xe6, 0x12, 0x27, 0xb5, 0x30, 0x71, 0x02, 0x6f, 0xa4, 0x25, 0x6f, - 0xcc, 0xbb, 0x7f, 0x69, 0xce, 0xfd, 0xca, 0x3a, 0xac, 0x05, 0xf6, 0x8b, 0x0b, 0xf1, 0x4b, 0x58, - 0xa7, 0xe5, 0x2c, 0xe2, 0x41, 0xda, 0xec, 0xdc, 0x63, 0xf7, 0xda, 0xf6, 0x78, 0x15, 0xca, 0xa8, - 0xfe, 0xa7, 0xf2, 0x5d, 0x92, 0x77, 0xcd, 0x31, 0xcf, 0xb6, 0xa0, 0x44, 0xc2, 0x6b, 0x55, 0x33, - 0x30, 0xd1, 0xcd, 0xa1, 0x27, 0x3c, 0xf2, 0x54, 0x78, 0x44, 0xba, 0x78, 0x4f, 0x38, 0x43, 0xe3, - 0x89, 0x8a, 0xc8, 0x1c, 0x15, 0x5d, 0xc1, 0x9a, 0xac, 0xcd, 0x34, 0x3c, 0xd1, 0x1a, 0xbe, 0x96, - 0x02, 0x35, 0x6f, 0x85, 0xbc, 0xc0, 0xd9, 0x09, 0x55, 0xbe, 0x2a, 0xa9, 0x39, 0x33, 0xbc, 0xca, - 0x3b, 0x58, 0x8d, 0xf2, 0xd0, 0xbe, 0x26, 0xbe, 0x14, 0xcd, 0x89, 0x6c, 0x5c, 0xf4, 0x38, 0x03, - 0xcb, 0x3c, 0x67, 0x14, 0x1d, 0xb6, 0x5a, 0xf4, 0x8a, 0x95, 0x34, 0x49, 0xa5, 0x9b, 0x4c, 0x83, - 0xf6, 0x96, 0xfd, 0x5e, 0x5c, 0x4b, 0xd0, 0x0e, 0x64, 0xed, 0x7b, 0xec, 0x4e, 0x5c, 0x53, 0x84, - 0x39, 0xa3, 0x86, 0x04, 0xa5, 0x02, 0xdb, 0xf3, 0x4b, 0x88, 0x80, 0xfd, 0x35, 0x09, 0x6b, 0xa7, - 0x63, 0xcb, 0xe8, 0x78, 0xd7, 0x41, 0xcb, 0x50, 0x86, 0xb4, 0xe3, 0x5d, 0xf3, 0x0c, 0xcc, 0x37, - 0x9e, 0xa8, 0xec, 0x0b, 0xfd, 0x12, 0x52, 0xae, 0x3e, 0x11, 0xae, 0xdb, 0x90, 0x5c, 0xd7, 0x9b, - 0xf6, 0xf0, 0xc8, 0x19, 0xea, 0x04, 0x37, 0x9e, 0xa8, 0x94, 0x07, 0xbd, 0x8c, 0x66, 0x26, 0xcb, - 0xbb, 0x46, 0x22, 0x96, 0x9b, 0xb1, 0xfc, 0xa2, 0xd9, 0x97, 0x6e, 0x24, 0xa2, 0x07, 0x5c, 0x6a, - 0x93, 0x97, 0x22, 0x6d, 0x72, 0xb4, 0x20, 0x2d, 0x7f, 0x4a, 0x41, 0x5a, 0x59, 0x5c, 0x90, 0x8e, - 0x01, 0x32, 0x44, 0xd8, 0x7f, 0xbc, 0x0c, 0xe9, 0x1b, 0x8c, 0x3d, 0xe5, 0xef, 0x09, 0x28, 0x86, - 0x5e, 0x11, 0x59, 0xb9, 0x0b, 0xb9, 0x9b, 0x31, 0xef, 0x99, 0x02, 0xef, 0xa8, 0xc0, 0x49, 0x94, - 0x91, 0xb6, 0x55, 0xfd, 0x81, 0x6e, 0xdd, 0x62, 0x8d, 0x17, 0x53, 0xcd, 0xb4, 0x0c, 0x3c, 0x15, - 0xb3, 0xc0, 0x3a, 0x87, 0x78, 0xdd, 0x3b, 0xa3, 0x00, 0xfa, 0x1a, 0xf2, 0x43, 0xbb, 0x7f, 0x87, - 0x0d, 0x8d, 0x0f, 0x6e, 0x29, 0x76, 0x7d, 0x94, 0x25, 0xd7, 0xd2, 0xe1, 0x8d, 0x8d, 0x4b, 0x6a, - 0x8e, 0x73, 0x5e, 0xb2, 0x39, 0xee, 0x1f, 0x09, 0x80, 0xd0, 0xeb, 0xe8, 0x15, 0x2c, 0x9b, 0x16, - 0xab, 0xed, 0xfc, 0x02, 0x9a, 0xbb, 0x33, 0x04, 0x8c, 0x7e, 0x17, 0xef, 0x02, 0x94, 0x85, 0x61, - 0xac, 0x8a, 0xe2, 0x5c, 0xb7, 0x88, 0x3b, 0x0b, 0x3a, 0x83, 0xca, 0x7b, 0xc8, 0xcb, 0x00, 0x2a, - 0x42, 0xca, 0x6f, 0xb5, 0xb2, 0x2a, 0xfd, 0x49, 0x93, 0xf3, 0x5e, 0x1f, 0x8e, 0x79, 0xf1, 0x4b, - 0xab, 0xfc, 0xe3, 0x7d, 0xf2, 0x6d, 0x42, 0x19, 0x40, 0x36, 0xd8, 0xcb, 0x8f, 0x9b, 0x37, 0xa3, - 0x93, 0x62, 0x6a, 0x6e, 0x52, 0xec, 0x40, 0xe9, 0xd4, 0xb4, 0xf4, 0xa1, 0xf9, 0x2d, 0x96, 0x73, - 0xfa, 0x7b, 0x83, 0xf7, 0x60, 0xaa, 0x29, 0x1f, 0xa1, 0x1c, 0xd5, 0x18, 0xe6, 0x03, 0x7b, 0x01, - 0x88, 0xaa, 0xe4, 0x24, 0xa6, 0x72, 0x0f, 0xf2, 0xb4, 0xa7, 0xb9, 0xa1, 0xc2, 0xb4, 0xb3, 0x49, - 0x72, 0x0e, 0x57, 0x9f, 0x30, 0x7d, 0xbd, 0xa9, 0x52, 0xe2, 0xd7, 0x25, 0x73, 0x4b, 0x50, 0x70, - 0xce, 0xf9, 0x9d, 0xe8, 0x13, 0xc5, 0x6a, 0xf1, 0x64, 0x49, 0x7c, 0x62, 0xb2, 0x7c, 0xfe, 0x2d, - 0x9f, 0x3c, 0xfd, 0x66, 0x23, 0x07, 0x2b, 0x97, 0x17, 0xcd, 0x8b, 0xf6, 0xd5, 0x45, 0xf1, 0x09, - 0xda, 0x82, 0xd2, 0xd5, 0x59, 0xef, 0xa2, 0xde, 0xed, 0x6a, 0x9d, 0xcb, 0xe3, 0x66, 0xfd, 0xa3, - 0xd6, 0x38, 0xea, 0x36, 0x8a, 0x09, 0xf4, 0x02, 0x2a, 0x17, 0xf5, 0x6e, 0xaf, 0x7e, 0xa2, 0x2d, - 0xc2, 0x93, 0xe8, 0xe7, 0xf0, 0xb2, 0xf1, 0xf1, 0x58, 0x3d, 0x3b, 0xd1, 0x1e, 0x61, 0x4b, 0x7d, - 0xfe, 0xb7, 0x14, 0xe4, 0xa4, 0xb6, 0x07, 0x95, 0x60, 0x4d, 0x2c, 0xee, 0x0b, 0x14, 0x9f, 0xa0, - 0x6d, 0x28, 0xd7, 0xda, 0xe7, 0xe7, 0x67, 0xbd, 0xf3, 0xfa, 0x45, 0x4f, 0xeb, 0x9d, 0x9d, 0xd7, - 0xb5, 0x56, 0xbb, 0xd6, 0x2c, 0x26, 0xa8, 0x79, 0x12, 0x72, 0xd1, 0xd6, 0x4e, 0xea, 0xad, 0xa3, - 0x8f, 0xc5, 0x24, 0xda, 0x80, 0x75, 0x09, 0x50, 0xeb, 0x1f, 0xda, 0xcd, 0x7a, 0x31, 0x45, 0xf9, - 0x1b, 0xbd, 0x56, 0x4d, 0x6b, 0x9f, 0x9e, 0xd6, 0xd5, 0xfa, 0x89, 0x0f, 0xa4, 0xe9, 0x12, 0x0c, - 0x38, 0xaa, 0xd5, 0xea, 0x9d, 0x5e, 0x88, 0x2c, 0xb1, 0x8d, 0xc8, 0x22, 0x74, 0xf9, 0xf6, 0x65, - 0x4f, 0xeb, 0xd6, 0x6b, 0xed, 0x8b, 0x13, 0xad, 0x55, 0xff, 0x50, 0x6f, 0x15, 0x97, 0xd1, 0x2f, - 0x40, 0x89, 0x2a, 0xe8, 0x5e, 0xd6, 0x6a, 0x74, 0xbf, 0x11, 0xbe, 0x15, 0xb4, 0x0b, 0xcf, 0x62, - 0x16, 0x9c, 0xb7, 0x7b, 0x75, 0x5f, 0x6b, 0x31, 0x83, 0xf6, 0x60, 0x27, 0x6e, 0x09, 0xe3, 0x10, - 0xfa, 0x8a, 0x59, 0xb4, 0x03, 0xdb, 0x8c, 0x43, 0xd6, 0xec, 0xdb, 0x0b, 0xa8, 0x0c, 0x45, 0xdf, - 0xd5, 0x81, 0x9f, 0x73, 0xe8, 0x19, 0x6c, 0xc5, 0xe2, 0x10, 0x80, 0xf9, 0x98, 0xb3, 0x8e, 0x2e, - 0x6a, 0x8d, 0xb6, 0x5a, 0x2c, 0x1c, 0xfe, 0x33, 0x07, 0xd9, 0x2b, 0x96, 0x3c, 0x4d, 0x93, 0xa0, - 0x16, 0xe4, 0xa4, 0x47, 0x25, 0xf4, 0x3c, 0x56, 0x1a, 0xa3, 0xcf, 0x5a, 0x95, 0x17, 0x0f, 0xc1, - 0x41, 0x01, 0xcf, 0x49, 0xaf, 0x3c, 0x51, 0x6d, 0x73, 0x8f, 0x38, 0x51, 0x6d, 0x0b, 0x1e, 0x87, - 0x54, 0x28, 0x44, 0xde, 0x69, 0xd0, 0xae, 0x24, 0xb0, 0xe8, 0x59, 0xa8, 0xb2, 0xf7, 0x30, 0x83, - 0xd0, 0x79, 0x06, 0x10, 0x1e, 0x32, 0xb4, 0x13, 0xdb, 0x4f, 0xe4, 0x40, 0x56, 0x9e, 0x3f, 0x80, - 0x0a, 0x55, 0xef, 0xa1, 0x70, 0x82, 0x5d, 0xf3, 0x1e, 0x5f, 0xe0, 0x29, 0xa1, 0xb3, 0xe6, 0xba, - 0xc4, 0xcf, 0x27, 0xd4, 0xca, 0x66, 0x30, 0x6e, 0x35, 0xf1, 0xec, 0x04, 0x7b, 0x7d, 0xd7, 0x74, - 0x88, 0xed, 0xa2, 0xb7, 0x90, 0xe5, 0xb2, 0x54, 0xae, 0x24, 0x33, 0xb5, 0xec, 0xbe, 0x4e, 0x6c, - 0xf7, 0x41, 0xc9, 0xdf, 0x42, 0x86, 0xae, 0x47, 0x8f, 0x36, 0x8a, 0x8f, 0xb1, 0xbe, 0xe1, 0x5b, - 0x73, 0x74, 0x61, 0x72, 0x1b, 0xf2, 0xf2, 0xab, 0x03, 0x8a, 0xc7, 0x33, 0xf6, 0xe8, 0x51, 0xd9, - 0x7d, 0x10, 0x0f, 0x43, 0x14, 0x19, 0xd8, 0x23, 0x21, 0x5a, 0xf4, 0x2e, 0x11, 0x09, 0xd1, 0xc2, - 0x59, 0x1f, 0xfd, 0x09, 0xd6, 0x62, 0x73, 0x37, 0x7a, 0x39, 0x27, 0x14, 0x7f, 0x07, 0xa8, 0x28, - 0x8f, 0xb1, 0x08, 0xcd, 0x0d, 0x40, 0x62, 0xf4, 0x96, 0xa7, 0x77, 0xd9, 0x8b, 0x12, 0xbd, 0x52, - 0x91, 0xfb, 0xf9, 0xd8, 0xc4, 0xde, 0x82, 0x9c, 0x34, 0xcd, 0x46, 0x12, 0x7d, 0x7e, 0x46, 0x8f, - 0x24, 0xfa, 0xa2, 0x21, 0xb8, 0x05, 0x39, 0x69, 0x6c, 0x8d, 0x68, 0x9b, 0x9f, 0x82, 0x23, 0xda, - 0x16, 0x4d, 0xbb, 0x2a, 0x14, 0x22, 0x83, 0x4b, 0x24, 0x26, 0x8b, 0x46, 0x9d, 0x48, 0x4c, 0x16, - 0xcf, 0x3c, 0x7f, 0x80, 0x15, 0xd1, 0xf2, 0xa3, 0xa7, 0x12, 0x73, 0x74, 0x8c, 0x89, 0x78, 0x2c, - 0x36, 0x21, 0xf8, 0x07, 0x4f, 0x98, 0xb4, 0xf3, 0x40, 0x0b, 0xbe, 0xf8, 0xe0, 0xc5, 0x8c, 0xf9, - 0x0b, 0x14, 0xe3, 0x7d, 0x2d, 0x92, 0xc3, 0xff, 0x40, 0x5f, 0x5d, 0xf9, 0xec, 0x51, 0x1e, 0xa1, - 0xbc, 0x06, 0x19, 0xbf, 0x03, 0x44, 0xf2, 0x7e, 0x62, 0xcd, 0x72, 0xe5, 0xd9, 0x42, 0x2c, 0x3c, - 0x67, 0x72, 0xeb, 0x10, 0x39, 0x67, 0x0b, 0xba, 0x94, 0xc8, 0x39, 0x5b, 0xd4, 0x73, 0x1c, 0xff, - 0xea, 0xcf, 0x07, 0xb7, 0x26, 0x19, 0x8c, 0xaf, 0xab, 0x7d, 0x7b, 0x74, 0x30, 0xa4, 0x63, 0xb9, - 0x65, 0x5a, 0xb7, 0x16, 0x26, 0x13, 0xdb, 0xbd, 0x3b, 0x18, 0x5a, 0xc6, 0x01, 0xeb, 0x9c, 0x0e, - 0x02, 0x3d, 0xd7, 0xcb, 0xec, 0xff, 0x13, 0x5f, 0xfd, 0x3f, 0x00, 0x00, 0xff, 0xff, 0x19, 0xd8, - 0xa1, 0x09, 0xe8, 0x18, 0x00, 0x00, +func (x *ListSweepsResponse_TransactionIDs) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListSweepsResponse_TransactionIDs) ProtoMessage() {} + +func (x *ListSweepsResponse_TransactionIDs) ProtoReflect() protoreflect.Message { + mi := &file_walletrpc_walletkit_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 ListSweepsResponse_TransactionIDs.ProtoReflect.Descriptor instead. +func (*ListSweepsResponse_TransactionIDs) Descriptor() ([]byte, []int) { + return file_walletrpc_walletkit_proto_rawDescGZIP(), []int{28, 0} +} + +func (x *ListSweepsResponse_TransactionIDs) GetTransactionIds() []string { + if x != nil { + return x.TransactionIds + } + return nil +} + +var File_walletrpc_walletkit_proto protoreflect.FileDescriptor + +var file_walletrpc_walletkit_proto_rawDesc = []byte{ + 0x0a, 0x19, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2f, 0x77, 0x61, 0x6c, 0x6c, + 0x65, 0x74, 0x6b, 0x69, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, 0x77, 0x61, 0x6c, + 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x1a, 0x09, 0x72, 0x70, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x1a, 0x14, 0x73, 0x69, 0x67, 0x6e, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x69, 0x67, 0x6e, 0x65, + 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 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, 0x80, 0x01, 0x0a, 0x12, + 0x4c, 0x65, 0x61, 0x73, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, + 0x69, 0x64, 0x12, 0x2b, 0x0a, 0x08, 0x6f, 0x75, 0x74, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x02, + 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, + 0x2d, 0x0a, 0x12, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x65, + 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x11, 0x65, 0x78, 0x70, + 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x22, 0x35, + 0x0a, 0x13, 0x4c, 0x65, 0x61, 0x73, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x53, 0x0a, 0x14, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, + 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, + 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, 0x69, 0x64, 0x12, 0x2b, 0x0a, + 0x08, 0x6f, 0x75, 0x74, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x02, 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, 0x22, 0x17, 0x0a, 0x15, 0x52, 0x65, + 0x6c, 0x65, 0x61, 0x73, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x51, 0x0a, 0x06, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x12, 0x28, 0x0a, + 0x10, 0x6b, 0x65, 0x79, 0x5f, 0x66, 0x69, 0x6e, 0x67, 0x65, 0x72, 0x5f, 0x70, 0x72, 0x69, 0x6e, + 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x6b, 0x65, 0x79, 0x46, 0x69, 0x6e, 0x67, + 0x65, 0x72, 0x50, 0x72, 0x69, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x6b, 0x65, 0x79, 0x5f, 0x66, + 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x6b, 0x65, 0x79, + 0x46, 0x61, 0x6d, 0x69, 0x6c, 0x79, 0x22, 0x27, 0x0a, 0x0b, 0x41, 0x64, 0x64, 0x72, 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, 0x22, + 0x22, 0x0a, 0x0c, 0x41, 0x64, 0x64, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x12, 0x0a, 0x04, 0x61, 0x64, 0x64, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x61, + 0x64, 0x64, 0x72, 0x22, 0xe2, 0x02, 0x0a, 0x07, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, + 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x12, 0x39, 0x0a, 0x0c, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x77, 0x61, 0x6c, 0x6c, + 0x65, 0x74, 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, 0x2e, + 0x0a, 0x13, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, + 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x65, 0x78, 0x74, + 0x65, 0x6e, 0x64, 0x65, 0x64, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x34, + 0x0a, 0x16, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x66, 0x69, 0x6e, + 0x67, 0x65, 0x72, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x14, + 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x4b, 0x65, 0x79, 0x46, 0x69, 0x6e, 0x67, 0x65, 0x72, 0x70, + 0x72, 0x69, 0x6e, 0x74, 0x12, 0x27, 0x0a, 0x0f, 0x64, 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x64, + 0x65, 0x72, 0x69, 0x76, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x74, 0x68, 0x12, 0x2c, 0x0a, + 0x12, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x65, 0x78, 0x74, 0x65, 0x72, + 0x6e, 0x61, 0x6c, 0x4b, 0x65, 0x79, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2c, 0x0a, 0x12, 0x69, + 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, + 0x6c, 0x4b, 0x65, 0x79, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x77, 0x61, 0x74, + 0x63, 0x68, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x77, + 0x61, 0x74, 0x63, 0x68, 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0x64, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, + 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x12, 0x39, 0x0a, 0x0c, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f, 0x74, + 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x77, 0x61, 0x6c, 0x6c, + 0x65, 0x74, 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, 0x22, 0x46, + 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2e, 0x0a, 0x08, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, + 0x74, 0x72, 0x70, 0x63, 0x2e, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x08, 0x61, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x22, 0xcb, 0x01, 0x0a, 0x14, 0x49, 0x6d, 0x70, 0x6f, 0x72, + 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x5f, + 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x11, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, + 0x4b, 0x65, 0x79, 0x12, 0x34, 0x0a, 0x16, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x6b, 0x65, + 0x79, 0x5f, 0x66, 0x69, 0x6e, 0x67, 0x65, 0x72, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x14, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x4b, 0x65, 0x79, 0x46, 0x69, + 0x6e, 0x67, 0x65, 0x72, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x12, 0x39, 0x0a, 0x0c, 0x61, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x16, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 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, 0x22, 0x17, 0x0a, 0x15, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x41, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x72, 0x0a, + 0x16, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, + 0x63, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x70, 0x75, 0x62, + 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x39, 0x0a, 0x0c, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x77, + 0x61, 0x6c, 0x6c, 0x65, 0x74, 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, 0x22, 0x19, 0x0a, 0x17, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x50, 0x75, 0x62, 0x6c, 0x69, + 0x63, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3a, 0x0a, 0x0b, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x15, 0x0a, 0x06, 0x74, + 0x78, 0x5f, 0x68, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x74, 0x78, 0x48, + 0x65, 0x78, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x22, 0x36, 0x0a, 0x0f, 0x50, 0x75, 0x62, 0x6c, + 0x69, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x70, + 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0c, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x45, 0x72, 0x72, 0x6f, 0x72, + 0x22, 0xbc, 0x01, 0x0a, 0x12, 0x53, 0x65, 0x6e, 0x64, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x0a, 0x73, 0x61, 0x74, 0x5f, 0x70, + 0x65, 0x72, 0x5f, 0x6b, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x73, 0x61, 0x74, + 0x50, 0x65, 0x72, 0x4b, 0x77, 0x12, 0x28, 0x0a, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x73, 0x69, 0x67, 0x6e, 0x72, 0x70, 0x63, + 0x2e, 0x54, 0x78, 0x4f, 0x75, 0x74, 0x52, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x12, + 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x03, 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, 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, 0x22, + 0x2c, 0x0a, 0x13, 0x53, 0x65, 0x6e, 0x64, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x72, 0x61, 0x77, 0x5f, 0x74, 0x78, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x72, 0x61, 0x77, 0x54, 0x78, 0x22, 0x35, 0x0a, + 0x12, 0x45, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x46, 0x65, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x66, 0x5f, 0x74, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x54, 0x61, + 0x72, 0x67, 0x65, 0x74, 0x22, 0x33, 0x0a, 0x13, 0x45, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, + 0x46, 0x65, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x0a, 0x73, + 0x61, 0x74, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x6b, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x08, 0x73, 0x61, 0x74, 0x50, 0x65, 0x72, 0x4b, 0x77, 0x22, 0xfc, 0x03, 0x0a, 0x0c, 0x50, 0x65, + 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x53, 0x77, 0x65, 0x65, 0x70, 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, 0x39, 0x0a, 0x0c, 0x77, 0x69, 0x74, 0x6e, 0x65, + 0x73, 0x73, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, + 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, + 0x73, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x77, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x54, 0x79, + 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x73, 0x61, 0x74, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x53, 0x61, + 0x74, 0x12, 0x24, 0x0a, 0x0c, 0x73, 0x61, 0x74, 0x5f, 0x70, 0x65, 0x72, 0x5f, 0x62, 0x79, 0x74, + 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0a, 0x73, 0x61, 0x74, + 0x50, 0x65, 0x72, 0x42, 0x79, 0x74, 0x65, 0x12, 0x2d, 0x0a, 0x12, 0x62, 0x72, 0x6f, 0x61, 0x64, + 0x63, 0x61, 0x73, 0x74, 0x5f, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x73, 0x18, 0x05, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x11, 0x62, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x41, 0x74, + 0x74, 0x65, 0x6d, 0x70, 0x74, 0x73, 0x12, 0x32, 0x0a, 0x15, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x62, + 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x6e, 0x65, 0x78, 0x74, 0x42, 0x72, 0x6f, 0x61, 0x64, + 0x63, 0x61, 0x73, 0x74, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x32, 0x0a, 0x15, 0x72, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x5f, 0x74, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x72, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x37, + 0x0a, 0x16, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x73, 0x61, 0x74, 0x5f, + 0x70, 0x65, 0x72, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x42, 0x02, + 0x18, 0x01, 0x52, 0x13, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 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, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, + 0x73, 0x61, 0x74, 0x50, 0x65, 0x72, 0x56, 0x62, 0x79, 0x74, 0x65, 0x12, 0x35, 0x0a, 0x17, 0x72, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x73, 0x61, 0x74, 0x5f, 0x70, 0x65, 0x72, + 0x5f, 0x76, 0x62, 0x79, 0x74, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x04, 0x52, 0x14, 0x72, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x53, 0x61, 0x74, 0x50, 0x65, 0x72, 0x56, 0x62, 0x79, + 0x74, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x22, 0x16, 0x0a, 0x14, 0x50, 0x65, 0x6e, 0x64, + 0x69, 0x6e, 0x67, 0x53, 0x77, 0x65, 0x65, 0x70, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x22, 0x57, 0x0a, 0x15, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x53, 0x77, 0x65, 0x65, 0x70, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3e, 0x0a, 0x0e, 0x70, 0x65, 0x6e, + 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x77, 0x65, 0x65, 0x70, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x17, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x65, + 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x53, 0x77, 0x65, 0x65, 0x70, 0x52, 0x0d, 0x70, 0x65, 0x6e, 0x64, + 0x69, 0x6e, 0x67, 0x53, 0x77, 0x65, 0x65, 0x70, 0x73, 0x22, 0xbe, 0x01, 0x0a, 0x0e, 0x42, 0x75, + 0x6d, 0x70, 0x46, 0x65, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 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, 0x1f, 0x0a, 0x0b, 0x74, 0x61, 0x72, + 0x67, 0x65, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 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, 0x03, 0x20, 0x01, 0x28, 0x0d, + 0x42, 0x02, 0x18, 0x01, 0x52, 0x0a, 0x73, 0x61, 0x74, 0x50, 0x65, 0x72, 0x42, 0x79, 0x74, 0x65, + 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x05, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x73, 0x61, 0x74, 0x5f, 0x70, 0x65, + 0x72, 0x5f, 0x76, 0x62, 0x79, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x73, + 0x61, 0x74, 0x50, 0x65, 0x72, 0x56, 0x62, 0x79, 0x74, 0x65, 0x22, 0x11, 0x0a, 0x0f, 0x42, 0x75, + 0x6d, 0x70, 0x46, 0x65, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2d, 0x0a, + 0x11, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x77, 0x65, 0x65, 0x70, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x62, 0x6f, 0x73, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x07, 0x76, 0x65, 0x72, 0x62, 0x6f, 0x73, 0x65, 0x22, 0x80, 0x02, 0x0a, + 0x12, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x77, 0x65, 0x65, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x4c, 0x0a, 0x13, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, + 0x32, 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, 0x48, 0x00, 0x52, 0x12, 0x74, + 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, + 0x73, 0x12, 0x57, 0x0a, 0x0f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x5f, 0x69, 0x64, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x77, 0x61, 0x6c, + 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x77, 0x65, 0x65, 0x70, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x73, 0x48, 0x00, 0x52, 0x0e, 0x74, 0x72, 0x61, 0x6e, + 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x73, 0x1a, 0x39, 0x0a, 0x0e, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x44, 0x73, 0x12, 0x27, 0x0a, 0x0f, + 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x49, 0x64, 0x73, 0x42, 0x08, 0x0a, 0x06, 0x73, 0x77, 0x65, 0x65, 0x70, 0x73, 0x22, + 0x61, 0x0a, 0x17, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x78, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x74, 0x78, 0x69, 0x64, 0x12, 0x14, + 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, + 0x61, 0x62, 0x65, 0x6c, 0x12, 0x1c, 0x0a, 0x09, 0x6f, 0x76, 0x65, 0x72, 0x77, 0x72, 0x69, 0x74, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x6f, 0x76, 0x65, 0x72, 0x77, 0x72, 0x69, + 0x74, 0x65, 0x22, 0x1a, 0x0a, 0x18, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x93, + 0x02, 0x0a, 0x0f, 0x46, 0x75, 0x6e, 0x64, 0x50, 0x73, 0x62, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x14, 0x0a, 0x04, 0x70, 0x73, 0x62, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, + 0x48, 0x00, 0x52, 0x04, 0x70, 0x73, 0x62, 0x74, 0x12, 0x29, 0x0a, 0x03, 0x72, 0x61, 0x77, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, + 0x63, 0x2e, 0x54, 0x78, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x03, + 0x72, 0x61, 0x77, 0x12, 0x21, 0x0a, 0x0b, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x63, 0x6f, + 0x6e, 0x66, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x01, 0x52, 0x0a, 0x74, 0x61, 0x72, 0x67, + 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x12, 0x24, 0x0a, 0x0d, 0x73, 0x61, 0x74, 0x5f, 0x70, 0x65, + 0x72, 0x5f, 0x76, 0x62, 0x79, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x48, 0x01, 0x52, + 0x0b, 0x73, 0x61, 0x74, 0x50, 0x65, 0x72, 0x56, 0x62, 0x79, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, + 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 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, 0x06, 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, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, + 0x73, 0x70, 0x65, 0x6e, 0x64, 0x55, 0x6e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x72, 0x6d, 0x65, 0x64, + 0x42, 0x0a, 0x0a, 0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x42, 0x06, 0x0a, 0x04, + 0x66, 0x65, 0x65, 0x73, 0x22, 0x9c, 0x01, 0x0a, 0x10, 0x46, 0x75, 0x6e, 0x64, 0x50, 0x73, 0x62, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 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, 0x2e, 0x0a, 0x13, 0x63, 0x68, + 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x69, 0x6e, 0x64, 0x65, + 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4f, + 0x75, 0x74, 0x70, 0x75, 0x74, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x37, 0x0a, 0x0c, 0x6c, 0x6f, + 0x63, 0x6b, 0x65, 0x64, 0x5f, 0x75, 0x74, 0x78, 0x6f, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x14, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x74, 0x78, + 0x6f, 0x4c, 0x65, 0x61, 0x73, 0x65, 0x52, 0x0b, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x55, 0x74, + 0x78, 0x6f, 0x73, 0x22, 0xaf, 0x01, 0x0a, 0x0a, 0x54, 0x78, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, + 0x74, 0x65, 0x12, 0x27, 0x0a, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x75, 0x74, 0x50, 0x6f, + 0x69, 0x6e, 0x74, 0x52, 0x06, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x73, 0x12, 0x3c, 0x0a, 0x07, 0x6f, + 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x77, + 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x78, 0x54, 0x65, 0x6d, 0x70, 0x6c, + 0x61, 0x74, 0x65, 0x2e, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, + 0x52, 0x07, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x1a, 0x3a, 0x0a, 0x0c, 0x4f, 0x75, 0x74, + 0x70, 0x75, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, + 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x68, 0x0a, 0x09, 0x55, 0x74, 0x78, 0x6f, 0x4c, 0x65, 0x61, + 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x02, + 0x69, 0x64, 0x12, 0x2b, 0x0a, 0x08, 0x6f, 0x75, 0x74, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x02, + 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, + 0x1e, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, + 0x50, 0x0a, 0x13, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x50, 0x73, 0x62, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 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, 0x18, 0x0a, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x22, 0x59, 0x0a, 0x14, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x50, 0x73, 0x62, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 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, 0x20, 0x0a, 0x0c, 0x72, 0x61, + 0x77, 0x5f, 0x66, 0x69, 0x6e, 0x61, 0x6c, 0x5f, 0x74, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x0a, 0x72, 0x61, 0x77, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x54, 0x78, 0x22, 0x13, 0x0a, 0x11, + 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x65, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x22, 0x4d, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x65, 0x61, 0x73, 0x65, 0x73, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x0c, 0x6c, 0x6f, 0x63, 0x6b, 0x65, + 0x64, 0x5f, 0x75, 0x74, 0x78, 0x6f, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, + 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x74, 0x78, 0x6f, 0x4c, 0x65, + 0x61, 0x73, 0x65, 0x52, 0x0b, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x64, 0x55, 0x74, 0x78, 0x6f, 0x73, + 0x2a, 0x7a, 0x0a, 0x0b, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, + 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, + 0x57, 0x49, 0x54, 0x4e, 0x45, 0x53, 0x53, 0x5f, 0x50, 0x55, 0x42, 0x4b, 0x45, 0x59, 0x5f, 0x48, + 0x41, 0x53, 0x48, 0x10, 0x01, 0x12, 0x1e, 0x0a, 0x1a, 0x4e, 0x45, 0x53, 0x54, 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, 0x25, 0x0a, 0x21, 0x48, 0x59, 0x42, 0x52, 0x49, 0x44, 0x5f, + 0x4e, 0x45, 0x53, 0x54, 0x45, 0x44, 0x5f, 0x57, 0x49, 0x54, 0x4e, 0x45, 0x53, 0x53, 0x5f, 0x50, + 0x55, 0x42, 0x4b, 0x45, 0x59, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x10, 0x03, 0x2a, 0x99, 0x03, 0x0a, + 0x0b, 0x57, 0x69, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x54, 0x79, 0x70, 0x65, 0x12, 0x13, 0x0a, 0x0f, + 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x57, 0x49, 0x54, 0x4e, 0x45, 0x53, 0x53, 0x10, + 0x00, 0x12, 0x18, 0x0a, 0x14, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, 0x4d, 0x45, 0x4e, 0x54, 0x5f, + 0x54, 0x49, 0x4d, 0x45, 0x5f, 0x4c, 0x4f, 0x43, 0x4b, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x43, + 0x4f, 0x4d, 0x4d, 0x49, 0x54, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x4e, 0x4f, 0x5f, 0x44, 0x45, 0x4c, + 0x41, 0x59, 0x10, 0x02, 0x12, 0x15, 0x0a, 0x11, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, 0x4d, 0x45, + 0x4e, 0x54, 0x5f, 0x52, 0x45, 0x56, 0x4f, 0x4b, 0x45, 0x10, 0x03, 0x12, 0x17, 0x0a, 0x13, 0x48, + 0x54, 0x4c, 0x43, 0x5f, 0x4f, 0x46, 0x46, 0x45, 0x52, 0x45, 0x44, 0x5f, 0x52, 0x45, 0x56, 0x4f, + 0x4b, 0x45, 0x10, 0x04, 0x12, 0x18, 0x0a, 0x14, 0x48, 0x54, 0x4c, 0x43, 0x5f, 0x41, 0x43, 0x43, + 0x45, 0x50, 0x54, 0x45, 0x44, 0x5f, 0x52, 0x45, 0x56, 0x4f, 0x4b, 0x45, 0x10, 0x05, 0x12, 0x25, + 0x0a, 0x21, 0x48, 0x54, 0x4c, 0x43, 0x5f, 0x4f, 0x46, 0x46, 0x45, 0x52, 0x45, 0x44, 0x5f, 0x54, + 0x49, 0x4d, 0x45, 0x4f, 0x55, 0x54, 0x5f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x5f, 0x4c, 0x45, + 0x56, 0x45, 0x4c, 0x10, 0x06, 0x12, 0x26, 0x0a, 0x22, 0x48, 0x54, 0x4c, 0x43, 0x5f, 0x41, 0x43, + 0x43, 0x45, 0x50, 0x54, 0x45, 0x44, 0x5f, 0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x5f, 0x53, + 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x10, 0x07, 0x12, 0x1f, 0x0a, + 0x1b, 0x48, 0x54, 0x4c, 0x43, 0x5f, 0x4f, 0x46, 0x46, 0x45, 0x52, 0x45, 0x44, 0x5f, 0x52, 0x45, + 0x4d, 0x4f, 0x54, 0x45, 0x5f, 0x54, 0x49, 0x4d, 0x45, 0x4f, 0x55, 0x54, 0x10, 0x08, 0x12, 0x20, + 0x0a, 0x1c, 0x48, 0x54, 0x4c, 0x43, 0x5f, 0x41, 0x43, 0x43, 0x45, 0x50, 0x54, 0x45, 0x44, 0x5f, + 0x52, 0x45, 0x4d, 0x4f, 0x54, 0x45, 0x5f, 0x53, 0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x09, + 0x12, 0x1c, 0x0a, 0x18, 0x48, 0x54, 0x4c, 0x43, 0x5f, 0x53, 0x45, 0x43, 0x4f, 0x4e, 0x44, 0x5f, + 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x52, 0x45, 0x56, 0x4f, 0x4b, 0x45, 0x10, 0x0a, 0x12, 0x14, + 0x0a, 0x10, 0x57, 0x49, 0x54, 0x4e, 0x45, 0x53, 0x53, 0x5f, 0x4b, 0x45, 0x59, 0x5f, 0x48, 0x41, + 0x53, 0x48, 0x10, 0x0b, 0x12, 0x1b, 0x0a, 0x17, 0x4e, 0x45, 0x53, 0x54, 0x45, 0x44, 0x5f, 0x57, + 0x49, 0x54, 0x4e, 0x45, 0x53, 0x53, 0x5f, 0x4b, 0x45, 0x59, 0x5f, 0x48, 0x41, 0x53, 0x48, 0x10, + 0x0c, 0x12, 0x15, 0x0a, 0x11, 0x43, 0x4f, 0x4d, 0x4d, 0x49, 0x54, 0x4d, 0x45, 0x4e, 0x54, 0x5f, + 0x41, 0x4e, 0x43, 0x48, 0x4f, 0x52, 0x10, 0x0d, 0x32, 0xb2, 0x0b, 0x0a, 0x09, 0x57, 0x61, 0x6c, + 0x6c, 0x65, 0x74, 0x4b, 0x69, 0x74, 0x12, 0x4c, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x6e, + 0x73, 0x70, 0x65, 0x6e, 0x74, 0x12, 0x1d, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, + 0x63, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x6e, 0x73, 0x70, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 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, 0x0b, 0x4c, 0x65, 0x61, 0x73, 0x65, 0x4f, 0x75, 0x74, + 0x70, 0x75, 0x74, 0x12, 0x1d, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, + 0x4c, 0x65, 0x61, 0x73, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x4c, + 0x65, 0x61, 0x73, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x52, 0x0a, 0x0d, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x4f, 0x75, 0x74, + 0x70, 0x75, 0x74, 0x12, 0x1f, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, + 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, + 0x2e, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x49, 0x0a, 0x0a, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x65, + 0x61, 0x73, 0x65, 0x73, 0x12, 0x1c, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, + 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4c, 0x65, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x4c, + 0x69, 0x73, 0x74, 0x4c, 0x65, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x3a, 0x0a, 0x0d, 0x44, 0x65, 0x72, 0x69, 0x76, 0x65, 0x4e, 0x65, 0x78, 0x74, 0x4b, + 0x65, 0x79, 0x12, 0x11, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x4b, + 0x65, 0x79, 0x52, 0x65, 0x71, 0x1a, 0x16, 0x2e, 0x73, 0x69, 0x67, 0x6e, 0x72, 0x70, 0x63, 0x2e, + 0x4b, 0x65, 0x79, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x12, 0x38, 0x0a, + 0x09, 0x44, 0x65, 0x72, 0x69, 0x76, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x13, 0x2e, 0x73, 0x69, 0x67, + 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4b, 0x65, 0x79, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x6f, 0x72, 0x1a, + 0x16, 0x2e, 0x73, 0x69, 0x67, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x4b, 0x65, 0x79, 0x44, 0x65, 0x73, + 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x12, 0x3b, 0x0a, 0x08, 0x4e, 0x65, 0x78, 0x74, 0x41, + 0x64, 0x64, 0x72, 0x12, 0x16, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, + 0x41, 0x64, 0x64, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x77, 0x61, + 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4f, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x73, 0x12, 0x1e, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, + 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, + 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, 0x0d, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x41, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1f, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, + 0x70, 0x63, 0x2e, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, + 0x72, 0x70, 0x63, 0x2e, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x58, 0x0a, 0x0f, 0x49, 0x6d, 0x70, + 0x6f, 0x72, 0x74, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x12, 0x21, 0x2e, 0x77, + 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x50, + 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x22, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x49, 0x6d, 0x70, 0x6f, + 0x72, 0x74, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a, 0x12, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x54, 0x72, + 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x2e, 0x77, 0x61, 0x6c, 0x6c, + 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, + 0x6e, 0x1a, 0x1a, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x75, + 0x62, 0x6c, 0x69, 0x73, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4c, 0x0a, + 0x0b, 0x53, 0x65, 0x6e, 0x64, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x73, 0x12, 0x1d, 0x2e, 0x77, + 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x4f, 0x75, 0x74, + 0x70, 0x75, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x77, 0x61, + 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x4f, 0x75, 0x74, 0x70, + 0x75, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4c, 0x0a, 0x0b, 0x45, + 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x46, 0x65, 0x65, 0x12, 0x1d, 0x2e, 0x77, 0x61, 0x6c, + 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x46, + 0x65, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x77, 0x61, 0x6c, 0x6c, + 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x73, 0x74, 0x69, 0x6d, 0x61, 0x74, 0x65, 0x46, 0x65, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, 0x0d, 0x50, 0x65, 0x6e, + 0x64, 0x69, 0x6e, 0x67, 0x53, 0x77, 0x65, 0x65, 0x70, 0x73, 0x12, 0x1f, 0x2e, 0x77, 0x61, 0x6c, + 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x53, 0x77, + 0x65, 0x65, 0x70, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x77, 0x61, + 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x53, + 0x77, 0x65, 0x65, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, + 0x07, 0x42, 0x75, 0x6d, 0x70, 0x46, 0x65, 0x65, 0x12, 0x19, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, + 0x74, 0x72, 0x70, 0x63, 0x2e, 0x42, 0x75, 0x6d, 0x70, 0x46, 0x65, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, + 0x42, 0x75, 0x6d, 0x70, 0x46, 0x65, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x49, 0x0a, 0x0a, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x77, 0x65, 0x65, 0x70, 0x73, 0x12, 0x1c, 0x2e, + 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x77, + 0x65, 0x65, 0x70, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x77, 0x61, + 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x77, 0x65, 0x65, + 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5b, 0x0a, 0x10, 0x4c, 0x61, + 0x62, 0x65, 0x6c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x22, + 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, + 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x4c, + 0x61, 0x62, 0x65, 0x6c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x08, 0x46, 0x75, 0x6e, 0x64, 0x50, + 0x73, 0x62, 0x74, 0x12, 0x1a, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, + 0x46, 0x75, 0x6e, 0x64, 0x50, 0x73, 0x62, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x1b, 0x2e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x46, 0x75, 0x6e, 0x64, + 0x50, 0x73, 0x62, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4f, 0x0a, 0x0c, + 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x50, 0x73, 0x62, 0x74, 0x12, 0x1e, 0x2e, 0x77, + 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, + 0x65, 0x50, 0x73, 0x62, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x77, + 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x46, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x7a, + 0x65, 0x50, 0x73, 0x62, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x31, 0x5a, + 0x2f, 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, 0x2f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x72, 0x70, 0x63, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_walletrpc_walletkit_proto_rawDescOnce sync.Once + file_walletrpc_walletkit_proto_rawDescData = file_walletrpc_walletkit_proto_rawDesc +) + +func file_walletrpc_walletkit_proto_rawDescGZIP() []byte { + file_walletrpc_walletkit_proto_rawDescOnce.Do(func() { + file_walletrpc_walletkit_proto_rawDescData = protoimpl.X.CompressGZIP(file_walletrpc_walletkit_proto_rawDescData) + }) + return file_walletrpc_walletkit_proto_rawDescData +} + +var file_walletrpc_walletkit_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_walletrpc_walletkit_proto_msgTypes = make([]protoimpl.MessageInfo, 41) +var file_walletrpc_walletkit_proto_goTypes = []interface{}{ + (AddressType)(0), // 0: walletrpc.AddressType + (WitnessType)(0), // 1: walletrpc.WitnessType + (*ListUnspentRequest)(nil), // 2: walletrpc.ListUnspentRequest + (*ListUnspentResponse)(nil), // 3: walletrpc.ListUnspentResponse + (*LeaseOutputRequest)(nil), // 4: walletrpc.LeaseOutputRequest + (*LeaseOutputResponse)(nil), // 5: walletrpc.LeaseOutputResponse + (*ReleaseOutputRequest)(nil), // 6: walletrpc.ReleaseOutputRequest + (*ReleaseOutputResponse)(nil), // 7: walletrpc.ReleaseOutputResponse + (*KeyReq)(nil), // 8: walletrpc.KeyReq + (*AddrRequest)(nil), // 9: walletrpc.AddrRequest + (*AddrResponse)(nil), // 10: walletrpc.AddrResponse + (*Account)(nil), // 11: walletrpc.Account + (*ListAccountsRequest)(nil), // 12: walletrpc.ListAccountsRequest + (*ListAccountsResponse)(nil), // 13: walletrpc.ListAccountsResponse + (*ImportAccountRequest)(nil), // 14: walletrpc.ImportAccountRequest + (*ImportAccountResponse)(nil), // 15: walletrpc.ImportAccountResponse + (*ImportPublicKeyRequest)(nil), // 16: walletrpc.ImportPublicKeyRequest + (*ImportPublicKeyResponse)(nil), // 17: walletrpc.ImportPublicKeyResponse + (*Transaction)(nil), // 18: walletrpc.Transaction + (*PublishResponse)(nil), // 19: walletrpc.PublishResponse + (*SendOutputsRequest)(nil), // 20: walletrpc.SendOutputsRequest + (*SendOutputsResponse)(nil), // 21: walletrpc.SendOutputsResponse + (*EstimateFeeRequest)(nil), // 22: walletrpc.EstimateFeeRequest + (*EstimateFeeResponse)(nil), // 23: walletrpc.EstimateFeeResponse + (*PendingSweep)(nil), // 24: walletrpc.PendingSweep + (*PendingSweepsRequest)(nil), // 25: walletrpc.PendingSweepsRequest + (*PendingSweepsResponse)(nil), // 26: walletrpc.PendingSweepsResponse + (*BumpFeeRequest)(nil), // 27: walletrpc.BumpFeeRequest + (*BumpFeeResponse)(nil), // 28: walletrpc.BumpFeeResponse + (*ListSweepsRequest)(nil), // 29: walletrpc.ListSweepsRequest + (*ListSweepsResponse)(nil), // 30: walletrpc.ListSweepsResponse + (*LabelTransactionRequest)(nil), // 31: walletrpc.LabelTransactionRequest + (*LabelTransactionResponse)(nil), // 32: walletrpc.LabelTransactionResponse + (*FundPsbtRequest)(nil), // 33: walletrpc.FundPsbtRequest + (*FundPsbtResponse)(nil), // 34: walletrpc.FundPsbtResponse + (*TxTemplate)(nil), // 35: walletrpc.TxTemplate + (*UtxoLease)(nil), // 36: walletrpc.UtxoLease + (*FinalizePsbtRequest)(nil), // 37: walletrpc.FinalizePsbtRequest + (*FinalizePsbtResponse)(nil), // 38: walletrpc.FinalizePsbtResponse + (*ListLeasesRequest)(nil), // 39: walletrpc.ListLeasesRequest + (*ListLeasesResponse)(nil), // 40: walletrpc.ListLeasesResponse + (*ListSweepsResponse_TransactionIDs)(nil), // 41: walletrpc.ListSweepsResponse.TransactionIDs + nil, // 42: walletrpc.TxTemplate.OutputsEntry + (*lnrpc.Utxo)(nil), // 43: lnrpc.Utxo + (*lnrpc.OutPoint)(nil), // 44: lnrpc.OutPoint + (*signrpc.TxOut)(nil), // 45: signrpc.TxOut + (*lnrpc.TransactionDetails)(nil), // 46: lnrpc.TransactionDetails + (*signrpc.KeyLocator)(nil), // 47: signrpc.KeyLocator + (*signrpc.KeyDescriptor)(nil), // 48: signrpc.KeyDescriptor +} +var file_walletrpc_walletkit_proto_depIdxs = []int32{ + 43, // 0: walletrpc.ListUnspentResponse.utxos:type_name -> lnrpc.Utxo + 44, // 1: walletrpc.LeaseOutputRequest.outpoint:type_name -> lnrpc.OutPoint + 44, // 2: walletrpc.ReleaseOutputRequest.outpoint:type_name -> lnrpc.OutPoint + 0, // 3: walletrpc.Account.address_type:type_name -> walletrpc.AddressType + 0, // 4: walletrpc.ListAccountsRequest.address_type:type_name -> walletrpc.AddressType + 11, // 5: walletrpc.ListAccountsResponse.accounts:type_name -> walletrpc.Account + 0, // 6: walletrpc.ImportAccountRequest.address_type:type_name -> walletrpc.AddressType + 0, // 7: walletrpc.ImportPublicKeyRequest.address_type:type_name -> walletrpc.AddressType + 45, // 8: walletrpc.SendOutputsRequest.outputs:type_name -> signrpc.TxOut + 44, // 9: walletrpc.PendingSweep.outpoint:type_name -> lnrpc.OutPoint + 1, // 10: walletrpc.PendingSweep.witness_type:type_name -> walletrpc.WitnessType + 24, // 11: walletrpc.PendingSweepsResponse.pending_sweeps:type_name -> walletrpc.PendingSweep + 44, // 12: walletrpc.BumpFeeRequest.outpoint:type_name -> lnrpc.OutPoint + 46, // 13: walletrpc.ListSweepsResponse.transaction_details:type_name -> lnrpc.TransactionDetails + 41, // 14: walletrpc.ListSweepsResponse.transaction_ids:type_name -> walletrpc.ListSweepsResponse.TransactionIDs + 35, // 15: walletrpc.FundPsbtRequest.raw:type_name -> walletrpc.TxTemplate + 36, // 16: walletrpc.FundPsbtResponse.locked_utxos:type_name -> walletrpc.UtxoLease + 44, // 17: walletrpc.TxTemplate.inputs:type_name -> lnrpc.OutPoint + 42, // 18: walletrpc.TxTemplate.outputs:type_name -> walletrpc.TxTemplate.OutputsEntry + 44, // 19: walletrpc.UtxoLease.outpoint:type_name -> lnrpc.OutPoint + 36, // 20: walletrpc.ListLeasesResponse.locked_utxos:type_name -> walletrpc.UtxoLease + 2, // 21: walletrpc.WalletKit.ListUnspent:input_type -> walletrpc.ListUnspentRequest + 4, // 22: walletrpc.WalletKit.LeaseOutput:input_type -> walletrpc.LeaseOutputRequest + 6, // 23: walletrpc.WalletKit.ReleaseOutput:input_type -> walletrpc.ReleaseOutputRequest + 39, // 24: walletrpc.WalletKit.ListLeases:input_type -> walletrpc.ListLeasesRequest + 8, // 25: walletrpc.WalletKit.DeriveNextKey:input_type -> walletrpc.KeyReq + 47, // 26: walletrpc.WalletKit.DeriveKey:input_type -> signrpc.KeyLocator + 9, // 27: walletrpc.WalletKit.NextAddr:input_type -> walletrpc.AddrRequest + 12, // 28: walletrpc.WalletKit.ListAccounts:input_type -> walletrpc.ListAccountsRequest + 14, // 29: walletrpc.WalletKit.ImportAccount:input_type -> walletrpc.ImportAccountRequest + 16, // 30: walletrpc.WalletKit.ImportPublicKey:input_type -> walletrpc.ImportPublicKeyRequest + 18, // 31: walletrpc.WalletKit.PublishTransaction:input_type -> walletrpc.Transaction + 20, // 32: walletrpc.WalletKit.SendOutputs:input_type -> walletrpc.SendOutputsRequest + 22, // 33: walletrpc.WalletKit.EstimateFee:input_type -> walletrpc.EstimateFeeRequest + 25, // 34: walletrpc.WalletKit.PendingSweeps:input_type -> walletrpc.PendingSweepsRequest + 27, // 35: walletrpc.WalletKit.BumpFee:input_type -> walletrpc.BumpFeeRequest + 29, // 36: walletrpc.WalletKit.ListSweeps:input_type -> walletrpc.ListSweepsRequest + 31, // 37: walletrpc.WalletKit.LabelTransaction:input_type -> walletrpc.LabelTransactionRequest + 33, // 38: walletrpc.WalletKit.FundPsbt:input_type -> walletrpc.FundPsbtRequest + 37, // 39: walletrpc.WalletKit.FinalizePsbt:input_type -> walletrpc.FinalizePsbtRequest + 3, // 40: walletrpc.WalletKit.ListUnspent:output_type -> walletrpc.ListUnspentResponse + 5, // 41: walletrpc.WalletKit.LeaseOutput:output_type -> walletrpc.LeaseOutputResponse + 7, // 42: walletrpc.WalletKit.ReleaseOutput:output_type -> walletrpc.ReleaseOutputResponse + 40, // 43: walletrpc.WalletKit.ListLeases:output_type -> walletrpc.ListLeasesResponse + 48, // 44: walletrpc.WalletKit.DeriveNextKey:output_type -> signrpc.KeyDescriptor + 48, // 45: walletrpc.WalletKit.DeriveKey:output_type -> signrpc.KeyDescriptor + 10, // 46: walletrpc.WalletKit.NextAddr:output_type -> walletrpc.AddrResponse + 13, // 47: walletrpc.WalletKit.ListAccounts:output_type -> walletrpc.ListAccountsResponse + 15, // 48: walletrpc.WalletKit.ImportAccount:output_type -> walletrpc.ImportAccountResponse + 17, // 49: walletrpc.WalletKit.ImportPublicKey:output_type -> walletrpc.ImportPublicKeyResponse + 19, // 50: walletrpc.WalletKit.PublishTransaction:output_type -> walletrpc.PublishResponse + 21, // 51: walletrpc.WalletKit.SendOutputs:output_type -> walletrpc.SendOutputsResponse + 23, // 52: walletrpc.WalletKit.EstimateFee:output_type -> walletrpc.EstimateFeeResponse + 26, // 53: walletrpc.WalletKit.PendingSweeps:output_type -> walletrpc.PendingSweepsResponse + 28, // 54: walletrpc.WalletKit.BumpFee:output_type -> walletrpc.BumpFeeResponse + 30, // 55: walletrpc.WalletKit.ListSweeps:output_type -> walletrpc.ListSweepsResponse + 32, // 56: walletrpc.WalletKit.LabelTransaction:output_type -> walletrpc.LabelTransactionResponse + 34, // 57: walletrpc.WalletKit.FundPsbt:output_type -> walletrpc.FundPsbtResponse + 38, // 58: walletrpc.WalletKit.FinalizePsbt:output_type -> walletrpc.FinalizePsbtResponse + 40, // [40:59] is the sub-list for method output_type + 21, // [21:40] is the sub-list for method input_type + 21, // [21:21] is the sub-list for extension type_name + 21, // [21:21] is the sub-list for extension extendee + 0, // [0:21] is the sub-list for field type_name +} + +func init() { file_walletrpc_walletkit_proto_init() } +func file_walletrpc_walletkit_proto_init() { + if File_walletrpc_walletkit_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_walletrpc_walletkit_proto_msgTypes[0].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_walletrpc_walletkit_proto_msgTypes[1].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_walletrpc_walletkit_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LeaseOutputRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_walletrpc_walletkit_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LeaseOutputResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_walletrpc_walletkit_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReleaseOutputRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_walletrpc_walletkit_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ReleaseOutputResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_walletrpc_walletkit_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*KeyReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_walletrpc_walletkit_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddrRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_walletrpc_walletkit_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddrResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_walletrpc_walletkit_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Account); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_walletrpc_walletkit_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListAccountsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_walletrpc_walletkit_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListAccountsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_walletrpc_walletkit_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ImportAccountRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_walletrpc_walletkit_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ImportAccountResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_walletrpc_walletkit_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ImportPublicKeyRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_walletrpc_walletkit_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ImportPublicKeyResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_walletrpc_walletkit_proto_msgTypes[16].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_walletrpc_walletkit_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PublishResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_walletrpc_walletkit_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SendOutputsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_walletrpc_walletkit_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SendOutputsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_walletrpc_walletkit_proto_msgTypes[20].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_walletrpc_walletkit_proto_msgTypes[21].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_walletrpc_walletkit_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PendingSweep); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_walletrpc_walletkit_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PendingSweepsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_walletrpc_walletkit_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PendingSweepsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_walletrpc_walletkit_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BumpFeeRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_walletrpc_walletkit_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BumpFeeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_walletrpc_walletkit_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListSweepsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_walletrpc_walletkit_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListSweepsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_walletrpc_walletkit_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LabelTransactionRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_walletrpc_walletkit_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LabelTransactionResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_walletrpc_walletkit_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FundPsbtRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_walletrpc_walletkit_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FundPsbtResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_walletrpc_walletkit_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TxTemplate); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_walletrpc_walletkit_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UtxoLease); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_walletrpc_walletkit_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FinalizePsbtRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_walletrpc_walletkit_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FinalizePsbtResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_walletrpc_walletkit_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListLeasesRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_walletrpc_walletkit_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListLeasesResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_walletrpc_walletkit_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListSweepsResponse_TransactionIDs); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_walletrpc_walletkit_proto_msgTypes[28].OneofWrappers = []interface{}{ + (*ListSweepsResponse_TransactionDetails)(nil), + (*ListSweepsResponse_TransactionIds)(nil), + } + file_walletrpc_walletkit_proto_msgTypes[31].OneofWrappers = []interface{}{ + (*FundPsbtRequest_Psbt)(nil), + (*FundPsbtRequest_Raw)(nil), + (*FundPsbtRequest_TargetConf)(nil), + (*FundPsbtRequest_SatPerVbyte)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_walletrpc_walletkit_proto_rawDesc, + NumEnums: 2, + NumMessages: 41, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_walletrpc_walletkit_proto_goTypes, + DependencyIndexes: file_walletrpc_walletkit_proto_depIdxs, + EnumInfos: file_walletrpc_walletkit_proto_enumTypes, + MessageInfos: file_walletrpc_walletkit_proto_msgTypes, + }.Build() + File_walletrpc_walletkit_proto = out.File + file_walletrpc_walletkit_proto_rawDesc = nil + file_walletrpc_walletkit_proto_goTypes = nil + file_walletrpc_walletkit_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 +const _ = grpc.SupportPackageIsVersion6 // WalletKitClient is the client API for WalletKit service. // @@ -2747,10 +3971,10 @@ type WalletKitClient interface { } type walletKitClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewWalletKitClient(cc *grpc.ClientConn) WalletKitClient { +func NewWalletKitClient(cc grpc.ClientConnInterface) WalletKitClient { return &walletKitClient{cc} } @@ -3098,61 +4322,61 @@ type WalletKitServer interface { type UnimplementedWalletKitServer struct { } -func (*UnimplementedWalletKitServer) ListUnspent(ctx context.Context, req *ListUnspentRequest) (*ListUnspentResponse, error) { +func (*UnimplementedWalletKitServer) ListUnspent(context.Context, *ListUnspentRequest) (*ListUnspentResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListUnspent not implemented") } -func (*UnimplementedWalletKitServer) LeaseOutput(ctx context.Context, req *LeaseOutputRequest) (*LeaseOutputResponse, error) { +func (*UnimplementedWalletKitServer) LeaseOutput(context.Context, *LeaseOutputRequest) (*LeaseOutputResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method LeaseOutput not implemented") } -func (*UnimplementedWalletKitServer) ReleaseOutput(ctx context.Context, req *ReleaseOutputRequest) (*ReleaseOutputResponse, error) { +func (*UnimplementedWalletKitServer) ReleaseOutput(context.Context, *ReleaseOutputRequest) (*ReleaseOutputResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ReleaseOutput not implemented") } -func (*UnimplementedWalletKitServer) ListLeases(ctx context.Context, req *ListLeasesRequest) (*ListLeasesResponse, error) { +func (*UnimplementedWalletKitServer) ListLeases(context.Context, *ListLeasesRequest) (*ListLeasesResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListLeases not implemented") } -func (*UnimplementedWalletKitServer) DeriveNextKey(ctx context.Context, req *KeyReq) (*signrpc.KeyDescriptor, error) { +func (*UnimplementedWalletKitServer) DeriveNextKey(context.Context, *KeyReq) (*signrpc.KeyDescriptor, error) { return nil, status.Errorf(codes.Unimplemented, "method DeriveNextKey not implemented") } -func (*UnimplementedWalletKitServer) DeriveKey(ctx context.Context, req *signrpc.KeyLocator) (*signrpc.KeyDescriptor, error) { +func (*UnimplementedWalletKitServer) DeriveKey(context.Context, *signrpc.KeyLocator) (*signrpc.KeyDescriptor, error) { return nil, status.Errorf(codes.Unimplemented, "method DeriveKey not implemented") } -func (*UnimplementedWalletKitServer) NextAddr(ctx context.Context, req *AddrRequest) (*AddrResponse, error) { +func (*UnimplementedWalletKitServer) NextAddr(context.Context, *AddrRequest) (*AddrResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method NextAddr not implemented") } -func (*UnimplementedWalletKitServer) ListAccounts(ctx context.Context, req *ListAccountsRequest) (*ListAccountsResponse, error) { +func (*UnimplementedWalletKitServer) ListAccounts(context.Context, *ListAccountsRequest) (*ListAccountsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListAccounts not implemented") } -func (*UnimplementedWalletKitServer) ImportAccount(ctx context.Context, req *ImportAccountRequest) (*ImportAccountResponse, error) { +func (*UnimplementedWalletKitServer) ImportAccount(context.Context, *ImportAccountRequest) (*ImportAccountResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ImportAccount not implemented") } -func (*UnimplementedWalletKitServer) ImportPublicKey(ctx context.Context, req *ImportPublicKeyRequest) (*ImportPublicKeyResponse, error) { +func (*UnimplementedWalletKitServer) ImportPublicKey(context.Context, *ImportPublicKeyRequest) (*ImportPublicKeyResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ImportPublicKey not implemented") } -func (*UnimplementedWalletKitServer) PublishTransaction(ctx context.Context, req *Transaction) (*PublishResponse, error) { +func (*UnimplementedWalletKitServer) PublishTransaction(context.Context, *Transaction) (*PublishResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method PublishTransaction not implemented") } -func (*UnimplementedWalletKitServer) SendOutputs(ctx context.Context, req *SendOutputsRequest) (*SendOutputsResponse, error) { +func (*UnimplementedWalletKitServer) SendOutputs(context.Context, *SendOutputsRequest) (*SendOutputsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SendOutputs not implemented") } -func (*UnimplementedWalletKitServer) EstimateFee(ctx context.Context, req *EstimateFeeRequest) (*EstimateFeeResponse, error) { +func (*UnimplementedWalletKitServer) EstimateFee(context.Context, *EstimateFeeRequest) (*EstimateFeeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method EstimateFee not implemented") } -func (*UnimplementedWalletKitServer) PendingSweeps(ctx context.Context, req *PendingSweepsRequest) (*PendingSweepsResponse, error) { +func (*UnimplementedWalletKitServer) PendingSweeps(context.Context, *PendingSweepsRequest) (*PendingSweepsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method PendingSweeps not implemented") } -func (*UnimplementedWalletKitServer) BumpFee(ctx context.Context, req *BumpFeeRequest) (*BumpFeeResponse, error) { +func (*UnimplementedWalletKitServer) BumpFee(context.Context, *BumpFeeRequest) (*BumpFeeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method BumpFee not implemented") } -func (*UnimplementedWalletKitServer) ListSweeps(ctx context.Context, req *ListSweepsRequest) (*ListSweepsResponse, error) { +func (*UnimplementedWalletKitServer) ListSweeps(context.Context, *ListSweepsRequest) (*ListSweepsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListSweeps not implemented") } -func (*UnimplementedWalletKitServer) LabelTransaction(ctx context.Context, req *LabelTransactionRequest) (*LabelTransactionResponse, error) { +func (*UnimplementedWalletKitServer) LabelTransaction(context.Context, *LabelTransactionRequest) (*LabelTransactionResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method LabelTransaction not implemented") } -func (*UnimplementedWalletKitServer) FundPsbt(ctx context.Context, req *FundPsbtRequest) (*FundPsbtResponse, error) { +func (*UnimplementedWalletKitServer) FundPsbt(context.Context, *FundPsbtRequest) (*FundPsbtResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FundPsbt not implemented") } -func (*UnimplementedWalletKitServer) FinalizePsbt(ctx context.Context, req *FinalizePsbtRequest) (*FinalizePsbtResponse, error) { +func (*UnimplementedWalletKitServer) FinalizePsbt(context.Context, *FinalizePsbtRequest) (*FinalizePsbtResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method FinalizePsbt not implemented") } diff --git a/lnrpc/walletunlocker.pb.go b/lnrpc/walletunlocker.pb.go index f4254e834..9c243a0aa 100644 --- a/lnrpc/walletunlocker.pb.go +++ b/lnrpc/walletunlocker.pb.go @@ -1,30 +1,39 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.6.1 // source: walletunlocker.proto package lnrpc import ( context "context" - fmt "fmt" proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type GenSeedRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //aezeed_passphrase is an optional user provided passphrase that will be used //to encrypt the generated aezeed cipher seed. When using REST, this field @@ -34,52 +43,60 @@ type GenSeedRequest struct { //seed_entropy is an optional 16-bytes generated via CSPRNG. If not //specified, then a fresh set of randomness will be used to create the seed. //When using REST, this field must be encoded as base64. - SeedEntropy []byte `protobuf:"bytes,2,opt,name=seed_entropy,json=seedEntropy,proto3" json:"seed_entropy,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SeedEntropy []byte `protobuf:"bytes,2,opt,name=seed_entropy,json=seedEntropy,proto3" json:"seed_entropy,omitempty"` } -func (m *GenSeedRequest) Reset() { *m = GenSeedRequest{} } -func (m *GenSeedRequest) String() string { return proto.CompactTextString(m) } -func (*GenSeedRequest) ProtoMessage() {} +func (x *GenSeedRequest) Reset() { + *x = GenSeedRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_walletunlocker_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GenSeedRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GenSeedRequest) ProtoMessage() {} + +func (x *GenSeedRequest) ProtoReflect() protoreflect.Message { + mi := &file_walletunlocker_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 GenSeedRequest.ProtoReflect.Descriptor instead. func (*GenSeedRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_76e3ed10ed53e4fd, []int{0} + return file_walletunlocker_proto_rawDescGZIP(), []int{0} } -func (m *GenSeedRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GenSeedRequest.Unmarshal(m, b) -} -func (m *GenSeedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GenSeedRequest.Marshal(b, m, deterministic) -} -func (m *GenSeedRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenSeedRequest.Merge(m, src) -} -func (m *GenSeedRequest) XXX_Size() int { - return xxx_messageInfo_GenSeedRequest.Size(m) -} -func (m *GenSeedRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GenSeedRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GenSeedRequest proto.InternalMessageInfo - -func (m *GenSeedRequest) GetAezeedPassphrase() []byte { - if m != nil { - return m.AezeedPassphrase +func (x *GenSeedRequest) GetAezeedPassphrase() []byte { + if x != nil { + return x.AezeedPassphrase } return nil } -func (m *GenSeedRequest) GetSeedEntropy() []byte { - if m != nil { - return m.SeedEntropy +func (x *GenSeedRequest) GetSeedEntropy() []byte { + if x != nil { + return x.SeedEntropy } return nil } type GenSeedResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //cipher_seed_mnemonic is a 24-word mnemonic that encodes a prior aezeed //cipher seed obtained by the user. This field is optional, as if not @@ -90,52 +107,60 @@ type GenSeedResponse struct { // //enciphered_seed are the raw aezeed cipher seed bytes. This is the raw //cipher text before run through our mnemonic encoding scheme. - EncipheredSeed []byte `protobuf:"bytes,2,opt,name=enciphered_seed,json=encipheredSeed,proto3" json:"enciphered_seed,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + EncipheredSeed []byte `protobuf:"bytes,2,opt,name=enciphered_seed,json=encipheredSeed,proto3" json:"enciphered_seed,omitempty"` } -func (m *GenSeedResponse) Reset() { *m = GenSeedResponse{} } -func (m *GenSeedResponse) String() string { return proto.CompactTextString(m) } -func (*GenSeedResponse) ProtoMessage() {} +func (x *GenSeedResponse) Reset() { + *x = GenSeedResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_walletunlocker_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GenSeedResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GenSeedResponse) ProtoMessage() {} + +func (x *GenSeedResponse) ProtoReflect() protoreflect.Message { + mi := &file_walletunlocker_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 GenSeedResponse.ProtoReflect.Descriptor instead. func (*GenSeedResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_76e3ed10ed53e4fd, []int{1} + return file_walletunlocker_proto_rawDescGZIP(), []int{1} } -func (m *GenSeedResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GenSeedResponse.Unmarshal(m, b) -} -func (m *GenSeedResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GenSeedResponse.Marshal(b, m, deterministic) -} -func (m *GenSeedResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GenSeedResponse.Merge(m, src) -} -func (m *GenSeedResponse) XXX_Size() int { - return xxx_messageInfo_GenSeedResponse.Size(m) -} -func (m *GenSeedResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GenSeedResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_GenSeedResponse proto.InternalMessageInfo - -func (m *GenSeedResponse) GetCipherSeedMnemonic() []string { - if m != nil { - return m.CipherSeedMnemonic +func (x *GenSeedResponse) GetCipherSeedMnemonic() []string { + if x != nil { + return x.CipherSeedMnemonic } return nil } -func (m *GenSeedResponse) GetEncipheredSeed() []byte { - if m != nil { - return m.EncipheredSeed +func (x *GenSeedResponse) GetEncipheredSeed() []byte { + if x != nil { + return x.EncipheredSeed } return nil } type InitWalletRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //wallet_password is the passphrase that should be used to encrypt the //wallet. This MUST be at least 8 chars in length. After creation, this @@ -172,125 +197,141 @@ type InitWalletRequest struct { //any *.macaroon files in its filesystem. If this parameter is set, then the //admin macaroon returned in the response MUST be stored by the caller of the //RPC as otherwise all access to the daemon will be lost! - StatelessInit bool `protobuf:"varint,6,opt,name=stateless_init,json=statelessInit,proto3" json:"stateless_init,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + StatelessInit bool `protobuf:"varint,6,opt,name=stateless_init,json=statelessInit,proto3" json:"stateless_init,omitempty"` } -func (m *InitWalletRequest) Reset() { *m = InitWalletRequest{} } -func (m *InitWalletRequest) String() string { return proto.CompactTextString(m) } -func (*InitWalletRequest) ProtoMessage() {} +func (x *InitWalletRequest) Reset() { + *x = InitWalletRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_walletunlocker_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InitWalletRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InitWalletRequest) ProtoMessage() {} + +func (x *InitWalletRequest) ProtoReflect() protoreflect.Message { + mi := &file_walletunlocker_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 InitWalletRequest.ProtoReflect.Descriptor instead. func (*InitWalletRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_76e3ed10ed53e4fd, []int{2} + return file_walletunlocker_proto_rawDescGZIP(), []int{2} } -func (m *InitWalletRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InitWalletRequest.Unmarshal(m, b) -} -func (m *InitWalletRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InitWalletRequest.Marshal(b, m, deterministic) -} -func (m *InitWalletRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_InitWalletRequest.Merge(m, src) -} -func (m *InitWalletRequest) XXX_Size() int { - return xxx_messageInfo_InitWalletRequest.Size(m) -} -func (m *InitWalletRequest) XXX_DiscardUnknown() { - xxx_messageInfo_InitWalletRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_InitWalletRequest proto.InternalMessageInfo - -func (m *InitWalletRequest) GetWalletPassword() []byte { - if m != nil { - return m.WalletPassword +func (x *InitWalletRequest) GetWalletPassword() []byte { + if x != nil { + return x.WalletPassword } return nil } -func (m *InitWalletRequest) GetCipherSeedMnemonic() []string { - if m != nil { - return m.CipherSeedMnemonic +func (x *InitWalletRequest) GetCipherSeedMnemonic() []string { + if x != nil { + return x.CipherSeedMnemonic } return nil } -func (m *InitWalletRequest) GetAezeedPassphrase() []byte { - if m != nil { - return m.AezeedPassphrase +func (x *InitWalletRequest) GetAezeedPassphrase() []byte { + if x != nil { + return x.AezeedPassphrase } return nil } -func (m *InitWalletRequest) GetRecoveryWindow() int32 { - if m != nil { - return m.RecoveryWindow +func (x *InitWalletRequest) GetRecoveryWindow() int32 { + if x != nil { + return x.RecoveryWindow } return 0 } -func (m *InitWalletRequest) GetChannelBackups() *ChanBackupSnapshot { - if m != nil { - return m.ChannelBackups +func (x *InitWalletRequest) GetChannelBackups() *ChanBackupSnapshot { + if x != nil { + return x.ChannelBackups } return nil } -func (m *InitWalletRequest) GetStatelessInit() bool { - if m != nil { - return m.StatelessInit +func (x *InitWalletRequest) GetStatelessInit() bool { + if x != nil { + return x.StatelessInit } return false } type InitWalletResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //The binary serialized admin macaroon that can be used to access the daemon //after creating the wallet. If the stateless_init parameter was set to true, //this is the ONLY copy of the macaroon and MUST be stored safely by the //caller. Otherwise a copy of this macaroon is also persisted on disk by the //daemon, together with other macaroon files. - AdminMacaroon []byte `protobuf:"bytes,1,opt,name=admin_macaroon,json=adminMacaroon,proto3" json:"admin_macaroon,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + AdminMacaroon []byte `protobuf:"bytes,1,opt,name=admin_macaroon,json=adminMacaroon,proto3" json:"admin_macaroon,omitempty"` } -func (m *InitWalletResponse) Reset() { *m = InitWalletResponse{} } -func (m *InitWalletResponse) String() string { return proto.CompactTextString(m) } -func (*InitWalletResponse) ProtoMessage() {} +func (x *InitWalletResponse) Reset() { + *x = InitWalletResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_walletunlocker_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *InitWalletResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*InitWalletResponse) ProtoMessage() {} + +func (x *InitWalletResponse) ProtoReflect() protoreflect.Message { + mi := &file_walletunlocker_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 InitWalletResponse.ProtoReflect.Descriptor instead. func (*InitWalletResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_76e3ed10ed53e4fd, []int{3} + return file_walletunlocker_proto_rawDescGZIP(), []int{3} } -func (m *InitWalletResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InitWalletResponse.Unmarshal(m, b) -} -func (m *InitWalletResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InitWalletResponse.Marshal(b, m, deterministic) -} -func (m *InitWalletResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_InitWalletResponse.Merge(m, src) -} -func (m *InitWalletResponse) XXX_Size() int { - return xxx_messageInfo_InitWalletResponse.Size(m) -} -func (m *InitWalletResponse) XXX_DiscardUnknown() { - xxx_messageInfo_InitWalletResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_InitWalletResponse proto.InternalMessageInfo - -func (m *InitWalletResponse) GetAdminMacaroon() []byte { - if m != nil { - return m.AdminMacaroon +func (x *InitWalletResponse) GetAdminMacaroon() []byte { + if x != nil { + return x.AdminMacaroon } return nil } type UnlockWalletRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //wallet_password should be the current valid passphrase for the daemon. This //will be required to decrypt on-disk material that the daemon requires to @@ -314,97 +355,112 @@ type UnlockWalletRequest struct { // //stateless_init is an optional argument instructing the daemon NOT to create //any *.macaroon files in its file system. - StatelessInit bool `protobuf:"varint,4,opt,name=stateless_init,json=statelessInit,proto3" json:"stateless_init,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + StatelessInit bool `protobuf:"varint,4,opt,name=stateless_init,json=statelessInit,proto3" json:"stateless_init,omitempty"` } -func (m *UnlockWalletRequest) Reset() { *m = UnlockWalletRequest{} } -func (m *UnlockWalletRequest) String() string { return proto.CompactTextString(m) } -func (*UnlockWalletRequest) ProtoMessage() {} +func (x *UnlockWalletRequest) Reset() { + *x = UnlockWalletRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_walletunlocker_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UnlockWalletRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UnlockWalletRequest) ProtoMessage() {} + +func (x *UnlockWalletRequest) ProtoReflect() protoreflect.Message { + mi := &file_walletunlocker_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 UnlockWalletRequest.ProtoReflect.Descriptor instead. func (*UnlockWalletRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_76e3ed10ed53e4fd, []int{4} + return file_walletunlocker_proto_rawDescGZIP(), []int{4} } -func (m *UnlockWalletRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UnlockWalletRequest.Unmarshal(m, b) -} -func (m *UnlockWalletRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UnlockWalletRequest.Marshal(b, m, deterministic) -} -func (m *UnlockWalletRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_UnlockWalletRequest.Merge(m, src) -} -func (m *UnlockWalletRequest) XXX_Size() int { - return xxx_messageInfo_UnlockWalletRequest.Size(m) -} -func (m *UnlockWalletRequest) XXX_DiscardUnknown() { - xxx_messageInfo_UnlockWalletRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_UnlockWalletRequest proto.InternalMessageInfo - -func (m *UnlockWalletRequest) GetWalletPassword() []byte { - if m != nil { - return m.WalletPassword +func (x *UnlockWalletRequest) GetWalletPassword() []byte { + if x != nil { + return x.WalletPassword } return nil } -func (m *UnlockWalletRequest) GetRecoveryWindow() int32 { - if m != nil { - return m.RecoveryWindow +func (x *UnlockWalletRequest) GetRecoveryWindow() int32 { + if x != nil { + return x.RecoveryWindow } return 0 } -func (m *UnlockWalletRequest) GetChannelBackups() *ChanBackupSnapshot { - if m != nil { - return m.ChannelBackups +func (x *UnlockWalletRequest) GetChannelBackups() *ChanBackupSnapshot { + if x != nil { + return x.ChannelBackups } return nil } -func (m *UnlockWalletRequest) GetStatelessInit() bool { - if m != nil { - return m.StatelessInit +func (x *UnlockWalletRequest) GetStatelessInit() bool { + if x != nil { + return x.StatelessInit } return false } type UnlockWalletResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *UnlockWalletResponse) Reset() { *m = UnlockWalletResponse{} } -func (m *UnlockWalletResponse) String() string { return proto.CompactTextString(m) } -func (*UnlockWalletResponse) ProtoMessage() {} +func (x *UnlockWalletResponse) Reset() { + *x = UnlockWalletResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_walletunlocker_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UnlockWalletResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UnlockWalletResponse) ProtoMessage() {} + +func (x *UnlockWalletResponse) ProtoReflect() protoreflect.Message { + mi := &file_walletunlocker_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 UnlockWalletResponse.ProtoReflect.Descriptor instead. func (*UnlockWalletResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_76e3ed10ed53e4fd, []int{5} + return file_walletunlocker_proto_rawDescGZIP(), []int{5} } -func (m *UnlockWalletResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UnlockWalletResponse.Unmarshal(m, b) -} -func (m *UnlockWalletResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UnlockWalletResponse.Marshal(b, m, deterministic) -} -func (m *UnlockWalletResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_UnlockWalletResponse.Merge(m, src) -} -func (m *UnlockWalletResponse) XXX_Size() int { - return xxx_messageInfo_UnlockWalletResponse.Size(m) -} -func (m *UnlockWalletResponse) XXX_DiscardUnknown() { - xxx_messageInfo_UnlockWalletResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_UnlockWalletResponse proto.InternalMessageInfo - type ChangePasswordRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //current_password should be the current valid passphrase used to unlock the //daemon. When using REST, this field must be encoded as base64. @@ -423,66 +479,74 @@ type ChangePasswordRequest struct { //new_macaroon_root_key is an optional argument instructing the daemon to //rotate the macaroon root key when set to true. This will invalidate all //previously generated macaroons. - NewMacaroonRootKey bool `protobuf:"varint,4,opt,name=new_macaroon_root_key,json=newMacaroonRootKey,proto3" json:"new_macaroon_root_key,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + NewMacaroonRootKey bool `protobuf:"varint,4,opt,name=new_macaroon_root_key,json=newMacaroonRootKey,proto3" json:"new_macaroon_root_key,omitempty"` } -func (m *ChangePasswordRequest) Reset() { *m = ChangePasswordRequest{} } -func (m *ChangePasswordRequest) String() string { return proto.CompactTextString(m) } -func (*ChangePasswordRequest) ProtoMessage() {} +func (x *ChangePasswordRequest) Reset() { + *x = ChangePasswordRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_walletunlocker_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChangePasswordRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChangePasswordRequest) ProtoMessage() {} + +func (x *ChangePasswordRequest) ProtoReflect() protoreflect.Message { + mi := &file_walletunlocker_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 ChangePasswordRequest.ProtoReflect.Descriptor instead. func (*ChangePasswordRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_76e3ed10ed53e4fd, []int{6} + return file_walletunlocker_proto_rawDescGZIP(), []int{6} } -func (m *ChangePasswordRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ChangePasswordRequest.Unmarshal(m, b) -} -func (m *ChangePasswordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ChangePasswordRequest.Marshal(b, m, deterministic) -} -func (m *ChangePasswordRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChangePasswordRequest.Merge(m, src) -} -func (m *ChangePasswordRequest) XXX_Size() int { - return xxx_messageInfo_ChangePasswordRequest.Size(m) -} -func (m *ChangePasswordRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ChangePasswordRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ChangePasswordRequest proto.InternalMessageInfo - -func (m *ChangePasswordRequest) GetCurrentPassword() []byte { - if m != nil { - return m.CurrentPassword +func (x *ChangePasswordRequest) GetCurrentPassword() []byte { + if x != nil { + return x.CurrentPassword } return nil } -func (m *ChangePasswordRequest) GetNewPassword() []byte { - if m != nil { - return m.NewPassword +func (x *ChangePasswordRequest) GetNewPassword() []byte { + if x != nil { + return x.NewPassword } return nil } -func (m *ChangePasswordRequest) GetStatelessInit() bool { - if m != nil { - return m.StatelessInit +func (x *ChangePasswordRequest) GetStatelessInit() bool { + if x != nil { + return x.StatelessInit } return false } -func (m *ChangePasswordRequest) GetNewMacaroonRootKey() bool { - if m != nil { - return m.NewMacaroonRootKey +func (x *ChangePasswordRequest) GetNewMacaroonRootKey() bool { + if x != nil { + return x.NewMacaroonRootKey } return false } type ChangePasswordResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //The binary serialized admin macaroon that can be used to access the daemon //after rotating the macaroon root key. If both the stateless_init and @@ -490,106 +554,317 @@ type ChangePasswordResponse struct { //the macaroon that was created from the new root key and MUST be stored //safely by the caller. Otherwise a copy of this macaroon is also persisted on //disk by the daemon, together with other macaroon files. - AdminMacaroon []byte `protobuf:"bytes,1,opt,name=admin_macaroon,json=adminMacaroon,proto3" json:"admin_macaroon,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + AdminMacaroon []byte `protobuf:"bytes,1,opt,name=admin_macaroon,json=adminMacaroon,proto3" json:"admin_macaroon,omitempty"` } -func (m *ChangePasswordResponse) Reset() { *m = ChangePasswordResponse{} } -func (m *ChangePasswordResponse) String() string { return proto.CompactTextString(m) } -func (*ChangePasswordResponse) ProtoMessage() {} +func (x *ChangePasswordResponse) Reset() { + *x = ChangePasswordResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_walletunlocker_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ChangePasswordResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ChangePasswordResponse) ProtoMessage() {} + +func (x *ChangePasswordResponse) ProtoReflect() protoreflect.Message { + mi := &file_walletunlocker_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 ChangePasswordResponse.ProtoReflect.Descriptor instead. func (*ChangePasswordResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_76e3ed10ed53e4fd, []int{7} + return file_walletunlocker_proto_rawDescGZIP(), []int{7} } -func (m *ChangePasswordResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ChangePasswordResponse.Unmarshal(m, b) -} -func (m *ChangePasswordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ChangePasswordResponse.Marshal(b, m, deterministic) -} -func (m *ChangePasswordResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ChangePasswordResponse.Merge(m, src) -} -func (m *ChangePasswordResponse) XXX_Size() int { - return xxx_messageInfo_ChangePasswordResponse.Size(m) -} -func (m *ChangePasswordResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ChangePasswordResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ChangePasswordResponse proto.InternalMessageInfo - -func (m *ChangePasswordResponse) GetAdminMacaroon() []byte { - if m != nil { - return m.AdminMacaroon +func (x *ChangePasswordResponse) GetAdminMacaroon() []byte { + if x != nil { + return x.AdminMacaroon } return nil } -func init() { - proto.RegisterType((*GenSeedRequest)(nil), "lnrpc.GenSeedRequest") - proto.RegisterType((*GenSeedResponse)(nil), "lnrpc.GenSeedResponse") - proto.RegisterType((*InitWalletRequest)(nil), "lnrpc.InitWalletRequest") - proto.RegisterType((*InitWalletResponse)(nil), "lnrpc.InitWalletResponse") - proto.RegisterType((*UnlockWalletRequest)(nil), "lnrpc.UnlockWalletRequest") - proto.RegisterType((*UnlockWalletResponse)(nil), "lnrpc.UnlockWalletResponse") - proto.RegisterType((*ChangePasswordRequest)(nil), "lnrpc.ChangePasswordRequest") - proto.RegisterType((*ChangePasswordResponse)(nil), "lnrpc.ChangePasswordResponse") +var File_walletunlocker_proto protoreflect.FileDescriptor + +var file_walletunlocker_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x75, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x72, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x05, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x1a, 0x09, 0x72, + 0x70, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x60, 0x0a, 0x0e, 0x47, 0x65, 0x6e, 0x53, + 0x65, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2b, 0x0a, 0x11, 0x61, 0x65, + 0x7a, 0x65, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x73, 0x73, 0x70, 0x68, 0x72, 0x61, 0x73, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x61, 0x65, 0x7a, 0x65, 0x65, 0x64, 0x50, 0x61, 0x73, + 0x73, 0x70, 0x68, 0x72, 0x61, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x65, 0x65, 0x64, 0x5f, + 0x65, 0x6e, 0x74, 0x72, 0x6f, 0x70, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x73, + 0x65, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x6f, 0x70, 0x79, 0x22, 0x6c, 0x0a, 0x0f, 0x47, 0x65, + 0x6e, 0x53, 0x65, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, + 0x14, 0x63, 0x69, 0x70, 0x68, 0x65, 0x72, 0x5f, 0x73, 0x65, 0x65, 0x64, 0x5f, 0x6d, 0x6e, 0x65, + 0x6d, 0x6f, 0x6e, 0x69, 0x63, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x12, 0x63, 0x69, 0x70, + 0x68, 0x65, 0x72, 0x53, 0x65, 0x65, 0x64, 0x4d, 0x6e, 0x65, 0x6d, 0x6f, 0x6e, 0x69, 0x63, 0x12, + 0x27, 0x0a, 0x0f, 0x65, 0x6e, 0x63, 0x69, 0x70, 0x68, 0x65, 0x72, 0x65, 0x64, 0x5f, 0x73, 0x65, + 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x65, 0x6e, 0x63, 0x69, 0x70, 0x68, + 0x65, 0x72, 0x65, 0x64, 0x53, 0x65, 0x65, 0x64, 0x22, 0xaf, 0x02, 0x0a, 0x11, 0x49, 0x6e, 0x69, + 0x74, 0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x27, + 0x0a, 0x0f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x5f, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, + 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x50, + 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x30, 0x0a, 0x14, 0x63, 0x69, 0x70, 0x68, 0x65, + 0x72, 0x5f, 0x73, 0x65, 0x65, 0x64, 0x5f, 0x6d, 0x6e, 0x65, 0x6d, 0x6f, 0x6e, 0x69, 0x63, 0x18, + 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x12, 0x63, 0x69, 0x70, 0x68, 0x65, 0x72, 0x53, 0x65, 0x65, + 0x64, 0x4d, 0x6e, 0x65, 0x6d, 0x6f, 0x6e, 0x69, 0x63, 0x12, 0x2b, 0x0a, 0x11, 0x61, 0x65, 0x7a, + 0x65, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x73, 0x73, 0x70, 0x68, 0x72, 0x61, 0x73, 0x65, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x10, 0x61, 0x65, 0x7a, 0x65, 0x65, 0x64, 0x50, 0x61, 0x73, 0x73, + 0x70, 0x68, 0x72, 0x61, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x63, 0x6f, 0x76, 0x65, + 0x72, 0x79, 0x5f, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x0e, 0x72, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x12, + 0x42, 0x0a, 0x0f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, + 0x70, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 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, 0x52, 0x0e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x42, 0x61, 0x63, 0x6b, + 0x75, 0x70, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6c, 0x65, 0x73, 0x73, + 0x5f, 0x69, 0x6e, 0x69, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x73, 0x74, 0x61, + 0x74, 0x65, 0x6c, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x69, 0x74, 0x22, 0x3b, 0x0a, 0x12, 0x49, 0x6e, + 0x69, 0x74, 0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x6d, 0x61, 0x63, 0x61, 0x72, 0x6f, + 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x4d, + 0x61, 0x63, 0x61, 0x72, 0x6f, 0x6f, 0x6e, 0x22, 0xd2, 0x01, 0x0a, 0x13, 0x55, 0x6e, 0x6c, 0x6f, + 0x63, 0x6b, 0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x27, 0x0a, 0x0f, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x5f, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, + 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x77, 0x61, 0x6c, 0x6c, 0x65, 0x74, + 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x27, 0x0a, 0x0f, 0x72, 0x65, 0x63, 0x6f, + 0x76, 0x65, 0x72, 0x79, 0x5f, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x0e, 0x72, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x57, 0x69, 0x6e, 0x64, 0x6f, + 0x77, 0x12, 0x42, 0x0a, 0x0f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x62, 0x61, 0x63, + 0x6b, 0x75, 0x70, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 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, 0x52, 0x0e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x42, 0x61, + 0x63, 0x6b, 0x75, 0x70, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6c, 0x65, + 0x73, 0x73, 0x5f, 0x69, 0x6e, 0x69, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x73, + 0x74, 0x61, 0x74, 0x65, 0x6c, 0x65, 0x73, 0x73, 0x49, 0x6e, 0x69, 0x74, 0x22, 0x16, 0x0a, 0x14, + 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xbf, 0x01, 0x0a, 0x15, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, + 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x29, + 0x0a, 0x10, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, + 0x72, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0f, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, + 0x74, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x6e, 0x65, 0x77, + 0x5f, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x0b, 0x6e, 0x65, 0x77, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x25, 0x0a, 0x0e, + 0x73, 0x74, 0x61, 0x74, 0x65, 0x6c, 0x65, 0x73, 0x73, 0x5f, 0x69, 0x6e, 0x69, 0x74, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x65, 0x6c, 0x65, 0x73, 0x73, 0x49, + 0x6e, 0x69, 0x74, 0x12, 0x31, 0x0a, 0x15, 0x6e, 0x65, 0x77, 0x5f, 0x6d, 0x61, 0x63, 0x61, 0x72, + 0x6f, 0x6f, 0x6e, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x08, 0x52, 0x12, 0x6e, 0x65, 0x77, 0x4d, 0x61, 0x63, 0x61, 0x72, 0x6f, 0x6f, 0x6e, 0x52, + 0x6f, 0x6f, 0x74, 0x4b, 0x65, 0x79, 0x22, 0x3f, 0x0a, 0x16, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, + 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x6d, 0x61, 0x63, 0x61, 0x72, 0x6f, + 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0d, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x4d, + 0x61, 0x63, 0x61, 0x72, 0x6f, 0x6f, 0x6e, 0x32, 0xa5, 0x02, 0x0a, 0x0e, 0x57, 0x61, 0x6c, 0x6c, + 0x65, 0x74, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x12, 0x38, 0x0a, 0x07, 0x47, 0x65, + 0x6e, 0x53, 0x65, 0x65, 0x64, 0x12, 0x15, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, + 0x6e, 0x53, 0x65, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x6c, + 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x6e, 0x53, 0x65, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x0a, 0x49, 0x6e, 0x69, 0x74, 0x57, 0x61, 0x6c, 0x6c, + 0x65, 0x74, 0x12, 0x18, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x57, + 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x6c, + 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x47, 0x0a, 0x0c, 0x55, 0x6e, 0x6c, 0x6f, 0x63, + 0x6b, 0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x12, 0x1a, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, + 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x55, 0x6e, 0x6c, 0x6f, + 0x63, 0x6b, 0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x4d, 0x0a, 0x0e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, + 0x72, 0x64, 0x12, 0x1c, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, + 0x65, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x1d, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x50, + 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 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, } -func init() { proto.RegisterFile("walletunlocker.proto", fileDescriptor_76e3ed10ed53e4fd) } +var ( + file_walletunlocker_proto_rawDescOnce sync.Once + file_walletunlocker_proto_rawDescData = file_walletunlocker_proto_rawDesc +) -var fileDescriptor_76e3ed10ed53e4fd = []byte{ - // 599 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x94, 0xdd, 0x6a, 0xdb, 0x4c, - 0x10, 0x86, 0x91, 0x9d, 0xe4, 0xfb, 0x32, 0x71, 0xe4, 0x64, 0x9b, 0x04, 0xc5, 0x6d, 0xc1, 0x11, - 0x04, 0xbb, 0x14, 0x9c, 0x36, 0x3d, 0x29, 0xf4, 0xa0, 0x34, 0xa5, 0x84, 0x52, 0x02, 0x41, 0x21, - 0x04, 0x7a, 0xa2, 0x6e, 0xa4, 0xc1, 0x12, 0x96, 0x67, 0xd5, 0xdd, 0x75, 0x85, 0x7b, 0x3f, 0x3d, - 0xee, 0x25, 0xf4, 0x1e, 0x7a, 0x45, 0x45, 0xab, 0xb5, 0xf3, 0x63, 0x19, 0xfa, 0x73, 0xfa, 0xcc, - 0xcc, 0xee, 0xbc, 0xef, 0xcc, 0x2e, 0xec, 0x14, 0x3c, 0xcb, 0x50, 0x4f, 0x28, 0x13, 0xd1, 0x08, - 0xe5, 0x20, 0x97, 0x42, 0x0b, 0xb6, 0x9a, 0x91, 0xcc, 0xa3, 0xce, 0xba, 0xcc, 0xa3, 0x8a, 0xf8, - 0x9f, 0xc0, 0x3d, 0x45, 0xba, 0x40, 0x8c, 0x03, 0xfc, 0x3c, 0x41, 0xa5, 0xd9, 0x53, 0xd8, 0xe6, - 0xf8, 0x15, 0x31, 0x0e, 0x73, 0xae, 0x54, 0x9e, 0x48, 0xae, 0xd0, 0x73, 0xba, 0x4e, 0xbf, 0x15, - 0x6c, 0x55, 0x81, 0xf3, 0x39, 0x67, 0x07, 0xd0, 0x52, 0x65, 0x2a, 0x92, 0x96, 0x22, 0x9f, 0x7a, - 0x0d, 0x93, 0xb7, 0x51, 0xb2, 0x77, 0x15, 0xf2, 0x33, 0x68, 0xcf, 0x6f, 0x50, 0xb9, 0x20, 0x85, - 0xec, 0x19, 0xec, 0x44, 0x69, 0x9e, 0xa0, 0x0c, 0x4d, 0xf1, 0x98, 0x70, 0x2c, 0x28, 0x8d, 0x3c, - 0xa7, 0xdb, 0xec, 0xaf, 0x07, 0xac, 0x8a, 0x95, 0x15, 0x67, 0x36, 0xc2, 0x7a, 0xd0, 0x46, 0xaa, - 0x38, 0xc6, 0xa6, 0xca, 0x5e, 0xe5, 0xde, 0xe0, 0xb2, 0xc0, 0xff, 0xde, 0x80, 0xed, 0xf7, 0x94, - 0xea, 0x2b, 0x23, 0x7f, 0xa6, 0xa9, 0x07, 0xed, 0xca, 0x0f, 0xa3, 0xa9, 0x10, 0x32, 0xb6, 0x8a, - 0xdc, 0x0a, 0x9f, 0x5b, 0xba, 0xb4, 0xb3, 0xc6, 0xd2, 0xce, 0x6a, 0xed, 0x6a, 0x2e, 0xb1, 0xab, - 0x07, 0x6d, 0x89, 0x91, 0xf8, 0x82, 0x72, 0x1a, 0x16, 0x29, 0xc5, 0xa2, 0xf0, 0x56, 0xba, 0x4e, - 0x7f, 0x35, 0x70, 0x67, 0xf8, 0xca, 0x50, 0x76, 0x02, 0xed, 0x28, 0xe1, 0x44, 0x98, 0x85, 0xd7, - 0x3c, 0x1a, 0x4d, 0x72, 0xe5, 0xad, 0x76, 0x9d, 0xfe, 0xc6, 0xf1, 0xfe, 0xc0, 0x8c, 0x70, 0xf0, - 0x36, 0xe1, 0x74, 0x62, 0x22, 0x17, 0xc4, 0x73, 0x95, 0x08, 0x1d, 0xb8, 0xb6, 0xa2, 0xc2, 0x8a, - 0x1d, 0x82, 0xab, 0x34, 0xd7, 0x98, 0xa1, 0x52, 0x61, 0x4a, 0xa9, 0xf6, 0xd6, 0xba, 0x4e, 0xff, - 0xff, 0x60, 0x73, 0x4e, 0x4b, 0xa3, 0xfc, 0x57, 0xc0, 0x6e, 0x1b, 0x66, 0x47, 0x74, 0x08, 0x2e, - 0x8f, 0xc7, 0x29, 0x85, 0x63, 0x1e, 0x71, 0x29, 0x04, 0x59, 0xc3, 0x36, 0x0d, 0x3d, 0xb3, 0xd0, - 0xff, 0xe9, 0xc0, 0x83, 0x4b, 0xb3, 0x63, 0x7f, 0x69, 0x78, 0x8d, 0x23, 0x8d, 0xdf, 0x75, 0xa4, - 0xf9, 0xef, 0x8e, 0xac, 0xd4, 0x39, 0xb2, 0x07, 0x3b, 0x77, 0x35, 0x55, 0x9e, 0xf8, 0x3f, 0x1c, - 0xd8, 0x2d, 0x6f, 0x19, 0xe2, 0xac, 0xfd, 0x99, 0xdc, 0x27, 0xb0, 0x15, 0x4d, 0xa4, 0x44, 0x5a, - 0xd0, 0xdb, 0xb6, 0x7c, 0x2e, 0xf8, 0x00, 0x5a, 0x84, 0xc5, 0x4d, 0x9a, 0x7d, 0x31, 0x84, 0xc5, - 0x3c, 0x65, 0xb1, 0xcd, 0x66, 0x4d, 0x9b, 0xec, 0x39, 0xec, 0x96, 0x27, 0xcd, 0x06, 0x14, 0x4a, - 0x21, 0x74, 0x38, 0xc2, 0xa9, 0x15, 0xc5, 0x08, 0x8b, 0xd9, 0x9c, 0x02, 0x21, 0xf4, 0x07, 0x9c, - 0xfa, 0xaf, 0x61, 0xef, 0xbe, 0x80, 0x3f, 0x9a, 0xf7, 0xf1, 0xb7, 0x06, 0xb8, 0x95, 0x2b, 0x97, - 0xf6, 0x67, 0x61, 0x2f, 0xe1, 0x3f, 0xfb, 0xbe, 0xd9, 0xae, 0x1d, 0xc5, 0xdd, 0x1f, 0xa5, 0xb3, - 0x77, 0x1f, 0xdb, 0x3b, 0xdf, 0x00, 0xdc, 0x6c, 0x1e, 0xf3, 0x6c, 0xd6, 0xc2, 0xeb, 0xed, 0xec, - 0xd7, 0x44, 0xec, 0x11, 0xa7, 0xd0, 0xba, 0x3d, 0x2a, 0xd6, 0xb1, 0xa9, 0x35, 0x3b, 0xd9, 0x79, - 0x58, 0x1b, 0xb3, 0x07, 0x9d, 0x81, 0x7b, 0xd7, 0x19, 0xf6, 0xe8, 0xd6, 0x5e, 0x2d, 0x4c, 0xbc, - 0xf3, 0x78, 0x49, 0xb4, 0x3a, 0xee, 0xa4, 0xf7, 0xf1, 0x70, 0x98, 0xea, 0x64, 0x72, 0x3d, 0x88, - 0xc4, 0xf8, 0x28, 0x4b, 0x87, 0x89, 0xa6, 0x94, 0x86, 0x84, 0xba, 0x10, 0x72, 0x74, 0x94, 0x51, - 0x7c, 0x64, 0xea, 0xaf, 0xd7, 0xcc, 0x37, 0xfc, 0xe2, 0x57, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf8, - 0x7a, 0x3b, 0x08, 0xb0, 0x05, 0x00, 0x00, +func file_walletunlocker_proto_rawDescGZIP() []byte { + file_walletunlocker_proto_rawDescOnce.Do(func() { + file_walletunlocker_proto_rawDescData = protoimpl.X.CompressGZIP(file_walletunlocker_proto_rawDescData) + }) + return file_walletunlocker_proto_rawDescData +} + +var file_walletunlocker_proto_msgTypes = make([]protoimpl.MessageInfo, 8) +var file_walletunlocker_proto_goTypes = []interface{}{ + (*GenSeedRequest)(nil), // 0: lnrpc.GenSeedRequest + (*GenSeedResponse)(nil), // 1: lnrpc.GenSeedResponse + (*InitWalletRequest)(nil), // 2: lnrpc.InitWalletRequest + (*InitWalletResponse)(nil), // 3: lnrpc.InitWalletResponse + (*UnlockWalletRequest)(nil), // 4: lnrpc.UnlockWalletRequest + (*UnlockWalletResponse)(nil), // 5: lnrpc.UnlockWalletResponse + (*ChangePasswordRequest)(nil), // 6: lnrpc.ChangePasswordRequest + (*ChangePasswordResponse)(nil), // 7: lnrpc.ChangePasswordResponse + (*ChanBackupSnapshot)(nil), // 8: lnrpc.ChanBackupSnapshot +} +var file_walletunlocker_proto_depIdxs = []int32{ + 8, // 0: lnrpc.InitWalletRequest.channel_backups:type_name -> lnrpc.ChanBackupSnapshot + 8, // 1: lnrpc.UnlockWalletRequest.channel_backups:type_name -> lnrpc.ChanBackupSnapshot + 0, // 2: lnrpc.WalletUnlocker.GenSeed:input_type -> lnrpc.GenSeedRequest + 2, // 3: lnrpc.WalletUnlocker.InitWallet:input_type -> lnrpc.InitWalletRequest + 4, // 4: lnrpc.WalletUnlocker.UnlockWallet:input_type -> lnrpc.UnlockWalletRequest + 6, // 5: lnrpc.WalletUnlocker.ChangePassword:input_type -> lnrpc.ChangePasswordRequest + 1, // 6: lnrpc.WalletUnlocker.GenSeed:output_type -> lnrpc.GenSeedResponse + 3, // 7: lnrpc.WalletUnlocker.InitWallet:output_type -> lnrpc.InitWalletResponse + 5, // 8: lnrpc.WalletUnlocker.UnlockWallet:output_type -> lnrpc.UnlockWalletResponse + 7, // 9: lnrpc.WalletUnlocker.ChangePassword:output_type -> lnrpc.ChangePasswordResponse + 6, // [6:10] is the sub-list for method output_type + 2, // [2:6] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_walletunlocker_proto_init() } +func file_walletunlocker_proto_init() { + if File_walletunlocker_proto != nil { + return + } + file_rpc_proto_init() + if !protoimpl.UnsafeEnabled { + file_walletunlocker_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GenSeedRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_walletunlocker_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GenSeedResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_walletunlocker_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InitWalletRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_walletunlocker_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InitWalletResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_walletunlocker_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UnlockWalletRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_walletunlocker_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UnlockWalletResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_walletunlocker_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChangePasswordRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_walletunlocker_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ChangePasswordResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_walletunlocker_proto_rawDesc, + NumEnums: 0, + NumMessages: 8, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_walletunlocker_proto_goTypes, + DependencyIndexes: file_walletunlocker_proto_depIdxs, + MessageInfos: file_walletunlocker_proto_msgTypes, + }.Build() + File_walletunlocker_proto = out.File + file_walletunlocker_proto_rawDesc = nil + file_walletunlocker_proto_goTypes = nil + file_walletunlocker_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 +const _ = grpc.SupportPackageIsVersion6 // WalletUnlockerClient is the client API for WalletUnlocker service. // @@ -630,10 +905,10 @@ type WalletUnlockerClient interface { } type walletUnlockerClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewWalletUnlockerClient(cc *grpc.ClientConn) WalletUnlockerClient { +func NewWalletUnlockerClient(cc grpc.ClientConnInterface) WalletUnlockerClient { return &walletUnlockerClient{cc} } @@ -713,16 +988,16 @@ type WalletUnlockerServer interface { type UnimplementedWalletUnlockerServer struct { } -func (*UnimplementedWalletUnlockerServer) GenSeed(ctx context.Context, req *GenSeedRequest) (*GenSeedResponse, error) { +func (*UnimplementedWalletUnlockerServer) GenSeed(context.Context, *GenSeedRequest) (*GenSeedResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GenSeed not implemented") } -func (*UnimplementedWalletUnlockerServer) InitWallet(ctx context.Context, req *InitWalletRequest) (*InitWalletResponse, error) { +func (*UnimplementedWalletUnlockerServer) InitWallet(context.Context, *InitWalletRequest) (*InitWalletResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method InitWallet not implemented") } -func (*UnimplementedWalletUnlockerServer) UnlockWallet(ctx context.Context, req *UnlockWalletRequest) (*UnlockWalletResponse, error) { +func (*UnimplementedWalletUnlockerServer) UnlockWallet(context.Context, *UnlockWalletRequest) (*UnlockWalletResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UnlockWallet not implemented") } -func (*UnimplementedWalletUnlockerServer) ChangePassword(ctx context.Context, req *ChangePasswordRequest) (*ChangePasswordResponse, error) { +func (*UnimplementedWalletUnlockerServer) ChangePassword(context.Context, *ChangePasswordRequest) (*ChangePasswordResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ChangePassword not implemented") } diff --git a/lnrpc/watchtowerrpc/watchtower.pb.go b/lnrpc/watchtowerrpc/watchtower.pb.go index 9c4bb93f6..e98831d8e 100644 --- a/lnrpc/watchtowerrpc/watchtower.pb.go +++ b/lnrpc/watchtowerrpc/watchtower.pb.go @@ -1,150 +1,248 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.6.1 // source: watchtowerrpc/watchtower.proto package watchtowerrpc import ( context "context" - fmt "fmt" proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type GetInfoRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *GetInfoRequest) Reset() { *m = GetInfoRequest{} } -func (m *GetInfoRequest) String() string { return proto.CompactTextString(m) } -func (*GetInfoRequest) ProtoMessage() {} +func (x *GetInfoRequest) Reset() { + *x = GetInfoRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_watchtowerrpc_watchtower_proto_msgTypes[0] + 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_watchtowerrpc_watchtower_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 GetInfoRequest.ProtoReflect.Descriptor instead. func (*GetInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_9f019c0e859ad3d6, []int{0} + return file_watchtowerrpc_watchtower_proto_rawDescGZIP(), []int{0} } -func (m *GetInfoRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetInfoRequest.Unmarshal(m, b) -} -func (m *GetInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetInfoRequest.Marshal(b, m, deterministic) -} -func (m *GetInfoRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetInfoRequest.Merge(m, src) -} -func (m *GetInfoRequest) XXX_Size() int { - return xxx_messageInfo_GetInfoRequest.Size(m) -} -func (m *GetInfoRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetInfoRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetInfoRequest proto.InternalMessageInfo - type GetInfoResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The public key of the watchtower. Pubkey []byte `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"` // The listening addresses of the watchtower. Listeners []string `protobuf:"bytes,2,rep,name=listeners,proto3" json:"listeners,omitempty"` // The URIs of the watchtower. - Uris []string `protobuf:"bytes,3,rep,name=uris,proto3" json:"uris,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Uris []string `protobuf:"bytes,3,rep,name=uris,proto3" json:"uris,omitempty"` } -func (m *GetInfoResponse) Reset() { *m = GetInfoResponse{} } -func (m *GetInfoResponse) String() string { return proto.CompactTextString(m) } -func (*GetInfoResponse) ProtoMessage() {} +func (x *GetInfoResponse) Reset() { + *x = GetInfoResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_watchtowerrpc_watchtower_proto_msgTypes[1] + 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_watchtowerrpc_watchtower_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 GetInfoResponse.ProtoReflect.Descriptor instead. func (*GetInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_9f019c0e859ad3d6, []int{1} + return file_watchtowerrpc_watchtower_proto_rawDescGZIP(), []int{1} } -func (m *GetInfoResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetInfoResponse.Unmarshal(m, b) -} -func (m *GetInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetInfoResponse.Marshal(b, m, deterministic) -} -func (m *GetInfoResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetInfoResponse.Merge(m, src) -} -func (m *GetInfoResponse) XXX_Size() int { - return xxx_messageInfo_GetInfoResponse.Size(m) -} -func (m *GetInfoResponse) XXX_DiscardUnknown() { - xxx_messageInfo_GetInfoResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_GetInfoResponse proto.InternalMessageInfo - -func (m *GetInfoResponse) GetPubkey() []byte { - if m != nil { - return m.Pubkey +func (x *GetInfoResponse) GetPubkey() []byte { + if x != nil { + return x.Pubkey } return nil } -func (m *GetInfoResponse) GetListeners() []string { - if m != nil { - return m.Listeners +func (x *GetInfoResponse) GetListeners() []string { + if x != nil { + return x.Listeners } return nil } -func (m *GetInfoResponse) GetUris() []string { - if m != nil { - return m.Uris +func (x *GetInfoResponse) GetUris() []string { + if x != nil { + return x.Uris } return nil } -func init() { - proto.RegisterType((*GetInfoRequest)(nil), "watchtowerrpc.GetInfoRequest") - proto.RegisterType((*GetInfoResponse)(nil), "watchtowerrpc.GetInfoResponse") +var File_watchtowerrpc_watchtower_proto protoreflect.FileDescriptor + +var file_watchtowerrpc_watchtower_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x77, 0x61, 0x74, 0x63, 0x68, 0x74, 0x6f, 0x77, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2f, + 0x77, 0x61, 0x74, 0x63, 0x68, 0x74, 0x6f, 0x77, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x12, 0x0d, 0x77, 0x61, 0x74, 0x63, 0x68, 0x74, 0x6f, 0x77, 0x65, 0x72, 0x72, 0x70, 0x63, 0x22, + 0x10, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x22, 0x5b, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x12, 0x1c, 0x0a, 0x09, + 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x09, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x72, + 0x69, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x75, 0x72, 0x69, 0x73, 0x32, 0x56, + 0x0a, 0x0a, 0x57, 0x61, 0x74, 0x63, 0x68, 0x74, 0x6f, 0x77, 0x65, 0x72, 0x12, 0x48, 0x0a, 0x07, + 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1d, 0x2e, 0x77, 0x61, 0x74, 0x63, 0x68, 0x74, + 0x6f, 0x77, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x77, 0x61, 0x74, 0x63, 0x68, 0x74, 0x6f, + 0x77, 0x65, 0x72, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x35, 0x5a, 0x33, 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, 0x2f, + 0x77, 0x61, 0x74, 0x63, 0x68, 0x74, 0x6f, 0x77, 0x65, 0x72, 0x72, 0x70, 0x63, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, } -func init() { proto.RegisterFile("watchtowerrpc/watchtower.proto", fileDescriptor_9f019c0e859ad3d6) } +var ( + file_watchtowerrpc_watchtower_proto_rawDescOnce sync.Once + file_watchtowerrpc_watchtower_proto_rawDescData = file_watchtowerrpc_watchtower_proto_rawDesc +) -var fileDescriptor_9f019c0e859ad3d6 = []byte{ - // 213 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x2b, 0x4f, 0x2c, 0x49, - 0xce, 0x28, 0xc9, 0x2f, 0x4f, 0x2d, 0x2a, 0x2a, 0x48, 0xd6, 0x47, 0xf0, 0xf4, 0x0a, 0x8a, 0xf2, - 0x4b, 0xf2, 0x85, 0x78, 0x51, 0xe4, 0x95, 0x04, 0xb8, 0xf8, 0xdc, 0x53, 0x4b, 0x3c, 0xf3, 0xd2, - 0xf2, 0x83, 0x52, 0x0b, 0x4b, 0x53, 0x8b, 0x4b, 0x94, 0xa2, 0xb9, 0xf8, 0xe1, 0x22, 0xc5, 0x05, - 0xf9, 0x79, 0xc5, 0xa9, 0x42, 0x62, 0x5c, 0x6c, 0x05, 0xa5, 0x49, 0xd9, 0xa9, 0x95, 0x12, 0x8c, - 0x0a, 0x8c, 0x1a, 0x3c, 0x41, 0x50, 0x9e, 0x90, 0x0c, 0x17, 0x67, 0x4e, 0x66, 0x71, 0x49, 0x6a, - 0x5e, 0x6a, 0x51, 0xb1, 0x04, 0x93, 0x02, 0xb3, 0x06, 0x67, 0x10, 0x42, 0x40, 0x48, 0x88, 0x8b, - 0xa5, 0xb4, 0x28, 0xb3, 0x58, 0x82, 0x19, 0x2c, 0x01, 0x66, 0x1b, 0x85, 0x71, 0x71, 0x85, 0xc3, - 0xed, 0x17, 0xf2, 0xe0, 0x62, 0x87, 0x5a, 0x25, 0x24, 0xab, 0x87, 0xe2, 0x2e, 0x3d, 0x54, 0x47, - 0x49, 0xc9, 0xe1, 0x92, 0x86, 0xb8, 0xd0, 0xc9, 0x34, 0xca, 0x38, 0x3d, 0xb3, 0x24, 0xa3, 0x34, - 0x49, 0x2f, 0x39, 0x3f, 0x57, 0x3f, 0x27, 0x33, 0x3d, 0xa3, 0x24, 0x2f, 0x33, 0x2f, 0x3d, 0x2f, - 0xb5, 0xa4, 0x3c, 0xbf, 0x28, 0x5b, 0x3f, 0x27, 0x2f, 0x45, 0x3f, 0x27, 0x0f, 0x35, 0x3c, 0x8a, - 0x0a, 0x92, 0x93, 0xd8, 0xc0, 0x61, 0x62, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0xa1, 0x23, 0x0b, - 0x68, 0x35, 0x01, 0x00, 0x00, +func file_watchtowerrpc_watchtower_proto_rawDescGZIP() []byte { + file_watchtowerrpc_watchtower_proto_rawDescOnce.Do(func() { + file_watchtowerrpc_watchtower_proto_rawDescData = protoimpl.X.CompressGZIP(file_watchtowerrpc_watchtower_proto_rawDescData) + }) + return file_watchtowerrpc_watchtower_proto_rawDescData +} + +var file_watchtowerrpc_watchtower_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_watchtowerrpc_watchtower_proto_goTypes = []interface{}{ + (*GetInfoRequest)(nil), // 0: watchtowerrpc.GetInfoRequest + (*GetInfoResponse)(nil), // 1: watchtowerrpc.GetInfoResponse +} +var file_watchtowerrpc_watchtower_proto_depIdxs = []int32{ + 0, // 0: watchtowerrpc.Watchtower.GetInfo:input_type -> watchtowerrpc.GetInfoRequest + 1, // 1: watchtowerrpc.Watchtower.GetInfo:output_type -> watchtowerrpc.GetInfoResponse + 1, // [1:2] is the sub-list for method output_type + 0, // [0:1] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_watchtowerrpc_watchtower_proto_init() } +func file_watchtowerrpc_watchtower_proto_init() { + if File_watchtowerrpc_watchtower_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_watchtowerrpc_watchtower_proto_msgTypes[0].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_watchtowerrpc_watchtower_proto_msgTypes[1].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 + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_watchtowerrpc_watchtower_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_watchtowerrpc_watchtower_proto_goTypes, + DependencyIndexes: file_watchtowerrpc_watchtower_proto_depIdxs, + MessageInfos: file_watchtowerrpc_watchtower_proto_msgTypes, + }.Build() + File_watchtowerrpc_watchtower_proto = out.File + file_watchtowerrpc_watchtower_proto_rawDesc = nil + file_watchtowerrpc_watchtower_proto_goTypes = nil + file_watchtowerrpc_watchtower_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 +const _ = grpc.SupportPackageIsVersion6 // WatchtowerClient is the client API for Watchtower service. // @@ -158,10 +256,10 @@ type WatchtowerClient interface { } type watchtowerClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewWatchtowerClient(cc *grpc.ClientConn) WatchtowerClient { +func NewWatchtowerClient(cc grpc.ClientConnInterface) WatchtowerClient { return &watchtowerClient{cc} } @@ -187,7 +285,7 @@ type WatchtowerServer interface { type UnimplementedWatchtowerServer struct { } -func (*UnimplementedWatchtowerServer) GetInfo(ctx context.Context, req *GetInfoRequest) (*GetInfoResponse, error) { +func (*UnimplementedWatchtowerServer) GetInfo(context.Context, *GetInfoRequest) (*GetInfoResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetInfo not implemented") } diff --git a/lnrpc/wtclientrpc/wtclient.pb.go b/lnrpc/wtclientrpc/wtclient.pb.go index 748296974..8ef388130 100644 --- a/lnrpc/wtclientrpc/wtclient.pb.go +++ b/lnrpc/wtclientrpc/wtclient.pb.go @@ -1,28 +1,33 @@ // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.6.1 // source: wtclientrpc/wtclient.proto package wtclientrpc import ( context "context" - fmt "fmt" proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type PolicyType int32 @@ -33,237 +38,300 @@ const ( PolicyType_ANCHOR PolicyType = 1 ) -var PolicyType_name = map[int32]string{ - 0: "LEGACY", - 1: "ANCHOR", -} +// Enum value maps for PolicyType. +var ( + PolicyType_name = map[int32]string{ + 0: "LEGACY", + 1: "ANCHOR", + } + PolicyType_value = map[string]int32{ + "LEGACY": 0, + "ANCHOR": 1, + } +) -var PolicyType_value = map[string]int32{ - "LEGACY": 0, - "ANCHOR": 1, +func (x PolicyType) Enum() *PolicyType { + p := new(PolicyType) + *p = x + return p } func (x PolicyType) String() string { - return proto.EnumName(PolicyType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (PolicyType) Descriptor() protoreflect.EnumDescriptor { + return file_wtclientrpc_wtclient_proto_enumTypes[0].Descriptor() +} + +func (PolicyType) Type() protoreflect.EnumType { + return &file_wtclientrpc_wtclient_proto_enumTypes[0] +} + +func (x PolicyType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use PolicyType.Descriptor instead. func (PolicyType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_b5f4e7d95a641af2, []int{0} + return file_wtclientrpc_wtclient_proto_rawDescGZIP(), []int{0} } type AddTowerRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The identifying public key of the watchtower to add. Pubkey []byte `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"` // A network address the watchtower is reachable over. - Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` } -func (m *AddTowerRequest) Reset() { *m = AddTowerRequest{} } -func (m *AddTowerRequest) String() string { return proto.CompactTextString(m) } -func (*AddTowerRequest) ProtoMessage() {} +func (x *AddTowerRequest) Reset() { + *x = AddTowerRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_wtclientrpc_wtclient_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddTowerRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddTowerRequest) ProtoMessage() {} + +func (x *AddTowerRequest) ProtoReflect() protoreflect.Message { + mi := &file_wtclientrpc_wtclient_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 AddTowerRequest.ProtoReflect.Descriptor instead. func (*AddTowerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b5f4e7d95a641af2, []int{0} + return file_wtclientrpc_wtclient_proto_rawDescGZIP(), []int{0} } -func (m *AddTowerRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AddTowerRequest.Unmarshal(m, b) -} -func (m *AddTowerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AddTowerRequest.Marshal(b, m, deterministic) -} -func (m *AddTowerRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddTowerRequest.Merge(m, src) -} -func (m *AddTowerRequest) XXX_Size() int { - return xxx_messageInfo_AddTowerRequest.Size(m) -} -func (m *AddTowerRequest) XXX_DiscardUnknown() { - xxx_messageInfo_AddTowerRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_AddTowerRequest proto.InternalMessageInfo - -func (m *AddTowerRequest) GetPubkey() []byte { - if m != nil { - return m.Pubkey +func (x *AddTowerRequest) GetPubkey() []byte { + if x != nil { + return x.Pubkey } return nil } -func (m *AddTowerRequest) GetAddress() string { - if m != nil { - return m.Address +func (x *AddTowerRequest) GetAddress() string { + if x != nil { + return x.Address } return "" } type AddTowerResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *AddTowerResponse) Reset() { *m = AddTowerResponse{} } -func (m *AddTowerResponse) String() string { return proto.CompactTextString(m) } -func (*AddTowerResponse) ProtoMessage() {} +func (x *AddTowerResponse) Reset() { + *x = AddTowerResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_wtclientrpc_wtclient_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *AddTowerResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*AddTowerResponse) ProtoMessage() {} + +func (x *AddTowerResponse) ProtoReflect() protoreflect.Message { + mi := &file_wtclientrpc_wtclient_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 AddTowerResponse.ProtoReflect.Descriptor instead. func (*AddTowerResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b5f4e7d95a641af2, []int{1} + return file_wtclientrpc_wtclient_proto_rawDescGZIP(), []int{1} } -func (m *AddTowerResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_AddTowerResponse.Unmarshal(m, b) -} -func (m *AddTowerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_AddTowerResponse.Marshal(b, m, deterministic) -} -func (m *AddTowerResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_AddTowerResponse.Merge(m, src) -} -func (m *AddTowerResponse) XXX_Size() int { - return xxx_messageInfo_AddTowerResponse.Size(m) -} -func (m *AddTowerResponse) XXX_DiscardUnknown() { - xxx_messageInfo_AddTowerResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_AddTowerResponse proto.InternalMessageInfo - type RemoveTowerRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The identifying public key of the watchtower to remove. Pubkey []byte `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"` // //If set, then the record for this address will be removed, indicating that is //is stale. Otherwise, the watchtower will no longer be used for future //session negotiations and backups. - Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` } -func (m *RemoveTowerRequest) Reset() { *m = RemoveTowerRequest{} } -func (m *RemoveTowerRequest) String() string { return proto.CompactTextString(m) } -func (*RemoveTowerRequest) ProtoMessage() {} +func (x *RemoveTowerRequest) Reset() { + *x = RemoveTowerRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_wtclientrpc_wtclient_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RemoveTowerRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RemoveTowerRequest) ProtoMessage() {} + +func (x *RemoveTowerRequest) ProtoReflect() protoreflect.Message { + mi := &file_wtclientrpc_wtclient_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 RemoveTowerRequest.ProtoReflect.Descriptor instead. func (*RemoveTowerRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b5f4e7d95a641af2, []int{2} + return file_wtclientrpc_wtclient_proto_rawDescGZIP(), []int{2} } -func (m *RemoveTowerRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RemoveTowerRequest.Unmarshal(m, b) -} -func (m *RemoveTowerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RemoveTowerRequest.Marshal(b, m, deterministic) -} -func (m *RemoveTowerRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveTowerRequest.Merge(m, src) -} -func (m *RemoveTowerRequest) XXX_Size() int { - return xxx_messageInfo_RemoveTowerRequest.Size(m) -} -func (m *RemoveTowerRequest) XXX_DiscardUnknown() { - xxx_messageInfo_RemoveTowerRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_RemoveTowerRequest proto.InternalMessageInfo - -func (m *RemoveTowerRequest) GetPubkey() []byte { - if m != nil { - return m.Pubkey +func (x *RemoveTowerRequest) GetPubkey() []byte { + if x != nil { + return x.Pubkey } return nil } -func (m *RemoveTowerRequest) GetAddress() string { - if m != nil { - return m.Address +func (x *RemoveTowerRequest) GetAddress() string { + if x != nil { + return x.Address } return "" } type RemoveTowerResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *RemoveTowerResponse) Reset() { *m = RemoveTowerResponse{} } -func (m *RemoveTowerResponse) String() string { return proto.CompactTextString(m) } -func (*RemoveTowerResponse) ProtoMessage() {} +func (x *RemoveTowerResponse) Reset() { + *x = RemoveTowerResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_wtclientrpc_wtclient_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *RemoveTowerResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*RemoveTowerResponse) ProtoMessage() {} + +func (x *RemoveTowerResponse) ProtoReflect() protoreflect.Message { + mi := &file_wtclientrpc_wtclient_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 RemoveTowerResponse.ProtoReflect.Descriptor instead. func (*RemoveTowerResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b5f4e7d95a641af2, []int{3} + return file_wtclientrpc_wtclient_proto_rawDescGZIP(), []int{3} } -func (m *RemoveTowerResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RemoveTowerResponse.Unmarshal(m, b) -} -func (m *RemoveTowerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RemoveTowerResponse.Marshal(b, m, deterministic) -} -func (m *RemoveTowerResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_RemoveTowerResponse.Merge(m, src) -} -func (m *RemoveTowerResponse) XXX_Size() int { - return xxx_messageInfo_RemoveTowerResponse.Size(m) -} -func (m *RemoveTowerResponse) XXX_DiscardUnknown() { - xxx_messageInfo_RemoveTowerResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_RemoveTowerResponse proto.InternalMessageInfo - type GetTowerInfoRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The identifying public key of the watchtower to retrieve information for. Pubkey []byte `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"` // Whether we should include sessions with the watchtower in the response. - IncludeSessions bool `protobuf:"varint,2,opt,name=include_sessions,json=includeSessions,proto3" json:"include_sessions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + IncludeSessions bool `protobuf:"varint,2,opt,name=include_sessions,json=includeSessions,proto3" json:"include_sessions,omitempty"` } -func (m *GetTowerInfoRequest) Reset() { *m = GetTowerInfoRequest{} } -func (m *GetTowerInfoRequest) String() string { return proto.CompactTextString(m) } -func (*GetTowerInfoRequest) ProtoMessage() {} +func (x *GetTowerInfoRequest) Reset() { + *x = GetTowerInfoRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_wtclientrpc_wtclient_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetTowerInfoRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetTowerInfoRequest) ProtoMessage() {} + +func (x *GetTowerInfoRequest) ProtoReflect() protoreflect.Message { + mi := &file_wtclientrpc_wtclient_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 GetTowerInfoRequest.ProtoReflect.Descriptor instead. func (*GetTowerInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b5f4e7d95a641af2, []int{4} + return file_wtclientrpc_wtclient_proto_rawDescGZIP(), []int{4} } -func (m *GetTowerInfoRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetTowerInfoRequest.Unmarshal(m, b) -} -func (m *GetTowerInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetTowerInfoRequest.Marshal(b, m, deterministic) -} -func (m *GetTowerInfoRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetTowerInfoRequest.Merge(m, src) -} -func (m *GetTowerInfoRequest) XXX_Size() int { - return xxx_messageInfo_GetTowerInfoRequest.Size(m) -} -func (m *GetTowerInfoRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetTowerInfoRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_GetTowerInfoRequest proto.InternalMessageInfo - -func (m *GetTowerInfoRequest) GetPubkey() []byte { - if m != nil { - return m.Pubkey +func (x *GetTowerInfoRequest) GetPubkey() []byte { + if x != nil { + return x.Pubkey } return nil } -func (m *GetTowerInfoRequest) GetIncludeSessions() bool { - if m != nil { - return m.IncludeSessions +func (x *GetTowerInfoRequest) GetIncludeSessions() bool { + if x != nil { + return x.IncludeSessions } return false } type TowerSession struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //The total number of successful backups that have been made to the //watchtower session. @@ -278,78 +346,88 @@ type TowerSession struct { //Deprecated, use sweep_sat_per_vbyte. //The fee rate, in satoshis per vbyte, that will be used by the watchtower for //the justice transaction in the event of a channel breach. - SweepSatPerByte uint32 `protobuf:"varint,4,opt,name=sweep_sat_per_byte,json=sweepSatPerByte,proto3" json:"sweep_sat_per_byte,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + SweepSatPerByte uint32 `protobuf:"varint,4,opt,name=sweep_sat_per_byte,json=sweepSatPerByte,proto3" json:"sweep_sat_per_byte,omitempty"` // //The fee rate, in satoshis per vbyte, that will be used by the watchtower for //the justice transaction in the event of a channel breach. - SweepSatPerVbyte uint32 `protobuf:"varint,5,opt,name=sweep_sat_per_vbyte,json=sweepSatPerVbyte,proto3" json:"sweep_sat_per_vbyte,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SweepSatPerVbyte uint32 `protobuf:"varint,5,opt,name=sweep_sat_per_vbyte,json=sweepSatPerVbyte,proto3" json:"sweep_sat_per_vbyte,omitempty"` } -func (m *TowerSession) Reset() { *m = TowerSession{} } -func (m *TowerSession) String() string { return proto.CompactTextString(m) } -func (*TowerSession) ProtoMessage() {} +func (x *TowerSession) Reset() { + *x = TowerSession{} + if protoimpl.UnsafeEnabled { + mi := &file_wtclientrpc_wtclient_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TowerSession) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TowerSession) ProtoMessage() {} + +func (x *TowerSession) ProtoReflect() protoreflect.Message { + mi := &file_wtclientrpc_wtclient_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 TowerSession.ProtoReflect.Descriptor instead. func (*TowerSession) Descriptor() ([]byte, []int) { - return fileDescriptor_b5f4e7d95a641af2, []int{5} + return file_wtclientrpc_wtclient_proto_rawDescGZIP(), []int{5} } -func (m *TowerSession) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TowerSession.Unmarshal(m, b) -} -func (m *TowerSession) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TowerSession.Marshal(b, m, deterministic) -} -func (m *TowerSession) XXX_Merge(src proto.Message) { - xxx_messageInfo_TowerSession.Merge(m, src) -} -func (m *TowerSession) XXX_Size() int { - return xxx_messageInfo_TowerSession.Size(m) -} -func (m *TowerSession) XXX_DiscardUnknown() { - xxx_messageInfo_TowerSession.DiscardUnknown(m) -} - -var xxx_messageInfo_TowerSession proto.InternalMessageInfo - -func (m *TowerSession) GetNumBackups() uint32 { - if m != nil { - return m.NumBackups +func (x *TowerSession) GetNumBackups() uint32 { + if x != nil { + return x.NumBackups } return 0 } -func (m *TowerSession) GetNumPendingBackups() uint32 { - if m != nil { - return m.NumPendingBackups +func (x *TowerSession) GetNumPendingBackups() uint32 { + if x != nil { + return x.NumPendingBackups } return 0 } -func (m *TowerSession) GetMaxBackups() uint32 { - if m != nil { - return m.MaxBackups +func (x *TowerSession) GetMaxBackups() uint32 { + if x != nil { + return x.MaxBackups } return 0 } // Deprecated: Do not use. -func (m *TowerSession) GetSweepSatPerByte() uint32 { - if m != nil { - return m.SweepSatPerByte +func (x *TowerSession) GetSweepSatPerByte() uint32 { + if x != nil { + return x.SweepSatPerByte } return 0 } -func (m *TowerSession) GetSweepSatPerVbyte() uint32 { - if m != nil { - return m.SweepSatPerVbyte +func (x *TowerSession) GetSweepSatPerVbyte() uint32 { + if x != nil { + return x.SweepSatPerVbyte } return 0 } type Tower struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The identifying public key of the watchtower. Pubkey []byte `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"` // The list of addresses the watchtower is reachable over. @@ -359,184 +437,215 @@ type Tower struct { // The number of sessions that have been negotiated with the watchtower. NumSessions uint32 `protobuf:"varint,4,opt,name=num_sessions,json=numSessions,proto3" json:"num_sessions,omitempty"` // The list of sessions that have been negotiated with the watchtower. - Sessions []*TowerSession `protobuf:"bytes,5,rep,name=sessions,proto3" json:"sessions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Sessions []*TowerSession `protobuf:"bytes,5,rep,name=sessions,proto3" json:"sessions,omitempty"` } -func (m *Tower) Reset() { *m = Tower{} } -func (m *Tower) String() string { return proto.CompactTextString(m) } -func (*Tower) ProtoMessage() {} +func (x *Tower) Reset() { + *x = Tower{} + if protoimpl.UnsafeEnabled { + mi := &file_wtclientrpc_wtclient_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Tower) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Tower) ProtoMessage() {} + +func (x *Tower) ProtoReflect() protoreflect.Message { + mi := &file_wtclientrpc_wtclient_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 Tower.ProtoReflect.Descriptor instead. func (*Tower) Descriptor() ([]byte, []int) { - return fileDescriptor_b5f4e7d95a641af2, []int{6} + return file_wtclientrpc_wtclient_proto_rawDescGZIP(), []int{6} } -func (m *Tower) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Tower.Unmarshal(m, b) -} -func (m *Tower) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Tower.Marshal(b, m, deterministic) -} -func (m *Tower) XXX_Merge(src proto.Message) { - xxx_messageInfo_Tower.Merge(m, src) -} -func (m *Tower) XXX_Size() int { - return xxx_messageInfo_Tower.Size(m) -} -func (m *Tower) XXX_DiscardUnknown() { - xxx_messageInfo_Tower.DiscardUnknown(m) -} - -var xxx_messageInfo_Tower proto.InternalMessageInfo - -func (m *Tower) GetPubkey() []byte { - if m != nil { - return m.Pubkey +func (x *Tower) GetPubkey() []byte { + if x != nil { + return x.Pubkey } return nil } -func (m *Tower) GetAddresses() []string { - if m != nil { - return m.Addresses +func (x *Tower) GetAddresses() []string { + if x != nil { + return x.Addresses } return nil } -func (m *Tower) GetActiveSessionCandidate() bool { - if m != nil { - return m.ActiveSessionCandidate +func (x *Tower) GetActiveSessionCandidate() bool { + if x != nil { + return x.ActiveSessionCandidate } return false } -func (m *Tower) GetNumSessions() uint32 { - if m != nil { - return m.NumSessions +func (x *Tower) GetNumSessions() uint32 { + if x != nil { + return x.NumSessions } return 0 } -func (m *Tower) GetSessions() []*TowerSession { - if m != nil { - return m.Sessions +func (x *Tower) GetSessions() []*TowerSession { + if x != nil { + return x.Sessions } return nil } type ListTowersRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Whether we should include sessions with the watchtower in the response. - IncludeSessions bool `protobuf:"varint,1,opt,name=include_sessions,json=includeSessions,proto3" json:"include_sessions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + IncludeSessions bool `protobuf:"varint,1,opt,name=include_sessions,json=includeSessions,proto3" json:"include_sessions,omitempty"` } -func (m *ListTowersRequest) Reset() { *m = ListTowersRequest{} } -func (m *ListTowersRequest) String() string { return proto.CompactTextString(m) } -func (*ListTowersRequest) ProtoMessage() {} +func (x *ListTowersRequest) Reset() { + *x = ListTowersRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_wtclientrpc_wtclient_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListTowersRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListTowersRequest) ProtoMessage() {} + +func (x *ListTowersRequest) ProtoReflect() protoreflect.Message { + mi := &file_wtclientrpc_wtclient_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 ListTowersRequest.ProtoReflect.Descriptor instead. func (*ListTowersRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b5f4e7d95a641af2, []int{7} + return file_wtclientrpc_wtclient_proto_rawDescGZIP(), []int{7} } -func (m *ListTowersRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTowersRequest.Unmarshal(m, b) -} -func (m *ListTowersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTowersRequest.Marshal(b, m, deterministic) -} -func (m *ListTowersRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTowersRequest.Merge(m, src) -} -func (m *ListTowersRequest) XXX_Size() int { - return xxx_messageInfo_ListTowersRequest.Size(m) -} -func (m *ListTowersRequest) XXX_DiscardUnknown() { - xxx_messageInfo_ListTowersRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_ListTowersRequest proto.InternalMessageInfo - -func (m *ListTowersRequest) GetIncludeSessions() bool { - if m != nil { - return m.IncludeSessions +func (x *ListTowersRequest) GetIncludeSessions() bool { + if x != nil { + return x.IncludeSessions } return false } type ListTowersResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The list of watchtowers available for new backups. - Towers []*Tower `protobuf:"bytes,1,rep,name=towers,proto3" json:"towers,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Towers []*Tower `protobuf:"bytes,1,rep,name=towers,proto3" json:"towers,omitempty"` } -func (m *ListTowersResponse) Reset() { *m = ListTowersResponse{} } -func (m *ListTowersResponse) String() string { return proto.CompactTextString(m) } -func (*ListTowersResponse) ProtoMessage() {} +func (x *ListTowersResponse) Reset() { + *x = ListTowersResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_wtclientrpc_wtclient_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListTowersResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListTowersResponse) ProtoMessage() {} + +func (x *ListTowersResponse) ProtoReflect() protoreflect.Message { + mi := &file_wtclientrpc_wtclient_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 ListTowersResponse.ProtoReflect.Descriptor instead. func (*ListTowersResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b5f4e7d95a641af2, []int{8} + return file_wtclientrpc_wtclient_proto_rawDescGZIP(), []int{8} } -func (m *ListTowersResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListTowersResponse.Unmarshal(m, b) -} -func (m *ListTowersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListTowersResponse.Marshal(b, m, deterministic) -} -func (m *ListTowersResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListTowersResponse.Merge(m, src) -} -func (m *ListTowersResponse) XXX_Size() int { - return xxx_messageInfo_ListTowersResponse.Size(m) -} -func (m *ListTowersResponse) XXX_DiscardUnknown() { - xxx_messageInfo_ListTowersResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_ListTowersResponse proto.InternalMessageInfo - -func (m *ListTowersResponse) GetTowers() []*Tower { - if m != nil { - return m.Towers +func (x *ListTowersResponse) GetTowers() []*Tower { + if x != nil { + return x.Towers } return nil } type StatsRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *StatsRequest) Reset() { *m = StatsRequest{} } -func (m *StatsRequest) String() string { return proto.CompactTextString(m) } -func (*StatsRequest) ProtoMessage() {} +func (x *StatsRequest) Reset() { + *x = StatsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_wtclientrpc_wtclient_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StatsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StatsRequest) ProtoMessage() {} + +func (x *StatsRequest) ProtoReflect() protoreflect.Message { + mi := &file_wtclientrpc_wtclient_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 StatsRequest.ProtoReflect.Descriptor instead. func (*StatsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b5f4e7d95a641af2, []int{9} + return file_wtclientrpc_wtclient_proto_rawDescGZIP(), []int{9} } -func (m *StatsRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StatsRequest.Unmarshal(m, b) -} -func (m *StatsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StatsRequest.Marshal(b, m, deterministic) -} -func (m *StatsRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_StatsRequest.Merge(m, src) -} -func (m *StatsRequest) XXX_Size() int { - return xxx_messageInfo_StatsRequest.Size(m) -} -func (m *StatsRequest) XXX_DiscardUnknown() { - xxx_messageInfo_StatsRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_StatsRequest proto.InternalMessageInfo - type StatsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //The total number of backups made to all active and exhausted watchtower //sessions. @@ -552,114 +661,130 @@ type StatsResponse struct { // The total number of new sessions made to watchtowers. NumSessionsAcquired uint32 `protobuf:"varint,4,opt,name=num_sessions_acquired,json=numSessionsAcquired,proto3" json:"num_sessions_acquired,omitempty"` // The total number of watchtower sessions that have been exhausted. - NumSessionsExhausted uint32 `protobuf:"varint,5,opt,name=num_sessions_exhausted,json=numSessionsExhausted,proto3" json:"num_sessions_exhausted,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + NumSessionsExhausted uint32 `protobuf:"varint,5,opt,name=num_sessions_exhausted,json=numSessionsExhausted,proto3" json:"num_sessions_exhausted,omitempty"` } -func (m *StatsResponse) Reset() { *m = StatsResponse{} } -func (m *StatsResponse) String() string { return proto.CompactTextString(m) } -func (*StatsResponse) ProtoMessage() {} +func (x *StatsResponse) Reset() { + *x = StatsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_wtclientrpc_wtclient_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *StatsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*StatsResponse) ProtoMessage() {} + +func (x *StatsResponse) ProtoReflect() protoreflect.Message { + mi := &file_wtclientrpc_wtclient_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 StatsResponse.ProtoReflect.Descriptor instead. func (*StatsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b5f4e7d95a641af2, []int{10} + return file_wtclientrpc_wtclient_proto_rawDescGZIP(), []int{10} } -func (m *StatsResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StatsResponse.Unmarshal(m, b) -} -func (m *StatsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StatsResponse.Marshal(b, m, deterministic) -} -func (m *StatsResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_StatsResponse.Merge(m, src) -} -func (m *StatsResponse) XXX_Size() int { - return xxx_messageInfo_StatsResponse.Size(m) -} -func (m *StatsResponse) XXX_DiscardUnknown() { - xxx_messageInfo_StatsResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_StatsResponse proto.InternalMessageInfo - -func (m *StatsResponse) GetNumBackups() uint32 { - if m != nil { - return m.NumBackups +func (x *StatsResponse) GetNumBackups() uint32 { + if x != nil { + return x.NumBackups } return 0 } -func (m *StatsResponse) GetNumPendingBackups() uint32 { - if m != nil { - return m.NumPendingBackups +func (x *StatsResponse) GetNumPendingBackups() uint32 { + if x != nil { + return x.NumPendingBackups } return 0 } -func (m *StatsResponse) GetNumFailedBackups() uint32 { - if m != nil { - return m.NumFailedBackups +func (x *StatsResponse) GetNumFailedBackups() uint32 { + if x != nil { + return x.NumFailedBackups } return 0 } -func (m *StatsResponse) GetNumSessionsAcquired() uint32 { - if m != nil { - return m.NumSessionsAcquired +func (x *StatsResponse) GetNumSessionsAcquired() uint32 { + if x != nil { + return x.NumSessionsAcquired } return 0 } -func (m *StatsResponse) GetNumSessionsExhausted() uint32 { - if m != nil { - return m.NumSessionsExhausted +func (x *StatsResponse) GetNumSessionsExhausted() uint32 { + if x != nil { + return x.NumSessionsExhausted } return 0 } type PolicyRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //The client type from which to retrieve the active offering policy. - PolicyType PolicyType `protobuf:"varint,1,opt,name=policy_type,json=policyType,proto3,enum=wtclientrpc.PolicyType" json:"policy_type,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + PolicyType PolicyType `protobuf:"varint,1,opt,name=policy_type,json=policyType,proto3,enum=wtclientrpc.PolicyType" json:"policy_type,omitempty"` } -func (m *PolicyRequest) Reset() { *m = PolicyRequest{} } -func (m *PolicyRequest) String() string { return proto.CompactTextString(m) } -func (*PolicyRequest) ProtoMessage() {} +func (x *PolicyRequest) Reset() { + *x = PolicyRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_wtclientrpc_wtclient_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PolicyRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PolicyRequest) ProtoMessage() {} + +func (x *PolicyRequest) ProtoReflect() protoreflect.Message { + mi := &file_wtclientrpc_wtclient_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 PolicyRequest.ProtoReflect.Descriptor instead. func (*PolicyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_b5f4e7d95a641af2, []int{11} + return file_wtclientrpc_wtclient_proto_rawDescGZIP(), []int{11} } -func (m *PolicyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PolicyRequest.Unmarshal(m, b) -} -func (m *PolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PolicyRequest.Marshal(b, m, deterministic) -} -func (m *PolicyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyRequest.Merge(m, src) -} -func (m *PolicyRequest) XXX_Size() int { - return xxx_messageInfo_PolicyRequest.Size(m) -} -func (m *PolicyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_PolicyRequest.DiscardUnknown(m) -} - -var xxx_messageInfo_PolicyRequest proto.InternalMessageInfo - -func (m *PolicyRequest) GetPolicyType() PolicyType { - if m != nil { - return m.PolicyType +func (x *PolicyRequest) GetPolicyType() PolicyType { + if x != nil { + return x.PolicyType } return PolicyType_LEGACY } type PolicyResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // //The maximum number of updates each session we negotiate with watchtowers //should allow. @@ -668,141 +793,439 @@ type PolicyResponse struct { //Deprecated, use sweep_sat_per_vbyte. //The fee rate, in satoshis per vbyte, that will be used by watchtowers for //justice transactions in response to channel breaches. - SweepSatPerByte uint32 `protobuf:"varint,2,opt,name=sweep_sat_per_byte,json=sweepSatPerByte,proto3" json:"sweep_sat_per_byte,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + SweepSatPerByte uint32 `protobuf:"varint,2,opt,name=sweep_sat_per_byte,json=sweepSatPerByte,proto3" json:"sweep_sat_per_byte,omitempty"` // //The fee rate, in satoshis per vbyte, that will be used by watchtowers for //justice transactions in response to channel breaches. - SweepSatPerVbyte uint32 `protobuf:"varint,3,opt,name=sweep_sat_per_vbyte,json=sweepSatPerVbyte,proto3" json:"sweep_sat_per_vbyte,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SweepSatPerVbyte uint32 `protobuf:"varint,3,opt,name=sweep_sat_per_vbyte,json=sweepSatPerVbyte,proto3" json:"sweep_sat_per_vbyte,omitempty"` } -func (m *PolicyResponse) Reset() { *m = PolicyResponse{} } -func (m *PolicyResponse) String() string { return proto.CompactTextString(m) } -func (*PolicyResponse) ProtoMessage() {} +func (x *PolicyResponse) Reset() { + *x = PolicyResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_wtclientrpc_wtclient_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *PolicyResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*PolicyResponse) ProtoMessage() {} + +func (x *PolicyResponse) ProtoReflect() protoreflect.Message { + mi := &file_wtclientrpc_wtclient_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 PolicyResponse.ProtoReflect.Descriptor instead. func (*PolicyResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_b5f4e7d95a641af2, []int{12} + return file_wtclientrpc_wtclient_proto_rawDescGZIP(), []int{12} } -func (m *PolicyResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PolicyResponse.Unmarshal(m, b) -} -func (m *PolicyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PolicyResponse.Marshal(b, m, deterministic) -} -func (m *PolicyResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_PolicyResponse.Merge(m, src) -} -func (m *PolicyResponse) XXX_Size() int { - return xxx_messageInfo_PolicyResponse.Size(m) -} -func (m *PolicyResponse) XXX_DiscardUnknown() { - xxx_messageInfo_PolicyResponse.DiscardUnknown(m) -} - -var xxx_messageInfo_PolicyResponse proto.InternalMessageInfo - -func (m *PolicyResponse) GetMaxUpdates() uint32 { - if m != nil { - return m.MaxUpdates +func (x *PolicyResponse) GetMaxUpdates() uint32 { + if x != nil { + return x.MaxUpdates } return 0 } // Deprecated: Do not use. -func (m *PolicyResponse) GetSweepSatPerByte() uint32 { - if m != nil { - return m.SweepSatPerByte +func (x *PolicyResponse) GetSweepSatPerByte() uint32 { + if x != nil { + return x.SweepSatPerByte } return 0 } -func (m *PolicyResponse) GetSweepSatPerVbyte() uint32 { - if m != nil { - return m.SweepSatPerVbyte +func (x *PolicyResponse) GetSweepSatPerVbyte() uint32 { + if x != nil { + return x.SweepSatPerVbyte } return 0 } -func init() { - proto.RegisterEnum("wtclientrpc.PolicyType", PolicyType_name, PolicyType_value) - proto.RegisterType((*AddTowerRequest)(nil), "wtclientrpc.AddTowerRequest") - proto.RegisterType((*AddTowerResponse)(nil), "wtclientrpc.AddTowerResponse") - proto.RegisterType((*RemoveTowerRequest)(nil), "wtclientrpc.RemoveTowerRequest") - proto.RegisterType((*RemoveTowerResponse)(nil), "wtclientrpc.RemoveTowerResponse") - proto.RegisterType((*GetTowerInfoRequest)(nil), "wtclientrpc.GetTowerInfoRequest") - proto.RegisterType((*TowerSession)(nil), "wtclientrpc.TowerSession") - proto.RegisterType((*Tower)(nil), "wtclientrpc.Tower") - proto.RegisterType((*ListTowersRequest)(nil), "wtclientrpc.ListTowersRequest") - proto.RegisterType((*ListTowersResponse)(nil), "wtclientrpc.ListTowersResponse") - proto.RegisterType((*StatsRequest)(nil), "wtclientrpc.StatsRequest") - proto.RegisterType((*StatsResponse)(nil), "wtclientrpc.StatsResponse") - proto.RegisterType((*PolicyRequest)(nil), "wtclientrpc.PolicyRequest") - proto.RegisterType((*PolicyResponse)(nil), "wtclientrpc.PolicyResponse") +var File_wtclientrpc_wtclient_proto protoreflect.FileDescriptor + +var file_wtclientrpc_wtclient_proto_rawDesc = []byte{ + 0x0a, 0x1a, 0x77, 0x74, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x72, 0x70, 0x63, 0x2f, 0x77, 0x74, + 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x77, 0x74, + 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x72, 0x70, 0x63, 0x22, 0x43, 0x0a, 0x0f, 0x41, 0x64, 0x64, + 0x54, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, + 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x70, 0x75, + 0x62, 0x6b, 0x65, 0x79, 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, 0x22, 0x12, + 0x0a, 0x10, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x46, 0x0a, 0x12, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x54, 0x6f, 0x77, 0x65, + 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x75, 0x62, 0x6b, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, + 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, 0x22, 0x15, 0x0a, 0x13, 0x52, 0x65, + 0x6d, 0x6f, 0x76, 0x65, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x22, 0x58, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x75, 0x62, 0x6b, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, + 0x12, 0x29, 0x0a, 0x10, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x73, 0x65, 0x73, 0x73, + 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x69, 0x6e, 0x63, 0x6c, + 0x75, 0x64, 0x65, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xe0, 0x01, 0x0a, 0x0c, + 0x54, 0x6f, 0x77, 0x65, 0x72, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, + 0x6e, 0x75, 0x6d, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0d, 0x52, 0x0a, 0x6e, 0x75, 0x6d, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x12, 0x2e, 0x0a, + 0x13, 0x6e, 0x75, 0x6d, 0x5f, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x62, 0x61, 0x63, + 0x6b, 0x75, 0x70, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x6e, 0x75, 0x6d, 0x50, + 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x12, 0x1f, 0x0a, + 0x0b, 0x6d, 0x61, 0x78, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0a, 0x6d, 0x61, 0x78, 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x12, 0x2f, + 0x0a, 0x12, 0x73, 0x77, 0x65, 0x65, 0x70, 0x5f, 0x73, 0x61, 0x74, 0x5f, 0x70, 0x65, 0x72, 0x5f, + 0x62, 0x79, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0f, + 0x73, 0x77, 0x65, 0x65, 0x70, 0x53, 0x61, 0x74, 0x50, 0x65, 0x72, 0x42, 0x79, 0x74, 0x65, 0x12, + 0x2d, 0x0a, 0x13, 0x73, 0x77, 0x65, 0x65, 0x70, 0x5f, 0x73, 0x61, 0x74, 0x5f, 0x70, 0x65, 0x72, + 0x5f, 0x76, 0x62, 0x79, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x73, 0x77, + 0x65, 0x65, 0x70, 0x53, 0x61, 0x74, 0x50, 0x65, 0x72, 0x56, 0x62, 0x79, 0x74, 0x65, 0x22, 0xd1, + 0x01, 0x0a, 0x05, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x75, 0x62, 0x6b, + 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x70, 0x75, 0x62, 0x6b, 0x65, 0x79, + 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x09, 0x52, 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x12, 0x38, + 0x0a, 0x18, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x5f, 0x63, 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x16, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x43, + 0x61, 0x6e, 0x64, 0x69, 0x64, 0x61, 0x74, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x6e, 0x75, 0x6d, 0x5f, + 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, + 0x6e, 0x75, 0x6d, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x35, 0x0a, 0x08, 0x73, + 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, + 0x77, 0x74, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x6f, 0x77, 0x65, + 0x72, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x22, 0x3e, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x69, 0x6e, 0x63, 0x6c, 0x75, + 0x64, 0x65, 0x5f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x0f, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x73, 0x22, 0x40, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x06, 0x74, 0x6f, 0x77, 0x65, + 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x77, 0x74, 0x63, 0x6c, 0x69, + 0x65, 0x6e, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x06, 0x74, 0x6f, + 0x77, 0x65, 0x72, 0x73, 0x22, 0x0e, 0x0a, 0x0c, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x22, 0xf8, 0x01, 0x0a, 0x0d, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6e, 0x75, 0x6d, 0x5f, 0x62, 0x61, + 0x63, 0x6b, 0x75, 0x70, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x6e, 0x75, 0x6d, + 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x6e, 0x75, 0x6d, 0x5f, 0x70, + 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x11, 0x6e, 0x75, 0x6d, 0x50, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67, + 0x42, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x6e, 0x75, 0x6d, 0x5f, 0x66, + 0x61, 0x69, 0x6c, 0x65, 0x64, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x75, 0x70, 0x73, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x0d, 0x52, 0x10, 0x6e, 0x75, 0x6d, 0x46, 0x61, 0x69, 0x6c, 0x65, 0x64, 0x42, 0x61, + 0x63, 0x6b, 0x75, 0x70, 0x73, 0x12, 0x32, 0x0a, 0x15, 0x6e, 0x75, 0x6d, 0x5f, 0x73, 0x65, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x61, 0x63, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x6e, 0x75, 0x6d, 0x53, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, + 0x73, 0x41, 0x63, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x34, 0x0a, 0x16, 0x6e, 0x75, 0x6d, + 0x5f, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x5f, 0x65, 0x78, 0x68, 0x61, 0x75, 0x73, + 0x74, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x14, 0x6e, 0x75, 0x6d, 0x53, 0x65, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x78, 0x68, 0x61, 0x75, 0x73, 0x74, 0x65, 0x64, 0x22, + 0x49, 0x0a, 0x0d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x12, 0x38, 0x0a, 0x0b, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x77, 0x74, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, + 0x72, 0x70, 0x63, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, + 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x54, 0x79, 0x70, 0x65, 0x22, 0x91, 0x01, 0x0a, 0x0e, 0x50, + 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, + 0x0b, 0x6d, 0x61, 0x78, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0d, 0x52, 0x0a, 0x6d, 0x61, 0x78, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x73, 0x12, 0x2f, + 0x0a, 0x12, 0x73, 0x77, 0x65, 0x65, 0x70, 0x5f, 0x73, 0x61, 0x74, 0x5f, 0x70, 0x65, 0x72, 0x5f, + 0x62, 0x79, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0f, + 0x73, 0x77, 0x65, 0x65, 0x70, 0x53, 0x61, 0x74, 0x50, 0x65, 0x72, 0x42, 0x79, 0x74, 0x65, 0x12, + 0x2d, 0x0a, 0x13, 0x73, 0x77, 0x65, 0x65, 0x70, 0x5f, 0x73, 0x61, 0x74, 0x5f, 0x70, 0x65, 0x72, + 0x5f, 0x76, 0x62, 0x79, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x73, 0x77, + 0x65, 0x65, 0x70, 0x53, 0x61, 0x74, 0x50, 0x65, 0x72, 0x56, 0x62, 0x79, 0x74, 0x65, 0x2a, 0x24, + 0x0a, 0x0a, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0a, 0x0a, 0x06, + 0x4c, 0x45, 0x47, 0x41, 0x43, 0x59, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x4e, 0x43, 0x48, + 0x4f, 0x52, 0x10, 0x01, 0x32, 0xc5, 0x03, 0x0a, 0x10, 0x57, 0x61, 0x74, 0x63, 0x68, 0x74, 0x6f, + 0x77, 0x65, 0x72, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x12, 0x47, 0x0a, 0x08, 0x41, 0x64, 0x64, + 0x54, 0x6f, 0x77, 0x65, 0x72, 0x12, 0x1c, 0x2e, 0x77, 0x74, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, + 0x72, 0x70, 0x63, 0x2e, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x77, 0x74, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x72, 0x70, + 0x63, 0x2e, 0x41, 0x64, 0x64, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x50, 0x0a, 0x0b, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x54, 0x6f, 0x77, 0x65, + 0x72, 0x12, 0x1f, 0x2e, 0x77, 0x74, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x72, 0x70, 0x63, 0x2e, + 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x77, 0x74, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x72, 0x70, 0x63, + 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x0a, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x6f, 0x77, 0x65, + 0x72, 0x73, 0x12, 0x1e, 0x2e, 0x77, 0x74, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x72, 0x70, 0x63, + 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x77, 0x74, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x72, 0x70, 0x63, + 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x49, + 0x6e, 0x66, 0x6f, 0x12, 0x20, 0x2e, 0x77, 0x74, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x72, 0x70, + 0x63, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x77, 0x74, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, + 0x72, 0x70, 0x63, 0x2e, 0x54, 0x6f, 0x77, 0x65, 0x72, 0x12, 0x3e, 0x0a, 0x05, 0x53, 0x74, 0x61, + 0x74, 0x73, 0x12, 0x19, 0x2e, 0x77, 0x74, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x72, 0x70, 0x63, + 0x2e, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, + 0x77, 0x74, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x41, 0x0a, 0x06, 0x50, 0x6f, 0x6c, + 0x69, 0x63, 0x79, 0x12, 0x1a, 0x2e, 0x77, 0x74, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x72, 0x70, + 0x63, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x1b, 0x2e, 0x77, 0x74, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x6f, + 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x33, 0x5a, 0x31, + 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, 0x2f, 0x77, 0x74, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x72, 0x70, + 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } -func init() { proto.RegisterFile("wtclientrpc/wtclient.proto", fileDescriptor_b5f4e7d95a641af2) } +var ( + file_wtclientrpc_wtclient_proto_rawDescOnce sync.Once + file_wtclientrpc_wtclient_proto_rawDescData = file_wtclientrpc_wtclient_proto_rawDesc +) -var fileDescriptor_b5f4e7d95a641af2 = []byte{ - // 765 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0xdd, 0x6e, 0xda, 0x48, - 0x14, 0x5e, 0xc3, 0xc2, 0x92, 0x03, 0x49, 0xc8, 0xb0, 0xc9, 0xb2, 0xde, 0xec, 0xc2, 0x5a, 0xbd, - 0xa0, 0x51, 0x0b, 0x2a, 0x69, 0xa5, 0x5c, 0x45, 0x05, 0x9a, 0xa4, 0x91, 0xd2, 0x16, 0x39, 0xe9, - 0xef, 0x8d, 0x35, 0xd8, 0x13, 0xb0, 0x82, 0xc7, 0x8e, 0x3d, 0x0e, 0xf0, 0x18, 0x7d, 0xa8, 0x3e, - 0x40, 0xdf, 0xa0, 0x8f, 0xd1, 0xcb, 0xca, 0xe3, 0xb1, 0xb1, 0x13, 0xa3, 0xaa, 0x6a, 0xef, 0xec, - 0xf3, 0x7d, 0xf3, 0x79, 0xce, 0x77, 0x7e, 0x0c, 0xf2, 0x8c, 0xe9, 0x53, 0x93, 0x50, 0xe6, 0x3a, - 0x7a, 0x27, 0x7a, 0x6e, 0x3b, 0xae, 0xcd, 0x6c, 0x54, 0x4e, 0x60, 0xca, 0x00, 0x36, 0x7b, 0x86, - 0x71, 0x61, 0xcf, 0x88, 0xab, 0x92, 0x6b, 0x9f, 0x78, 0x0c, 0xed, 0x40, 0xd1, 0xf1, 0x47, 0x57, - 0x64, 0x51, 0x97, 0x9a, 0x52, 0xab, 0xa2, 0x8a, 0x37, 0x54, 0x87, 0x3f, 0xb0, 0x61, 0xb8, 0xc4, - 0xf3, 0xea, 0xb9, 0xa6, 0xd4, 0x5a, 0x53, 0xa3, 0x57, 0x05, 0x41, 0x75, 0x29, 0xe2, 0x39, 0x36, - 0xf5, 0x88, 0x72, 0x0c, 0x48, 0x25, 0x96, 0x7d, 0x43, 0x7e, 0x52, 0x7b, 0x1b, 0x6a, 0x29, 0x1d, - 0x21, 0xff, 0x0e, 0x6a, 0x27, 0x84, 0xf1, 0xd8, 0x29, 0xbd, 0xb4, 0xbf, 0xa7, 0x7f, 0x1f, 0xaa, - 0x26, 0xd5, 0xa7, 0xbe, 0x41, 0x34, 0x8f, 0x78, 0x9e, 0x69, 0xd3, 0xf0, 0x43, 0x25, 0x75, 0x53, - 0xc4, 0xcf, 0x45, 0x58, 0xf9, 0x22, 0x41, 0x85, 0xeb, 0x8a, 0x08, 0x6a, 0x40, 0x99, 0xfa, 0x96, - 0x36, 0xc2, 0xfa, 0x95, 0xef, 0x78, 0x5c, 0x78, 0x5d, 0x05, 0xea, 0x5b, 0xfd, 0x30, 0x82, 0xda, - 0x50, 0x0b, 0x08, 0x0e, 0xa1, 0x86, 0x49, 0xc7, 0x31, 0x31, 0xc7, 0x89, 0x5b, 0xd4, 0xb7, 0x86, - 0x21, 0x12, 0xf1, 0x1b, 0x50, 0xb6, 0xf0, 0x3c, 0xe6, 0xe5, 0x43, 0x41, 0x0b, 0xcf, 0x23, 0x42, - 0x07, 0x90, 0x37, 0x23, 0xc4, 0xd1, 0x3c, 0xcc, 0x34, 0x87, 0xb8, 0xda, 0x68, 0xc1, 0x48, 0xfd, - 0xf7, 0x80, 0xd7, 0xcf, 0xd5, 0x25, 0x75, 0x93, 0xa3, 0xe7, 0x98, 0x0d, 0x89, 0xdb, 0x5f, 0x30, - 0x82, 0x1e, 0x42, 0x2d, 0x7d, 0xe0, 0x86, 0x9f, 0x28, 0x70, 0xe5, 0x6a, 0x82, 0xfd, 0x26, 0x88, - 0x2b, 0x9f, 0x25, 0x28, 0xf0, 0x14, 0x57, 0xfa, 0xb5, 0x0b, 0x6b, 0xa2, 0x00, 0x24, 0x48, 0x24, - 0xdf, 0x5a, 0x53, 0x97, 0x01, 0x74, 0x00, 0x75, 0xac, 0x33, 0xf3, 0x26, 0x36, 0x53, 0xd3, 0x31, - 0x35, 0x4c, 0x03, 0x33, 0xc2, 0xb3, 0x29, 0xa9, 0x3b, 0x21, 0x2e, 0x2c, 0x1c, 0x44, 0x28, 0xfa, - 0x1f, 0x2a, 0x81, 0x55, 0x71, 0x0d, 0x78, 0x4e, 0x6a, 0xe0, 0x6f, 0xe4, 0x3f, 0x7a, 0x02, 0xa5, - 0x18, 0x2e, 0x34, 0xf3, 0xad, 0x72, 0xf7, 0xef, 0x76, 0xa2, 0x63, 0xdb, 0xc9, 0xda, 0xa8, 0x31, - 0x55, 0x39, 0x84, 0xad, 0x33, 0xd3, 0x0b, 0x3b, 0xc2, 0x8b, 0xda, 0x21, 0xab, 0xec, 0x52, 0x76, - 0xd9, 0x9f, 0x02, 0x4a, 0x9e, 0x0f, 0xdb, 0x0c, 0xed, 0x41, 0x91, 0xf1, 0x48, 0x5d, 0xe2, 0x57, - 0x41, 0x77, 0xaf, 0xa2, 0x0a, 0x86, 0xb2, 0x01, 0x95, 0x73, 0x86, 0x59, 0xf4, 0x71, 0xe5, 0xab, - 0x04, 0xeb, 0x22, 0x20, 0xd4, 0x7e, 0x79, 0x27, 0x3d, 0x00, 0x14, 0xf0, 0x2f, 0xb1, 0x39, 0x25, - 0xc6, 0xad, 0x86, 0xaa, 0x52, 0xdf, 0x3a, 0xe6, 0x40, 0xc4, 0xee, 0xc2, 0x76, 0xd2, 0x7c, 0x0d, - 0xeb, 0xd7, 0xbe, 0xe9, 0x12, 0x43, 0x54, 0xa1, 0x96, 0xa8, 0x42, 0x4f, 0x40, 0xe8, 0x31, 0xec, - 0xa4, 0xce, 0x90, 0xf9, 0x04, 0xfb, 0x1e, 0x23, 0x86, 0x68, 0xae, 0x3f, 0x13, 0x87, 0x8e, 0x22, - 0x4c, 0x39, 0x85, 0xf5, 0xa1, 0x3d, 0x35, 0xf5, 0x45, 0x54, 0x88, 0x03, 0x28, 0x3b, 0x3c, 0xa0, - 0xb1, 0x85, 0x43, 0x78, 0xe6, 0x1b, 0xdd, 0xbf, 0x52, 0x66, 0x86, 0x07, 0x2e, 0x16, 0x0e, 0x51, - 0xc1, 0x89, 0x9f, 0x95, 0x8f, 0x12, 0x6c, 0x44, 0x5a, 0x4b, 0x1b, 0x83, 0xf9, 0xf1, 0x9d, 0xa0, - 0xa5, 0x62, 0x1b, 0x2d, 0x3c, 0x7f, 0x1d, 0x46, 0x56, 0xcc, 0x4f, 0xee, 0x87, 0xe7, 0x27, 0x9f, - 0x3d, 0x3f, 0x7b, 0xf7, 0x00, 0x96, 0xb7, 0x45, 0x00, 0xc5, 0xb3, 0xa3, 0x93, 0xde, 0xe0, 0x7d, - 0xf5, 0xb7, 0xe0, 0xb9, 0xf7, 0x72, 0xf0, 0xfc, 0x95, 0x5a, 0x95, 0xba, 0x9f, 0xf2, 0x50, 0x7d, - 0x8b, 0x99, 0x3e, 0xe1, 0xfd, 0x31, 0xe0, 0x89, 0xa2, 0x13, 0x28, 0x45, 0xab, 0x12, 0xed, 0xa6, - 0xf2, 0xbf, 0xb5, 0x86, 0xe5, 0x7f, 0x57, 0xa0, 0xc2, 0x84, 0x21, 0x94, 0x13, 0x7b, 0x11, 0x35, - 0x52, 0xec, 0xbb, 0x9b, 0x57, 0x6e, 0xae, 0x26, 0x08, 0xc5, 0x17, 0x00, 0xcb, 0x09, 0x40, 0xff, - 0xa5, 0xf8, 0x77, 0x46, 0x4b, 0x6e, 0xac, 0xc4, 0x85, 0xdc, 0x33, 0xa8, 0x24, 0x37, 0x34, 0x4a, - 0x5f, 0x20, 0x63, 0x79, 0xcb, 0x19, 0xc3, 0x85, 0x0e, 0xa1, 0xc0, 0x67, 0x08, 0xa5, 0x97, 0x40, - 0x72, 0xd0, 0x64, 0x39, 0x0b, 0x12, 0xb7, 0xe8, 0x41, 0x31, 0x2c, 0x15, 0x92, 0x33, 0xba, 0x2d, - 0x52, 0xf8, 0x27, 0x13, 0x0b, 0x25, 0xfa, 0xfb, 0x1f, 0x1e, 0x8d, 0x4d, 0x36, 0xf1, 0x47, 0x6d, - 0xdd, 0xb6, 0x3a, 0x53, 0x73, 0x3c, 0x61, 0xd4, 0xa4, 0x63, 0x4a, 0xd8, 0xcc, 0x76, 0xaf, 0x3a, - 0x53, 0x6a, 0x74, 0xa6, 0x34, 0xf9, 0x9f, 0x75, 0x1d, 0x7d, 0x54, 0xe4, 0xff, 0xda, 0xfd, 0x6f, - 0x01, 0x00, 0x00, 0xff, 0xff, 0x49, 0xcd, 0xe9, 0xf8, 0x89, 0x07, 0x00, 0x00, +func file_wtclientrpc_wtclient_proto_rawDescGZIP() []byte { + file_wtclientrpc_wtclient_proto_rawDescOnce.Do(func() { + file_wtclientrpc_wtclient_proto_rawDescData = protoimpl.X.CompressGZIP(file_wtclientrpc_wtclient_proto_rawDescData) + }) + return file_wtclientrpc_wtclient_proto_rawDescData +} + +var file_wtclientrpc_wtclient_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_wtclientrpc_wtclient_proto_msgTypes = make([]protoimpl.MessageInfo, 13) +var file_wtclientrpc_wtclient_proto_goTypes = []interface{}{ + (PolicyType)(0), // 0: wtclientrpc.PolicyType + (*AddTowerRequest)(nil), // 1: wtclientrpc.AddTowerRequest + (*AddTowerResponse)(nil), // 2: wtclientrpc.AddTowerResponse + (*RemoveTowerRequest)(nil), // 3: wtclientrpc.RemoveTowerRequest + (*RemoveTowerResponse)(nil), // 4: wtclientrpc.RemoveTowerResponse + (*GetTowerInfoRequest)(nil), // 5: wtclientrpc.GetTowerInfoRequest + (*TowerSession)(nil), // 6: wtclientrpc.TowerSession + (*Tower)(nil), // 7: wtclientrpc.Tower + (*ListTowersRequest)(nil), // 8: wtclientrpc.ListTowersRequest + (*ListTowersResponse)(nil), // 9: wtclientrpc.ListTowersResponse + (*StatsRequest)(nil), // 10: wtclientrpc.StatsRequest + (*StatsResponse)(nil), // 11: wtclientrpc.StatsResponse + (*PolicyRequest)(nil), // 12: wtclientrpc.PolicyRequest + (*PolicyResponse)(nil), // 13: wtclientrpc.PolicyResponse +} +var file_wtclientrpc_wtclient_proto_depIdxs = []int32{ + 6, // 0: wtclientrpc.Tower.sessions:type_name -> wtclientrpc.TowerSession + 7, // 1: wtclientrpc.ListTowersResponse.towers:type_name -> wtclientrpc.Tower + 0, // 2: wtclientrpc.PolicyRequest.policy_type:type_name -> wtclientrpc.PolicyType + 1, // 3: wtclientrpc.WatchtowerClient.AddTower:input_type -> wtclientrpc.AddTowerRequest + 3, // 4: wtclientrpc.WatchtowerClient.RemoveTower:input_type -> wtclientrpc.RemoveTowerRequest + 8, // 5: wtclientrpc.WatchtowerClient.ListTowers:input_type -> wtclientrpc.ListTowersRequest + 5, // 6: wtclientrpc.WatchtowerClient.GetTowerInfo:input_type -> wtclientrpc.GetTowerInfoRequest + 10, // 7: wtclientrpc.WatchtowerClient.Stats:input_type -> wtclientrpc.StatsRequest + 12, // 8: wtclientrpc.WatchtowerClient.Policy:input_type -> wtclientrpc.PolicyRequest + 2, // 9: wtclientrpc.WatchtowerClient.AddTower:output_type -> wtclientrpc.AddTowerResponse + 4, // 10: wtclientrpc.WatchtowerClient.RemoveTower:output_type -> wtclientrpc.RemoveTowerResponse + 9, // 11: wtclientrpc.WatchtowerClient.ListTowers:output_type -> wtclientrpc.ListTowersResponse + 7, // 12: wtclientrpc.WatchtowerClient.GetTowerInfo:output_type -> wtclientrpc.Tower + 11, // 13: wtclientrpc.WatchtowerClient.Stats:output_type -> wtclientrpc.StatsResponse + 13, // 14: wtclientrpc.WatchtowerClient.Policy:output_type -> wtclientrpc.PolicyResponse + 9, // [9:15] is the sub-list for method output_type + 3, // [3:9] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_wtclientrpc_wtclient_proto_init() } +func file_wtclientrpc_wtclient_proto_init() { + if File_wtclientrpc_wtclient_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_wtclientrpc_wtclient_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddTowerRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_wtclientrpc_wtclient_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*AddTowerResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_wtclientrpc_wtclient_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveTowerRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_wtclientrpc_wtclient_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RemoveTowerResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_wtclientrpc_wtclient_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetTowerInfoRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_wtclientrpc_wtclient_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TowerSession); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_wtclientrpc_wtclient_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Tower); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_wtclientrpc_wtclient_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListTowersRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_wtclientrpc_wtclient_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListTowersResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_wtclientrpc_wtclient_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StatsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_wtclientrpc_wtclient_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StatsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_wtclientrpc_wtclient_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PolicyRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_wtclientrpc_wtclient_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PolicyResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_wtclientrpc_wtclient_proto_rawDesc, + NumEnums: 1, + NumMessages: 13, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_wtclientrpc_wtclient_proto_goTypes, + DependencyIndexes: file_wtclientrpc_wtclient_proto_depIdxs, + EnumInfos: file_wtclientrpc_wtclient_proto_enumTypes, + MessageInfos: file_wtclientrpc_wtclient_proto_msgTypes, + }.Build() + File_wtclientrpc_wtclient_proto = out.File + file_wtclientrpc_wtclient_proto_rawDesc = nil + file_wtclientrpc_wtclient_proto_goTypes = nil + file_wtclientrpc_wtclient_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context -var _ grpc.ClientConn +var _ grpc.ClientConnInterface // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion4 +const _ = grpc.SupportPackageIsVersion6 // WatchtowerClientClient is the client API for WatchtowerClient service. // @@ -831,10 +1254,10 @@ type WatchtowerClientClient interface { } type watchtowerClientClient struct { - cc *grpc.ClientConn + cc grpc.ClientConnInterface } -func NewWatchtowerClientClient(cc *grpc.ClientConn) WatchtowerClientClient { +func NewWatchtowerClientClient(cc grpc.ClientConnInterface) WatchtowerClientClient { return &watchtowerClientClient{cc} } @@ -920,22 +1343,22 @@ type WatchtowerClientServer interface { type UnimplementedWatchtowerClientServer struct { } -func (*UnimplementedWatchtowerClientServer) AddTower(ctx context.Context, req *AddTowerRequest) (*AddTowerResponse, error) { +func (*UnimplementedWatchtowerClientServer) AddTower(context.Context, *AddTowerRequest) (*AddTowerResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AddTower not implemented") } -func (*UnimplementedWatchtowerClientServer) RemoveTower(ctx context.Context, req *RemoveTowerRequest) (*RemoveTowerResponse, error) { +func (*UnimplementedWatchtowerClientServer) RemoveTower(context.Context, *RemoveTowerRequest) (*RemoveTowerResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method RemoveTower not implemented") } -func (*UnimplementedWatchtowerClientServer) ListTowers(ctx context.Context, req *ListTowersRequest) (*ListTowersResponse, error) { +func (*UnimplementedWatchtowerClientServer) ListTowers(context.Context, *ListTowersRequest) (*ListTowersResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ListTowers not implemented") } -func (*UnimplementedWatchtowerClientServer) GetTowerInfo(ctx context.Context, req *GetTowerInfoRequest) (*Tower, error) { +func (*UnimplementedWatchtowerClientServer) GetTowerInfo(context.Context, *GetTowerInfoRequest) (*Tower, error) { return nil, status.Errorf(codes.Unimplemented, "method GetTowerInfo not implemented") } -func (*UnimplementedWatchtowerClientServer) Stats(ctx context.Context, req *StatsRequest) (*StatsResponse, error) { +func (*UnimplementedWatchtowerClientServer) Stats(context.Context, *StatsRequest) (*StatsResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Stats not implemented") } -func (*UnimplementedWatchtowerClientServer) Policy(ctx context.Context, req *PolicyRequest) (*PolicyResponse, error) { +func (*UnimplementedWatchtowerClientServer) Policy(context.Context, *PolicyRequest) (*PolicyResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Policy not implemented") } diff --git a/lntest/itest/lnd_test.go b/lntest/itest/lnd_test.go index 3c2fa586f..ecb487e1d 100644 --- a/lntest/itest/lnd_test.go +++ b/lntest/itest/lnd_test.go @@ -48,6 +48,7 @@ import ( "github.com/lightningnetwork/lnd/lnwire" "github.com/lightningnetwork/lnd/routing" "github.com/stretchr/testify/require" + "google.golang.org/protobuf/proto" ) const ( @@ -1219,12 +1220,11 @@ func channelCommitType(node *lntest.HarnessNode, // assertChannelBalanceResp makes a ChannelBalance request and checks the // returned response matches the expected. func assertChannelBalanceResp(t *harnessTest, - node *lntest.HarnessNode, expected *lnrpc.ChannelBalanceResponse) { + node *lntest.HarnessNode, + expected *lnrpc.ChannelBalanceResponse) { // nolint:interfacer resp := getChannelBalance(t, node) - require.Equal( - t.t, expected, resp, "balance is incorrect", - ) + require.True(t.t, proto.Equal(expected, resp), "balance is incorrect") } // getChannelBalance gets the channel balance. @@ -12787,13 +12787,7 @@ func testMissionControlCfg(t *testing.T, node *lntest.HarnessNode) { ctxb, &routerrpc.GetMissionControlConfigRequest{}, ) require.NoError(t, err) - - // Set the hidden fields on the cfg we set so that we can use require - // equal rather than comparing field by field. - cfg.XXX_sizecache = resp.XXX_sizecache - cfg.XXX_NoUnkeyedLiteral = resp.XXX_NoUnkeyedLiteral - cfg.XXX_unrecognized = resp.XXX_unrecognized - require.Equal(t, cfg, resp.Config) + require.True(t, proto.Equal(cfg, resp.Config)) _, err = node.RouterClient.SetMissionControlConfig( ctxb, &routerrpc.SetMissionControlConfigRequest{ From c190c3d582f8e225097e1a700ec4582fd813ca69 Mon Sep 17 00:00:00 2001 From: Andras Banki-Horvath Date: Fri, 30 Apr 2021 11:03:07 +0200 Subject: [PATCH 10/18] etcd: update etcd to 3.4.14 --- channeldb/kvdb/etcd/db.go | 6 +- channeldb/kvdb/etcd/embed.go | 2 +- channeldb/kvdb/etcd/fixture_test.go | 4 +- channeldb/kvdb/etcd/stm.go | 2 +- cluster/etcd_elector.go | 8 +-- go.mod | 19 +++---- go.sum | 85 ++++++++++++++++++++--------- 7 files changed, 79 insertions(+), 47 deletions(-) diff --git a/channeldb/kvdb/etcd/db.go b/channeldb/kvdb/etcd/db.go index b2e6390e9..0a2955cae 100644 --- a/channeldb/kvdb/etcd/db.go +++ b/channeldb/kvdb/etcd/db.go @@ -11,9 +11,9 @@ import ( "time" "github.com/btcsuite/btcwallet/walletdb" - "github.com/coreos/etcd/clientv3" - "github.com/coreos/etcd/clientv3/namespace" - "github.com/coreos/etcd/pkg/transport" + "go.etcd.io/etcd/clientv3" + "go.etcd.io/etcd/clientv3/namespace" + "go.etcd.io/etcd/pkg/transport" ) const ( diff --git a/channeldb/kvdb/etcd/embed.go b/channeldb/kvdb/etcd/embed.go index 4aacae0c1..64f8f00e9 100644 --- a/channeldb/kvdb/etcd/embed.go +++ b/channeldb/kvdb/etcd/embed.go @@ -9,7 +9,7 @@ import ( "sync/atomic" "time" - "github.com/coreos/etcd/embed" + "go.etcd.io/etcd/embed" ) const ( diff --git a/channeldb/kvdb/etcd/fixture_test.go b/channeldb/kvdb/etcd/fixture_test.go index 797aadf6d..377e84732 100644 --- a/channeldb/kvdb/etcd/fixture_test.go +++ b/channeldb/kvdb/etcd/fixture_test.go @@ -9,8 +9,8 @@ import ( "testing" "time" - "github.com/coreos/etcd/clientv3" - "github.com/coreos/etcd/clientv3/namespace" + "go.etcd.io/etcd/clientv3" + "go.etcd.io/etcd/clientv3/namespace" ) const ( diff --git a/channeldb/kvdb/etcd/stm.go b/channeldb/kvdb/etcd/stm.go index 59ac1f457..01f38498f 100644 --- a/channeldb/kvdb/etcd/stm.go +++ b/channeldb/kvdb/etcd/stm.go @@ -8,7 +8,7 @@ import ( "math" "strings" - v3 "github.com/coreos/etcd/clientv3" + v3 "go.etcd.io/etcd/clientv3" ) type CommitStats struct { diff --git a/cluster/etcd_elector.go b/cluster/etcd_elector.go index 01c929753..949440479 100644 --- a/cluster/etcd_elector.go +++ b/cluster/etcd_elector.go @@ -6,11 +6,11 @@ import ( "context" "time" - "github.com/coreos/etcd/clientv3" - "github.com/coreos/etcd/clientv3/concurrency" - "github.com/coreos/etcd/clientv3/namespace" - "github.com/coreos/etcd/pkg/transport" "github.com/lightningnetwork/lnd/channeldb/kvdb/etcd" + "go.etcd.io/etcd/clientv3" + "go.etcd.io/etcd/clientv3/concurrency" + "go.etcd.io/etcd/clientv3/namespace" + "go.etcd.io/etcd/pkg/transport" ) const ( diff --git a/go.mod b/go.mod index 4ab74e0f4..955c1ff2c 100644 --- a/go.mod +++ b/go.mod @@ -15,28 +15,24 @@ require ( github.com/btcsuite/btcwallet/wallet/txsizes v1.0.1-0.20210329233242-e0607006dce6 // indirect github.com/btcsuite/btcwallet/walletdb v1.3.4 github.com/btcsuite/btcwallet/wtxmgr v1.2.1-0.20210312232944-4ec908df9386 - github.com/coreos/etcd v3.3.22+incompatible github.com/coreos/go-semver v0.3.0 // indirect github.com/coreos/go-systemd v0.0.0-20191104093116-d3cd4ed1dbcf // indirect github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f // indirect github.com/davecgh/go-spew v1.1.1 - github.com/dgrijalva/jwt-go v3.2.0+incompatible // indirect github.com/dustin/go-humanize v1.0.0 // indirect github.com/fsnotify/fsnotify v1.4.9 // indirect github.com/go-errors/errors v1.0.1 github.com/go-openapi/strfmt v0.19.5 // indirect github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e // indirect github.com/golang/protobuf v1.4.3 - github.com/google/btree v1.0.0 // indirect github.com/gorilla/websocket v1.4.2 - github.com/grpc-ecosystem/go-grpc-middleware v1.0.0 + github.com/grpc-ecosystem/go-grpc-middleware v1.0.1-0.20190118093823-f849b5445de4 github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 github.com/grpc-ecosystem/grpc-gateway v1.14.3 github.com/jackpal/gateway v1.0.5 github.com/jackpal/go-nat-pmp v0.0.0-20170405195558-28a68d0c24ad github.com/jedib0t/go-pretty v4.3.0+incompatible github.com/jessevdk/go-flags v1.4.0 - github.com/jonboulle/clockwork v0.1.0 // indirect github.com/jrick/logrotate v1.0.0 github.com/json-iterator/go v1.1.9 // indirect github.com/juju/clock v0.0.0-20190205081909-9c5c9712527c // indirect @@ -57,15 +53,13 @@ require ( github.com/ltcsuite/ltcd v0.0.0-20190101042124-f37f8bf35796 github.com/mattn/go-runewidth v0.0.9 // indirect github.com/miekg/dns v0.0.0-20171125082028-79bfde677fa8 - github.com/modern-go/reflect2 v1.0.1 // indirect - github.com/prometheus/client_golang v0.9.3 - github.com/soheilhy/cmux v0.1.4 // indirect + github.com/prometheus/client_golang v1.0.0 github.com/stretchr/testify v1.5.1 github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5 // indirect github.com/tv42/zbase32 v0.0.0-20160707012821-501572607d02 - github.com/urfave/cli v1.18.0 - github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2 // indirect + github.com/urfave/cli v1.20.0 go.etcd.io/bbolt v1.3.5-0.20200615073812-232d8fc87f50 + go.etcd.io/etcd v3.4.14+incompatible go.uber.org/zap v1.14.1 // indirect golang.org/x/crypto v0.0.0-20200709230013-948cd5f35899 golang.org/x/net v0.0.0-20200520004742-59133d7f0dd7 @@ -77,7 +71,6 @@ require ( gopkg.in/macaroon-bakery.v2 v2.0.1 gopkg.in/macaroon.v2 v2.0.0 gopkg.in/mgo.v2 v2.0.0-20190816093944-a6b53ec6cb22 // indirect - sigs.k8s.io/yaml v1.1.0 // indirect ) replace github.com/lightningnetwork/lnd/ticker => ./ticker @@ -90,4 +83,8 @@ replace github.com/lightningnetwork/lnd/clock => ./clock replace git.schwanenlied.me/yawning/bsaes.git => github.com/Yawning/bsaes v0.0.0-20180720073208-c0276d75487e +// Fix incompatibility of etcd go.mod package. +// See https://github.com/etcd-io/etcd/issues/11154 +replace go.etcd.io/etcd => go.etcd.io/etcd v0.5.0-alpha.5.0.20201125193152-8a03d2e9614b + go 1.15 diff --git a/go.sum b/go.sum index 91aa1e690..0d9e0ad73 100644 --- a/go.sum +++ b/go.sum @@ -5,7 +5,6 @@ github.com/NebulousLabs/fastrand v0.0.0-20181203155948-6fb6489aac4e h1:n+DcnTNkQ github.com/NebulousLabs/fastrand v0.0.0-20181203155948-6fb6489aac4e/go.mod h1:Bdzq+51GR4/0DIhaICZEOm+OHvXGwwB2trKZ8B4Y6eQ= github.com/NebulousLabs/go-upnp v0.0.0-20180202185039-29b680b06c82 h1:MG93+PZYs9PyEsj/n5/haQu2gK0h4tUtSy9ejtMwWa0= github.com/NebulousLabs/go-upnp v0.0.0-20180202185039-29b680b06c82/go.mod h1:GbuBk21JqF+driLX3XtJYNZjGa45YDoa9IqCTzNSfEc= -github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= github.com/Yawning/aez v0.0.0-20180114000226-4dad034d9db2 h1:2be4ykKKov3M1yISM2E8gnGXZ/N2SsPawfnGiXxaYEU= github.com/Yawning/aez v0.0.0-20180114000226-4dad034d9db2/go.mod h1:9pIqrY6SXNL8vjRQE5Hd/OL5GyK/9MrGUWs87z/eFfk= github.com/Yawning/bsaes v0.0.0-20180720073208-c0276d75487e h1:n88VxLC80RPVHbFG/kq7ItMizCVRPCyLj63UMqxLkOw= @@ -22,6 +21,7 @@ github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:l github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= github.com/beorn7/perks v1.0.0 h1:HWo1m869IqiPhD389kmkxeTalrjNbbJTC8LXupb+sl0= github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= +github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= github.com/btcsuite/btcd v0.0.0-20190629003639-c26ffa870fd8/go.mod h1:3J08xEfcugPacsc34/LKRU2yO7YmuT8yt28J8k2+rrI= github.com/btcsuite/btcd v0.0.0-20190824003749-130ea5bddde3/go.mod h1:3J08xEfcugPacsc34/LKRU2yO7YmuT8yt28J8k2+rrI= github.com/btcsuite/btcd v0.20.1-beta/go.mod h1:wVuoA8VJLEcwgqHBwHmzLRazpKxTv13Px/pDuV7OomQ= @@ -68,19 +68,21 @@ github.com/btcsuite/websocket v0.0.0-20150119174127-31079b680792/go.mod h1:ghJtE github.com/btcsuite/winsvc v1.0.0 h1:J9B4L7e3oqhXOcm+2IuNApwzQec85lE+QaikUcCs+dk= github.com/btcsuite/winsvc v1.0.0/go.mod h1:jsenWakMcC0zFBFurPLEAyrnc/teJEM1O46fmI40EZs= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= -github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= -github.com/coreos/bbolt v1.3.3 h1:n6AiVyVRKQFNb6mJlwESEvvLoDyiTzXX7ORAUlkeBdY= +github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa h1:OaNxuTZr7kxeODyLWsRMC+OD03aFUH+mW6r2d+MWa5Y= +github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa/go.mod h1:zn76sxSg3SzpJ0PPJaLDCu+Bu0Lg3sKTORVIj19EIF8= github.com/coreos/bbolt v1.3.3/go.mod h1:iRUV2dpdMOn7Bo10OQBFzIJO9kkE559Wcmn+qkEiiKk= -github.com/coreos/etcd v3.3.22+incompatible h1:AnRMUyVdVvh1k7lHe61YEd227+CLoNogQuAypztGSK4= -github.com/coreos/etcd v3.3.22+incompatible/go.mod h1:uF7uidLiAD3TWHmW31ZFd/JWoc32PjwdhPthX9715RE= +github.com/coreos/go-semver v0.2.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= github.com/coreos/go-semver v0.3.0 h1:wkHLiw0WNATZnSG7epLsujiMCgPAc9xhjJ4tgnAxmfM= github.com/coreos/go-semver v0.3.0/go.mod h1:nnelYz7RCh+5ahJtPPxZlU+153eP4D4r3EedlOD2RNk= +github.com/coreos/go-systemd v0.0.0-20180511133405-39ca1b05acc7/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= github.com/coreos/go-systemd v0.0.0-20191104093116-d3cd4ed1dbcf h1:iW4rZ826su+pqaw19uhpSCzhj44qo35pNgKFGqzDKkU= github.com/coreos/go-systemd v0.0.0-20191104093116-d3cd4ed1dbcf/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= +github.com/coreos/pkg v0.0.0-20160727233714-3ac0863d7acf/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f h1:lBNOc5arjvs8E5mO2tbpBpLoyyu8B6e44T7hJy6potg= github.com/coreos/pkg v0.0.0-20180928190104-399ea9e2e55f/go.mod h1:E3G3o1h8I7cfcXa63jLwjI0eiQQMgzzUDFVpN/nH/eA= +github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= github.com/davecgh/go-spew v0.0.0-20171005155431-ecdeabc65495/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= @@ -89,12 +91,14 @@ github.com/decred/dcrd/lru v1.0.0 h1:Kbsb1SFDsIlaupWPwsPp+dkxiBY1frcS07PCPgotKz8 github.com/decred/dcrd/lru v1.0.0/go.mod h1:mxKOwFd7lFjN2GZYsiz/ecgqR6kkYAl+0pz0tEMk218= github.com/dgrijalva/jwt-go v3.2.0+incompatible h1:7qlOGliEKZXTDg6OTjfoBKDXWrumCAMpl/TFQ4/5kLM= github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= -github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no= +github.com/dustin/go-humanize v0.0.0-20171111073723-bb3d318650d4/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= github.com/dustin/go-humanize v1.0.0 h1:VSnTsYCnlFHaM2/igO1h6X3HA71jcobQuxemgkq4zYo= github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk= github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= +github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/frankban/quicktest v1.2.2 h1:xfmOhhoH5fGPgbEAlhLpJH9p0z/0Qizio9osmvn9IUY= github.com/frankban/quicktest v1.2.2/go.mod h1:Qh/WofXFeiAFII1aEBu529AtJo6Zg2VHscnEsbBnJ20= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= @@ -105,16 +109,17 @@ github.com/go-errors/errors v1.0.1 h1:LUHzmkK3GUKUrL/1gfBUxAHzcev3apQlezX/+O7ma6 github.com/go-errors/errors v1.0.1/go.mod h1:f4zRHt4oKfwPJE5k8C9vpYG+aDHdBFUsgrm6/TyX73Q= github.com/go-kit/kit v0.8.0/go.mod h1:xBxKIO96dXMWWy0MnWVtmwkA9/13aqxPnvrjFYMA2as= github.com/go-logfmt/logfmt v0.3.0/go.mod h1:Qt1PoO58o5twSAckw1HlFXLmHsOX5/0LbT9GBnD5lWE= -github.com/go-logfmt/logfmt v0.4.0/go.mod h1:3RMwSq7FuexP4Kalkev3ejPJsZTpXXBr9+V4qmtdjCk= github.com/go-openapi/errors v0.19.2 h1:a2kIyV3w+OS3S97zxUndRVD46+FhGOUBDFY7nmu4CsY= github.com/go-openapi/errors v0.19.2/go.mod h1:qX0BLWsyaKfvhluLejVpVNwNRdXZhEbTA4kxxpKBC94= github.com/go-openapi/strfmt v0.19.5 h1:0utjKrw+BAh8s57XE9Xz8DUBsVvPmRUB6styvl9wWIM= github.com/go-openapi/strfmt v0.19.5/go.mod h1:eftuHTlB/dI8Uq8JJOyRlieZf+WkkxUuk0dgdHXr2Qk= github.com/go-stack/stack v1.8.0 h1:5SgMzNM5HxrEjV0ww2lTmX6E2Izsfxas4+YHWRs3Lsk= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= -github.com/gogo/protobuf v1.1.1 h1:72R+M5VuhED/KujmZVcIquuo8mBgX4oVda//DQb3PXo= github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ= +github.com/gogo/protobuf v1.2.1 h1:/s5zKNz0uPFCZ5hddgPdo2TK2TVrUNMn0OOX8/aZMTE= +github.com/gogo/protobuf v1.2.1/go.mod h1:hp+jE20tsWTFYpLwKvXlhS1hjn+gTNwPg2I6zVXpSg4= github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= +github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e h1:1r7pUrabqp18hOBcwBwiTsbnFeTZHV9eER/QT5JVZxY= github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= github.com/golang/lint v0.0.0-20180702182130-06c8688daad7/go.mod h1:tluoj9z5200jBnyusfRPU2LqT6J+DAorxEvtC7LHB+E= @@ -141,18 +146,22 @@ github.com/google/go-cmp v0.4.0 h1:xsAVV57WRhGj6kEIi8ReJzQlHHqcBYCElAvkovg3B/4= github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= +github.com/google/uuid v1.0.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.1.1 h1:Gkbcsh/GbpXz7lPftLA3P6TYMwjCLYm83jiFQZF/3gY= github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/gorilla/websocket v0.0.0-20170926233335-4201258b820c/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= github.com/gorilla/websocket v1.4.2 h1:+/TMaTYc4QFitKJxsQ7Yye35DkWvkdLcvGKqM+x0Ufc= github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= -github.com/grpc-ecosystem/go-grpc-middleware v1.0.0 h1:Iju5GlWwrvL6UBg4zJJt3btmonfrMlCDdsejg4CZE7c= -github.com/grpc-ecosystem/go-grpc-middleware v1.0.0/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= +github.com/grpc-ecosystem/go-grpc-middleware v1.0.1-0.20190118093823-f849b5445de4 h1:z53tR0945TRRQO/fLEVPI6SMv7ZflF0TEaTAoU7tOzg= +github.com/grpc-ecosystem/go-grpc-middleware v1.0.1-0.20190118093823-f849b5445de4/go.mod h1:FiyG127CGDf3tlThmgyCl78X/SZQqEOJBCDaAfeWzPs= github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 h1:Ovs26xHkKqVztRpIrF/92BcuyuQ/YW4NSIpoGtfXNho= github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod h1:8NvIoxWQoOIhqOTXgfV/d3M/q6VIi02HzZEHgUlZvzk= +github.com/grpc-ecosystem/grpc-gateway v1.9.5/go.mod h1:vNeuVxBJEsws4ogUvrchl83t/GYV9WGTSLVdBhOQFDY= github.com/grpc-ecosystem/grpc-gateway v1.14.3 h1:OCJlWkOUoTnl0neNGlf4fUm3TmbEtguw7vR+nGtnDjY= github.com/grpc-ecosystem/grpc-gateway v1.14.3/go.mod h1:6CwZWGDSPRJidgKAtJVvND6soZe6fT7iteq8wDPdhb0= github.com/hpcloud/tail v1.0.0 h1:nfCOvKYfkgYP8hkirhJocXT2+zOD8yUNjXaWfTlyFKI= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= +github.com/inconshreveable/mousetrap v1.0.0/go.mod h1:PxqpIevigyE2G7u3NXJIT2ANytuPF1OarO4DADm73n8= github.com/jackpal/gateway v1.0.5 h1:qzXWUJfuMdlLMtt0a3Dgt+xkWQiA5itDEITVJtuSwMc= github.com/jackpal/gateway v1.0.5/go.mod h1:lTpwd4ACLXmpyiCTRtfiNyVnUmqT9RivzCDQetPfnjA= github.com/jackpal/go-nat-pmp v0.0.0-20170405195558-28a68d0c24ad h1:heFfj7z0pGsNCekUlsFhO2jstxO4b5iQ665LjwM5mDc= @@ -166,6 +175,8 @@ github.com/jonboulle/clockwork v0.1.0 h1:VKV+ZcuP6l3yW9doeqz6ziZGgcynBVQO+obU0+0 github.com/jonboulle/clockwork v0.1.0/go.mod h1:Ii8DK3G1RaLaWxj9trq07+26W01tbo22gdxWY5EU2bo= github.com/jrick/logrotate v1.0.0 h1:lQ1bL/n9mBNeIXoTUoYRlK4dHuNJVofX9oWqBtPnSzI= github.com/jrick/logrotate v1.0.0/go.mod h1:LNinyqDIJnpAur+b8yyulnQw/wDuN1+BYKlTRt3OuAQ= +github.com/json-iterator/go v1.1.6/go.mod h1:+SdeFBvtyEkXs7REEP0seUULqWtbJapLOCVDaaPEHmU= +github.com/json-iterator/go v1.1.7/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= github.com/json-iterator/go v1.1.9 h1:9yzud/Ht36ygwatGx56VwCZtlI/2AD15T1X2sjSuGns= github.com/json-iterator/go v1.1.9/go.mod h1:KdQUCv79m/52Kvf8AW2vK1V8akMuk1QjK/uOdHXbAo4= github.com/juju/clock v0.0.0-20190205081909-9c5c9712527c h1:3UvYABOQRhJAApj9MdCN+Ydv841ETSoy6xLzdmmr/9A= @@ -183,6 +194,7 @@ github.com/juju/utils v0.0.0-20180820210520-bf9cc5bdd62d/go.mod h1:6/KLg8Wz/y2KV github.com/juju/version v0.0.0-20180108022336-b64dbd566305 h1:lQxPJ1URr2fjsKnJRt/BxiIxjLt9IKGvS+0injMHbag= github.com/juju/version v0.0.0-20180108022336-b64dbd566305/go.mod h1:kE8gK5X0CImdr7qpSKl3xB2PmpySSmfj7zVbkZFs81U= github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w= +github.com/kisielk/errcheck v1.1.0/go.mod h1:EZBBE59ingxPouuu3KfxchcWSUPOHkagtvWXihfKN4Q= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/kkdai/bstream v0.0.0-20161212061736-f391b8402d23/go.mod h1:J+Gs4SYgM6CZQHDETBtE9HaSEkGmuNXF86RwHhHUvq4= github.com/kkdai/bstream v0.0.0-20181106074824-b3251f7901ec h1:n1NeQ3SgUHyISrjFFoO5dR748Is8dBL9qpaTNfphQrs= @@ -207,6 +219,9 @@ github.com/lightningnetwork/lightning-onion v1.0.2-0.20200501022730-3c8c8d0b89ea github.com/ltcsuite/ltcd v0.0.0-20190101042124-f37f8bf35796 h1:sjOGyegMIhvgfq5oaue6Td+hxZuf3tDC8lAPrFldqFw= github.com/ltcsuite/ltcd v0.0.0-20190101042124-f37f8bf35796/go.mod h1:3p7ZTf9V1sNPI5H8P3NkTFF4LuwMdPl2DodF60qAKqY= github.com/ltcsuite/ltcutil v0.0.0-20181217130922-17f3b04680b6/go.mod h1:8Vg/LTOO0KYa/vlHWJ6XZAevPQThGH5sufO0Hrou/lA= +github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= +github.com/mattn/go-isatty v0.0.4/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= +github.com/mattn/go-runewidth v0.0.2/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= github.com/mattn/go-runewidth v0.0.9 h1:Lm995f3rfxdpd6TSmuVCHVb/QhupuXlYr8sCI/QdE+0= github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI= github.com/matttproud/golang_protobuf_extensions v1.0.1 h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU= @@ -215,13 +230,14 @@ github.com/miekg/dns v0.0.0-20171125082028-79bfde677fa8 h1:PRMAcldsl4mXKJeRNB/KV github.com/miekg/dns v0.0.0-20171125082028-79bfde677fa8/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg= github.com/mitchellh/mapstructure v1.1.2 h1:fmNYVwqnSfB9mZU6OS2O6GsXM+wcskZDuKQzvN1EDeE= github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y= -github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421 h1:ZqeYNhU3OHLH3mGKHDcjJRFFRrJa6eAM5H+CtDdOsPc= github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= +github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg= +github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= github.com/modern-go/reflect2 v1.0.1 h1:9f412s+6RmYXLWZSEzVVgPGK7C2PphHj5RJrvfx9AWI= github.com/modern-go/reflect2 v1.0.1/go.mod h1:bx2lNnkwVCuqBIxFjflWJWanXIb3RllmbCylyMrvgv0= github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= -github.com/oklog/ulid v1.3.1/go.mod h1:CirwcVhetQ6Lv90oh/F+FBtV6XMibvdAFo93nm5qn4U= +github.com/olekukonko/tablewriter v0.0.0-20170122224234-a0225b3f23b5/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo= github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.7.0 h1:WSHQ+IS43OoUrWtD1/bbclrwK8TTH5hzp+umCiuxHgs= github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= @@ -234,27 +250,29 @@ github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINE github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw= -github.com/prometheus/client_golang v0.9.3 h1:9iH4JKXLzFbOAdtqv/a+j8aewx2Y8lAjAydhbaScPF8= -github.com/prometheus/client_golang v0.9.3/go.mod h1:/TN21ttK/J9q6uSwhBd54HahCDft0ttaMvbicHlPoso= +github.com/prometheus/client_golang v1.0.0 h1:vrDKnkGzuGvhNAL56c7DBz29ZL+KxnoR0x7enabFceM= +github.com/prometheus/client_golang v1.0.0/go.mod h1:db9x61etRT2tGnBNRi70OPL5FsnadC4Ky3P0J6CfImo= github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4 h1:gQz4mCbXsO+nc9n1hCxHcGA3Zx3Eo+UHZoInFGUIXNM= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= -github.com/prometheus/common v0.0.0-20181113130724-41aa239b4cce/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro= -github.com/prometheus/common v0.4.0 h1:7etb9YClo3a6HjLzfl6rIQaU+FDfi0VSX39io3aQ+DM= -github.com/prometheus/common v0.4.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= +github.com/prometheus/common v0.4.1 h1:K0MGApIoQvMw27RTdJkPbr3JZ7DNbtxQNyi5STVM6Kw= +github.com/prometheus/common v0.4.1/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y86RQel1bk4= github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk= -github.com/prometheus/procfs v0.0.0-20190507164030-5867b95ac084 h1:sofwID9zm4tzrgykg80hfFph1mryUeLRsUfoocVVmRY= -github.com/prometheus/procfs v0.0.0-20190507164030-5867b95ac084/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= -github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= +github.com/prometheus/procfs v0.0.2 h1:6LJUbpNm42llc4HRCuvApCSWB/WfhuNo9K98Q9sNGfs= +github.com/prometheus/procfs v0.0.2/go.mod h1:TjEm7ze935MbeOT/UhFTIMYKhuLP4wbCsTZCD3I8kEA= +github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod h1:XWv6SoW27p1b0cqNHllgS5HIMJraePCO15w5zCzIWYg= github.com/rogpeppe/fastuuid v1.2.0 h1:Ppwyp6VYCF1nvBTXL3trRso7mXMlRrw9ooo375wvi2s= github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= -github.com/sirupsen/logrus v1.2.0 h1:juTguoYk5qI21pwyTXY3B3Y5cOTH3ZUyZCg1v/mihuo= github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo= +github.com/sirupsen/logrus v1.4.2 h1:SPIRibHv4MatM3XXNO2BJeFLZwZ2LvZgfQ5+UNI2im4= +github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= github.com/soheilhy/cmux v0.1.4 h1:0HKaf1o97UwFjHH9o5XsHUOF+tqmdA7KEzXLpiyaw0E= github.com/soheilhy/cmux v0.1.4/go.mod h1:IM3LyeVVIOuxMH7sFAkER9+bJ4dT7Ms6E4xg4kGIyLM= -github.com/spaolacci/murmur3 v0.0.0-20180118202830-f09979ecbc72/go.mod h1:JwIasOWyU6f++ZhiEuf87xNszmSA2myDM2Kzu9HwQUA= +github.com/spf13/cobra v0.0.3/go.mod h1:1l0Ry5zgKvJasoi3XT1TypsSe7PqH0Sj9dhYf7v3XqQ= +github.com/spf13/pflag v1.0.1 h1:aCvUg6QPl3ibpQUxyLkrEkCHtPqYJL4x9AuhqVqFis4= +github.com/spf13/pflag v1.0.1/go.mod h1:DYY7MBk1bdzusC3SYhjObp+wFpr4gzcvqqNjLnInEg4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= @@ -265,25 +283,31 @@ github.com/stretchr/testify v1.5.1 h1:nOGnQDM7FYENwehXlg/kFVnos3rEvtKTjRvOWSzb6H github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= github.com/tidwall/pretty v1.0.0 h1:HsD+QiTn7sK6flMKIvNmpqz1qrpP3Ps6jOKIKMooyg4= github.com/tidwall/pretty v1.0.0/go.mod h1:XNkn88O1ChpSDQmQeStsy+sBenx6DDtFZJxhVysOjyk= +github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5 h1:LnC5Kc/wtumK+WB441p7ynQJzVuNRJiqddSIE3IlSEQ= github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= github.com/tv42/zbase32 v0.0.0-20160707012821-501572607d02 h1:tcJ6OjwOMvExLlzrAVZute09ocAGa7KqOON60++Gz4E= github.com/tv42/zbase32 v0.0.0-20160707012821-501572607d02/go.mod h1:tHlrkM198S068ZqfrO6S8HsoJq2bF3ETfTL+kt4tInY= -github.com/urfave/cli v1.18.0 h1:m9MfmZWX7bwr9kUcs/Asr95j0IVXzGNNc+/5ku2m26Q= -github.com/urfave/cli v1.18.0/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA= +github.com/urfave/cli v1.20.0 h1:fDqGv3UG/4jbVl/QkFwEdddtEDjh/5Ov6X+0B/3bPaw= +github.com/urfave/cli v1.20.0/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA= github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2 h1:eY9dn8+vbi4tKz5Qo6v2eYzo7kUS51QINcR5jNpbZS8= github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU= go.etcd.io/bbolt v1.3.3/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU= go.etcd.io/bbolt v1.3.5-0.20200615073812-232d8fc87f50 h1:ASw9n1EHMftwnP3Az4XW6e308+gNsrHzmdhd0Olz9Hs= go.etcd.io/bbolt v1.3.5-0.20200615073812-232d8fc87f50/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ= +go.etcd.io/etcd v0.5.0-alpha.5.0.20201125193152-8a03d2e9614b h1:PLwvCoe5rvpuo9Un6/hlNRMAfOMVb7zBsOOeKAjV81g= +go.etcd.io/etcd v0.5.0-alpha.5.0.20201125193152-8a03d2e9614b/go.mod h1:yVHk9ub3CSBatqGNg7GRmsnfLWtoW60w4eDYfh7vHDg= go.mongodb.org/mongo-driver v1.0.3 h1:GKoji1ld3tw2aC+GX1wbr/J2fX13yNacEYoJ8Nhr0yU= go.mongodb.org/mongo-driver v1.0.3/go.mod h1:u7ryQJ+DOzQmeO7zB6MHyr8jkEQvC8vH7qLUO4lqsUM= +go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/atomic v1.6.0 h1:Ezj3JGmsOnG1MoRWQkPBsKLe9DwWD9QeXzTRzzldNVk= go.uber.org/atomic v1.6.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= +go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= go.uber.org/multierr v1.5.0 h1:KCa4XfM8CWFCpxXRGok+Q0SS/0XBhMDbHHGABQLvD2A= go.uber.org/multierr v1.5.0/go.mod h1:FeouvMocqHpRaaGuG9EjoKcStLC43Zu/fmqdUMPcKYU= go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee h1:0mgffUl7nfd+FpvXMVz4IDEaUSmT1ysygQC7qYo7sG4= go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod h1:vJERXedbb3MVM5f9Ejo0C68/HhF8uaILCdgjnY+goOA= +go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= go.uber.org/zap v1.14.1 h1:nYDKopTbvAPq/NrUVZwT15y2lpROBiLLyoRTbXOYWOo= go.uber.org/zap v1.14.1/go.mod h1:Mb2vm2krFEG5DV0W9qcHBYFtp/Wku1cvYaqPsS/WYfc= golang.org/x/crypto v0.0.0-20170930174604-9419663f5a44/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= @@ -309,11 +333,13 @@ golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73r golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181106065722-10aee1819953/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20181220203305-927f97764cc3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190206173232-65e2d4e15006/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20190813141303-74dc4d7220e7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20191002035440-2ec189313ef0/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20200520004742-59133d7f0dd7 h1:AeiKBIuRw3UomYXSbLy0Mc2dDLfdtbT/IVn4keq83P0= golang.org/x/net v0.0.0-20200520004742-59133d7f0dd7/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A= @@ -330,17 +356,22 @@ golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5h golang.org/x/sys v0.0.0-20190209173611-3b5209105503/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20190826190057-c7b8b68b1456/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190904154756-749cb33beabd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd h1:xhmwyvizuTgC2qz7ZlMluP20uW+C3Rm0FD/WLDX8884= golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= -golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2 h1:z99zHgr7hKfrUcX/KsoJk5FJfjTceCKIp96+biqP4To= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.3 h1:cokOdA+Jmi5PJGXLlLllQSgYigAEfHXJAERHVMaCc2k= +golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2 h1:+DCIGbF/swA92ohVg0//6X2IVY3KZs6p9mix0ziNYJM= golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= +golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20180828015842-6cd1fcedba52/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= @@ -365,6 +396,7 @@ google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZi google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= google.golang.org/grpc v1.24.0/go.mod h1:XDChyiUovWa60DnaeDeZmSW86xtLtjtZbwvSiRnRtcA= google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= +google.golang.org/grpc v1.26.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= google.golang.org/grpc v1.29.1 h1:EC2SB8S04d2r73uptxphDSUG+kTKVgjRPF+N3xpxRB4= google.golang.org/grpc v1.29.1/go.mod h1:itym6AZVZYACWQqET3MqgPpjcuV5QH3BxFS3IjizoKk= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= @@ -378,6 +410,7 @@ gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLks gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/cheggaaa/pb.v1 v1.0.25/go.mod h1:V/YB90LKu/1FcN3WVnfiiE5oMCibMjukxqG/qStrOgw= gopkg.in/errgo.v1 v1.0.1 h1:oQFRXzZ7CkBGdm1XZm/EbQYaYNNEElNBOd09M6cqNso= gopkg.in/errgo.v1 v1.0.1/go.mod h1:3NjfXwocQRYAPTq4/fzX+CwUhPRcR/azYRhj8G+LqMo= gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= @@ -389,8 +422,10 @@ gopkg.in/macaroon.v2 v2.0.0 h1:LVWycAfeJBUjCIqfR9gqlo7I8vmiXRr51YEOZ1suop8= gopkg.in/macaroon.v2 v2.0.0/go.mod h1:+I6LnTMkm/uV5ew/0nsulNjL16SK4+C8yDmRUzHR17I= gopkg.in/mgo.v2 v2.0.0-20190816093944-a6b53ec6cb22 h1:VpOs+IwYnYBaFnrNAeB8UUWtL3vEUnzSCL1nVjPhqrw= gopkg.in/mgo.v2 v2.0.0-20190816093944-a6b53ec6cb22/go.mod h1:yeKp02qBN3iKW1OzL3MGk2IdtZzaj7SFntXj72NppTA= +gopkg.in/resty.v1 v1.12.0/go.mod h1:mDo4pnntr5jdWRML875a/NmxYqAlA73dVijT2AXvQQo= gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 h1:uRGJdciOHaEIrze2W8Q3AKkepLTh2hOroT7a+7czfdQ= gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod h1:dt/ZhP58zS4L8KSrWDmTeBkI65Dw0HsyUHuEVlX15mw= +gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod h1:JAlM8MvJe8wmxCU4Bli9HhUf9+ttbYbLASfIpnQbh74= gopkg.in/yaml.v2 v2.2.1/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v2 v2.2.3 h1:fvjTMHxHEw/mxHbtzPi3JCcKXQRAnQTBRo6YCJSVHKI= From 08be03367a35c11af1d45020abc74349298ccf0c Mon Sep 17 00:00:00 2001 From: Andras Banki-Horvath Date: Thu, 4 Mar 2021 23:06:47 +0100 Subject: [PATCH 11/18] walletunlocker: extract method to create the Loader --- walletunlocker/service.go | 55 +++++++++++++++++++++++---------------- 1 file changed, 32 insertions(+), 23 deletions(-) diff --git a/walletunlocker/service.go b/walletunlocker/service.go index 0c3c0b3d0..a2f4d850a 100644 --- a/walletunlocker/service.go +++ b/walletunlocker/service.go @@ -160,14 +160,23 @@ func New(chainDir string, params *chaincfg.Params, noFreelistSync bool, } } +func (u *UnlockerService) newLoader(recoveryWindow uint32) (*wallet.Loader, + error) { + + netDir := btcwallet.NetworkDir(u.chainDir, u.netParams) + return wallet.NewLoader( + u.netParams, netDir, u.noFreelistSync, u.dbTimeout, + recoveryWindow, + ), nil +} + // WalletExists returns whether a wallet exists on the file path the // UnlockerService is using. func (u *UnlockerService) WalletExists() (bool, error) { - netDir := btcwallet.NetworkDir(u.chainDir, u.netParams) - loader := wallet.NewLoader( - u.netParams, netDir, u.noFreelistSync, u.dbTimeout, 0, - ) - + loader, err := u.newLoader(0) + if err != nil { + return false, err + } return loader.WalletExists() } @@ -184,10 +193,11 @@ func (u *UnlockerService) GenSeed(_ context.Context, // Before we start, we'll ensure that the wallet hasn't already created // so we don't show a *new* seed to the user if one already exists. - netDir := btcwallet.NetworkDir(u.chainDir, u.netParams) - loader := wallet.NewLoader( - u.netParams, netDir, u.noFreelistSync, u.dbTimeout, 0, - ) + loader, err := u.newLoader(0) + if err != nil { + return nil, err + } + walletExists, err := loader.WalletExists() if err != nil { return nil, err @@ -315,11 +325,10 @@ func (u *UnlockerService) InitWallet(ctx context.Context, // We'll then open up the directory that will be used to store the // wallet's files so we can check if the wallet already exists. - netDir := btcwallet.NetworkDir(u.chainDir, u.netParams) - loader := wallet.NewLoader( - u.netParams, netDir, u.noFreelistSync, - u.dbTimeout, uint32(recoveryWindow), - ) + loader, err := u.newLoader(uint32(recoveryWindow)) + if err != nil { + return nil, err + } walletExists, err := loader.WalletExists() if err != nil { @@ -392,11 +401,10 @@ func (u *UnlockerService) UnlockWallet(ctx context.Context, password := in.WalletPassword recoveryWindow := uint32(in.RecoveryWindow) - netDir := btcwallet.NetworkDir(u.chainDir, u.netParams) - loader := wallet.NewLoader( - u.netParams, netDir, u.noFreelistSync, - u.dbTimeout, recoveryWindow, - ) + loader, err := u.newLoader(recoveryWindow) + if err != nil { + return nil, err + } // Check if wallet already exists. walletExists, err := loader.WalletExists() @@ -492,10 +500,10 @@ func (u *UnlockerService) UnlockWallet(ctx context.Context, func (u *UnlockerService) ChangePassword(ctx context.Context, in *lnrpc.ChangePasswordRequest) (*lnrpc.ChangePasswordResponse, error) { - netDir := btcwallet.NetworkDir(u.chainDir, u.netParams) - loader := wallet.NewLoader( - u.netParams, netDir, u.noFreelistSync, u.dbTimeout, 0, - ) + loader, err := u.newLoader(0) + if err != nil { + return nil, err + } // First, we'll make sure the wallet exists for the specific chain and // network. @@ -572,6 +580,7 @@ func (u *UnlockerService) ChangePassword(ctx context.Context, // then close it again. // Attempt to open the macaroon DB, unlock it and then change // the passphrase. + netDir := btcwallet.NetworkDir(u.chainDir, u.netParams) macaroonService, err := macaroons.NewService( netDir, "lnd", in.StatelessInit, u.dbTimeout, ) From b6a620e6b2d6adbb0180dee8ea9573f3b22e72e9 Mon Sep 17 00:00:00 2001 From: Andras Banki-Horvath Date: Thu, 4 Mar 2021 23:13:06 +0100 Subject: [PATCH 12/18] misc: add ability to store the wallet in the remote DB --- chainreg/chainregistry.go | 10 ++- lnd.go | 67 +++++++++++++----- lnwallet/btcwallet/btcwallet.go | 119 ++++++++++++++++++++++++++++++-- lnwallet/btcwallet/config.go | 14 +--- lnwallet/test/test_interface.go | 12 +++- walletunlocker/service.go | 15 ++-- walletunlocker/service_test.go | 23 +++--- 7 files changed, 203 insertions(+), 57 deletions(-) diff --git a/chainreg/chainregistry.go b/chainreg/chainregistry.go index ffe236ba6..13d3db183 100644 --- a/chainreg/chainregistry.go +++ b/chainreg/chainregistry.go @@ -106,14 +106,13 @@ type Config struct { // optional. FeeURL string - // DBTimeOut specifies the timeout value to use when opening the wallet - // database. - DBTimeOut time.Duration - // Dialer is a function closure that will be used to establish outbound // TCP connections to Bitcoin peers in the event of a pruned block being // requested. Dialer chain.Dialer + + // LoaderOptions holds functional wallet db loader options. + LoaderOptions []btcwallet.LoaderOption } const ( @@ -283,11 +282,10 @@ func NewChainControl(cfg *Config, blockCache *blockcache.BlockCache) ( PublicPass: cfg.PublicWalletPw, Birthday: cfg.Birthday, RecoveryWindow: cfg.RecoveryWindow, - DataDir: homeChainConfig.ChainDir, NetParams: cfg.ActiveNetParams.Params, CoinType: cfg.ActiveNetParams.CoinType, Wallet: cfg.Wallet, - DBTimeOut: cfg.DBTimeOut, + LoaderOptions: cfg.LoaderOptions, } var err error diff --git a/lnd.go b/lnd.go index f905ee0bb..76aeca27b 100644 --- a/lnd.go +++ b/lnd.go @@ -375,9 +375,38 @@ func Main(cfg *Config, lisCfg ListenerCfg, interceptor signal.Interceptor) error defer cleanUp() + var loaderOpt btcwallet.LoaderOption + if cfg.Cluster.EnableLeaderElection { + // The wallet loader will attempt to use/create the wallet in + // the replicated remote DB if we're running in a clustered + // environment. This will ensure that all members of the cluster + // have access to the same wallet state. + loaderOpt = btcwallet.LoaderWithExternalWalletDB( + remoteChanDB.Backend, + ) + } else { + // When "running locally", LND will use the bbolt wallet.db to + // store the wallet located in the chain data dir, parametrized + // by the active network. + chainConfig := cfg.Bitcoin + if cfg.registeredChains.PrimaryChain() == chainreg.LitecoinChain { + chainConfig = cfg.Litecoin + } + + dbDirPath := btcwallet.NetworkDir( + chainConfig.ChainDir, cfg.ActiveNetParams.Params, + ) + loaderOpt = btcwallet.LoaderWithLocalWalletDB( + dbDirPath, !cfg.SyncFreelist, cfg.DB.Bolt.DBTimeout, + ) + } + // We'll create the WalletUnlockerService and check whether the wallet // already exists. - pwService := createWalletUnlockerService(cfg) + pwService := createWalletUnlockerService(cfg, + []btcwallet.LoaderOption{loaderOpt}, + ) + walletExists, err := pwService.WalletExists() if err != nil { return err @@ -448,7 +477,10 @@ func Main(cfg *Config, lisCfg ListenerCfg, interceptor signal.Interceptor) error // started with the --noseedbackup flag, we use the default password // for wallet encryption. if !cfg.NoSeedBackup { - params, err := waitForWalletPassword(cfg, pwService, interceptor.ShutdownChannel()) + params, err := waitForWalletPassword( + cfg, pwService, []btcwallet.LoaderOption{loaderOpt}, + interceptor.ShutdownChannel(), + ) if err != nil { err := fmt.Errorf("unable to set up wallet password "+ "listeners: %v", err) @@ -598,7 +630,6 @@ func Main(cfg *Config, lisCfg ListenerCfg, interceptor signal.Interceptor) error Birthday: walletInitParams.Birthday, RecoveryWindow: walletInitParams.RecoveryWindow, Wallet: walletInitParams.Wallet, - DBTimeOut: cfg.DB.Bolt.DBTimeout, NeutrinoCS: neutrinoCS, ActiveNetParams: cfg.ActiveNetParams, FeeURL: cfg.FeeURL, @@ -606,6 +637,9 @@ func Main(cfg *Config, lisCfg ListenerCfg, interceptor signal.Interceptor) error return cfg.net.Dial("tcp", addr, cfg.ConnectionTimeout) }, BlockCacheSize: cfg.BlockCacheSize, + LoaderOptions: []btcwallet.LoaderOption{ + loaderOpt, + }, } activeChainControl, cleanup, err := chainreg.NewChainControl( @@ -1200,7 +1234,9 @@ type WalletUnlockParams struct { // createWalletUnlockerService creates a WalletUnlockerService from the passed // config. -func createWalletUnlockerService(cfg *Config) *walletunlocker.UnlockerService { +func createWalletUnlockerService(cfg *Config, + loaderOpts []btcwallet.LoaderOption) *walletunlocker.UnlockerService { + chainConfig := cfg.Bitcoin if cfg.registeredChains.PrimaryChain() == chainreg.LitecoinChain { chainConfig = cfg.Litecoin @@ -1212,10 +1248,11 @@ func createWalletUnlockerService(cfg *Config) *walletunlocker.UnlockerService { macaroonFiles := []string{ cfg.AdminMacPath, cfg.ReadMacPath, cfg.InvoiceMacPath, } + return walletunlocker.New( chainConfig.ChainDir, cfg.ActiveNetParams.Params, !cfg.SyncFreelist, macaroonFiles, cfg.DB.Bolt.DBTimeout, - cfg.ResetWalletTransactions, + cfg.ResetWalletTransactions, loaderOpts, ) } @@ -1382,12 +1419,8 @@ func startRestProxy(cfg *Config, rpcServer *rpcServer, restDialOpts []grpc.DialO // this RPC server. func waitForWalletPassword(cfg *Config, pwService *walletunlocker.UnlockerService, - shutdownChan <-chan struct{}) (*WalletUnlockParams, error) { - - chainConfig := cfg.Bitcoin - if cfg.registeredChains.PrimaryChain() == chainreg.LitecoinChain { - chainConfig = cfg.Litecoin - } + loaderOpts []btcwallet.LoaderOption, shutdownChan <-chan struct{}) ( + *WalletUnlockParams, error) { // Wait for user to provide the password. ltndLog.Infof("Waiting for wallet encryption password. Use `lncli " + @@ -1419,13 +1452,13 @@ func waitForWalletPassword(cfg *Config, keychain.KeyDerivationVersion) } - netDir := btcwallet.NetworkDir( - chainConfig.ChainDir, cfg.ActiveNetParams.Params, - ) - loader := wallet.NewLoader( - cfg.ActiveNetParams.Params, netDir, !cfg.SyncFreelist, - cfg.DB.Bolt.DBTimeout, recoveryWindow, + loader, err := btcwallet.NewWalletLoader( + cfg.ActiveNetParams.Params, recoveryWindow, + loaderOpts..., ) + if err != nil { + return nil, err + } // With the seed, we can now use the wallet loader to create // the wallet, then pass it back to avoid unlocking it again. diff --git a/lnwallet/btcwallet/btcwallet.go b/lnwallet/btcwallet/btcwallet.go index 63919e5ef..a94b56f79 100644 --- a/lnwallet/btcwallet/btcwallet.go +++ b/lnwallet/btcwallet/btcwallet.go @@ -19,12 +19,14 @@ import ( "github.com/btcsuite/btcutil/psbt" "github.com/btcsuite/btcwallet/chain" "github.com/btcsuite/btcwallet/waddrmgr" + "github.com/btcsuite/btcwallet/wallet" base "github.com/btcsuite/btcwallet/wallet" "github.com/btcsuite/btcwallet/wallet/txauthor" "github.com/btcsuite/btcwallet/wallet/txrules" "github.com/btcsuite/btcwallet/walletdb" "github.com/btcsuite/btcwallet/wtxmgr" "github.com/lightningnetwork/lnd/blockcache" + "github.com/lightningnetwork/lnd/channeldb/kvdb" "github.com/lightningnetwork/lnd/keychain" "github.com/lightningnetwork/lnd/lnwallet" "github.com/lightningnetwork/lnd/lnwallet/chainfee" @@ -37,6 +39,13 @@ const ( // UnconfirmedHeight is the special case end height that is used to // obtain unconfirmed transactions from ListTransactionDetails. UnconfirmedHeight int32 = -1 + + // walletMetaBucket is used to store wallet metadata. + walletMetaBucket = "lnwallet" + + // walletReadyKey is used to indicate that the wallet has been + // initialized. + walletReadyKey = "ready" ) var ( @@ -87,9 +96,6 @@ var _ lnwallet.BlockChainIO = (*BtcWallet)(nil) // New returns a new fully initialized instance of BtcWallet given a valid // configuration struct. func New(cfg Config, blockCache *blockcache.BlockCache) (*BtcWallet, error) { - // Ensure the wallet exists or create it when the create flag is set. - netDir := NetworkDir(cfg.DataDir, cfg.NetParams) - // Create the key scope for the coin type being managed by this wallet. chainKeyScope := waddrmgr.KeyScope{ Purpose: keychain.BIP0043Purpose, @@ -108,10 +114,13 @@ func New(cfg Config, blockCache *blockcache.BlockCache) (*BtcWallet, error) { } else { pubPass = cfg.PublicPass } - loader := base.NewLoader( - cfg.NetParams, netDir, cfg.NoFreelistSync, - cfg.DBTimeOut, cfg.RecoveryWindow, + + loader, err := NewWalletLoader( + cfg.NetParams, cfg.RecoveryWindow, cfg.LoaderOptions..., ) + if err != nil { + return nil, err + } walletExists, err := loader.WalletExists() if err != nil { return nil, err @@ -149,6 +158,104 @@ func New(cfg Config, blockCache *blockcache.BlockCache) (*BtcWallet, error) { }, nil } +// loaderCfg holds optional wallet loader configuration. +type loaderCfg struct { + dbDirPath string + noFreelistSync bool + dbTimeout time.Duration + useLocalDB bool + externalDB kvdb.Backend +} + +// LoaderOption is a functional option to update the optional loader config. +type LoaderOption func(*loaderCfg) + +// LoaderWithLocalWalletDB configures the wallet loader to use the local db. +func LoaderWithLocalWalletDB(dbDirPath string, noFreelistSync bool, + dbTimeout time.Duration) LoaderOption { + + return func(cfg *loaderCfg) { + cfg.dbDirPath = dbDirPath + cfg.noFreelistSync = noFreelistSync + cfg.dbTimeout = dbTimeout + cfg.useLocalDB = true + } +} + +// LoaderWithExternalWalletDB configures the wallet loadr to use an external db. +func LoaderWithExternalWalletDB(db kvdb.Backend) LoaderOption { + return func(cfg *loaderCfg) { + cfg.externalDB = db + } +} + +// NewWalletLoader constructs a wallet loader. +func NewWalletLoader(chainParams *chaincfg.Params, recoveryWindow uint32, + opts ...LoaderOption) (*wallet.Loader, error) { + + cfg := &loaderCfg{} + + // Apply all functional options. + for _, o := range opts { + o(cfg) + } + + if cfg.externalDB != nil && cfg.useLocalDB { + return nil, fmt.Errorf("wallet can either be in the local or " + + "an external db") + } + + if cfg.externalDB != nil { + loader, err := base.NewLoaderWithDB( + chainParams, recoveryWindow, cfg.externalDB, + func() (bool, error) { + return externalWalletExists(cfg.externalDB) + }, + ) + if err != nil { + return nil, err + } + + // Decorate wallet db with out own key such that we + // can always check whether the wallet exists or not. + loader.OnWalletCreated(onWalletCreated) + return loader, nil + } + + return base.NewLoader( + chainParams, cfg.dbDirPath, cfg.noFreelistSync, + cfg.dbTimeout, recoveryWindow, + ), nil +} + +// externalWalletExists is a helper function that we use to template btcwallet's +// Loader in order to be able check if the wallet database has been initialized +// in an external DB. +func externalWalletExists(db kvdb.Backend) (bool, error) { + exists := false + err := kvdb.View(db, func(tx kvdb.RTx) error { + metaBucket := tx.ReadBucket([]byte(walletMetaBucket)) + if metaBucket != nil { + walletReady := metaBucket.Get([]byte(walletReadyKey)) + exists = string(walletReady) == walletReadyKey + } + + return nil + }, func() {}) + + return exists, err +} + +// onWalletCreated is executed when btcwallet creates the wallet the first time. +func onWalletCreated(tx kvdb.RwTx) error { + metaBucket, err := tx.CreateTopLevelBucket([]byte(walletMetaBucket)) + if err != nil { + return err + } + + return metaBucket.Put([]byte(walletReadyKey), []byte(walletReadyKey)) +} + // BackEnd returns the underlying ChainService's name as a string. // // This is a part of the WalletController interface. diff --git a/lnwallet/btcwallet/config.go b/lnwallet/btcwallet/config.go index e3731e17c..953d84615 100644 --- a/lnwallet/btcwallet/config.go +++ b/lnwallet/btcwallet/config.go @@ -28,10 +28,6 @@ var ( // Config is a struct which houses configuration parameters which modify the // instance of BtcWallet generated by the New() function. type Config struct { - // DataDir is the name of the directory where the wallet's persistent - // state should be stored. - DataDir string - // LogDir is the name of the directory which should be used to store // generated log files. LogDir string @@ -76,14 +72,8 @@ type Config struct { // normally when creating the BtcWallet. Wallet *wallet.Wallet - // NoFreelistSync, if true, prevents the database from syncing its - // freelist to disk, resulting in improved performance at the expense of - // increased startup time. - NoFreelistSync bool - - // DBTimeOut specifies the timeout value to use when opening the wallet - // database. - DBTimeOut time.Duration + // LoaderOptions holds functional wallet db loader options. + LoaderOptions []LoaderOption } // NetworkDir returns the directory name of a network directory to hold wallet diff --git a/lnwallet/test/test_interface.go b/lnwallet/test/test_interface.go index 1b7e7e489..95d1cc74c 100644 --- a/lnwallet/test/test_interface.go +++ b/lnwallet/test/test_interface.go @@ -3427,12 +3427,16 @@ func runTests(t *testing.T, walletDriver *lnwallet.WalletDriver, aliceWalletConfig := &btcwallet.Config{ PrivatePass: []byte("alice-pass"), HdSeed: aliceSeedBytes, - DataDir: tempTestDirAlice, NetParams: netParams, ChainSource: aliceClient, CoinType: keychain.CoinTypeTestnet, // wallet starts in recovery mode RecoveryWindow: 2, + LoaderOptions: []btcwallet.LoaderOption{ + btcwallet.LoaderWithLocalWalletDB( + tempTestDirAlice, false, time.Minute, + ), + }, } aliceWalletController, err = walletDriver.New( aliceWalletConfig, blockCache, @@ -3454,12 +3458,16 @@ func runTests(t *testing.T, walletDriver *lnwallet.WalletDriver, bobWalletConfig := &btcwallet.Config{ PrivatePass: []byte("bob-pass"), HdSeed: bobSeedBytes, - DataDir: tempTestDirBob, NetParams: netParams, ChainSource: bobClient, CoinType: keychain.CoinTypeTestnet, // wallet starts without recovery mode RecoveryWindow: 0, + LoaderOptions: []btcwallet.LoaderOption{ + btcwallet.LoaderWithLocalWalletDB( + tempTestDirBob, false, time.Minute, + ), + }, } bobWalletController, err = walletDriver.New( bobWalletConfig, blockCache, diff --git a/walletunlocker/service.go b/walletunlocker/service.go index a2f4d850a..82896f243 100644 --- a/walletunlocker/service.go +++ b/walletunlocker/service.go @@ -137,12 +137,16 @@ type UnlockerService struct { // resetWalletTransactions indicates that the wallet state should be // reset on unlock to force a full chain rescan. resetWalletTransactions bool + + // LoaderOpts holds the functional options for the wallet loader. + loaderOpts []btcwallet.LoaderOption } // New creates and returns a new UnlockerService. func New(chainDir string, params *chaincfg.Params, noFreelistSync bool, macaroonFiles []string, dbTimeout time.Duration, - resetWalletTransactions bool) *UnlockerService { + resetWalletTransactions bool, + loaderOpts []btcwallet.LoaderOption) *UnlockerService { return &UnlockerService{ InitMsgs: make(chan *WalletInitMsg, 1), @@ -157,17 +161,16 @@ func New(chainDir string, params *chaincfg.Params, noFreelistSync bool, dbTimeout: dbTimeout, noFreelistSync: noFreelistSync, resetWalletTransactions: resetWalletTransactions, + loaderOpts: loaderOpts, } } func (u *UnlockerService) newLoader(recoveryWindow uint32) (*wallet.Loader, error) { - netDir := btcwallet.NetworkDir(u.chainDir, u.netParams) - return wallet.NewLoader( - u.netParams, netDir, u.noFreelistSync, u.dbTimeout, - recoveryWindow, - ), nil + return btcwallet.NewWalletLoader( + u.netParams, recoveryWindow, u.loaderOpts..., + ) } // WalletExists returns whether a wallet exists on the file path the diff --git a/walletunlocker/service_test.go b/walletunlocker/service_test.go index 62fcc28d1..fb217f211 100644 --- a/walletunlocker/service_test.go +++ b/walletunlocker/service_test.go @@ -48,6 +48,13 @@ var ( ) ) +func testLoaderOpts(testDir string) []btcwallet.LoaderOption { + dbDir := btcwallet.NetworkDir(testDir, testNetParams) + return []btcwallet.LoaderOption{ + btcwallet.LoaderWithLocalWalletDB(dbDir, true, time.Minute), + } +} + func createTestWallet(t *testing.T, dir string, netParams *chaincfg.Params) { createTestWalletWithPw(t, testPassword, testPassword, dir, netParams) } @@ -148,7 +155,7 @@ func TestGenSeed(t *testing.T) { service := walletunlocker.New( testDir, testNetParams, true, nil, kvdb.DefaultDBTimeout, - false, + false, testLoaderOpts(testDir), ) // Now that the service has been created, we'll ask it to generate a @@ -186,7 +193,7 @@ func TestGenSeedGenerateEntropy(t *testing.T) { }() service := walletunlocker.New( testDir, testNetParams, true, nil, kvdb.DefaultDBTimeout, - false, + false, testLoaderOpts(testDir), ) // Now that the service has been created, we'll ask it to generate a @@ -223,7 +230,7 @@ func TestGenSeedInvalidEntropy(t *testing.T) { }() service := walletunlocker.New( testDir, testNetParams, true, nil, kvdb.DefaultDBTimeout, - false, + false, testLoaderOpts(testDir), ) // Now that the service has been created, we'll ask it to generate a @@ -257,7 +264,7 @@ func TestInitWallet(t *testing.T) { // Create new UnlockerService. service := walletunlocker.New( testDir, testNetParams, true, nil, kvdb.DefaultDBTimeout, - false, + false, testLoaderOpts(testDir), ) // Once we have the unlocker service created, we'll now instantiate a @@ -346,7 +353,7 @@ func TestCreateWalletInvalidEntropy(t *testing.T) { // Create new UnlockerService. service := walletunlocker.New( testDir, testNetParams, true, nil, kvdb.DefaultDBTimeout, - false, + false, testLoaderOpts(testDir), ) // We'll attempt to init the wallet with an invalid cipher seed and @@ -379,7 +386,7 @@ func TestUnlockWallet(t *testing.T) { // unlock. service := walletunlocker.New( testDir, testNetParams, true, nil, kvdb.DefaultDBTimeout, - true, + true, testLoaderOpts(testDir), ) ctx := context.Background() @@ -471,7 +478,7 @@ func TestChangeWalletPasswordNewRootkey(t *testing.T) { // Create a new UnlockerService with our temp files. service := walletunlocker.New( testDir, testNetParams, true, tempFiles, kvdb.DefaultDBTimeout, - false, + false, testLoaderOpts(testDir), ) ctx := context.Background() @@ -583,7 +590,7 @@ func TestChangeWalletPasswordStateless(t *testing.T) { service := walletunlocker.New( testDir, testNetParams, true, []string{ tempMacFile, nonExistingFile, - }, kvdb.DefaultDBTimeout, false, + }, kvdb.DefaultDBTimeout, false, testLoaderOpts(testDir), ) // Create a wallet we can try to unlock. We use the default password From 5e215a7a66954f8fae6491c38054cb57c0a1a734 Mon Sep 17 00:00:00 2001 From: Andras Banki-Horvath Date: Fri, 19 Mar 2021 15:53:06 +0100 Subject: [PATCH 13/18] lnrpc: add "waiting to start" state to state service This commit adds a new "waiting to start" state which may be used to query if we're still waiting to become the cluster leader. Once leader we advance the state to "wallet not exist" or "wallet locked" given wallet availablity. --- lnd.go | 138 +++++++++++++-------------- lnrpc/stateservice.pb.go | 49 +++++----- lnrpc/stateservice.proto | 2 + lnrpc/stateservice.swagger.json | 3 +- lntest/itest/log_error_whitelist.txt | 1 + lntest/node.go | 47 +++++++++ rpcperms/interceptor.go | 54 ++++++++--- walletunlocker/service.go | 6 ++ 8 files changed, 196 insertions(+), 104 deletions(-) diff --git a/lnd.go b/lnd.go index 76aeca27b..7c7c80c45 100644 --- a/lnd.go +++ b/lnd.go @@ -316,6 +316,68 @@ func Main(cfg *Config, lisCfg ListenerCfg, interceptor signal.Interceptor) error } } + // Create a new RPC interceptor that we'll add to the GRPC server. This + // will be used to log the API calls invoked on the GRPC server. + interceptorChain := rpcperms.NewInterceptorChain( + rpcsLog, cfg.NoMacaroons, + ) + if err := interceptorChain.Start(); err != nil { + return err + } + defer func() { + err := interceptorChain.Stop() + if err != nil { + ltndLog.Warnf("error stopping RPC interceptor "+ + "chain: %v", err) + } + }() + + rpcServerOpts := interceptorChain.CreateServerOpts() + serverOpts = append(serverOpts, rpcServerOpts...) + + grpcServer := grpc.NewServer(serverOpts...) + defer grpcServer.Stop() + + // We'll also register the RPC interceptor chain as the StateServer, as + // it can be used to query for the current state of the wallet. + lnrpc.RegisterStateServer(grpcServer, interceptorChain) + + // Register the WalletUnlockerService with the GRPC server. + pwService := createWalletUnlockerService(cfg) + lnrpc.RegisterWalletUnlockerServer(grpcServer, pwService) + + // Initialize, and register our implementation of the gRPC interface + // exported by the rpcServer. + rpcServer := newRPCServer( + cfg, interceptorChain, lisCfg.ExternalRPCSubserverCfg, + lisCfg.ExternalRestRegistrar, + interceptor, + ) + + err = rpcServer.RegisterWithGrpcServer(grpcServer) + if err != nil { + return err + } + + // Now that both the WalletUnlocker and LightningService have been + // registered with the GRPC server, we can start listening. + err = startGrpcListen(cfg, grpcServer, grpcListeners) + if err != nil { + return err + } + + // Now start the REST proxy for our gRPC server above. We'll ensure + // we direct LND to connect to its loopback address rather than a + // wildcard to prevent certificate issues when accessing the proxy + // externally. + stopProxy, err := startRestProxy( + cfg, rpcServer, restDialOpts, restListen, + ) + if err != nil { + return err + } + defer stopProxy() + // Start leader election if we're running on etcd. Continuation will be // blocked until this instance is elected as the current leader or // shutting down. @@ -401,77 +463,17 @@ func Main(cfg *Config, lisCfg ListenerCfg, interceptor signal.Interceptor) error ) } - // We'll create the WalletUnlockerService and check whether the wallet - // already exists. - pwService := createWalletUnlockerService(cfg, - []btcwallet.LoaderOption{loaderOpt}, - ) - + pwService.SetLoaderOpts([]btcwallet.LoaderOption{loaderOpt}) walletExists, err := pwService.WalletExists() if err != nil { return err } - // Create a new RPC interceptor that we'll add to the GRPC server. This - // will be used to log the API calls invoked on the GRPC server. - interceptorChain := rpcperms.NewInterceptorChain( - rpcsLog, cfg.NoMacaroons, walletExists, - ) - if err := interceptorChain.Start(); err != nil { - return err + if !walletExists { + interceptorChain.SetWalletNotCreated() + } else { + interceptorChain.SetWalletLocked() } - defer func() { - err := interceptorChain.Stop() - if err != nil { - ltndLog.Warnf("error stopping RPC interceptor "+ - "chain: %v", err) - } - }() - - rpcServerOpts := interceptorChain.CreateServerOpts() - serverOpts = append(serverOpts, rpcServerOpts...) - - grpcServer := grpc.NewServer(serverOpts...) - defer grpcServer.Stop() - - // Register the WalletUnlockerService with the GRPC server. - lnrpc.RegisterWalletUnlockerServer(grpcServer, pwService) - - // We'll also register the RPC interceptor chain as the StateServer, as - // it can be used to query for the current state of the wallet. - lnrpc.RegisterStateServer(grpcServer, interceptorChain) - - // Initialize, and register our implementation of the gRPC interface - // exported by the rpcServer. - rpcServer := newRPCServer( - cfg, interceptorChain, lisCfg.ExternalRPCSubserverCfg, - lisCfg.ExternalRestRegistrar, - interceptor, - ) - - err = rpcServer.RegisterWithGrpcServer(grpcServer) - if err != nil { - return err - } - - // Now that both the WalletUnlocker and LightningService have been - // registered with the GRPC server, we can start listening. - err = startGrpcListen(cfg, grpcServer, grpcListeners) - if err != nil { - return err - } - - // Now start the REST proxy for our gRPC server above. We'll ensure - // we direct LND to connect to its loopback address rather than a - // wildcard to prevent certificate issues when accessing the proxy - // externally. - stopProxy, err := startRestProxy( - cfg, rpcServer, restDialOpts, restListen, - ) - if err != nil { - return err - } - defer stopProxy() // We wait until the user provides a password over RPC. In case lnd is // started with the --noseedbackup flag, we use the default password @@ -1234,9 +1236,7 @@ type WalletUnlockParams struct { // createWalletUnlockerService creates a WalletUnlockerService from the passed // config. -func createWalletUnlockerService(cfg *Config, - loaderOpts []btcwallet.LoaderOption) *walletunlocker.UnlockerService { - +func createWalletUnlockerService(cfg *Config) *walletunlocker.UnlockerService { chainConfig := cfg.Bitcoin if cfg.registeredChains.PrimaryChain() == chainreg.LitecoinChain { chainConfig = cfg.Litecoin @@ -1252,7 +1252,7 @@ func createWalletUnlockerService(cfg *Config, return walletunlocker.New( chainConfig.ChainDir, cfg.ActiveNetParams.Params, !cfg.SyncFreelist, macaroonFiles, cfg.DB.Bolt.DBTimeout, - cfg.ResetWalletTransactions, loaderOpts, + cfg.ResetWalletTransactions, nil, ) } diff --git a/lnrpc/stateservice.pb.go b/lnrpc/stateservice.pb.go index 7954e2650..ca2522a21 100644 --- a/lnrpc/stateservice.pb.go +++ b/lnrpc/stateservice.pb.go @@ -32,25 +32,28 @@ const _ = proto.ProtoPackageIsVersion4 type WalletState int32 const ( - WalletState_NON_EXISTING WalletState = 0 - WalletState_LOCKED WalletState = 1 - WalletState_UNLOCKED WalletState = 2 - WalletState_RPC_ACTIVE WalletState = 3 + WalletState_NON_EXISTING WalletState = 0 + WalletState_LOCKED WalletState = 1 + WalletState_UNLOCKED WalletState = 2 + WalletState_RPC_ACTIVE WalletState = 3 + WalletState_WAITING_TO_START WalletState = 255 ) // Enum value maps for WalletState. var ( WalletState_name = map[int32]string{ - 0: "NON_EXISTING", - 1: "LOCKED", - 2: "UNLOCKED", - 3: "RPC_ACTIVE", + 0: "NON_EXISTING", + 1: "LOCKED", + 2: "UNLOCKED", + 3: "RPC_ACTIVE", + 255: "WAITING_TO_START", } WalletState_value = map[string]int32{ - "NON_EXISTING": 0, - "LOCKED": 1, - "UNLOCKED": 2, - "RPC_ACTIVE": 3, + "NON_EXISTING": 0, + "LOCKED": 1, + "UNLOCKED": 2, + "RPC_ACTIVE": 3, + "WAITING_TO_START": 255, } ) @@ -176,20 +179,22 @@ var file_stateservice_proto_rawDesc = []byte{ 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x12, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, - 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2a, 0x49, 0x0a, 0x0b, 0x57, 0x61, 0x6c, 0x6c, + 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x2a, 0x60, 0x0a, 0x0b, 0x57, 0x61, 0x6c, 0x6c, 0x65, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x4e, 0x4f, 0x4e, 0x5f, 0x45, 0x58, 0x49, 0x53, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x4c, 0x4f, 0x43, 0x4b, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x55, 0x4e, 0x4c, 0x4f, 0x43, 0x4b, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x52, 0x50, 0x43, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, - 0x45, 0x10, 0x03, 0x32, 0x58, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x4f, 0x0a, 0x0e, - 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1c, - 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, - 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6c, - 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x53, 0x74, - 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x30, 0x01, 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, + 0x45, 0x10, 0x03, 0x12, 0x15, 0x0a, 0x10, 0x57, 0x41, 0x49, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x54, + 0x4f, 0x5f, 0x53, 0x54, 0x41, 0x52, 0x54, 0x10, 0xff, 0x01, 0x32, 0x58, 0x0a, 0x05, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x12, 0x4f, 0x0a, 0x0e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, + 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, + 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6c, 0x6e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x75, 0x62, 0x73, + 0x63, 0x72, 0x69, 0x62, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x30, 0x01, 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 ( diff --git a/lnrpc/stateservice.proto b/lnrpc/stateservice.proto index e7a6ecbd6..07cc8e6f3 100644 --- a/lnrpc/stateservice.proto +++ b/lnrpc/stateservice.proto @@ -36,6 +36,8 @@ enum WalletState { LOCKED = 1; UNLOCKED = 2; RPC_ACTIVE = 3; + + WAITING_TO_START = 255; } message SubscribeStateRequest { diff --git a/lnrpc/stateservice.swagger.json b/lnrpc/stateservice.swagger.json index c0589afe5..132efffc0 100644 --- a/lnrpc/stateservice.swagger.json +++ b/lnrpc/stateservice.swagger.json @@ -59,7 +59,8 @@ "NON_EXISTING", "LOCKED", "UNLOCKED", - "RPC_ACTIVE" + "RPC_ACTIVE", + "WAITING_TO_START" ], "default": "NON_EXISTING" }, diff --git a/lntest/itest/log_error_whitelist.txt b/lntest/itest/log_error_whitelist.txt index 87ac6f501..762111710 100644 --- a/lntest/itest/log_error_whitelist.txt +++ b/lntest/itest/log_error_whitelist.txt @@ -275,3 +275,4 @@