rollout-v2.sh stages the Linux igneumd (gateways from the Mac, private nodes from their gateway), rolls one node at a time with
difficulty_v2_activation_daa in every override file, checks the common chain and watches the height; results/2026-10-04/
rollout-v2*.log and v2/ (the hash-rate step under v2 and the v1 comparison). docs/plans/difficulty-v2-rollout-devnet.md: the
binaries and their sha256, the activation rule (N = DAA at publish + 10,800; baked at the cut as DAA + 14,400), the exact
restart lines for the observer node, the seed and Mac node 1, the OTA path for the two PCs through NODE_OVERRIDE_PARAMS in
packaged-config.sh (the engine side landed in 0dd587d), the rehearsal record. Bench-log entry.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
37 lines
1.9 KiB
Bash
37 lines
1.9 KiB
Bash
#!/bin/bash
|
|
# The configuration the packagers write next to the engine (igneum-app.json): the update manifest URL (the download
|
|
# token is read from ~/.config/igneum/dl-token and never lives in the repo), the log intake (the key only authorises
|
|
# log uploads and is meant to ship, as the 0.2.0 launchers did), the live page. Sourced by build-dmg.sh; the Windows
|
|
# make-payload.sh reads LOG_KEY from this file.
|
|
LOG_URL="https://igneum-six.vercel.app/api/log"
|
|
LOG_KEY="***INTAKE-KEY-REMOVED***"
|
|
LIVE_PAGE="https://igneum.network/live"
|
|
DOWNLOAD_PAGE="https://igneum.network/#mine"
|
|
TOKEN_FILE="$HOME/.config/igneum/dl-token"
|
|
# Consensus parameters pinned into the package for the bundled node: igneum-app.json "node_override_params"; the engine
|
|
# writes them to <app data>/override-params.json and starts igneumd with --override-params-file. Empty = no override
|
|
# file, the node runs the network's defaults. Difficulty v2 (4 Oct 2026): the version that bundles igneumd v2 must
|
|
# carry the devnet's activation height here, the same N as every other devnet node, before it is cut (Mac and CI alike:
|
|
# make-payload.sh reads this line). Rule and order: docs/plans/difficulty-v2-rollout-devnet.md.
|
|
# Example: NODE_OVERRIDE_PARAMS='{"difficulty_v2_activation_daa": 123456}'
|
|
NODE_OVERRIDE_PARAMS=''
|
|
|
|
# writes the JSON to $1
|
|
write_packaged_config() {
|
|
local out="$1" token="" manifest=""
|
|
[ -f "$TOKEN_FILE" ] && token="$(tr -d '[:space:]' < "$TOKEN_FILE")"
|
|
[ -n "$token" ] && manifest="https://dl.igneum.network/dl/$token/igneum-app-latest.json"
|
|
[ -n "$manifest" ] || echo "note: no $TOKEN_FILE; the update check is disabled in this build"
|
|
local override_line=""
|
|
[ -n "$NODE_OVERRIDE_PARAMS" ] && override_line=" \"node_override_params\": $NODE_OVERRIDE_PARAMS,"
|
|
cat > "$out" <<JSON
|
|
{
|
|
$override_line
|
|
"update_manifest": "$manifest",
|
|
"log_intake_url": "$LOG_URL",
|
|
"log_intake_key": "$LOG_KEY",
|
|
"live_page": "$LIVE_PAGE",
|
|
"download_page": "$DOWNLOAD_PAGE"
|
|
}
|
|
JSON
|
|
}
|