Allow AnyProtocol for bitcoin if zmq options are set (and not if lnd is enabled)
This commit is contained in:
parent
cf39d88c63
commit
0c22af03b7
@ -253,9 +253,9 @@ in {
|
|||||||
PermissionsStartOnly = "true";
|
PermissionsStartOnly = "true";
|
||||||
} // nix-bitcoin-services.defaultHardening
|
} // nix-bitcoin-services.defaultHardening
|
||||||
// (if cfg.enforceTor
|
// (if cfg.enforceTor
|
||||||
then nix-bitcoin-services.allowTor
|
then nix-bitcoin-services.allowTor
|
||||||
else nix-bitcoin-services.allowAnyIP
|
else nix-bitcoin-services.allowAnyIP)
|
||||||
) // optionalAttrs config.services.lnd.enable nix-bitcoin-services.allowAnyProtocol; # FOR ZMQ
|
// optionalAttrs (cfg.zmqpubrawblock != null || cfg.zmqpubrawtx != null) nix-bitcoin-services.allowAnyProtocol;
|
||||||
};
|
};
|
||||||
systemd.services.bitcoind-import-banlist = {
|
systemd.services.bitcoind-import-banlist = {
|
||||||
description = "Bitcoin daemon banlist importer";
|
description = "Bitcoin daemon banlist importer";
|
||||||
|
Loading…
Reference in New Issue
Block a user