Which one of your channels are you always failing to route through ? for scid in $(lc listpeers |jq -r '.peers | map(.channels[].short_channel_id)[]');do echo "$scid failed $(lc listforwards |jq -r '.forwards | map(select(.status | contains("failed")).out_channel)' |grep $scid |wc -l) times";done Which ones are often succeeding ? for scid in $(lc listpeers |jq -r '.peers | map(.channels[].short_channel_id)[]');do echo "$scid succeeded $(lc listforwards |jq -r '.forwards | map(select(.status | contains("settled")).out_channel)' |grep $scid |wc -l) times";done All-in-one version for scid in $(lc listpeers |jq -r '.peers | map(.channels[].short_channel_id)[]');do echo "$scid : (success / failure) ($(lc listforwards |jq -r '.forwards | map(select(.status | contains("settled")).out_channel)' |grep $scid |wc -l) / $(lc listforwards |jq -r '.forwards | map(select(.status | contains("failed")).out_channel)' |grep $scid |wc -l))";done
This should be ported to the summary plugin, like a
routing-summary
command