I have my own c-lightning node. listchannels returns 11,455 but explorers, e.g https://explore.casa/ show around 39,000. Do I need to set something to get all channel info?
$ lightning-cli listchannels | grep source | wc 11455 22910 996585
I'm thinking "initial_routing_sync" might be relevant. But I can't find how to use it.
upon receiving an init message with the initial_routing_sync flag set to 1: SHOULD send gossip messages for all known channels and nodes, as if they were just received.
I restarted clightning 3 hours ago but still the count is 8,433. And seems the number stays at the almost same number.
What I did:
1. Stop lightningd 2. Delete /home/lightningd/.lightning/gossip_store 3. Start lightningd 4. Connect to a peer $ lightning-cli connect email@example.com:9735 5. Wait for 3 hours 6. Check the count $ lightning-cli listchannels | grep source | wc 8433 16866 733671