🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

github.com/ConsenSys/fc-latency-map

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/ConsenSys/fc-latency-map

v1.0.0-beta
Source
Go
Version published
Created
Source

FC Latency Map

CI pipeline Go Report Card

MIT Licensed Apache Licensed

Description

FC Latency Map is a service for Filecoin decentralized storage network to obtain the global latencies of all active miners.

It uses Ripe Atlas to collect measurements of active miners from relevant locations around the world.

Requirement

  • Docker installed.

  • 10Gb of free disk space.

How it works

See technical design documentation for details on how the FC Latency Map works.

See Manager documentation for details on starting the manager.

See Map documentation for details on starting the map.

Quickstart

Get the project

Clone the project locally:

git clone https://github.com/ConsenSys/fc-latency-map.git

Build the project

Build all the Docker images required to start the project:

make

Change default config

During build phase, .env config files were generated in ./manager/ and ./map/. To start the services, change the 2 default values on the manager config file.

Edit ./manager/.env and change:

[...]
FILECOIN_NODE_URL=changeme
[...]
RIPE_API_KEY=changeme

Start the project

Finally, start the services:

make run

The Fc Latency Map should be available at: https://localhost:3000

Examples

Example of Filecoin Latency Map:

Example of Filecoin Latency Map with Location and Miner selected:

FAQs

Package last updated on 26 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts