get going with tron

This commit is contained in:
Sebastian
2024-12-15 08:27:07 +01:00
parent 422a4d0f5a
commit c299275992
3 changed files with 5 additions and 2 deletions

View File

@@ -9,7 +9,8 @@ while IFS= read -r line; do
blacklist+=("$line") blacklist+=("$line")
done < "$BASEPATH/path-blacklist.txt" done < "$BASEPATH/path-blacklist.txt"
pathlist=$(cat $BASEPATH/$1.yml | grep -oP "(?<=stripprefix\.prefixes).*\"" | cut -d'=' -f2- | sed 's/.$//') #pathlist=$(cat $BASEPATH/$1.yml | grep -oP "(?<=stripprefix\.prefixes).*\"" | cut -d'=' -f2- | sed 's/.$//')
pathlist=$(cat $BASEPATH/$1.yml | grep -oP "(?<=PathPrefix).*\"" | cut -d'`' -f2-2)
for path in $pathlist; do for path in $pathlist; do
include=true include=true

View File

@@ -1,6 +1,7 @@
services: services:
tron-fullnode: tron-fullnode:
image: tronprotocol/java-tron:GreatVoyage-v4.7.7 image: tronprotocol/java-tron:GreatVoyage-v4.7.7
user: root
stop_grace_period: 5m stop_grace_period: 5m
ulimits: ulimits:
nofile: 1048576 nofile: 1048576

View File

@@ -28,7 +28,8 @@ for part in "${parts[@]}"; do
if $include; then if $include; then
pathlist=$(cat $BASEPATH/$part | grep -oP "(?<=stripprefix\.prefixes).*\"" | cut -d'=' -f2- | sed 's/.$//') #pathlist=$(cat $BASEPATH/$part | grep -oP "(?<=stripprefix\.prefixes).*\"" | cut -d'=' -f2- | sed 's/.$//')
pathlist=$(cat $BASEPATH/$part | grep -oP "(?<=PathPrefix).*\"" | cut -d'`' -f2-2)
for path in $pathlist; do for path in $pathlist; do
path_include=true path_include=true