mirror of
https://github.com/Retropex/mempool.git
synced 2025-05-13 02:30:41 +02:00
Merge branch 'master' into natsoni/tapscript-multisig-feedback
This commit is contained in:
commit
d4c66a6231
1
.github/workflows/on-tag.yml
vendored
1
.github/workflows/on-tag.yml
vendored
@ -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" \
|
||||||
|
@ -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
|
||||||
|
@ -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=(
|
||||||
|
@ -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=(
|
||||||
|
Loading…
Reference in New Issue
Block a user