mirror of
https://github.com/haveno-dex/haveno.git
synced 2024-10-01 01:35:48 -04:00
18 lines
799 B
Bash
Executable File
18 lines
799 B
Bash
Executable File
#!/bin/bash
|
|
|
|
cd $(dirname $0)/../../../
|
|
|
|
version="0.0.1"
|
|
|
|
# Set HAVENO_DIR as environment var to the path of your locally synced Haveno data directory e.g. HAVENO_DIR=~/Library/Application\ Support/Haveno
|
|
|
|
dbDir=$HAVENO_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/haveno/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"
|