Git Product home page Git Product logo

rippled-network-crawler's Introduction

XRPL Network Crawler

The network crawler looks for all nodes on the XRPL network. The crawler starts with a single rippled IP address, and queries its /crawl endpoint to get other peers connected to it. All of these nodes are added to the list, and any that also have an IP listed via the endpoint is then queried to find more nodes. The process is repeated until no new nodes with IP addresses are found. The interval between network crawls is 2 minutes. The full results of each crawl are added to the crawls table.

Geolocation

Nodes from the latest crawl with IP addresses are geolocated every 24 hours. This data is saved into the location table.

Setup

Clone the repo, create a config.json file (refer to example-config.json). Enter your PostgreSQL connection details and entry IP, then:

$ npm install
$ node setup <--- db initialization

Then run the service with $ node index

DB Tables

  • crawls

    • start
    • end
    • nodes_count
    • connections_count
    • nodes
    • connections
  • location

    • pubkey
    • ip
    • updated
    • location_source
    • long
    • lat
    • continent
    • country_code
    • country
    • region
    • city
    • postal_code
    • region_code
    • country_code
    • timezone
    • org
    • domain
    • isp

rippled-network-crawler's People

Contributors

hthayko avatar intelliot avatar mayurbhandary avatar natenichols avatar shekenahglory avatar sourencho avatar stephengu avatar tdfischer avatar wilsonianb avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.