Merge branch 'master' into natsoni/tapscript-multisig-feedback

This commit is contained in:
mononaut 2025-03-29 10:47:47 +08:00 committed by GitHub
commit d4c66a6231
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 11 additions and 12 deletions

View File

@ -105,7 +105,6 @@ jobs:
--cache-to "type=local,dest=/tmp/.buildx-cache,mode=max" \ --cache-to "type=local,dest=/tmp/.buildx-cache,mode=max" \
--platform linux/amd64,linux/arm64 \ --platform linux/amd64,linux/arm64 \
--tag ${{ secrets.DOCKER_HUB_USER }}/${{ matrix.service }}:$TAG \ --tag ${{ secrets.DOCKER_HUB_USER }}/${{ matrix.service }}:$TAG \
--tag ${{ secrets.DOCKER_HUB_USER }}/${{ matrix.service }}:latest \
--build-context rustgbt=./rust \ --build-context rustgbt=./rust \
--build-context backend=./backend \ --build-context backend=./backend \
--output "type=registry,push=true" \ --output "type=registry,push=true" \

View File

@ -1,13 +1,13 @@
# start test network daemons on boot # start test network daemons on boot
@reboot sleep 5 ; /usr/local/bin/bitcoind -testnet >/dev/null 2>&1 @reboot sleep 10 ; /usr/local/bin/bitcoind -testnet >/dev/null 2>&1
@reboot sleep 5 ; /usr/local/bin/bitcoind -testnet4 >/dev/null 2>&1 @reboot sleep 20 ; /usr/local/bin/bitcoind -testnet4 >/dev/null 2>&1
@reboot sleep 5 ; /usr/local/bin/bitcoind -signet >/dev/null 2>&1 @reboot sleep 30 ; /usr/local/bin/bitcoind -signet >/dev/null 2>&1
# start electrs on boot # start electrs on boot
@reboot sleep 10 ; screen -dmS mainnet /bitcoin/electrs/start mainnet @reboot sleep 40 ; screen -dmS mainnet /bitcoin/electrs/start mainnet
@reboot sleep 10 ; screen -dmS testnet /bitcoin/electrs/start testnet @reboot sleep 50 ; screen -dmS testnet /bitcoin/electrs/start testnet
@reboot sleep 10 ; screen -dmS testnet4 /bitcoin/electrs/start testnet4 @reboot sleep 60 ; screen -dmS testnet4 /bitcoin/electrs/start testnet4
@reboot sleep 10 ; screen -dmS signet /bitcoin/electrs/start signet @reboot sleep 70 ; screen -dmS signet /bitcoin/electrs/start signet
# daily update of popular-scripts # daily update of popular-scripts
30 03 * * * $HOME/electrs/start testnet4 popular-scripts >/dev/null 2>&1 30 03 * * * $HOME/electrs/start testnet4 popular-scripts >/dev/null 2>&1

View File

@ -4,7 +4,7 @@ hostname=$(hostname)
heat() heat()
{ {
echo "$1" echo "$1"
curl -i -s "$1" | head -1 curl -o /dev/null -s "$1"
} }
heatURLs=( heatURLs=(

View File

@ -6,19 +6,19 @@ slugs=(`curl -sSL https://${hostname}/api/v1/mining/pools/3y|jq -r -S '(.pools[]
warmSlurp() warmSlurp()
{ {
echo "$1" echo "$1"
curl -i -s -H 'User-Agent: Googlebot' "$1" | head -1 curl -o /dev/null -s -H 'User-Agent: Googlebot' "$1"
} }
warmUnfurl() warmUnfurl()
{ {
echo "$1" echo "$1"
curl -i -s -H 'User-Agent: Twitterbot' "$1" | head -1 curl -o /dev/null -s -H 'User-Agent: Twitterbot' "$1"
} }
warm() warm()
{ {
echo "$1" echo "$1"
curl -i -s "$1" | head -1 curl -o /dev/null -s "$1"
} }
warmSlurpURLs=( warmSlurpURLs=(