This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM rust:slim-bullseye as build | |
ARG STACKS_VERSION="2.05.0.6.0" | |
ENV STACKS_VERSION="${STACKS_VERSION}" | |
WORKDIR /src | |
RUN apt-get update && apt-get install -y git | |
RUN mkdir /out |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM debian:bullseye-slim as build | |
ARG BTC_VERSION="23.0" | |
ENV BDB_PREFIX="/src/bitcoin/db4" | |
ENV BTC_VERSION="${BTC_VERSION}" | |
WORKDIR /src | |
RUN mkdir /out \ | |
&& apt-get update && apt-get install -y \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM alpine as build | |
ARG BTC_VERSION="23.0" | |
ARG BDB_PREFIX="/src/bitcoin/db4" | |
ENV BTC_VERSION=${BTC_VERSION} | |
ENV BDB_PREFIX=${BDB_PREFIX} | |
WORKDIR /src | |
RUN apk --no-cache add --update \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ARG STACKS_API_VERSION=v7.1.5 | |
ARG STACKS_NODE_VERSION=2.1.0.0.3 | |
ARG STACKS_API_REPO=hirosystems/stacks-blockchain-api | |
ARG STACKS_NODE_REPO=stacks-network/stacks-blockchain | |
ARG PG_VERSION=14 | |
ARG STACKS_NETWORK=mainnet | |
ARG STACKS_LOG_DIR=/var/log/stacks-node | |
ARG STACKS_SVC_DIR=/etc/service | |
ARG STACKS_BLOCKCHAIN_DIR=/stacks-blockchain | |
ARG STACKS_BLOCKCHAIN_API_DIR=/stacks-blockchain-api |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -eo pipefail | |
set -Eo functrace | |
shopt -s expand_aliases | |
## | |
## Meant to be run manually or via cron | |
## ex cron: | |
## 00 * * * * /usr/local/bin/seed >> /tmp/seed-log | |
## |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -eo pipefail | |
set -Eo functrace | |
shopt -s expand_aliases | |
## | |
## Meant to be run manually or via cron | |
## ex cron: | |
## 00 * * * * /usr/local/bin/stackerdb >> /tmp/stackerdb-log | |
## |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -o pipefail | |
## Using 10 cpu cores, a full replay will take between 12-14 hours (assuming there are no other cpu/io bound processes running at the same time) | |
## | |
## ** Recommend to run this script in screen or tmux ** | |
## | |
## We'll need ~73GB per slice, plus an extra ~400GB for the chainstate archive and marf DB | |
## as of 02/2025: |
OlderNewer