{
  "schema_version": "sg_data_download_metadata.v1",
  "id": "sg-lightning-network",
  "name": "Public Lightning network",
  "description": "Public channels, capacity and nodes a day, as one operator’s node received the gossip.",
  "page": "https://satoshigazette.org/data/network/lightning",
  "dictionary": "https://satoshigazette.org/data/dictionary#sg-lightning-network",
  "version": "1.0.0",
  "latest": {
    "date": "2026-11-20",
    "block_height": null
  },
  "snapshot": "public network of 20 Nov 2026 · read 21 Nov 2026",
  "licence": {
    "name": "CC BY 4.0",
    "title": "Creative Commons Attribution 4.0 International",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "covers": "Satoshi Gazette’s compilation, selection and annotations in the files offered for download.",
    "upstream": "Upstream records keep their own terms, stated per dataset. The Gazette’s articles stay under copyright."
  },
  "cite": "Satoshi Gazette Data Desk, Public Lightning network (sg-lightning-network), version 1.0.0, data through 20 Nov 2026. https://satoshigazette.org/data/downloads/sg-lightning-network.json",
  "sources": [
    {
      "label": "Lightning statistics, mempool.emzy.de",
      "url": "https://mempool.emzy.de/api/v1/lightning/statistics/all"
    },
    {
      "label": "Latest row, with its node total",
      "url": "https://mempool.emzy.de/api/v1/lightning/statistics/latest"
    },
    {
      "label": "mempool’s source code, AGPL-3.0",
      "url": "https://github.com/mempool/mempool"
    }
  ],
  "source_terms": "mempool.emzy.de serves mempool’s terms for an unofficial instance, which grant no data licence and forbid no reuse; accuracy is disclaimed.",
  "files": {
    "json": {
      "url": "https://satoshigazette.org/data/downloads/sg-lightning-network.json",
      "media_type": "application/json",
      "bytes": 213031,
      "sha256": "1383958082471e4a724da958d66e1b8d7a55a5adeb1932aeba791701931b3dc9"
    },
    "csv": {
      "url": "https://satoshigazette.org/data/downloads/sg-lightning-network.csv",
      "media_type": "text/csv",
      "bytes": 138959,
      "sha256": "8be6d6a46da73532935b917688cfe7be9ba9d2078eec7489b40b88c52f472bd4",
      "row_is": "One row per UTC day recorded; 14 days not recorded are listed in the JSON’s gaps and in the notes.",
      "columns": [
        {
          "name": "day",
          "note": "The UTC day the row counts."
        },
        {
          "name": "channels",
          "note": "Public channels in the source’s row for the day."
        },
        {
          "name": "nodes",
          "note": "Public nodes: the sum of the source’s four node counts by address type."
        },
        {
          "name": "capacity_sats",
          "note": "Bitcoin locked in those channels, in satoshis."
        },
        {
          "name": "capacity_btc",
          "note": "The same, in BTC, exact to the satoshi."
        },
        {
          "name": "endpoint",
          "note": "Which of the source’s reads the row was taken from: statistics/all or statistics/1m."
        },
        {
          "name": "served_at",
          "note": "The source’s Date header on that read, UTC."
        },
        {
          "name": "sha256",
          "note": "sha256 of that response as served."
        }
      ]
    }
  },
  "csv_absent": null,
  "notes": [
    "Read from mempool.emzy.de, an instance of mempool’s software run by Stephan Oeste (Emzy). Private channels cannot be counted. Capacity is the bitcoin locked in public channels, not the amount that can be sent through them. Counts are the public network as mempool.emzy.de’s node received it that day; other collectors’ counts differ.",
    "Not recorded: 17 Sep 2024, mempool.emzy.de’s statistics hold no row.",
    "Not recorded: 18 Sep 2024, mempool.emzy.de’s statistics hold no row.",
    "Not recorded: 19 Sep 2024, mempool.emzy.de’s statistics hold no row.",
    "Not recorded: 20 Sep 2024, mempool.emzy.de’s statistics hold no row.",
    "Not recorded: 21 Sep 2024, mempool.emzy.de’s statistics hold no row.",
    "Not recorded: 22 Sep 2024, mempool.emzy.de’s statistics hold no row.",
    "Not recorded: 31 Aug 2026, mempool.emzy.de’s statistics hold no row.",
    "Not recorded: 1 Sep 2026, mempool.emzy.de’s statistics hold no row.",
    "Not recorded: 2 Sep 2026, mempool.emzy.de’s statistics hold no row.",
    "Not recorded: 3 Sep 2026, mempool.emzy.de’s statistics hold no row.",
    "Not recorded: 4 Sep 2026, mempool.emzy.de’s statistics hold no row.",
    "Not recorded: 5 Sep 2026, mempool.emzy.de’s statistics hold no row.",
    "Not recorded: 6 Sep 2026, mempool.emzy.de’s statistics hold no row.",
    "Not recorded: 7 Sep 2026, mempool.emzy.de’s statistics hold no row.",
    "Recorded as read: 25 Aug 2025, Nodes rose from 11,593 to 16,987 in a day while channels and capacity held; every later day in mempool.emzy.de’s history keeps the new level."
  ]
}
