BTC: Lightning Network Capacity Gini
Included with Plus.
How unevenly Lightning Network capacity is spread across nodes, from 0 (every node holds the same) to 1 (one node holds it all), as our node sees the public network.
Why use it. Shows whether visible channel funding is distributed evenly across endpoint public keys. How to read it. Zero means equal positive incident capacity; values nearer one indicate greater concentration. Every node has equal weight, not capacity weight. Channel capacity contributes to both ends, so node incident totals equal twice channel capacity. An empty or zero-total distribution is undefined. This is not inequality between operators or channel balances. Each UTC hour or day shows the latest accepted local snapshot in that bucket, not a whole-period average. Read the source and coverage labels: local capture time, a qualified own-observer/Core response clock, exact-body gossip receive time and signed policy time are different. The latest completed hour needs its own eligible, unexpired capture; a newer response cannot renew an old row. Rows remain partial local-graph observations, not globally final facts. Retained historical values can remain visible when delivery is delayed; their original clocks are not renewed. Missing buckets stay gaps, and history covers only retained prospective captures. SMA, when selected, averages complete adjacent snapshot buckets; it does not add channels or capacity over time, and missing buckets or incomplete warmup leave gaps.
Calculation. For each unique endpoint, sum the exact satoshi capacity of all incident unique channels. Sort these node totals x in ascending order and calculate 2*sum(i*x[i])/(n*sum(x)) - (n+1)/n with i starting at one. Use the unweighted node population, including zero incident totals when present. Integer satoshi/count facts are normalized before calculation; non-integer results use 50-significant-digit Decimal arithmetic with half-even rounding. Use our unfunded Core Lightning observer's retained public gossip and original snapshot calculator, with Bitcoin facts checked against our own Core node. Captures use sequential RPC reads, not an atomic network snapshot. The graph includes Core Lightning's 72-block DYING-channel grace; it is not a global currently unspent-channel census. Private channels, balances, payments, liquidity and operator identities are not measured.