joinmarket: add payjoin configuration

This commit is contained in:
nixbitcoin 2020-10-29 12:46:36 +00:00
parent f29f04c0c4
commit 59e128a994
No known key found for this signature in database
GPG Key ID: DD11F9AD5308B3BA

View File

@ -61,6 +61,16 @@ let
taker_utxo_amtpercent = 20
accept_commitment_broadcasts = 1
commit_file_location = cmtdata/commitments.json
[PAYJOIN]
payjoin_version = 1
disable_output_substitution = 0
max_additional_fee_contribution = default
min_fee_rate = 1.1
onion_socks5_host = ${torAddress}
onion_socks5_port = 9050
tor_control_host = unix:/run/tor/control
hidden_service_ssl = false
'';
# The jm scripts create a 'logs' dir in the working dir,
@ -126,6 +136,7 @@ in {
description = "joinmarket User";
group = "${cfg.group}";
home = cfg.dataDir;
extraGroups = [ "tor" ];
};
users.groups.${cfg.group} = {};
nix-bitcoin.operator = {
@ -143,6 +154,7 @@ in {
services.tor = {
enable = true;
client.enable = true;
controlSocket.enable = true;
};
systemd.services.joinmarket = {