poold
) and a command line tool to interact with the daemon, called just pool
.poold
trader daemon can be run either as a standalone binary connected to a compatible lnd
node or integrated into Lightning Terminal (LiT).poold
integrated into the Lightning Terminal, download the latest release of LiT and follow the installation instructions of LiTpoold
and pool
binaries from the source code, at least the go 1.14
and make
must be installed.$GOPATH/bin
directory.lnd
lnd
node version v0.11.1-beta
or later to work. It is recommended to run an official release binary of lnd
.lnd
from source is also possible but needs to be done with all sub-server build flags enabled:poold
lnd
is configured with the default values and is running on the same machine, poold
will be able to connect to it automatically and can be started by simply running:lnd
is running on a remote node, the tls.cert
and the admin.macaroon
files from the lnd
data directory need to be copied to the machine where poold
is running.lnd
node by using the following command line flags:~/.pool/<network>/poold.conf
, for example:~/.pool/mainnet/poold.conf1lnd.host=<the_remote_host_IP_address>:100092lnd.macaroonpath=/some/directory/with/lnd/data/macaroons/admin.macaroon3lnd.tlspath=/some/directory/with/lnd/data/tls.certCopied!
poold
stores its data. To see the full list of options, run poold --help
.newnodesonly
false
true
the daemon will only buy channels from nodes it does not yet have channels withpoold
are encrypted with TLS and secured with macaroon authentication the same way lnd
is.~/.pool/<network>/tls.cert
and the base macaroon in ~/.pool/<network>/pool.macaroon
.pool
command will pick up these file automatically on mainnet if no custom base directory is used. For other networks it should be sufficient to add the --network
flag to tell the CLI in what sub directory to look for the files.lnd
's. The same macaroon cannot be used for both poold
and lnd
.