Skip to content

Populates escher data into mongodb

License

Notifications You must be signed in to change notification settings

ubiq/escher-crawler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Escher-crawler

Populates mongodb with Escher data (proposals/airdrops)

setup

npm install
cp config.json.template ./config.json

configure via config.json

{
  "gubiq": "127.0.0.1:8588",

  "mongodb": {
    "user": "escher",
    "password": "UBQ4Lyfe",
    "database": "escherdb",
    "address": "localhost",
    "port": 27017
  },

  "intervals": {
    "block": "10s",
    "fast": "44s",
    "full": "7200s"
  }
}

intervals

block: how often to check for a new block
fast: fast sync, adds any new claims/votes (does not update existing)
full: full sync, updates existing claims/votes and adds new (can be quite intensive with thousands of votes/claims)

run

npm start

About

Populates escher data into mongodb

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published