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<()> {
713
713
714
714
let max_scores = get_max_scores ( pool) . await ?;
715
715
716
+ println ! ( "\n Submitter Scores Summary:" ) ;
717
+ println ! ( "Current maximum score possible: {}" , max_scores. current) ;
718
+ println ! ( "Total maximum score possible: {}" , max_scores. total) ;
716
719
println ! ( "\n Submitter Scores:" ) ;
717
720
println ! ( "--------------------------------------------------------" ) ;
718
721
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"
720
723
) ;
721
724
println ! ( "--------------------------------------------------------" ) ;
722
725
@@ -728,13 +731,11 @@ pub async fn view_scores(pool: &SqlitePool, config: &Config) -> Result<()> {
728
731
} ;
729
732
730
733
println ! (
731
- "{:<40} | {:>5} | {:>6.2}% | {:>6} | {:>11} | {:>9} | { } | {}" ,
734
+ "{:<40} | {:>5} | {:>6.2}% | {:>6} | {} | {}" ,
732
735
row. public_key,
733
736
row. score,
734
737
percentage,
735
738
row. blocks_produced,
736
- max_scores. current,
737
- max_scores. total,
738
739
row. last_updated. unwrap_or_default( ) ,
739
740
row. last_heartbeat. unwrap_or_default( )
740
741
) ;
You can’t perform that action at this time.
0 commit comments