2019-01-08 10:52:48 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
cd $(dirname $0)/../../../
|
|
|
|
|
|
|
|
# Mainnet
|
|
|
|
|
|
|
|
dbDir=~/Library/Application\ Support/Bisq/btc_mainnet/db
|
|
|
|
resDir=p2p/src/main/resources
|
|
|
|
|
|
|
|
cp "$dbDir/TradeStatistics2Store" "$resDir/TradeStatistics2Store_BTC_MAINNET"
|
|
|
|
cp "$dbDir/AccountAgeWitnessStore" "$resDir/AccountAgeWitnessStore_BTC_MAINNET"
|
|
|
|
|
|
|
|
# Testnet
|
2019-03-05 16:24:55 +01:00
|
|
|
dbDir=~/Library/Application\ Support/Bisq/btc_dao_testnet/db
|
2019-01-08 10:52:48 +01:00
|
|
|
|
2019-04-01 15:43:53 +02:00
|
|
|
cp "$dbDir/AccountAgeWitnessStore" "$resDir/AccountAgeWitnessStore_BTC_DAO_REGTEST"
|
|
|
|
cp "$dbDir/BlindVoteStore" "$resDir/BlindVoteStore_BTC_DAO_REGTEST"
|
|
|
|
cp "$dbDir/DaoStateStore" "$resDir/DaoStateStore_BTC_DAO_REGTEST"
|
|
|
|
cp "$dbDir/ProposalStore" "$resDir/ProposalStore_BTC_DAO_REGTEST"
|
|
|
|
cp "$dbDir/TempProposalStore" "$resDir/TempProposalStore_BTC_DAO_REGTEST"
|
|
|
|
cp "$dbDir/TradeStatistics2Store" "$resDir/TradeStatistics2Store_BTC_DAO_REGTEST"
|