I have setup a lightning node on testnet using c-lightning. The lightning-cli getinfo command output:
{
"id" : "0315a5746114ab9f3e8f0a3f2f73153ef1e4a8fb58daa54fa97c9603dfab989a30",
"alias" : "snjnode",
"color" : "ff9900",
"num_peers" : 0,
"num_pending_channels" : 0,
"num_active_channels" : 0,
"num_inactive_channels" : 0,
"address" : [
{
"type" : "ipv4",
"address" : "103.72.61.18",
"port" : 9735
}
],
"binding" : [],
"version" : "v0.7.0-408-g0c189fe",
"blockheight" : 1519822,
"network" : "testnet",
"msatoshi_fees_collected" : 0,
"fees_collected_msat" : "0msat"
}
But lightning-cli listchannels and listnodes return empty values:
{
"nodes" : []
}
It should return the list of all nodes in the testnet network right? What is wrong?