Old config (version 0.15 and 0.16.0/0.16.3):
0prune=8192
1rpcuser=rpc
2rpcpassword=rpc
3onlynet=ipv4
4testnet=1
5rpcbind=127.0.0.1:18332
6walletdir=/path/to/wallet/
7wallet=mywallet.dat
It worked pretty nice.
UPD: it does not worked in version 0.17.0 ! BTC client made a new wallet.dat
file
On version 0.17.0 i read what i can use full pathes to wallet files.
0prune=8192
1rpcuser=rpc
2rpcpassword=rpc
3onlynet=ipv4
4testnet=1
5rpcbind=127.0.0.1:18332
6wallet=/path/to/wallet/mywallet.dat
FAILS. It created wallet.dat
in /path/to/wallet/
folder
0prune=8192
1rpcuser=rpc
2rpcpassword=rpc
3onlynet=ipv4
4testnet=1
5rpcbind=127.0.0.1:18332
6walletdir=/path/to/wallet/
7wallet=/path/to/wallet/mywallet.dat
FAILS. It created wallet.dat
in ~/.bitcoin/wallets
folder.
Current config:
0prune=8192
1rpcuser=rpc
2rpcpassword=rpc
3onlynet=ipv4
4testnet=1
5rpcbind=127.0.0.1:18332
6walletdir=/path/to/wallet/
AND i renamed mywallet.dat
into wallet.dat
to let client work.
I run bitcoin core client 0.17.0
on Linux 4.9.0-6-amd64 [#1](/bitcoin-bitcoin/1/) SMP Debian 4.9.88-1+deb9u1 (2018-05-07) x86_64 GNU/Linux
.