forked from DAVFoundation/dav-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
IConfig.d.ts
53 lines (53 loc) · 1.57 KB
/
IConfig.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
import { BlockchainType } from './common-enums';
import { ContractsArtifacts } from './common-types';
export default interface IConfig {
/**
* @property Ethereum blockchain node url.
*/
ethNodeUrl?: string;
/**
* @property Array of Dav API nodes url.
*/
apiSeedUrls?: string[];
/**
* @property Array of Dav kafka nodes url.
*/
kafkaSeedUrls?: string[];
/**
* @property Hop limit, in seconds, for Identity messages to expires (not in use).
*/
identityTtl?: number;
/**
* @property Hop limit, in seconds, for needs subscription to expires.
*/
needTypeTtl?: number;
/**
* @property Hop limit, in seconds, for need registration to expires.
*/
needTtl?: number;
/**
* @property Hop limit, in seconds, for missions to expires.
*/
missionConsumerTtl?: number;
/**
* @property Hop limit, in seconds, for missionProvider to expires (not in use).
*/
missionProviderTtl?: number;
/**
* @property Time, in milliseconds, the timer should delay in between reask kafka for new events.
*/
kafkaBrowserPollingInterval?: number;
/**
* @property Time, in milliseconds, timeout for kafka requests via network node.
*/
kafkaBrowserRequestTimeout?: number;
/**
* @property Blockchain type (local/test/main). for using local blockchain, you must specify contracts.
*/
blockchainType?: BlockchainType;
/**
* @property Contracts artifacts.
*/
contracts?: ContractsArtifacts;
}
//# sourceMappingURL=IConfig.d.ts.map