bitcoind: add netns
- Adds bitcoind to netns-isolation.services - Adds rpcbind and rpcallowip options to allow using bitcoind with network namespaces - Adds bind option (defaults to localhost), used as target of hidden service - Makes bitcoind-import-banlist run in netns
This commit is contained in:
parent
e5e07b91f7
commit
75ca6f186c
3 changed files with 44 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ in {
|
|||
addresstype = "bech32";
|
||||
dbCache = 1000;
|
||||
};
|
||||
services.tor.hiddenServices.bitcoind = mkHiddenService { port = cfg.bitcoind.port; };
|
||||
services.tor.hiddenServices.bitcoind = mkHiddenService { port = cfg.bitcoind.port; toHost = cfg.bitcoind.bind; };
|
||||
|
||||
# clightning
|
||||
services.clightning = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue