mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
* feat: monero cache debugging feat: better JSON explorer for network traffic * frozen coins debugging
32 lines
612 B
Bash
Executable File
32 lines
612 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -x -e
|
|
|
|
cd "$(dirname "$0")"
|
|
|
|
if [[ ! -d "monero_c/.git" ]];
|
|
then
|
|
rm -rf monero_c
|
|
git clone https://github.com/mrcyjanek/monero_c --branch master monero_c
|
|
cd monero_c
|
|
git checkout 5225c47e5033d46bfd60e612e87b24c562f67efa
|
|
git reset --hard
|
|
git submodule update --init --force --recursive
|
|
./apply_patches.sh monero
|
|
./apply_patches.sh wownero
|
|
./apply_patches.sh zano
|
|
else
|
|
cd monero_c
|
|
fi
|
|
|
|
for coin in monero wownero zano;
|
|
do
|
|
if [[ ! -f "$coin/.patch-applied" ]];
|
|
then
|
|
./apply_patches.sh $coin
|
|
fi
|
|
done
|
|
cd ..
|
|
|
|
echo "monero_c source prepared".
|