Monday, November 25, 2024

Lightning Terminal exhibits mainnet nodes and says Offline when on testnet

LND 0.17.3-beta
LiT 0.12.2-alpha

LND is working on the testnet. Listed below are the related components of the output I get once I run lncli getinfo. It exhibits the proper block top and community. It’s working on the testnet.

{
    "model": "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"
        }
    ]
}

That is what I’ve in lit.conf:

community=testnet

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

distant.lit-debuglevel=debug

httpslisten=127.0.0.1:8008
uipassword=XXXXXXXX

LiT appears to be working nice.

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

I can login to the web site and see my node.

Nonetheless, once I click on Discover, I solely see an inventory of lightning nodes that exist on the mainnet.

After I click on on my node within the higher proper nook, it says I’m Offline.

enter image description here

To start with, does Lightning Terminal run on the testnet? It does have settings for the testnet and I’m utilizing them.

What am I doing improper? How can I get LiT to indicate me testnet nodes within the Discover web page and acknowledge that my node is On-line?

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles