$ lncli describegraph | grep \"55555\": | grep -v \"0000000000000000\" "55555": "00000000fffffe0c" "55555": "00000000fffffe0c"
Those two channels are those of https://amboss.space/node/025cd50e55b969a418e713b70076333ba1e25929e9e6ec5b937c30a8edc85cc82b. Currently, no other node configured any (negative) inbound fees. Let's hope this changes soon :)
PS: rebalance-lnd automatically takes advantage of negative inbound fees (if you run lnd v0.18), no code change necessary.
jq
command to get all the channels with discountslncli describegraph | jq -r '.edges[] | (select((.node2_policy.custom_records."55555" != null) and (.node2_policy.custom_records."55555" != "0000000000000000") or (.node1_policy.custom_records."55555" != null) and (.node1_policy.custom_records."55555" != "0000000000000000"))) | .channel_id'