Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions datum/hooks/pre-start
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ if [ -f "${DATUM_CONFIG_FILE}" ]; then
echo "Checking DATUM configuration file."

# Check if Knots environment variables are set
if [ -z "${APP_BITCOIN_KNOTS_RPC_USER}" ] || [ -z "${APP_BITCOIN_KNOTS_RPC_PASS}" ] || [ -z "${APP_BITCOIN_KNOTS_NODE_IP}" ] || [ -z "${APP_BITCOIN_KNOTS_INTERNAL_RPC_PORT}" ]; then
if [ -z "${APP_BITCOIN_RPC_USER}" ] || [ -z "${APP_BITCOIN_RPC_PASS}" ] || [ -z "${APP_BITCOIN_NODE_IP}" ] || [ -z "${APP_BITCOIN_RPC_PORT}" ]; then
echo "Missing Bitcoin Knots environment variables. Exiting."
exit 1
fi

echo "Initializing DATUM config with Bitcoin Knots RPC settings."

# Update the configuration
jq --arg user "$APP_BITCOIN_KNOTS_RPC_USER" \
--arg pass "$APP_BITCOIN_KNOTS_RPC_PASS" \
--arg url "${APP_BITCOIN_KNOTS_NODE_IP}:${APP_BITCOIN_KNOTS_INTERNAL_RPC_PORT}" \
jq --arg user "$APP_BITCOIN_RPC_USER" \
--arg pass "$APP_BITCOIN_RPC_PASS" \
--arg url "${APP_BITCOIN_NODE_IP}:${APP_BITCOIN_RPC_PORT}" \
'.bitcoind.rpcuser = $user |
.bitcoind.rpcpassword = $pass |
.bitcoind.rpcurl = $url' \
Expand Down
6 changes: 3 additions & 3 deletions datum/umbrel-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ manifestVersion: 1.1
id: datum
category: bitcoin
name: DATUM
version: "v0.4.1-beta-hotfix.1"
version: "v0.4.1beta-rev2"
tagline: Self-sovereign Bitcoin mining
description: >-
⚙️ Please read the important setup instructions at the bottom of this page.
Expand Down Expand Up @@ -57,7 +57,7 @@ description: >-
developer: OCEAN
website: https://ocean.xyz
dependencies:
- bitcoin-knots
- bitcoin
repo: https://github.com/OCEAN-xyz/datum_gateway
support: https://ocean.xyz
port: 21000
Expand All @@ -69,7 +69,7 @@ path: ""
defaultUsername: "admin"
deterministicPassword: true
releaseNotes: >-
This update improves DATUM Gateway stability for setups with many connected miners by increasing the service's open file limit to match the Debian DATUM Gateway package. No action is required after updating.
Now allows any bitcoin node app to fetch templates.
widgets:
- id: "stats"
type: "three-stats"
Expand Down