Lightning Terminal shows mainnet nodes and says Offline when on testnet

[ad_1]

LND 0.17.3-beta
LiT 0.12.2-alpha

LND is running on the testnet. Here are the relevant parts of the output I get when I run lncli getinfo. It shows the correct block height and network. It is running on the testnet.

{
    "version": "0.17.3-beta commit=v0.17.3-beta",
    "num_pending_channels": 0,
    "num_active_channels": 0,
    "num_inactive_channels": 0,
    "num_peers": 3,
    "block_height": 2572828,
    "block_hash": "000000000000001d7114e1972fd50ede11d09e9479d7d074bd538f96f56a52f0",
    "best_header_timestamp": "1705245634",
    "synced_to_chain": true,
    "synced_to_graph": true,
    "testnet": true,
    "chains": [
        {
            "chain": "bitcoin",
            "network": "testnet"
        }
    ]
}

This is what I have in lit.conf:

network=testnet

lnd-mode=remote
remote.lnd.rpcserver=127.0.0.1:10009
remote.lnd.tlscertpath=../../lnd-testnet/lnd-dir/tls.cert
remote.lnd.macaroonpath=../../lnd-testnet/lnd-dir/data/chain/bitcoin/testnet/admin.macaroon

remote.lit-debuglevel=debug

httpslisten=127.0.0.1:8008
uipassword=XXXXXXXX

LiT seems to be working fine.

$ litcli status
{
    "sub_servers":  {
        "accounts":  {
            "disabled":  false,
            "running":  true,
            "error":  ""
        },
        "faraday":  {
            "disabled":  false,
            "running":  true,
            "error":  ""
        },
        "lit":  {
            "disabled":  false,
            "running":  true,
            "error":  ""
        },
        "lnd":  {
            "disabled":  false,
            "running":  true,
            "error":  ""
        },
        "loop":  {
            "disabled":  false,
            "running":  true,
            "error":  ""
        },
        "pool":  {
            "disabled":  false,
            "running":  true,
            "error":  ""
        },
        "taproot-assets":  {
            "disabled":  false,
            "running":  true,
            "error":  ""
        }
    }
}
{
    "state":  "SERVER_ACTIVE"
}

I can login to the website and see my node.

However, when I click Explore, I only see a list of lightning nodes that exist on the mainnet.

When I click on my node in the upper right corner, it says I am Offline.

enter image description here

First of all, does Lightning Terminal run on the testnet? It does have settings for the testnet and I am using them.

What am I doing wrong? How can I get LiT to show me testnet nodes in the Explore page and acknowledge that my node is Online?

[ad_2]

Source link

Leave a Comment