diff --git a/Dockerfile b/Dockerfile index d8e300a..39aef8d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ ENV GODEBUG netdns=cgo # Pass a tag, branch or a commit using build-arg. This allows a docker # image to be built from a specified Git state. The default image # will use the Git tip of master by default. -ARG checkout="v0.9.0-beta" +ARG checkout="v0.10.0-beta" # ARG checkout="master" # Install dependencies and build the binaries. @@ -62,6 +62,15 @@ VOLUME /relay/.lnd COPY ./lnd.conf.sample /relay/.lnd/lnd.conf +RUN shuf -n 6 ./unique-peer.txt >> /relay/.lnd/lnd.conf + +RUN git clone https://github.com/stakwork/sphinx-keysend-test/ /sphinx-keysend/ +WORKDIR /sphinx-keysend/ +RUN git checkout binary +RUN npm install + +WORKDIR /relay/ + RUN mkdir -p /var/log/supervisor COPY ./supervisord.conf /etc/supervisord.conf COPY ./lnd_supervisor.conf /etc/supervisor.d/lnd_supervisor.ini diff --git a/lnd.conf.sample b/lnd.conf.sample index f9a1311..7f96480 100644 --- a/lnd.conf.sample +++ b/lnd.conf.sample @@ -10,3 +10,4 @@ ignore-historical-gossip-filters=true nobootstrap=true numgraphsyncpeers=1 routing.assumechanvalid=1 +autopilot.active=false \ No newline at end of file diff --git a/unique-peer.txt b/unique-peer.txt new file mode 100644 index 0000000..ddd4e6d --- /dev/null +++ b/unique-peer.txt @@ -0,0 +1,24 @@ +neutrino.addpeer=104.9.30.99 +neutrino.addpeer=13.231.170.42 +neutrino.addpeer=130.83.239.98 +neutrino.addpeer=138.68.244.82 +neutrino.addpeer=140.82.3.244 +neutrino.addpeer=144.76.164.43 +neutrino.addpeer=167.71.142.183 +neutrino.addpeer=176.9.26.117 +neutrino.addpeer=188.127.182.181 +neutrino.addpeer=198.27.66.209 +neutrino.addpeer=212.47.238.22 +neutrino.addpeer=213.152.106.56 +neutrino.addpeer=24.148.52.186 +neutrino.addpeer=3.18.0.69 +neutrino.addpeer=35.153.87.161 +neutrino.addpeer=35.194.66.49 +neutrino.addpeer=46.101.112.24 +neutrino.addpeer=69.143.97.89 +neutrino.addpeer=73.31.42.95 +neutrino.addpeer=78.46.126.167 +neutrino.addpeer=81.7.13.84 +neutrino.addpeer=85.230.78.112 +neutrino.addpeer=94.23.154.171 +neutrino.addpeer=96.9.244.139 \ No newline at end of file