mirror of
https://github.com/lightninglabs/lightning-terminal.git
synced 2026-08-13 12:33:36 +02:00
3.5 KiB
3.5 KiB
Test scenarios
The possible number of combinations of local/remote configurations has become quite large over time.
The following tests should be run whenever something in the local/remote config or proxying changes:
lnd integrated
All daemons integrated
--httpslisten=[::]:8443
--uipassword=testnet3
--network=regtest
--lnd-mode=integrated
...
- Open UI, make sure Loop and Pool calls are served correctly
- Use
lncliagainst LiTlncli --network regtest getinfo - Use
poolandloopCLI againstlndmain gRPC server (port10009)loop --rpcserver=localhost:10009 --tlscertpath=~/.lnd/tls.cert --macaroonpath=~/.loop/regtest/loop.macaroon termspool --rpcserver=localhost:10009 --tlscertpath=~/.lnd/tls.cert --macaroonpath=~/.pool/regtest/pool.macaroon getinfo
- Use
poolandloopCLI against LiT proxy server (port8443)loop --rpcserver=localhost:8443 --tlscertpath=~/.lnd/tls.cert --macaroonpath=~/.loop/regtest/loop.macaroon termspool --rpcserver=localhost:8443 --tlscertpath=~/.lnd/tls.cert --macaroonpath=~/.pool/regtest/pool.macaroon getinfo
Loop daemon remote
--httpslisten=[::]:8443
--uipassword=testnet3
--network=regtest
--lnd-mode=integrated
--loop-mode=remote
...
- Open UI, make sure Loop and Pool calls are served correctly
- Use
lncliagainst LiTlncli --network regtest getinfo - Use
poolandloopCLI againstlndmain gRPC server (port10009)loop --rpcserver=localhost:10009 --tlscertpath=~/.lnd/tls.cert --macaroonpath=~/.loop/regtest/loop.macaroon termsExpect to get anunknown serviceerror!pool --rpcserver=localhost:10009 --tlscertpath=~/.lnd/tls.cert --macaroonpath=~/.pool/regtest/pool.macaroon getinfoExpect to get anunknown serviceerror!
- Use
poolandloopCLI against LiT proxy server (port8443)loop --rpcserver=localhost:8443 --tlscertpath=~/.lnd/tls.cert --macaroonpath=~/.loop/regtest/loop.macaroon termspool --rpcserver=localhost:8443 --tlscertpath=~/.lnd/tls.cert --macaroonpath=~/.pool/regtest/pool.macaroon getinfo
lnd remote
All daemons integrated
--httpslisten=[::]:8443
--uipassword=testnet3
--network=regtest
--remote.lnd.rpcserver=localhost:10009
...
- Open UI, make sure Loop and Pool calls are served correctly
- Use
lncliagainst LiTlncli --network regtest --rpcserver=localhost:8443 --tlscertpath=~/.lit/tls.cert --macaroonpath=~/.lnd/data/chain/bitcoin/regtest/admin.macaroon getinfo - Use
poolandloopCLI against LiT proxy server (port8443)loop --rpcserver=localhost:8443 --tlscertpath=~/.lit/tls.cert --macaroonpath=~/.loop/regtest/loop.macaroon termspool --rpcserver=localhost:8443 --tlscertpath=~/.lit/tls.cert --macaroonpath=~/.pool/regtest/pool.macaroon getinfo
Loop daemon remote
--httpslisten=[::]:8443
--uipassword=testnet3
--network=regtest
--remote.lnd.rpcserver=localhost:10009
--loop-mode=remote
...
- Open UI, make sure Loop and Pool calls are served correctly
- Use
lncliagainst LiTlncli --network regtest --rpcserver=localhost:8443 --tlscertpath=~/.lit/tls.cert --macaroonpath=~/.lnd/data/chain/bitcoin/regtest/admin.macaroon getinfo - Use
poolandloopCLI against LiT proxy server (port8443)loop --rpcserver=localhost:8443 --tlscertpath=~/.lit/tls.cert --macaroonpath=~/.loop/regtest/loop.macaroon termspool --rpcserver=localhost:8443 --tlscertpath=~/.lit/tls.cert --macaroonpath=~/.pool/regtest/pool.macaroon getinfo