@@ -206,6 +206,8 @@ fd_gui_new( void * shmem,
206206 gui -> summary .slot_caught_up = ULONG_MAX ;
207207 gui -> summary .slot_repair = ULONG_MAX ;
208208 gui -> summary .slot_turbine = ULONG_MAX ;
209+ gui -> summary .slot_reset = ULONG_MAX ;
210+ gui -> summary .slot_storage = ULONG_MAX ;
209211
210212 for ( ulong i = 0UL ; i < (FD_GUI_REPAIR_SLOT_HISTORY_SZ + 1UL ); i ++ ) gui -> summary .slots_max_repair [ i ].slot = ULONG_MAX ;
211213 for ( ulong i = 0UL ; i < (FD_GUI_TURBINE_SLOT_HISTORY_SZ + 1UL ); i ++ ) gui -> summary .slots_max_turbine [ i ].slot = ULONG_MAX ;
@@ -2679,15 +2681,27 @@ fd_gui_handle_tower_update( fd_gui_t * gui,
26792681 slot -> reset_slot = tower -> reset_slot ;
26802682
26812683 try_publish_vote_status ( gui , tower -> replay_slot );
2684+
2685+ if ( FD_LIKELY ( gui -> summary .slot_reset != tower -> reset_slot ) ) {
2686+ gui -> summary .slot_reset = tower -> reset_slot ;
2687+ fd_gui_printf_reset_slot ( gui );
2688+ fd_http_server_ws_broadcast ( gui -> http );
2689+ }
26822690}
26832691
26842692void
26852693fd_gui_handle_replay_update ( fd_gui_t * gui ,
26862694 fd_gui_slot_completed_t * slot_completed ,
26872695 fd_hash_t const * block_hash ,
26882696 ulong vote_slot ,
2697+ ulong storage_slot ,
26892698 long now ) {
26902699 (void )now ;
2700+ if ( FD_LIKELY ( gui -> summary .slot_storage != storage_slot ) ) {
2701+ gui -> summary .slot_storage = storage_slot ;
2702+ fd_gui_printf_storage_slot ( gui );
2703+ fd_http_server_ws_broadcast ( gui -> http );
2704+ }
26912705
26922706 if ( FD_UNLIKELY ( gui -> summary .boot_progress .catching_up_first_replay_slot == ULONG_MAX ) ) {
26932707 gui -> summary .boot_progress .catching_up_first_replay_slot = slot_completed -> slot ;
0 commit comments