Commit Graph
10 Commits
Author SHA1 Message Date
Daniel McNally 4b14226e81 macaroons: add SetRootKey method
This adds a SetRootKey method which can be used to set the default
macaroon root key to a specified value.
2022-08-12 11:34:43 -04:00
Daniel McNally 86e5f9d0db lnrpc: add macaroon_root_key to InitWalletRequest
This adds a field for specifying the macaroon root key to use during the
wallet initialization process instead of having lnd generate a random
macaroon root key itself.
2022-08-12 10:30:32 -04:00
Daniel McNally 1b50c9ef96 add release-notes entry for #6486 2022-05-05 18:16:45 -04:00
Daniel McNally 9966960b9a build: update release tags
This updates the list of tags used for `release` builds in the release
documentation. `peersrpc`, `kvdb_postgres`, and `kvdb_etcd` are now
automatically included in `make release` or `make release-install`
builds.
2022-05-05 18:16:44 -04:00
Daniel McNally d9654f429b docs/INSTALL.md: add list of build tags
This adds a list of tags that can be used when building or installing
lnd from source. Links to relevant code, protobuf definitions, or
documentation are included to illustrate the purpose of each tag.

Closes #3598.
2022-05-05 18:15:20 -04:00
Daniel McNally 2b1bb3bce0 lncli: update lncli state description
This updates the description that is provided for `lncli state` to match
the states that are currently returned by lnd. `RPC_READY` no longer
exists and is replaced by `RPC_ACTIVE` with a revised description, and
`SERVER_ACTIVE` is added as the status that indicates lnd is fully
ready to accept RPC calls.

See `enum WalletState` in `stateservice.proto`.
2022-02-04 08:42:06 -05:00
Daniel McNally 4a573b18cf rpcperms: set CustomCaveatCondition on middleware req
This sets the `CustomCaveatCondition` value on rpc middleware requests
if one exists. Previously, this value was always blank even if the
macaroon had a value set for its custom caveat condition.
2022-01-24 11:39:07 -05:00
Daniel McNally a4474447c2 macaroons: add GetCustomCaveatCondition func
This adds a `GetCustomCaveatCondition` function that returns the custom
caveat condition for a given macaroon and caveat name. Previously there
was no function for getting the custom caveat condition from a macaroon,
only for setting one.
2022-01-24 11:39:00 -05:00
Daniel McNally b5f50c2522 docs: clarify --externalhosts usage
This clarifies the usage of the `externalhosts` option and brings its
documentation in line with similar options such as `externalip`.

Related issue: #6141

[skip ci]
2022-01-06 10:41:07 -05:00
Daniel McNally 128ec2c454 docs: add example systemd service file
This is an example systemd service file for lnd designed to run
alongside a bitcoind service. This file is loosely based on
https://github.com/bitcoin/bitcoin/blob/master/contrib/init/bitcoind.service,
https://gist.github.com/Stadicus/f0c6db4fa6cf787f19d9d3444b91633f,
and my own experience managing lnd with systemd.
2021-11-30 23:43:24 -05:00