wallets: show status codes descriptions

This commit is contained in:
crackfoo 2016-04-28 05:18:11 +02:00 committed by Tanguy Pruvot
parent d32c673fa9
commit 3516e623f5

View file

@ -78,16 +78,20 @@ foreach($coins as $coin)
if($coin->enable)
{
echo "u";
if($coin->auto_ready) echo '<span style="color: green;"> a</span>';
else echo '<span style="color: red;"> d</span>';
echo '<span title="coin enabled">u</span>';
if($coin->auto_ready) echo '<span style="color: green;" title="active on stratum"> a</span>';
else echo '<span style="color: red;" title="disconnected from stratum"> d</span>';
if($coin->visible) echo '<span title="visible to public">v</span>';
else echo '&nbsp;';
echo '<br>';
if($coin->visible) echo "v";
else echo '&nbsp;';
if($coin->auxpow) echo '<span title="aux pow enabled"> x</span>';
if($coin->auxpow) echo " x";
if($coin->rpccurl) echo '<span title="rpc curl enabled"> c</span>';
if($coin->rpcssl) echo '<span title="rpc ssl enabled"> s</span>';
if($coin->block_height < $coin->target_height)
{