diff --git a/Bin/Light/Tera-light.zip b/Bin/Light/Tera-light.zip index de97891..28682fb 100644 Binary files a/Bin/Light/Tera-light.zip and b/Bin/Light/Tera-light.zip differ diff --git a/Bin/Light/tera_light_setup.exe b/Bin/Light/tera_light_setup.exe index e189d46..33b171c 100644 Binary files a/Bin/Light/tera_light_setup.exe and b/Bin/Light/tera_light_setup.exe differ diff --git a/Source/core/constant.js b/Source/core/constant.js index c477ba6..db5f951 100644 --- a/Source/core/constant.js +++ b/Source/core/constant.js @@ -8,18 +8,18 @@ * Telegram: https://web.telegram.org/#/im?p=@terafoundation */ -global.UPDATE_CODE_VERSION_NUM = 922; -global.MIN_CODE_VERSION_NUM = 884; +global.UPDATE_CODE_VERSION_NUM = 923; +global.MIN_CODE_VERSION_NUM = 920; global.MINING_VERSION_NUM = 3; global.InitParamsArg = InitParamsArg; global.CONST_NAME_ARR = ["AUTO_CORRECT_TIME", "DELTA_CURRENT_TIME", "COMMON_KEY", "NODES_NAME", "SERVER_PRIVATE_KEY_HEX", "USE_NET_FOR_SERVER_ADDRES", "NET_WORK_MODE", "STAT_MODE", "MAX_STAT_PERIOD", "HTTP_PORT_NUMBER", "HTTP_PORT_PASSWORD", "HTTP_IP_CONNECT", "WALLET_NAME", "WALLET_DESCRIPTION", "USE_HARD_API_V2", "COUNT_VIEW_ROWS", "USE_HINT", "ALL_VIEW_ROWS", "ALL_LOG_TO_CLIENT", "LOG_LEVEL", "USE_MINING", "MINING_START_TIME", "MINING_PERIOD_TIME", "POW_MAX_PERCENT", "COUNT_MINING_CPU", "SIZE_MINING_MEMORY", "POW_RUN_COUNT", -"POW_RUN_COUNT_FIND", "USE_AUTO_UPDATE", "RESTART_PERIOD_SEC", "MAX_GRAY_CONNECTIONS_TO_SERVER", "TRANSACTION_PROOF_COUNT", -"UPDATE_NUM_COMPLETE", "LIMIT_SEND_TRAFIC", "WATCHDOG_DEV", "ADDRLIST_MODE", "CheckPointDelta", "MIN_VER_STAT", "DEBUG_WALLET", -"HTTP_HOSTING_PORT", "HTTPS_HOSTING_DOMAIN", "HTTP_MAX_COUNT_ROWS", "WATCHDOG_BADACCOUNT", "COREY_WATCH_DOG", "MAX_CONNECTIONS_COUNT", -"TRUST_PROCESS_COUNT", ]; +"USE_AUTO_UPDATE", "RESTART_PERIOD_SEC", "MAX_GRAY_CONNECTIONS_TO_SERVER", "TRANSACTION_PROOF_COUNT", "UPDATE_NUM_COMPLETE", +"LIMIT_SEND_TRAFIC", "WATCHDOG_DEV", "ADDRLIST_MODE", "CheckPointDelta", "MIN_VER_STAT", "DEBUG_WALLET", "HTTP_HOSTING_PORT", +"HTTPS_HOSTING_DOMAIN", "HTTP_MAX_COUNT_ROWS", "WATCHDOG_BADACCOUNT", "COREY_WATCH_DOG", "MAX_CONNECTIONS_COUNT", "TRUST_PROCESS_COUNT", +]; global.REST_BLOCK_SCALE = 1000; global.USE_HARD_API_V2 = 0; global.USE_TICKET = 0; @@ -47,7 +47,6 @@ global.WALLET_NAME = "TERA"; global.WALLET_DESCRIPTION = ""; global.USE_MINING = 0; global.POW_MAX_PERCENT = 50; -global.POW_RUN_COUNT_FIND = 1000; global.POW_RUN_COUNT = 5000; global.POWRunPeriod = 1; global.CheckPointDelta = 20; diff --git a/Source/process/api-exchange.js b/Source/process/api-exchange.js index be10992..960ceaa 100644 --- a/Source/process/api-exchange.js +++ b/Source/process/api-exchange.js @@ -39,7 +39,7 @@ WebApi2.CreateAccount = function (Params,response) return {result:0, Meta:Params ? Params.Meta : undefined}; }; var MapSendID = {}; -WebApi2.Send = function (Params,response,bJsonRet) +WebApi2.Send = function (Params,response,A,bJsonRet) { if(typeof Params !== "object") return {result:0}; @@ -193,7 +193,7 @@ WebApi2.CreateRawTransaction = function (Params) { if(typeof Params === "object") { - var Ret = WebApi2.Send(Params, undefined, 1); + var Ret = WebApi2.Send(Params, undefined, undefined, 1); TxArrToHex(Ret.Tx); Ret.Meta = Params.Meta; return Ret;