Skip to content

Network Crawlers

The network crawlers collect peer-to-peer topology data from the Gnosis Chain network. Two services work together: nebula discovers peers by crawling the DHT, and ip-crawler enriches those peers with geolocation data.

Components

Crawler Language Purpose Target Database
nebula Go DHT crawling, peer discovery, client metadata collection nebula
ip-crawler Python IP geolocation enrichment via ipinfo.io crawlers_data

Data Flow

Gnosis Chain P2P Network
        |
        v
    nebula (DHT Crawler)
        |
        v
  nebula.visits table
  (peer IPs, agent versions, fork digests)
        |
        v
    ip-crawler
        |
        v
  crawlers_data.ipinfo table
  (city, country, ASN, organization)
        |
        v
    dbt-cerebro (p2p module)
        |
        v
  Peer distribution analytics, geographic heatmaps,
  client version statistics, network health metrics

Downstream Usage

The data collected by these crawlers feeds into the p2p module in dbt-cerebro, which produces analytics including:

  • Geographic distribution of Gnosis Chain nodes
  • Client version adoption and diversity metrics
  • Network topology analysis
  • Peer reachability statistics