mirror of
https://github.com/alexgo-io/stacks-node-mainnet.git
synced 2026-01-12 06:43:47 +08:00
chore: use stacks api 8.1.1
This commit is contained in:
@@ -16,7 +16,7 @@ The scripts are tested on debian 12. Clone this repo and follow the steps.
|
||||
1. Run ./setup.sh and reboot the server
|
||||
2. Restore the latest backup from https://github.com/alexgo-io/stacks-node-mainnet/releases
|
||||
3. Run ./start.sh
|
||||
4. Run `watch 'curl -s http://127.0.0.1:3999/extended/v1/status'`, wait until the block height matches that from `https://api.hiro.so/v2/info`
|
||||
4. Run `watch 'curl -s http://127.0.0.1:3999/extended'`, wait until the block height matches that from `https://api.hiro.so/v2/info`
|
||||
5. Done
|
||||
|
||||
## How to spin up a stacks-node from archive
|
||||
@@ -52,5 +52,5 @@ docker-compose logs -f
|
||||
Wait until the block height catches up with official node: `https://api.hiro.so/v2/info`
|
||||
|
||||
```bash
|
||||
watch 'curl -s http://127.0.0.1:3999/extended/v1/status'
|
||||
watch 'curl -s http://127.0.0.1:3999/extended'
|
||||
```
|
||||
|
||||
@@ -2,7 +2,7 @@ static_resources:
|
||||
listeners:
|
||||
- address:
|
||||
socket_address:
|
||||
address: 0.0.0.0
|
||||
address: "::"
|
||||
port_value: 3999
|
||||
filter_chains:
|
||||
- filters:
|
||||
|
||||
@@ -24,7 +24,7 @@ services:
|
||||
- ./init.sql:/docker-entrypoint-initdb.d/init.sql
|
||||
stacks-blockchain-api:
|
||||
restart: always
|
||||
image: hirosystems/stacks-blockchain-api:8.0.3
|
||||
image: hirosystems/stacks-blockchain-api:8.1.1
|
||||
container_name: stacks_api
|
||||
entrypoint: "/wait"
|
||||
network_mode: host
|
||||
|
||||
@@ -10,7 +10,7 @@ if [ -e postresql ]; then
|
||||
fi
|
||||
|
||||
mkdir postgresql
|
||||
curl -o postgresql/latest.dump https://archive.hiro.so/mainnet/stacks-blockchain-api-pg/stacks-blockchain-api-pg-15-8.0.3-latest.dump
|
||||
curl -o postgresql/latest.dump https://archive.hiro.so/mainnet/stacks-blockchain-api-pg/stacks-blockchain-api-pg-15-8.1.0-latest.dump
|
||||
|
||||
docker-compose up -d stacks-blockchain-postgres
|
||||
WAIT_HOSTS='127.0.0.1:5432' ./wait
|
||||
|
||||
Reference in New Issue
Block a user