lnrpc: re-compile protos w/ Go 1.19
This commit is contained in:
24 files changed
+2773
-3481
No files matched your search
+11
-16
@@ -73,26 +73,21 @@ func (UpdateAction) EnumDescriptor() ([]byte, []int) {
|
||||
type FeatureSet int32
|
||||
|
||||
const (
|
||||
//
|
||||
//SET_INIT identifies features that should be sent in an Init message to
|
||||
//a remote peer.
|
||||
// SET_INIT identifies features that should be sent in an Init message to
|
||||
// a remote peer.
|
||||
FeatureSet_SET_INIT FeatureSet = 0
|
||||
//
|
||||
//SET_LEGACY_GLOBAL identifies features that should be set in the legacy
|
||||
//GlobalFeatures field of an Init message, which maintains backwards
|
||||
//compatibility with nodes that haven't implemented flat features.
|
||||
// SET_LEGACY_GLOBAL identifies features that should be set in the legacy
|
||||
// GlobalFeatures field of an Init message, which maintains backwards
|
||||
// compatibility with nodes that haven't implemented flat features.
|
||||
FeatureSet_SET_LEGACY_GLOBAL FeatureSet = 1
|
||||
//
|
||||
//SET_NODE_ANN identifies features that should be advertised on node
|
||||
//announcements.
|
||||
// SET_NODE_ANN identifies features that should be advertised on node
|
||||
// announcements.
|
||||
FeatureSet_SET_NODE_ANN FeatureSet = 2
|
||||
//
|
||||
//SET_INVOICE identifies features that should be advertised on invoices
|
||||
//generated by the daemon.
|
||||
// SET_INVOICE identifies features that should be advertised on invoices
|
||||
// generated by the daemon.
|
||||
FeatureSet_SET_INVOICE FeatureSet = 3
|
||||
//
|
||||
//SET_INVOICE_AMP identifies the features that should be advertised on
|
||||
//AMP invoices generated by the daemon.
|
||||
// SET_INVOICE_AMP identifies the features that should be advertised on
|
||||
// AMP invoices generated by the daemon.
|
||||
FeatureSet_SET_INVOICE_AMP FeatureSet = 4
|
||||
)
|
||||
|
||||
|
||||
@@ -19,8 +19,8 @@ const _ = grpc.SupportPackageIsVersion7
|
||||
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
|
||||
type PeersClient interface {
|
||||
// lncli: peers updatenodeannouncement
|
||||
//UpdateNodeAnnouncement allows the caller to update the node parameters
|
||||
//and broadcasts a new version of the node announcement to its peers.
|
||||
// UpdateNodeAnnouncement allows the caller to update the node parameters
|
||||
// and broadcasts a new version of the node announcement to its peers.
|
||||
UpdateNodeAnnouncement(ctx context.Context, in *NodeAnnouncementUpdateRequest, opts ...grpc.CallOption) (*NodeAnnouncementUpdateResponse, error)
|
||||
}
|
||||
|
||||
@@ -46,8 +46,8 @@ func (c *peersClient) UpdateNodeAnnouncement(ctx context.Context, in *NodeAnnoun
|
||||
// for forward compatibility
|
||||
type PeersServer interface {
|
||||
// lncli: peers updatenodeannouncement
|
||||
//UpdateNodeAnnouncement allows the caller to update the node parameters
|
||||
//and broadcasts a new version of the node announcement to its peers.
|
||||
// UpdateNodeAnnouncement allows the caller to update the node parameters
|
||||
// and broadcasts a new version of the node announcement to its peers.
|
||||
UpdateNodeAnnouncement(context.Context, *NodeAnnouncementUpdateRequest) (*NodeAnnouncementUpdateResponse, error)
|
||||
mustEmbedUnimplementedPeersServer()
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user