File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
tools/heartbeats-processor/src Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -713,10 +713,13 @@ pub async fn view_scores(pool: &SqlitePool, config: &Config) -> Result<()> {
713713
714714 let max_scores = get_max_scores ( pool) . await ?;
715715
716+ println ! ( "\n Submitter Scores Summary:" ) ;
717+ println ! ( "Current maximum score possible: {}" , max_scores. current) ;
718+ println ! ( "Total maximum score possible: {}" , max_scores. total) ;
716719 println ! ( "\n Submitter Scores:" ) ;
717720 println ! ( "--------------------------------------------------------" ) ;
718721 println ! (
719- "Public Key | Score | Score % | Blocks | Current Max | Total Max | Last Updated | Last Heartbeat"
722+ "Public Key | Score | Score % | Blocks | Last Updated | Last Heartbeat"
720723 ) ;
721724 println ! ( "--------------------------------------------------------" ) ;
722725
@@ -728,13 +731,11 @@ pub async fn view_scores(pool: &SqlitePool, config: &Config) -> Result<()> {
728731 } ;
729732
730733 println ! (
731- "{:<40} | {:>5} | {:>6.2}% | {:>6} | {:>11} | {:>9} | { } | {}" ,
734+ "{:<40} | {:>5} | {:>6.2}% | {:>6} | {} | {}" ,
732735 row. public_key,
733736 row. score,
734737 percentage,
735738 row. blocks_produced,
736- max_scores. current,
737- max_scores. total,
738739 row. last_updated. unwrap_or_default( ) ,
739740 row. last_heartbeat. unwrap_or_default( )
740741 ) ;
You can’t perform that action at this time.
0 commit comments