Skip to content

Commit

Permalink
Merge #299: joinmarket: add rpcWalletFile option
Browse files Browse the repository at this point in the history
e3a45fc joinmarket: add rpcWalletFile option (Jonas Nick)

Pull request description:

ACKs for top commit:
  erikarvstedt:
    ACK e3a45fc

Tree-SHA512: 325978ca7acbf19fba3888796474c9cf45d145fcee88888f0ada7ec5aad474974bf72722e3cabd99235e044892be35599624a6248194fbfc29e8cd3e6a5d329a
  • Loading branch information
jonasnick committed Jan 10, 2021
2 parents 0c6579b + e3a45fc commit bd9bf54
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions modules/joinmarket.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ let
rpc_port = ${toString bitcoind.rpc.port}
rpc_user = ${bitcoind.rpc.users.privileged.name}
@@RPC_PASSWORD@@
${optionalString (cfg.rpcWalletFile != null) "rpc_wallet_file=${cfg.rpcWalletFile}"}
[MESSAGING:server1]
host = darksci3bfoka7tw.onion
Expand Down Expand Up @@ -121,6 +122,13 @@ in {
default = cfg.user;
description = "The group as which to run JoinMarket.";
};
rpcWalletFile = mkOption {
type = types.nullOr types.str;
default = null;
description = ''
Name of the watch-only bitcoind wallet the JoinMarket addresses are imported to.
'';
};
cli = mkOption {
default = cli;
};
Expand Down

0 comments on commit bd9bf54

Please sign in to comment.