Merge pull request #2 from lbryio/regtest_support

Add support regtest
This commit is contained in:
Mark 2020-03-08 11:53:28 -04:00 committed by GitHub
commit ad7ac535ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 29 additions and 1 deletions

View file

@ -8,6 +8,7 @@ WORKDIR /daemon
COPY lbrynet ./
COPY conf/daemon_settings.yml ./
COPY conf/test_daemon_settings.yml ./
COPY conf/regtest_daemon_settings.yml ./
COPY launcher.sh ./launcher.sh
RUN chmod a+x launcher.sh

View file

@ -0,0 +1,24 @@
api: 0.0.0.0:5279
streaming_server: 0.0.0.0:5280
blockchain_name: lbrycrd_regtest
components_to_skip:
- hash_announcer
- blob_server
- dht
track_bandwidth: false
data_dir: /storage/lbrynet
download_dir: /storage/download
wallet_dir: /storage/lbryum
save_blobs: false
save_files: false
share_usage_data: false
use_upnp: false
save_resolved_claims: false
lbryum_servers:
- spv26.lbry.com:50001

View file

@ -7,12 +7,15 @@ BASE_IMAGE_NAME=lbry/lbrynet-tv
if [[ ${1} == "rc" ]]; then
API_URL="https://api.github.com/repos/lbryio/lbry/releases"
RC_SUFFIX="-rc"
elif [ ${1} != "" ]; then
API_URL="https://api.github.com/repos/lbryio/lbry/releases/tags/${1}"
RC_SUFFIX=""
else
API_URL="https://api.github.com/repos/lbryio/lbry/releases/latest"
RC_SUFFIX=""
fi
echo ${API_URL}
echo "URL: ${API_URL}"
URL=$(
curl -siL ${API_URL}|