joinmarket: create bitcoind wallet
Starting with 0.21.0, bitcoin no longer automatically creates and loads a default wallet. This was being ignored because of a JoinMarket issue [1] in CI builds prior to this version. Now a watch-only Bitcoin Core wallet is created in ExecStartPost. [1] https://github.com/JoinMarket-Org/joinmarket-clientserver/issues/812
This commit is contained in:
@@ -91,6 +91,22 @@ let
|
||||
rm -f "${secretsDir}"/{lnd-seed-mnemonic,jm-wallet-seed}
|
||||
'';
|
||||
}
|
||||
{
|
||||
version = "0.0.49";
|
||||
condition = config.services.joinmarket.enable;
|
||||
message = ''
|
||||
Starting with 0.21.0, bitcoind no longer automatically creates and loads a
|
||||
default wallet named `wallet.dat` [1].
|
||||
The joinmarket service now automatically creates a watch-only bitcoind wallet
|
||||
(named by option `services.joinmarket.rpcWalletFile`) when creating a joinmarket wallet.
|
||||
|
||||
If you've used JoinMarket before, add the following to your configuration to
|
||||
continue using the default `wallet.dat` wallet:
|
||||
services.joinmarket.rpcWalletFile = null;
|
||||
|
||||
[1] https://github.com/bitcoin/bitcoin/pull/15454
|
||||
'';
|
||||
}
|
||||
];
|
||||
|
||||
incompatibleChanges = optionals
|
||||
|
||||
Reference in New Issue
Block a user