mirror of
https://github.com/bitcoin-s/bitcoin-s.git
synced 2025-02-21 22:21:53 +01:00
update lnd to v0.13.3 (#3720)
This commit is contained in:
parent
aa50ca8d64
commit
98ceddfc22
3 changed files with 8 additions and 8 deletions
|
@ -5,22 +5,22 @@ title: LND
|
|||
|
||||
This is an RPC client for [LND](https://github.com/LightningNetwork/lnd). It assumes that a bitcoind instance is running.
|
||||
|
||||
Currently, this RPC client is written for [v0.13.1](https://github.com/lightningnetwork/lnd/releases/tag/v0.13.1-beta) version of LND.
|
||||
Currently, this RPC client is written for [v0.13.3](https://github.com/lightningnetwork/lnd/releases/tag/v0.13.3-beta) version of LND.
|
||||
|
||||
## Configuration of LND
|
||||
|
||||
Please see the [sample configuration for LND](https://github.com/lightningnetwork/lnd/blob/v0.13.1-beta/sample-lnd.conf).
|
||||
Please see the [sample configuration for LND](https://github.com/lightningnetwork/lnd/blob/v0.13.3-beta/sample-lnd.conf).
|
||||
|
||||
You can find the configuration we use for our testing infrastructure for lnd [here](https://github.com/bitcoin-s/bitcoin-s/blob/656e0928bf1bf4f511f60dec625699b454f29a1f/testkit/src/main/scala/org/bitcoins/testkit/lnd/LndRpcTestUtil.scala#L90).
|
||||
|
||||
## Starting LND
|
||||
|
||||
You need to download the binaries from the [LND's github](https://github.com/lightningnetwork/lnd/releases/tag/v0.13.1-beta).
|
||||
You need to download the binaries from the [LND's github](https://github.com/lightningnetwork/lnd/releases/tag/v0.13.3-beta).
|
||||
|
||||
To run lnd by unzipping the `lnd-linux-amd64-v0.13.1-beta.tar.gz` (or whichever platform you are on) and then running
|
||||
To run lnd by unzipping the `lnd-linux-amd64-v0.13.3-beta.tar.gz` (or whichever platform you are on) and then running
|
||||
|
||||
```bash
|
||||
$ ./lnd-linux-amd64-v0.13.1-beta/lnd
|
||||
$ ./lnd-linux-amd64-v0.13.3-beta/lnd
|
||||
```
|
||||
|
||||
If you wish to start lnd from the RPC client, you can construct a [`LndRpcClient.binary`](https://github.com/bitcoin-s/bitcoin-s/blob/656e0928bf1bf4f511f60dec625699b454f29a1f/lnd-rpc/src/main/scala/org/bitcoins/lnd/rpc/LndRpcClient.scala#L35) field set
|
||||
|
@ -42,7 +42,7 @@ implicit val system = ActorSystem(s"lnd-rpc-${System.currentTimeMillis}")
|
|||
implicit val ec = system.dispatcher
|
||||
|
||||
val datadirPath = Paths.get("path", "to", "datadir")
|
||||
val binaryPath = Paths.get("path", "to", "lnd-linux-amd64-v0.13.1-beta", "lnd")
|
||||
val binaryPath = Paths.get("path", "to", "lnd-linux-amd64-v0.13.3-beta", "lnd")
|
||||
val instance = LndInstanceLocal.fromDataDir(datadirPath.toFile)
|
||||
val client = new LndRpcClient(instance, Some(binaryPath.toFile))
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ TaskKeys.downloadLnd := {
|
|||
Files.createDirectories(binaryDir)
|
||||
}
|
||||
|
||||
val version = "0.13.1-beta"
|
||||
val version = "0.13.3-beta"
|
||||
|
||||
val (platform, suffix) =
|
||||
if (Properties.isLinux) ("linux-amd64", "tar.gz")
|
||||
|
|
|
@ -770,7 +770,7 @@ object LndRpcClient {
|
|||
hex"8c45ee0b90e3afd0fb4d6f39afa3c5d551ee5f2c7ac2d06820ed3d16582186d2"
|
||||
|
||||
/** The current version we support of Lnd */
|
||||
private[bitcoins] val version = "0.13.1"
|
||||
private[bitcoins] val version = "0.13.3"
|
||||
|
||||
/** Key used for adding the macaroon to the gRPC header */
|
||||
private[lnd] val macaroonKey = "macaroon"
|
||||
|
|
Loading…
Add table
Reference in a new issue