Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update LND to v0.17.0 #397

Merged
merged 1 commit into from
Oct 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docker/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class Image:

C_LIGHTNING_VERSION = "23.08.1"
ECLAIR_VERSION = "0.9.0"
LND_VERSION = "0.16.4-beta"
LND_VERSION = "0.17.0-beta"

BITCOIN_BUILD_ARG = BuildArgument(
name="BITCOIN_VERSION",
Expand Down Expand Up @@ -101,7 +101,7 @@ class Image:
],
),
"regtest": Image(
tags=["4.0.4"],
tags=["4.1.0"],
arguments=[
UBUNTU_VERSION,
BITCOIN_BUILD_ARG,
Expand Down
2 changes: 1 addition & 1 deletion docker/regtest/startRegtest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ docker run \
-p 31000:31000 \
-p 31001:31001 \
-p 31002:31002 \
boltz/regtest:4.0.4
boltz/regtest:4.1.0

docker exec regtest bash -c "cp /root/.lightning/regtest/*.pem /root/.lightning/regtest/certs"
docker exec regtest chmod -R 777 /root/.lightning/regtest/certs
4 changes: 2 additions & 2 deletions lib/VersionCheck.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ class VersionCheck {
maximal: '0.0.3',
},
[LndClient.serviceName]: {
minimal: '0.15.0',
maximal: '0.16.4',
minimal: '0.16.0',
maximal: '0.17.0',
},
};

Expand Down
6 changes: 4 additions & 2 deletions lib/proto/lnd/rpc_grpc_pb.js
Original file line number Diff line number Diff line change
Expand Up @@ -1533,8 +1533,10 @@ signMessage: {
responseDeserialize: deserialize_lnrpc_SignMessageResponse,
},
// lncli: `verifymessage`
// VerifyMessage verifies a signature over a msg. The signature must be
// zbase32 encoded and signed by an active node in the resident node's
// VerifyMessage verifies a signature over a message and recovers the signer's
// public key. The signature is only deemed valid if the recovered public key
// corresponds to a node key in the public Lightning network. The signature
// must be zbase32 encoded and signed by an active node in the resident node's
// channel database. In addition to returning the validity of the signature,
// VerifyMessage also returns the recovered pubkey from the signature.
verifyMessage: {
Expand Down
61 changes: 60 additions & 1 deletion lib/proto/lnd/rpc_pb.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1787,6 +1787,8 @@ export class Channel extends jspb.Message {
setPeerAlias(value: string): Channel;
getPeerScidAlias(): string;
setPeerScidAlias(value: string): Channel;
getMemo(): string;
setMemo(value: string): Channel;

serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Channel.AsObject;
Expand Down Expand Up @@ -1843,6 +1845,7 @@ export namespace Channel {
zeroConfConfirmedScid: number;
peerAlias: string;
peerScidAlias: string;
memo: string;
};
}

Expand Down Expand Up @@ -3036,6 +3039,28 @@ export class BatchOpenChannel extends jspb.Message {
setPendingChanId(value: Uint8Array | string): BatchOpenChannel;
getCommitmentType(): CommitmentType;
setCommitmentType(value: CommitmentType): BatchOpenChannel;
getRemoteMaxValueInFlightMsat(): number;
setRemoteMaxValueInFlightMsat(value: number): BatchOpenChannel;
getRemoteMaxHtlcs(): number;
setRemoteMaxHtlcs(value: number): BatchOpenChannel;
getMaxLocalCsv(): number;
setMaxLocalCsv(value: number): BatchOpenChannel;
getZeroConf(): boolean;
setZeroConf(value: boolean): BatchOpenChannel;
getScidAlias(): boolean;
setScidAlias(value: boolean): BatchOpenChannel;
getBaseFee(): number;
setBaseFee(value: number): BatchOpenChannel;
getFeeRate(): number;
setFeeRate(value: number): BatchOpenChannel;
getUseBaseFee(): boolean;
setUseBaseFee(value: boolean): BatchOpenChannel;
getUseFeeRate(): boolean;
setUseFeeRate(value: boolean): BatchOpenChannel;
getRemoteChanReserveSat(): number;
setRemoteChanReserveSat(value: number): BatchOpenChannel;
getMemo(): string;
setMemo(value: string): BatchOpenChannel;

serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): BatchOpenChannel.AsObject;
Expand Down Expand Up @@ -3069,6 +3094,17 @@ export namespace BatchOpenChannel {
closeAddress: string;
pendingChanId: Uint8Array | string;
commitmentType: CommitmentType;
remoteMaxValueInFlightMsat: number;
remoteMaxHtlcs: number;
maxLocalCsv: number;
zeroConf: boolean;
scidAlias: boolean;
baseFee: number;
feeRate: number;
useBaseFee: boolean;
useFeeRate: boolean;
remoteChanReserveSat: number;
memo: string;
};
}

Expand Down Expand Up @@ -3163,6 +3199,12 @@ export class OpenChannelRequest extends jspb.Message {
setRemoteChanReserveSat(value: number): OpenChannelRequest;
getFundMax(): boolean;
setFundMax(value: boolean): OpenChannelRequest;
getMemo(): string;
setMemo(value: string): OpenChannelRequest;
clearOutpointsList(): void;
getOutpointsList(): Array<OutPoint>;
setOutpointsList(value: Array<OutPoint>): OpenChannelRequest;
addOutpoints(value?: OutPoint, index?: number): OutPoint;

serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): OpenChannelRequest.AsObject;
Expand Down Expand Up @@ -3213,6 +3255,8 @@ export namespace OpenChannelRequest {
useFeeRate: boolean;
remoteChanReserveSat: number;
fundMax: boolean;
memo: string;
outpointsList: Array<OutPoint.AsObject>;
};
}

Expand Down Expand Up @@ -3371,6 +3415,8 @@ export class ChanPointShim extends jspb.Message {
setPendingChanId(value: Uint8Array | string): ChanPointShim;
getThawHeight(): number;
setThawHeight(value: number): ChanPointShim;
getMusig2(): boolean;
setMusig2(value: boolean): ChanPointShim;

serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): ChanPointShim.AsObject;
Expand Down Expand Up @@ -3401,6 +3447,7 @@ export namespace ChanPointShim {
remoteKey: Uint8Array | string;
pendingChanId: Uint8Array | string;
thawHeight: number;
musig2: boolean;
};
}

Expand Down Expand Up @@ -3860,6 +3907,8 @@ export namespace PendingChannelsResponse {
setChanStatusFlags(value: string): PendingChannel;
getPrivate(): boolean;
setPrivate(value: boolean): PendingChannel;
getMemo(): string;
setMemo(value: string): PendingChannel;

serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): PendingChannel.AsObject;
Expand Down Expand Up @@ -3896,6 +3945,7 @@ export namespace PendingChannelsResponse {
numForwardingPackages: number;
chanStatusFlags: string;
pb_private: boolean;
memo: string;
};
}

Expand All @@ -3912,6 +3962,8 @@ export namespace PendingChannelsResponse {
setCommitWeight(value: number): PendingOpenChannel;
getFeePerKw(): number;
setFeePerKw(value: number): PendingOpenChannel;
getFundingExpiryBlocks(): number;
setFundingExpiryBlocks(value: number): PendingOpenChannel;

serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): PendingOpenChannel.AsObject;
Expand Down Expand Up @@ -3940,6 +3992,7 @@ export namespace PendingChannelsResponse {
commitFee: number;
commitWeight: number;
feePerKw: number;
fundingExpiryBlocks: number;
};
}

Expand Down Expand Up @@ -4289,6 +4342,9 @@ export namespace WalletAccountBalance {
}

export class WalletBalanceRequest extends jspb.Message {
getAccount(): string;
setAccount(value: string): WalletBalanceRequest;

serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): WalletBalanceRequest.AsObject;
static toObject(
Expand All @@ -4311,7 +4367,9 @@ export class WalletBalanceRequest extends jspb.Message {
}

export namespace WalletBalanceRequest {
export type AsObject = {};
export type AsObject = {
account: string;
};
}

export class WalletBalanceResponse extends jspb.Message {
Expand Down Expand Up @@ -8587,6 +8645,7 @@ export enum CommitmentType {
STATIC_REMOTE_KEY = 2,
ANCHORS = 3,
SCRIPT_ENFORCED_LEASE = 4,
SIMPLE_TAPROOT = 5,
}

export enum Initiator {
Expand Down
Loading