Mon Jul 15 09:22:45 CST 2019 Source Update...
This commit is contained in:
@@ -18,17 +18,19 @@ var StartTimeConnecting = 0;
|
||||
var ConnectedCount = 0;
|
||||
var NETWORK = "TERA-MAIN";
|
||||
var ServerMap = {};
|
||||
var ServerMainMap = {"127.0.0.1":{"ip":"127.0.0.1", "port":80, "Name":"LOCAL"}, "t2.teraexplorer.com":{"ip":"t2.teraexplorer.com",
|
||||
"port":443, "Name":"t2.teraexplorer.com", "System":1}, "t3.teraexplorer.com":{"ip":"t3.teraexplorer.com", "port":443, "Name":"t3.teraexplorer.com",
|
||||
"System":1}, "t4.teraexplorer.com":{"ip":"t4.teraexplorer.com", "port":443, "Name":"t4.teraexplorer.com", "System":1}, "t5.teraexplorer.com":{"ip":"t5.teraexplorer.com",
|
||||
"port":443, "Name":"t5.teraexplorer.com", "System":1}, "dappsgate.com":{"ip":"dappsgate.com", "port":80, "Name":"SUPPORT2",
|
||||
"System":1}, "t1.teraexplorer.com":{"ip":"t1.teraexplorer.com", "port":80, "Name":"t1.teraexplorer.com", "System":1}, };
|
||||
var ServerMainMap = {"127.0.0.1":{"ip":"127.0.0.1", "port":80, "Name":"LOCAL"}, "terawallet.org":{"ip":"terawallet.org", "port":443,
|
||||
"Name":"terawallet", "System":1}, "teraexplorer.org":{"ip":"teraexplorer.org", "port":443, "Name":"teraexplorer", "System":1},
|
||||
"t2.teraexplorer.com":{"ip":"t2.teraexplorer.com", "port":443, "Name":"t2.teraexplorer.com", "System":1}, "t3.teraexplorer.com":{"ip":"t3.teraexplorer.com",
|
||||
"port":443, "Name":"t3.teraexplorer.com", "System":1}, "t4.teraexplorer.com":{"ip":"t4.teraexplorer.com", "port":443, "Name":"t4.teraexplorer.com",
|
||||
"System":1}, "t5.teraexplorer.com":{"ip":"t5.teraexplorer.com", "port":443, "Name":"t5.teraexplorer.com", "System":1}, "dappsgate.com":{"ip":"dappsgate.com",
|
||||
"port":80, "Name":"SUPPORT2", "System":1}, "t1.teraexplorer.com":{"ip":"t1.teraexplorer.com", "port":80, "Name":"t1.teraexplorer.com",
|
||||
"System":1}, };
|
||||
var ServerTestMap = {"127.0.0.1":{"ip":"127.0.0.1", "port":80, "Name":"LOCAL"}, "dappsgate.com":{"ip":"dappsgate.com", "port":88,
|
||||
"Name":"SUPPORT2", "System":1}, };
|
||||
|
||||
function StartWebWallet()
|
||||
{
|
||||
if(NETWORK === "TERA-TEST2")
|
||||
if(NETWORK === "TERA-TEST3")
|
||||
{
|
||||
MIN_SUM_POWER = 0;
|
||||
ServerMap = ServerTestMap;
|
||||
|
||||
@@ -1225,9 +1225,25 @@
|
||||
if(!Month)
|
||||
return;
|
||||
|
||||
|
||||
var AvgTotal=0;
|
||||
for(var i=0;i<ArrInfo.length;i++)
|
||||
{
|
||||
var Item=ArrInfo[i];
|
||||
AvgTotal+=Item.AvgPow;
|
||||
}
|
||||
AvgTotal=AvgTotal/ArrInfo.length;
|
||||
|
||||
function ValueToY(Value)
|
||||
{
|
||||
return obj.height-(Value-Math.floor(Value/2));
|
||||
var Y=Value-3*AvgTotal/4;
|
||||
if(Y<0)
|
||||
if(Value>=2)
|
||||
Y=1;
|
||||
else
|
||||
Y=0;
|
||||
|
||||
return obj.height-Y*2;
|
||||
}
|
||||
|
||||
var x=0;
|
||||
|
||||
@@ -638,7 +638,7 @@
|
||||
<div id="idStatus" class="fixed-status__status"> </div>
|
||||
<select class="grey-btn" id="idCurNetwork" onchange="ChangeNetwork()">
|
||||
<option value="TERA-MAIN">TERA MAIN</option>
|
||||
<option value="TERA-TEST2">TERA TEST2</option>
|
||||
<option value="TERA-TEST3">TERA TEST3</option>
|
||||
</select>
|
||||
<button class="grey-btn reconnect" onclick="ConnectWebWallet()" title="Reconnect"><span>RECONNECT</span></button>
|
||||
<!--рудименты-->
|
||||
|
||||
Reference in New Issue
Block a user