Skip to content

Commit

Permalink
Merge pull request #9 from borgvin/v4.1
Browse files Browse the repository at this point in the history
v4.1 (slippage support)
  • Loading branch information
borgvin authored Oct 11, 2024
2 parents 5b7d2cd + 50d553d commit 5b926a6
Show file tree
Hide file tree
Showing 19 changed files with 1,361 additions and 5,923 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
source ./emsdk/emsdk_env.sh
./bin/build_ci.sh
- name: Upload artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: libs
path: dist/*
Expand Down
2 changes: 0 additions & 2 deletions bin/build_ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
# build haven offshore translations directory
cd ./external/haven-web-cpp/external/haven || exit 1

sed -i '33s/auto/cn/' src/crypto/wallet/CMakeLists.txt

mkdir -p build/release
cd build/release
cmake ../..
Expand Down
2 changes: 1 addition & 1 deletion bin/build_openssl_emscripten.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ cd "$SRC_PATH"

perl ./Configure \
linux-generic32 \
-no-asm no-ssl2 no-ssl3 no-comp no-engine no-deprecated no-tests no-dso no-shared no-threads disable-shared \
-no-asm no-ssl3 no-comp no-engine no-tests no-dso no-shared no-threads disable-shared \
--prefix="$INSTALL_PATH" \
--openssldir="$INSTALL_PATH" \
2>&1
Expand Down
6 changes: 3 additions & 3 deletions bin/download_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ get_openssl_github() {
&& {
(
cd "${SDK_PATH}/openssl-sdk"
git checkout OpenSSL_1_1_1-stable
git checkout tags/openssl-3.0.15
)
} \
|| {
Expand Down Expand Up @@ -181,7 +181,7 @@ get_openssl_source() {
[ -d ${SDK_PATH} ] || { echo "get_openssl_source: Missing directory: ${SDK_PATH}"; return 1; }

local DL_URL="https://github.com/openssl/openssl/archive"
local DL_FILE="OpenSSL_1_1_1q.tar.gz"
local DL_FILE="openssl-3.0.15.tar.gz"

check_archive "${SDK_PATH}/${DL_FILE}" \
&& {
Expand All @@ -193,7 +193,7 @@ get_openssl_source() {
}

mkdir ${SDK_PATH}/openssl-sdk
tar -C ${SDK_PATH}/openssl-sdk --strip-components=1 -xvf ${SDK_PATH}/OpenSSL_1_1_1q.tar.gz || return 1
tar -C ${SDK_PATH}/openssl-sdk --strip-components=1 -xvf ${SDK_PATH}/${DL_FILE} || return 1

return 0
}
3 changes: 3 additions & 0 deletions bin/update_submodules.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@

# initialize submodules recursively
git submodule update --init --recursive

# hack for building after difficulty drift fix
sed -i 's/long double/double/g' external/haven-web-cpp/external/haven/src/cryptonote_basic/difficulty.cpp
Loading

0 comments on commit 5b926a6

Please sign in to comment.