diff --git a/public/templates/test/statistics/pool/authenticated.tpl b/public/templates/test/statistics/pool/authenticated.tpl deleted file mode 100644 index 67136bb9..00000000 --- a/public/templates/test/statistics/pool/authenticated.tpl +++ /dev/null @@ -1,65 +0,0 @@ -{include file="statistics/pool/contributors_shares.tpl"} - -{include file="statistics/pool/contributors_hashrate.tpl"} - -
-

General Statistics

-
- - - - - - - - - - - - - - - {if $GLOBAL.website.blockexplorer.url} - - - - - {else} - - - - - {/if} - - - - - - - {if ! $GLOBAL.website.chaininfo.disabled} - - {else} - - {/if} - - - - - - - - - - - - - - -
Pool Hash Rate{($GLOBAL.hashrate / 1000)|number_format:"3"} Mhash/s
Pool Efficiency{if $GLOBAL.roundshares.valid > 0}{($GLOBAL.roundshares.valid / ($GLOBAL.roundshares.valid + $GLOBAL.roundshares.invalid) * 100)|number_format:"2"}%{else}0%{/if}
Current Active Workers{$GLOBAL.workers}
Next Network Block{$CURRENTBLOCK + 1}    (Current: {$CURRENTBLOCK})
Next Network Block{$CURRENTBLOCK + 1}    (Current: {$CURRENTBLOCK})
Last Block Found{if $GLOBAL.website.blockexplorer.url}{$LASTBLOCK|default:"0"}{else}{$LASTBLOCK|default:"0"}{/if}
Current Difficulty{$DIFFICULTY}{$DIFFICULTY}
Est. Avg. Time per Round{$ESTTIME|seconds_to_words}
Est. Shares this Round{(pow(2, 32 - $GLOBAL.config.targetdiff) * $DIFFICULTY)|number_format:"0"} (done: {(100 / (pow(2, 32 - $GLOBAL.config.targetdiff) * $DIFFICULTY) * $GLOBAL.roundshares.valid)|number_format:"2"} %)
Time Since Last Block{$TIMESINCELAST|seconds_to_words}
-
- -
- -{include file="statistics/blocks/small_table.tpl" ALIGN="right" SHORT=true} diff --git a/public/templates/test/statistics/pool/default.tpl b/public/templates/test/statistics/pool/default.tpl new file mode 100644 index 00000000..689fb741 --- /dev/null +++ b/public/templates/test/statistics/pool/default.tpl @@ -0,0 +1,7 @@ +{include file="statistics/pool/contributors_shares.tpl"} + +{include file="statistics/pool/contributors_hashrate.tpl"} + +{include file="statistics/pool/general_stats.tpl"} + +{include file="statistics/blocks/small_table.tpl" ALIGN="right" SHORT=true} diff --git a/public/templates/test/statistics/pool/general_stats.tpl b/public/templates/test/statistics/pool/general_stats.tpl new file mode 100644 index 00000000..975eec6b --- /dev/null +++ b/public/templates/test/statistics/pool/general_stats.tpl @@ -0,0 +1,59 @@ +
+

General Statistics

+
+ + + + + + + + + + + + + {if $GLOBAL.website.blockexplorer.url} + + + + {else} + + + + {/if} + + + + + + {else} + + {/if} + + + + + + + + + + + +
Pool Hash Rate{($GLOBAL.hashrate / 1000)|number_format:"3"} Mhash/s
Pool Efficiency + {if $GLOBAL.roundshares.valid > 0}{($GLOBAL.roundshares.valid / ($GLOBAL.roundshares.valid + $GLOBAL.roundshares.invalid) * 100)|number_format:"2"}%{else}0%{/if}
Current Active Workers + {$GLOBAL.workers}
Next Network Block + {$CURRENTBLOCK + 1}    (Current: {$CURRENTBLOCK})
Next Network Block + {$CURRENTBLOCK + 1}    (Current: {$CURRENTBLOCK})
Last Block Found + {if $GLOBAL.website.blockexplorer.url}{$LASTBLOCK|default:"0"}{else}{$LASTBLOCK|default:"0"}{/if}
Current Difficulty + {if ! $GLOBAL.website.chaininfo.disabled} + {$DIFFICULTY}{$DIFFICULTY}
Est. Avg. Time per Round + {$ESTTIME|seconds_to_words}
Est. Shares this Round + {(pow(2, 32 - $GLOBAL.config.targetdiff) * $DIFFICULTY)|number_format:"0"} (done: {(100 / (pow(2, 32 - $GLOBAL.config.targetdiff) * $DIFFICULTY) * $GLOBAL.roundshares.valid)|number_format:"2"} %)
Time Since Last Block + {$TIMESINCELAST|seconds_to_words}
+
+ +