stats
This commit is contained in:
@@ -7,5 +7,9 @@
|
|||||||
"urls": ["https://eth.drpc.org"]},
|
"urls": ["https://eth.drpc.org"]},
|
||||||
"playnance-mainnet": {
|
"playnance-mainnet": {
|
||||||
"id": 1829,
|
"id": 1829,
|
||||||
"urls": ["https://rpc.playblock.io"]}
|
"urls": ["https://rpc.playblock.io"]},
|
||||||
|
"real": {
|
||||||
|
"id": 111188,
|
||||||
|
"urls": ["https://rpc.realforreal.gelato.digital"]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
26
show-status.sh
Executable file
26
show-status.sh
Executable file
@@ -0,0 +1,26 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
BASEPATH=/root/rpc
|
||||||
|
source $BASEPATH/.env
|
||||||
|
|
||||||
|
IFS=':' read -ra parts <<< $COMPOSE_FILE
|
||||||
|
|
||||||
|
blacklist=("drpc.yml" "base.yml" "rpc.yml" "monitoring.yml")
|
||||||
|
|
||||||
|
for part in "${parts[@]}"; do
|
||||||
|
include=true
|
||||||
|
for word in "${blacklist[@]}"; do
|
||||||
|
if echo "$part" | grep -qE "$word"; then
|
||||||
|
#echo "The path $path contains a blacklisted word: $word"
|
||||||
|
include=false
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
if $include; then
|
||||||
|
result=$(./sync-status.sh "${part%.yml}")
|
||||||
|
echo "$part: $result"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user