mirror of
https://github.com/boldsuck/haveno.git
synced 2024-12-23 12:39:23 +00:00
17 lines
787 B
Bash
Executable file
17 lines
787 B
Bash
Executable file
#!/bin/bash
|
|
|
|
cd $(dirname $0)/../../../
|
|
|
|
version="1.6.2"
|
|
|
|
# Set BISQ_DIR as environment var to the path of your locally synced Bisq data directory e.g. BISQ_DIR=~/Library/Application\ Support/Bisq
|
|
|
|
dbDir=$BISQ_DIR/btc_mainnet/db
|
|
resDir=p2p/src/main/resources
|
|
|
|
# Only commit new TradeStatistics3Store if you plan to add it to
|
|
# https://github.com/bisq-network/bisq/blob/0345c795e2c227d827a1f239a323dda1250f4e69/common/src/main/java/bisq/common/app/Version.java#L40 as well.
|
|
cp "$dbDir/TradeStatistics3Store" "$resDir/TradeStatistics3Store_${version}_BTC_MAINNET"
|
|
cp "$dbDir/AccountAgeWitnessStore" "$resDir/AccountAgeWitnessStore_${version}_BTC_MAINNET"
|
|
cp "$dbDir/DaoStateStore" "$resDir/DaoStateStore_BTC_MAINNET"
|
|
cp "$dbDir/SignedWitnessStore" "$resDir/SignedWitnessStore_BTC_MAINNET"
|