-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lnd: add option for configuring REST port #188
Conversation
Could you add this fixup? |
modules/lnd.nix
Outdated
@@ -45,10 +46,15 @@ in { | |||
description = "The data directory for LND."; | |||
}; | |||
rpcPort = mkOption { | |||
type = types.ints.u16; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it necessary to change this? From the NixOS module: "types.port: A port number. This type is an alias to types.ints.u16."
If so, should we change all occurrences of types.ints.u16
-> types.port
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, we should change them separately: #190
Concept ACK |
255dc90
to
34f3999
Compare
Updated, PTAL. |
34f3999
to
03a627a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
ACK 03a627a06f62446a388ce76dc8ea1305fcb22317
1. Ran ./run-tests.sh locally
2. Deployed to NixOS nix-bitcoin node and confirmed working with
different `restPort` values
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEV3o0Un8+KoXoD+Fk3RH5rVMIs7oFAl7c2yYACgkQ3RH5rVMI
s7pmVRAAnyTQXrVeu823zpie50CYmpzRSwFH2xIrikAYX8jjXHRbJyxEIHp5Dkx0
268+9QNZJP/xBp1D8DEy4/ODShahA5SJB7c0wnP8EkSrx4iDiDtt4rIxC/rcptfS
R3frGIu0mzWcpNqZq5HAVc3eU9OELaOdgU0MAJZBym0jJNFu8M5kmjAtM88UcARm
J2iNHjNNaLOeZgBlx6ZzkY2x0aFH12gOsbWC65yGK3RnYf0jhlrw96onfaigbis1
lpqcM8E9y+/+DcY+kS7EUYVdTAh01mMfsZ+ILLW/FCyHUTXAe0e3kyNbNMc8Kw/O
7YeXIhRCK4G64fSCndrSUepsxRLh0rlbrlr5rfdsVdbKKAkLqXMprVCiQTNxOoLF
GTSVm48MRsOSSWphCug5roMNJ/HhXW/A9Z4mW90NdcsIT8tsmyYmcRteEnnRZeQR
Q10uhRZ6UMERLzr2/SR89jrBV75qIVcLWaKg5vWWq5Z0YIqj1v7L2a+Gsgcnr54d
++RHlHpOlLI5DLS6M2bNpllM1+hdlhdMBah/fo3S9Zvzm/MIE+dvkzmPMUM0p4Qx
0CFbqWBVUZekbORTFqW66gocBatpQ+npdFJai5ub9NIMJIj/Gy2WVqIdOLuxJcVr
emf9QxPeoTcnAXgKZt180wwa7O1TcKTNsls9jeehqanQlXJQA3s=
=rv1H
-----END PGP SIGNATURE-----
I've got a slightly contrived setup where I'm running nix-bitcoin in a container that shares network ports with another container which also uses 8080 and it's harder to change than in lnd ...