IRITA service end
$ npm install# development
$ npm run start
# production mode
$ npm run start:prod- DB_ADDR:
requiredstringdb addr(example:127.0.0.1:27017, 127.0.0.2:27017, ...) - DB_USER:
requiredstringdb user(example:user) - DB_PASSWD:
requiredstringdb password(example:DB_PASSWD) - DB_DATABASE:
requiredstringdatabase name(example:DB_DATABASE)
- LCD_ADDR:
requiredstringlcd address(example:http://192.168.150.32:11317) - RPC_ADDR:
requiredstringrpc address(example:http://192.168.150.32:16657)
- HEARTBEAT_RATE:
Optionalnumberhearbeat rate for monitor(example:10000) - DENOM_EXECUTE_TIME:
Optionalexecute time for denom pull(example: "01 * * * * *") - NFT_EXECUTE_TIME:
Optionalexecute time for nft pull(example: "21 * * * * *") - TX_SERVICE_NAME_EXECUTE_TIME:
Optionalexecute time for nft pull(example: "30 * * * * *") - FAULT_TOLERANCE_EXECUTE_TIME:
Optionalstringexecute time for fault tolerance(example: "41 * * * * *") - VALIDATORS_EXECTUTE_TIME
Optionalexecute time for validators pull(example: "1 * * * * *") - IDENTITY_EXECUTE_TIME
Optionalexecute time for identity pull(example: "1 * * * * *") - STAKING_VALIDATORS_INFO_TIME
Optionalexecute time for stakingValidators info pull(example: "15 * * * * *") - STAKING_VALIDATORS_MORE_INFO_TIME
Optionalexecute time for stakingValidators more info pull(example: "0 */5 * * * *") - STAKING_PARAMETERS
Optionalexecute time for parameters pull(example: "10 * * * * *") - TOKENS
Optionalexecute time for parameters pull(example: "5 * * * * *") - PROPLSAL
Optionalexecute time for proplsal pull(example: "25 * * * * *") - ACCOUNT_EXECUTE_TIME
Optionalexecute time for account pull(example: "35 * * * * *") - ACCOUNT_INFO_EXECUTE_TIME
Optionalexecute time for account info pull(example: "* */10 * * * *") - SYNC_TX_SERVICE_NAME_SIZE:
Optionalnumberexecute time for fault tolerance(default 200) - INCREASE_HEIGHT
Optionalnumberincrease height for sync nft (default 1000) - MAX_OPERATE_TX_COUNT
Optionalnumberlimit operate tx count (default 100) - CRON_JOBS
Optionalarrayname of the synchronization task performed (example: ["ex_sync_denom","ex_sync_nft","sync_tx_service_name","sync_validators","sync_identity","staking_sync_validators_info","staking_sync_validators_more_info","staking_sync_parameters","tokens","ex_sync_proposal"]) - PROPOSALS_LIMIT
Optionalnumberproposals limit for sync proposal (default 1000)
- CURRENT_CHAIN
Optionalstringchain name (example: iris/cosmos/binance)
- DisableLog:
Optionalstringdisable Logtrue/false