mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-28 16:58:03 +01:00
update fallback node lists
This commit is contained in:
parent
3274a0b5bc
commit
d0e5d90bbb
3 changed files with 251624 additions and 229471 deletions
|
@ -786,7 +786,9 @@ else
|
||||||
echo "* skipping FATPACK"
|
echo "* skipping FATPACK"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# check fallback list bitnodes
|
# check fallback list bitnodes
|
||||||
|
# update on releases manually in asset folder with:
|
||||||
|
# curl -H "Accept: application/json; indent=4" https://bitnodes.io/api/v1/snapshots/latest/ -o ./fallback.bitnodes.nodes
|
||||||
byteSizeList=$(sudo -u admin stat -c %s /home/admin/fallback.bitnodes.nodes)
|
byteSizeList=$(sudo -u admin stat -c %s /home/admin/fallback.bitnodes.nodes)
|
||||||
if [ ${#byteSizeList} -eq 0 ] || [ ${byteSizeList} -lt 10240 ]; then
|
if [ ${#byteSizeList} -eq 0 ] || [ ${byteSizeList} -lt 10240 ]; then
|
||||||
echo "Using fallback list from repo: bitnodes"
|
echo "Using fallback list from repo: bitnodes"
|
||||||
|
@ -796,6 +798,8 @@ fi
|
||||||
chown admin:admin /home/admin/fallback.bitnodes.nodes
|
chown admin:admin /home/admin/fallback.bitnodes.nodes
|
||||||
|
|
||||||
# check fallback list bitcoin core
|
# check fallback list bitcoin core
|
||||||
|
# update on releases manually in asset folder with:
|
||||||
|
# curl https://raw.githubusercontent.com/bitcoin/bitcoin/master/contrib/seeds/nodes_main.txt -o ./fallback.bitcoin.nodes
|
||||||
byteSizeList=$(sudo -u admin stat -c %s /home/admin/fallback.bitcoin.nodes)
|
byteSizeList=$(sudo -u admin stat -c %s /home/admin/fallback.bitcoin.nodes)
|
||||||
if [ ${#byteSizeList} -eq 0 ] || [ ${byteSizeList} -lt 10240 ]; then
|
if [ ${#byteSizeList} -eq 0 ] || [ ${byteSizeList} -lt 10240 ]; then
|
||||||
echo "Using fallback list from repo: bitcoin core"
|
echo "Using fallback list from repo: bitcoin core"
|
||||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue