Bitcoin

Lightning Terminal shows mainnet nodes, while testnet shows them as offline.

LND 0.17.3-Beta
LiT 0.12.2-alpha

LND Running on testnet. Here is the relevant part of the output I get when I run: lncli getinfo. It shows the correct block height and network. Running on 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 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 well.

$ 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"

You can view your nodes by logging into the website.

But when I click ExploreYou will only see a list of Lightning nodes that exist on the mainnet.

If you click on the node in the top right, you will see something like this: Offline.

Enter image description here

First of all, is Lightning Terminal running on testnet? There is a setup for the testnet and I am using it.

What on earth am I doing wrong? How do I get LiT to display testnet nodes? Explore I open the page and my node is Online?

Related Articles

Back to top button