Sat Jul 20 20:40:02 CST 2019 Source Update...
This commit is contained in:
@@ -36,9 +36,9 @@ setTimeout(function ()
|
||||
global.glCurNumFindArr = 0;
|
||||
global.ArrReconnect = [];
|
||||
global.ArrConnect = [];
|
||||
var FindList = [{"ip":"91.235.136.81", "port":30005}, {"ip":"149.154.70.158", "port":30000}, {"ip":"185.240.243.182", "port":30000},
|
||||
{"ip":"212.109.197.205", "port":30000}, {"ip":"212.109.197.209", "port":30000}, {"ip":"80.87.192.24", "port":30000}, {"ip":"teraexplorer.org",
|
||||
"port":30000}, ];
|
||||
var FindList = [{"ip":"91.235.136.81", "port":30000}, {"ip":"dappsgate.com", "port":30000}, {"ip":"185.240.243.182", "port":30000},
|
||||
{"ip":"t1.teraexplorer.com", "port":30000}, {"ip":"t2.teraexplorer.com", "port":30000}, {"ip":"t4.teraexplorer.com", "port":30000},
|
||||
{"ip":"teraexplorer.org", "port":30000}, ];
|
||||
if(global.LOCAL_RUN)
|
||||
{
|
||||
FindList = [{"ip":"127.0.0.1", "port":50001}, {"ip":"127.0.0.1", "port":50002}];
|
||||
@@ -332,7 +332,7 @@ function StartChildProcess(Item)
|
||||
}
|
||||
if(ITEM.Worker)
|
||||
{
|
||||
ITEM.Worker.send({cmd:"Alive"});
|
||||
ITEM.Worker.send({cmd:"Alive", DELTA_CURRENT_TIME:DELTA_CURRENT_TIME});
|
||||
}
|
||||
}, 500);
|
||||
ITEM.RunRPC = function (Name,Params,F)
|
||||
|
||||
@@ -591,7 +591,7 @@ HostingCaller.GetNodeList = function (Params)
|
||||
};
|
||||
var AccountKeyMap = {};
|
||||
var LastMaxNum = 0;
|
||||
HostingCaller.GetAccountListByKey = function (Params,ppp,bRet)
|
||||
HostingCaller.GetAccountListByKey = function (Params,aaa,bbb,bRet)
|
||||
{
|
||||
if(typeof Params !== "object" || !Params.Key)
|
||||
return {result:0, arr:[]};
|
||||
@@ -642,9 +642,13 @@ HostingCaller.GetAccountListByKey = function (Params,ppp,bRet)
|
||||
}
|
||||
var Ret = {result:1, arr:arr};
|
||||
if(bRet)
|
||||
{
|
||||
return Ret;
|
||||
}
|
||||
var Context = GetUserContext(Params);
|
||||
var StrInfo = JSON.stringify(Ret);
|
||||
if(Params.AllData === "0")
|
||||
Params.AllData = 0;
|
||||
if(!Params.AllData && Context.PrevAccountList === StrInfo)
|
||||
{
|
||||
return {result:0, cache:1};
|
||||
@@ -743,7 +747,7 @@ HostingCaller.DappWalletList = function (Params)
|
||||
{
|
||||
if(typeof Params !== "object")
|
||||
return {result:0};
|
||||
var Ret = HostingCaller.GetAccountListByKey(Params, undefined, 1);
|
||||
var Ret = HostingCaller.GetAccountListByKey(Params, undefined, undefined, 1);
|
||||
var Smart = ParseNum(Params.Smart);
|
||||
var arr = [];
|
||||
for(var i = 0; i < Ret.arr.length; i++)
|
||||
|
||||
Reference in New Issue
Block a user