minor improvements
- README: add matrix room - examples/configuration.nix: explain why bitcoind is enabled by default - btcpayserver: group lnd service settings - clightning: Use public onion port only when the onion service is public This allows users to enable the onion service while announcing a non-onion public address. - netns-isolation: move `readOnly` attr to the top - tests: use mkDefault to allow for easier overriding - tests/btcpayserver: test web server response
This commit is contained in:
parent
1da23cd933
commit
aada35fc7b
7 changed files with 21 additions and 16 deletions
|
|
@ -80,8 +80,8 @@ let
|
|||
|
||||
tests.btcpayserver = cfg.btcpayserver.enable;
|
||||
services.btcpayserver = {
|
||||
lightningBackend = "lnd";
|
||||
lbtc = true;
|
||||
lightningBackend = mkDefault "lnd";
|
||||
lbtc = mkDefault true;
|
||||
};
|
||||
# Needed to test macaroon creation
|
||||
environment.systemPackages = mkIfTest "btcpayserver" (with pkgs; [ openssl xxd ]);
|
||||
|
|
|
|||
|
|
@ -201,6 +201,8 @@ def _():
|
|||
f"-X GET https://{ip('lnd')}:8080/v1/getinfo | jq",
|
||||
'"version"',
|
||||
)
|
||||
# Test web server response
|
||||
assert_matches(f"curl -L {ip('btcpayserver')}:23000", "Welcome to your BTCPay Server")
|
||||
|
||||
@test("spark-wallet")
|
||||
def _():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue