Skip to content

Commit

Permalink
Merge pull request #988 from guydavis/integration
Browse files Browse the repository at this point in the history
More gigahorse fixes
  • Loading branch information
guydavis authored May 6, 2024
2 parents 5de46d5 + e951d9c commit 065beea
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [2.3.0] - 2024-05-05
## [2.3.0] - 2024-05-06
### Added
- Gigahorse: Optionally launch `chia-exporter` [metrics endpoint](https://github.com/Chia-Network/chia-exporter) for Prometheus reporting if env var `chia_exporter=true` is set.
### Changed
Expand Down
22 changes: 16 additions & 6 deletions scripts/forks/gigahorse_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,22 @@ else
arch_name="$(uname -m)"
if [[ "${arch_name}" == "x86_64" ]]; then
url="https://github.com/madMAx43v3r/chia-gigahorse/releases/download/${GIGAHORSE_BRANCH}/chia-gigahorse-farmer-${GIGAHORSE_VERSION}-x86_64.tar.gz"
echo "Pulling Madmax closed-source Chia farming binary from..."
echo ${url}
cd / && curl --retry 5 --retry-max-time 120 -skJLO ${url}
du -hsc chia-gigahorse-farmer*
tar -xzf chia-gigahorse-farmer*
else
url="https://github.com/madMAx43v3r/chia-gigahorse/releases/download/${GIGAHORSE_BRANCH}/chia-gigahorse-farmer-${GIGAHORSE_VERSION}-aarch64.tar.gz"
url="https://github.com/madMAx43v3r/chia-gigahorse/releases/download/${GIGAHORSE_BRANCH}/chia-gigahorse-farmer-${GIGAHORSE_VERSION}-aarch64.tar.xz"
echo "Pulling Madmax closed-source Chia farming binary from..."
echo ${url}
cd / && curl --retry 5 --retry-max-time 120 -skJLO ${url}
du -hsc chia-gigahorse-farmer*
cksum chia-gigahorse-farmer*
tar --version
#tar -xzf chia-gigahorse-farmer* # Fails?
which unxz
unxz --version
unxz chia-gigahorse-farmer*
fi
echo "Pulling Madmax closed-source Chia farming binary from..."
echo ${url}
cd / && curl --retry 5 --retry-max-time 120 -skJLO ${url}
du -hsc chia-gigahorse-farmer*
tar -xzf chia-gigahorse-farmer*
fi

0 comments on commit 065beea

Please sign in to comment.