-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconstants.ts
More file actions
18 lines (15 loc) · 778 Bytes
/
constants.ts
File metadata and controls
18 lines (15 loc) · 778 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// API endpoints
export const GLIF_API_ENDPOINT = 'https://api.node.glif.io/rpc/v0';
export const GITHUB_API_URL = 'https://api.github.com';
// GitHub repository info
export const GITHUB_OWNER = 'filecoin-project';
export const NOTARY_GOVERNANCE_REPO = 'notary-governance';
// File paths for data
export const RAW_DATA_PATH = './data/raw';
export const PROCESSED_DATA_PATH = './data/processed';
export const GENERATED_DATA_PATH = './data/generated';
// Timing and numeric constants
export const TIMEOUT = 5000;
export const FIL_BLOCK_TIME = 30; // seconds per Filecoin block
export const FILECOIN_GENESIS_UNIX_EPOCH = 1598306400; // Unix epoch time for Filecoin genesis block
export const VERIFIER_APPLICATION_MIN_VALID_FIELDS = 4; // minimal valid fields for an application