@@ -137,6 +137,9 @@ func makeNodeInfoTab(g *Gui) fyne.CanvasObject {
137
137
// widget.NewLabel("Gen. SHA256::\t\t"), genesisChecksumLabel,
138
138
// )
139
139
140
+ nodeCatchingData := binding .NewString ()
141
+ nodeCatchingLabel := widget .NewLabelWithData (nodeCatchingData )
142
+
140
143
// Numerical validators status
141
144
activeValidatorsData := binding .NewInt ()
142
145
activeValidatorsLabel := widget .NewLabelWithData (binding .IntToString (activeValidatorsData ))
@@ -205,6 +208,7 @@ func makeNodeInfoTab(g *Gui) fyne.CanvasObject {
205
208
widget .NewFormItem ("ChainID:" , chainIDLabel ),
206
209
widget .NewFormItem ("Moniker:" , monikerLabel ),
207
210
widget .NewFormItem ("Val.Status:" , validatorStatusLabel ),
211
+ widget .NewFormItem ("Node Status:" , nodeCatchingLabel ),
208
212
widget .NewFormItem ("Block:" , latestBlockLabel ),
209
213
widget .NewFormItem ("Latest Block:" , lastProducedLabel ),
210
214
widget .NewFormItem ("Produced:" , producedBlocksLabel ),
@@ -316,6 +320,12 @@ func makeNodeInfoTab(g *Gui) fyne.CanvasObject {
316
320
chainIDData .Set (dashboardData .ChainID )
317
321
// dateData.Set(dashboardData.Date)
318
322
streakData .Set (dashboardData .Streak )
323
+
324
+ if dashboardData .CatchingUp {
325
+ nodeCatchingData .Set ("Syncing" )
326
+ } else {
327
+ nodeCatchingData .Set ("Running" )
328
+ }
319
329
// dashboardData.CatchingUp,
320
330
// widget.NewLabel()
321
331
0 commit comments