slate/node_common/constants.js

17 lines
678 B
JavaScript
Raw Normal View History

2020-06-17 21:05:13 +03:00
export const POLLING_RATE = 5000;
export const MAX_BUCKET_COUNT = 100;
export const POWERGATE_HOST = "https://grpcweb.slate.textile.io";
export const IPFS_GATEWAY_URL = "https://slate.textile.io/ipfs";
2020-07-22 12:37:40 +03:00
export const FILE_STORAGE_URL = "./public/static/files/";
export const GITHUB_URL = "https://github.com/filecoin-project/slate";
2020-08-17 04:59:06 +03:00
export const ANALYTICS_URL = "https://slate-stats-dev.azurewebsites.net/";
// NOTE(jim): 4 GB from Ignacio
export const TEXTILE_ACCOUNT_BYTE_LIMIT = 1073741824 * 4;
// NOTE(jim): 4 GB - minus .textileseed
export const TEXTILE_BUCKET_LIMIT = TEXTILE_ACCOUNT_BYTE_LIMIT - 234;
// NOTE(jim): 100mb
export const MIN_ARCHIVE_SIZE_BYTES = 104857600;