Merge #299: joinmarket: add rpcWalletFile option
e3a45fcc0c
joinmarket: add rpcWalletFile option (Jonas Nick) Pull request description: ACKs for top commit: erikarvstedt: ACKe3a45fcc0c
Tree-SHA512: 325978ca7acbf19fba3888796474c9cf45d145fcee88888f0ada7ec5aad474974bf72722e3cabd99235e044892be35599624a6248194fbfc29e8cd3e6a5d329a
This commit is contained in:
commit
bd9bf54471
@ -25,6 +25,7 @@ let
|
|||||||
rpc_port = ${toString bitcoind.rpc.port}
|
rpc_port = ${toString bitcoind.rpc.port}
|
||||||
rpc_user = ${bitcoind.rpc.users.privileged.name}
|
rpc_user = ${bitcoind.rpc.users.privileged.name}
|
||||||
@@RPC_PASSWORD@@
|
@@RPC_PASSWORD@@
|
||||||
|
${optionalString (cfg.rpcWalletFile != null) "rpc_wallet_file=${cfg.rpcWalletFile}"}
|
||||||
|
|
||||||
[MESSAGING:server1]
|
[MESSAGING:server1]
|
||||||
host = darksci3bfoka7tw.onion
|
host = darksci3bfoka7tw.onion
|
||||||
@ -121,6 +122,13 @@ in {
|
|||||||
default = cfg.user;
|
default = cfg.user;
|
||||||
description = "The group as which to run JoinMarket.";
|
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 {
|
cli = mkOption {
|
||||||
default = cli;
|
default = cli;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user