|
@ -1,20 +1,20 @@ |
|
|
// Contracts provider
|
|
|
// Contracts provider
|
|
|
const CONTRACTS_PROVIDER_HOST_DEFAULT = '127.0.0.1'; |
|
|
const CONTRACTS_PROVIDER_HOST_DEFAULT = 'http://127.0.0.1'; |
|
|
const CONTRACTS_PROVIDER_PORT_DEFAULT = '8400'; |
|
|
const CONTRACTS_PROVIDER_PORT_DEFAULT = '8400'; |
|
|
const CONTRACTS_VERSION_HASH_DEFAULT = 'latest'; |
|
|
const CONTRACTS_VERSION_HASH_DEFAULT = 'latest'; |
|
|
|
|
|
|
|
|
// Pinner
|
|
|
// Pinner
|
|
|
const PINNER_API_HOST_DEFAULT = '127.0.0.1'; |
|
|
const PINNER_API_HOST_DEFAULT = 'http://127.0.0.1'; |
|
|
const PINNER_API_PORT_DEFAULT = 4444; |
|
|
const PINNER_API_PORT_DEFAULT = 4444; |
|
|
|
|
|
|
|
|
// Rendezvous
|
|
|
// Rendezvous
|
|
|
const RENDEZVOUS_HOST_DEFAULT = '127.0.0.1'; |
|
|
const RENDEZVOUS_HOST_DEFAULT = '/ip4/127.0.0.1'; |
|
|
const RENDEZVOUS_PORT_DEFAULT = '9090'; |
|
|
const RENDEZVOUS_PORT_DEFAULT = '9090'; |
|
|
|
|
|
|
|
|
// Web3 (probably ganache)
|
|
|
// Web3 (probably ganache)
|
|
|
const WEB3_HOST_DEFAULT = '127.0.0.1'; |
|
|
const WEB3_HOST_DEFAULT = 'http://127.0.0.1'; |
|
|
const WEB3_PORT_DEFAULT = '8545'; |
|
|
const WEB3_PORT_DEFAULT = '8545'; |
|
|
const WEB3_HOST_TEST_DEFAULT = '127.0.0.1'; |
|
|
const WEB3_HOST_TEST_DEFAULT = 'http://127.0.0.1'; |
|
|
const WEB3_PORT_TEST_DEFAULT = '8546'; |
|
|
const WEB3_PORT_TEST_DEFAULT = '8546'; |
|
|
const WEB3_PORT_SOCKET_TIMEOUT_DEFAULT = 30000; |
|
|
const WEB3_PORT_SOCKET_TIMEOUT_DEFAULT = 30000; |
|
|
const WEB3_PORT_SOCKET_CONNECT_MAX_ATTEMPTS_DEFAULT = 3; |
|
|
const WEB3_PORT_SOCKET_CONNECT_MAX_ATTEMPTS_DEFAULT = 3; |
|
|