diff --git a/lnrpc/lightning.pb.go b/lnrpc/lightning.pb.go index aa2a1fea5..6732feb2d 100644 --- a/lnrpc/lightning.pb.go +++ b/lnrpc/lightning.pb.go @@ -2931,10 +2931,10 @@ type LightningAddress struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // The identity pubkey of the Lightning node + // 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` + // `localhost:10011`. Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"` } @@ -3919,10 +3919,12 @@ type ConnectPeerRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - // Lightning address of the peer, in the format `@host` + // + //Lightning address of the peer to connect to. Addr *LightningAddress `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` - // If set, the daemon will attempt to persistently connect to the target - // peer. Otherwise, the call will be synchronous. + // + //If set, the daemon will attempt to persistently connect to the target + //peer. Otherwise, the call will be synchronous. Perm bool `protobuf:"varint,2,opt,name=perm,proto3" json:"perm,omitempty"` // //The connection timeout value (in seconds) for this request. It won't affect diff --git a/lnrpc/lightning.proto b/lnrpc/lightning.proto index 3953f7857..7e28702cd 100644 --- a/lnrpc/lightning.proto +++ b/lnrpc/lightning.proto @@ -1008,11 +1008,11 @@ message OutPoint { } message LightningAddress { - // The identity pubkey of the Lightning node + // The identity pubkey of the Lightning node. string pubkey = 1; // The network location of the lightning node, e.g. `69.69.69.69:1337` or - // `localhost:10011` + // `localhost:10011`. string host = 2; } @@ -1201,11 +1201,15 @@ message VerifyMessageResponse { } message ConnectPeerRequest { - // Lightning address of the peer, in the format `@host` + /* + Lightning address of the peer to connect to. + */ LightningAddress addr = 1; - /* If set, the daemon will attempt to persistently connect to the target - * peer. Otherwise, the call will be synchronous. */ + /* + If set, the daemon will attempt to persistently connect to the target + peer. Otherwise, the call will be synchronous. + */ bool perm = 2; /* diff --git a/lnrpc/lightning.swagger.json b/lnrpc/lightning.swagger.json index eeaacd90d..94ffaef7a 100644 --- a/lnrpc/lightning.swagger.json +++ b/lnrpc/lightning.swagger.json @@ -3901,7 +3901,7 @@ "properties": { "addr": { "$ref": "#/definitions/lnrpcLightningAddress", - "title": "Lightning address of the peer, in the format `\u003cpubkey\u003e@host`" + "description": "Lightning address of the peer to connect to." }, "perm": { "type": "boolean", @@ -4935,11 +4935,11 @@ "properties": { "pubkey": { "type": "string", - "title": "The identity pubkey of the Lightning node" + "description": "The identity pubkey of the Lightning node." }, "host": { "type": "string", - "title": "The network location of the lightning node, e.g. `69.69.69.69:1337` or\n`localhost:10011`" + "description": "The network location of the lightning node, e.g. `69.69.69.69:1337` or\n`localhost:10011`." } } },