ops: Add more sites to check script

This commit is contained in:
wiz 2025-03-12 09:43:00 +09:00
parent 65b276678f
commit 305d931d5c
No known key found for this signature in database
GPG key ID: A394E332255A6173

View file

@ -27,9 +27,12 @@ check_liquid_electrs_git_hash() {
check_contributors_md5_hash() {
echo -n $(curl -s --connect-to "::node${1}.${2}.mempool.space:443" https://mempool.space/api/v1/contributors|md5|cut -c1-8)
}
for site in va1 fra tk7 fmt;do
for site in va1 fra tk7 sg1 hnl;do
echo "${site}"
for node in 201 202 203 204 205 206 207 208 209 210 211 212 213 214;do
[ "${site}" = "fmt" ] && [ "${node}" = 203 ] && continue
[ "${site}" = "sg1" ] && [ "${node}" -gt 204 ] && continue
[ "${site}" = "hnl" ] && [ "${node}" -gt 204 ] && continue
[ "${site}" = "fmt" ] && [ "${node}" -gt 206 ] && continue
[ "${site}" = "tk7" ] && [ "${node}" -gt 206 ] && continue
echo -n "node${node}.${site}: "