Co-authored-by: Claude (Opus 4.6) <claude@hermes.local> Co-committed-by: Claude (Opus 4.6) <claude@hermes.local>
This commit was merged in pull request #57.
This commit is contained in:
@@ -128,6 +128,11 @@ cp "$SCRIPT_DIR/docker-compose.yml" "$INFRA_DIR/docker-compose.yml"
|
||||
cp "$SCRIPT_DIR/lnd-init.sh" "$INFRA_DIR/lnd-init.sh"
|
||||
cp "$SCRIPT_DIR/sweep.sh" "$INFRA_DIR/sweep.sh"
|
||||
cp "$SCRIPT_DIR/ops.sh" "$INFRA_DIR/ops.sh"
|
||||
# Install default sweep config (lnd-init.sh will overwrite with user's cold address)
|
||||
if [[ ! -f "$INFRA_DIR/sweep.conf" ]]; then
|
||||
cp "$SCRIPT_DIR/sweep.conf" "$INFRA_DIR/sweep.conf"
|
||||
chmod 600 "$INFRA_DIR/sweep.conf"
|
||||
fi
|
||||
chmod +x "$INFRA_DIR/lnd-init.sh" "$INFRA_DIR/sweep.sh" "$INFRA_DIR/ops.sh"
|
||||
|
||||
ok "Configs installed"
|
||||
|
||||
10
infrastructure/sweep.conf
Normal file
10
infrastructure/sweep.conf
Normal file
@@ -0,0 +1,10 @@
|
||||
# Timmy Node — Auto-sweep configuration
|
||||
# Edit manually or run: bash ops.sh configure-sweep
|
||||
|
||||
SWEEP_MODE="static"
|
||||
COLD_ADDRESS=""
|
||||
XPUB=""
|
||||
KEEP_SATS=300000
|
||||
MIN_SWEEP=50000
|
||||
SWEEP_CRON="0 3 * * *"
|
||||
SWEEP_FREQ_LABEL="daily at 3am UTC"
|
||||
Reference in New Issue
Block a user