Skip to content
Permalink
Browse files

[DDW-684] Improve naming

  • Loading branch information...
nikolaglumac committed Jul 12, 2019
1 parent 0035e11 commit ab14dae3430575bab24ff2edbad455f58464e4a9
@@ -178,11 +178,6 @@ const messages = defineMessages({
defaultMessage: '!!!System Time Ignored',
description: 'System Time Ignored',
},
systemTimeInTolerationMode: {
id: 'daedalus.diagnostics.dialog.systemTimeInTolerationMode',
defaultMessage: '!!!System Time in Toleration Mode',
description: 'System Time in Toleration Mode',
},
checkingNodeTime: {
id: 'daedalus.diagnostics.dialog.checkingNodeTime',
defaultMessage: '!!!Checking Node Time',
@@ -339,7 +334,6 @@ type Props = {
syncPercentage: number,
localTimeDifference: ?number,
isSystemTimeIgnored: boolean,
isSystemTimeInTolerationMode: boolean,
isSystemTimeCorrect: boolean,
isForceCheckingNodeTime: boolean,
latestLocalBlockTimestamp: number,
@@ -488,7 +482,6 @@ export default class DaedalusDiagnostics extends Component<Props, State> {
onCopyStateDirectoryPath,
nodeConnectionError,
isSystemTimeIgnored,
isSystemTimeInTolerationMode,
onOpenExternalLink,
isDev,
isTestnet,
@@ -793,18 +786,6 @@ export default class DaedalusDiagnostics extends Component<Props, State> {
: intl.formatMessage(messages.statusOff)}
</td>
</tr>
<tr>
<th>
{intl.formatMessage(messages.systemTimeInTolerationMode)}:
</th>
<td
className={this.getClassName(!isSystemTimeInTolerationMode)}
>
{isSystemTimeInTolerationMode
? intl.formatMessage(messages.statusOn)
: intl.formatMessage(messages.statusOff)}
</td>
</tr>
<tr>
<th>{intl.formatMessage(messages.checkingNodeTime)}:</th>
<td>
@@ -12,4 +12,4 @@ export const SIMPLE_DECIMAL_PLACES_IN_ADA = 2;
export const UNSYNCED_BLOCKS_ALLOWED = 6;
export const TX_UNCONFIRMED_THRESHOLD = 6;
export const TX_AGE_POLLING_THRESHOLD = 15 * 60 * 1000; // 15 minutes | unit: milliseconds
export const MAX_NTP_TOLERATION_CHECKS = 3;
export const MAX_NTP_RECHECKS = 3;
@@ -15,7 +15,7 @@ export const MAX_ALLOWED_STALL_DURATION = isTest ? 15000 : 2 * 60 * 1000; // 2 m
export const NETWORK_STATUS_REQUEST_TIMEOUT = 30 * 1000; // 30 seconds | unit: milliseconds
export const NETWORK_STATUS_POLL_INTERVAL = 2000; // 2 seconds | unit: milliseconds
export const NTP_IGNORE_CHECKS_GRACE_PERIOD = isTest ? 500 : 35 * 1000; // 35 seconds | unit: milliseconds
export const NTP_TOLERATION_CHECKS_INTERVAL = 1 * 1000; // 1 second | unit: milliseconds;
export const NTP_RECHECKS_INTERVAL = 1 * 1000; // 1 second | unit: milliseconds;
export const BLOCK_CONSOLIDATION_IPC_REQUEST_INTERVAL = 10 * 1000; // 10 seconds | unit: milliseconds
export const BLOCK_CONSOLIDATION_API_REQUEST_INTERVAL = 30 * 1000; // 30 seconds | unit: milliseconds
export const WALLET_UTXO_API_REQUEST_INTERVAL = 5 * 1000; // 5 seconds | unit: milliseconds
@@ -68,7 +68,6 @@ export default class DaedalusDiagnosticsDialog extends Component<Props> {
latestLocalBlockTimestamp,
latestNetworkBlockTimestamp,
isSystemTimeIgnored,
isSystemTimeInTolerationMode,
environment,
diskSpaceAvailable,
tlsConfig,
@@ -126,7 +125,6 @@ export default class DaedalusDiagnosticsDialog extends Component<Props> {
isSystemTimeCorrect={isSystemTimeCorrect}
isForceCheckingNodeTime={forceCheckTimeDifferenceRequest.isExecuting}
isSystemTimeIgnored={isSystemTimeIgnored}
isSystemTimeInTolerationMode={isSystemTimeInTolerationMode}
latestLocalBlockTimestamp={latestLocalBlockTimestamp}
latestNetworkBlockTimestamp={latestNetworkBlockTimestamp}
nodeConnectionError={
@@ -95,7 +95,6 @@
"daedalus.diagnostics.dialog.system.info": "SYSTEM INFO",
"daedalus.diagnostics.dialog.systemTimeCorrect": "System Time Correct",
"daedalus.diagnostics.dialog.systemTimeIgnored": "System Time Ignored",
"daedalus.diagnostics.dialog.systemTimeInTolerationMode": "!!!System Time in Toleration Mode",
"environment.apiName.cardano": "!!!Cardano",
"environment.currency.ada": "!!!Ada",
"global.assuranceLevel.normal": "!!!Normal",

0 comments on commit ab14dae

Please sign in to comment.
You can’t perform that action at this time.