From a3b7a8519725e412a73c30e1de4e9b9de2b1e5e9 Mon Sep 17 00:00:00 2001 From: Cavan Date: Fri, 12 Jul 2019 10:28:01 -0600 Subject: [PATCH] Bump to LND v0.7.0-beta --- lnd/{v0.7.0-beta-rc1 => v0.7.0-beta}/rpc.proto | 7 +++++-- package.json | 4 ++-- types/generated/rpc_pb.d.ts | 4 ++++ types/lnrpc.d.ts | 1 + 4 files changed, 12 insertions(+), 4 deletions(-) rename lnd/{v0.7.0-beta-rc1 => v0.7.0-beta}/rpc.proto (99%) diff --git a/lnd/v0.7.0-beta-rc1/rpc.proto b/lnd/v0.7.0-beta/rpc.proto similarity index 99% rename from lnd/v0.7.0-beta-rc1/rpc.proto rename to lnd/v0.7.0-beta/rpc.proto index e9b17d7..470be63 100644 --- a/lnd/v0.7.0-beta-rc1/rpc.proto +++ b/lnd/v0.7.0-beta/rpc.proto @@ -212,7 +212,7 @@ service Lightning { /** lncli: `walletbalance` WalletBalance returns total unspent outputs(confirmed and unconfirmed), all confirmed unspent outputs and all unconfirmed unspent outputs under control - of the wallet. + of the wallet. */ rpc WalletBalance (WalletBalanceRequest) returns (WalletBalanceResponse) { option (google.api.http) = { @@ -398,7 +398,7 @@ service Lightning { rpc SubscribeChannelEvents (ChannelEventSubscription) returns (stream ChannelEventUpdate); /** lncli: `closedchannels` - ClosedChannels returns a description of all the closed channels that + ClosedChannels returns a description of all the closed channels that this node was a participant in. */ rpc ClosedChannels (ClosedChannelsRequest) returns (ClosedChannelsResponse) { @@ -1726,6 +1726,9 @@ message Route { message NodeInfoRequest { /// The 33-byte hex-encoded compressed public of the target node string pub_key = 1; + + /// If true, will include all known channels associated with the node. + bool include_channels = 2; } message NodeInfo { diff --git a/package.json b/package.json index c1976a4..9eed0d6 100644 --- a/package.json +++ b/package.json @@ -1,11 +1,11 @@ { "name": "@radar/lnrpc", - "version": "0.7.0-beta-rc1.0", + "version": "0.7.0-beta", "description": "typed gRPC client for lightningnetwork/lnd", "main": "index.js", "types": "types/index.d.ts", "config": { - "lnd-release-tag": "v0.7.0-beta-rc1", + "lnd-release-tag": "v0.7.0-beta", "lnd-url": "https://raw.githubusercontent.com/lightningnetwork/lnd", "protoc-version": "3.5.1" }, diff --git a/types/generated/rpc_pb.d.ts b/types/generated/rpc_pb.d.ts index 155db68..be0258d 100644 --- a/types/generated/rpc_pb.d.ts +++ b/types/generated/rpc_pb.d.ts @@ -2435,6 +2435,9 @@ export class NodeInfoRequest extends jspb.Message { getPubKey(): string; setPubKey(value: string): void; + getIncludeChannels(): boolean; + setIncludeChannels(value: boolean): void; + serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): NodeInfoRequest.AsObject; static toObject(includeInstance: boolean, msg: NodeInfoRequest): NodeInfoRequest.AsObject; @@ -2448,6 +2451,7 @@ export class NodeInfoRequest extends jspb.Message { export namespace NodeInfoRequest { export type AsObject = { pubKey: string, + includeChannels: boolean, } } diff --git a/types/lnrpc.d.ts b/types/lnrpc.d.ts index 801e905..1c0d8f5 100644 --- a/types/lnrpc.d.ts +++ b/types/lnrpc.d.ts @@ -712,6 +712,7 @@ export interface ChannelEdge { export interface NodeInfoRequest { pubKey: string; + includeChannels?: boolean; } export interface NodeInfo {