Skip to content

lavanet/jsinfo

Repository files navigation

Js info

Generate migrations

If you make changes to the schema, make migrations:

make create_migrations

Create db

sudo -u postgres dropdb jsinfo
sudo -u postgres createdb jsinfo

sudo -u jsinfo psql

Backup

# Dump
sudo -u jsinfo pg_dump -Fc > db.dump

# Recover
pg_restore -d postgres://localhost:5432/jsinfo jsinfo_db.dump

# Dump for GCP import
sudo -u jsinfo pg_dump --format=p --no-owner --no-acl jsinfo > dump.sql

Run

make run_indexer
make run_query

Docker

make build_bun_docker
make run_docker_compose

Todo

  • QOS per chain per provider graph
  • Screen provider CU by subscription address
  • Move important events from generic events table to custom events table
  • Add QoS Excellence
Latency base:
baseLatencyRelay := (150*ms) po.baseWorldLatency + (100*ms *CU / 2) common.BaseTimePerCU(cu)
baseLatencyProbe: 150*ms
To get the benchmark latency:
150+50*10 = 650

About

No description, website, or topics provided.

Resources

Code of conduct

Stars

Watchers

Forks

Packages

No packages published