From 13c0ea269935befaa756e254f8fb31b6a6cc5faa Mon Sep 17 00:00:00 2001 From: "progr76@gmail.com" Date: Sun, 17 Mar 2019 11:51:59 +0300 Subject: [PATCH] 0.923 --- Bin/Light/Tera-light.zip | Bin 120691 -> 120691 bytes Bin/Light/tera_light_setup.exe | Bin 705694 -> 705695 bytes Source/core/constant.js | 13 ++++++------- Source/process/api-exchange.js | 4 ++-- 4 files changed, 8 insertions(+), 9 deletions(-) diff --git a/Bin/Light/Tera-light.zip b/Bin/Light/Tera-light.zip index de9789139247be49ef753bc5525b2d143a3204c8..28682fbcd07addf013188151d13ecbd32cd9141f 100644 GIT binary patch delta 1061 zcmeyoj{WmGcHRJQW)=|!1_lm>(%8a{yhY;7<*|jEo5b1Wm@8rnC-<1jGXo_yuQTQ3 z01NE0l>-ahw%x%9W=ylMRR=S~(mykS89Z6;++apnsV#&ttw96AIN03-Q4`R|!U|Rs zK6w{Em?5$_Kmp81Km1Mw%!qhVAPjcR>ECU0L5%GoGa1FX!K}O`jJ85x*1Bzs-ymYk z4>9g#2kG3Nev0um*q-U3XBn+{uh}1Hn|tR9quN1-uDR3aoMk)((m6fz98hkm-n50?TE@g5>VQ%=~$Q(N6tbCz2e{ajtA)k{;_ZeG+$( z(ORA1KSXh53(z1uiVs|5v`|;{Jq)(Bb2UV9dI)xt zE@3ASil-Y~hKAA0OTbu55%>(2Tm2K{SGb(lWkxezuIXREa=R6rfO5SseakNc!*9zj zy>^h7&bWi*USDP`2Zwv=6-HBad(jB6+?_n298k@SlbAjMC7Xj+7;V)ZHp~Dgo3~RT ziv7zaFai{$SoJES4eyd!Gr@}ao`7u4y9)FPNUq~5qc!jM*jZpXd2V2en0^5!_X?!X z@)tx--v~v{_Zl#gqC94U^}$loDLZit2Y`~)`fI?XvE}1_aFBo#^7Jp)7$eod_5pp_ c*~KtX{17N5u(E-Ys5B6Y15>NpSw=4k~Rd5grETc#CkZW3pgWA>j}FuBK6o*5{yd7UXI z2UuX2tsGe3w(Sl^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`Xp#L=a7c5D( z<+NjKe{b7>h-!@UD^bP6Ge{>;V9Z2W(M?6yO1e z6yO4f6yO856yO9f5)CcT_?z_t0005#60=~JQSt;Rf9oVf4nS&sQ6qZa<2;nF7#dLZ zD>gSQ5>2}5u+#HLU+!OPS{nbxiiBk(%RSZl=2Ik;|Dm8Nk!%vL%_?yIE)}s=S~U#l za1G8aJ;A?!mp{RnnV_oI@`fU<8cNa_@fd1Ngbe(XJs7|vab)?sO|OhWtCUrsKNda0 z4A)S5e=P_pW&a5?8c+Im_;Xu{cgD;I6z)x59Si?P&@vp5f2&TqQCItCT*PS%n9raRb%*|XA`fA%h*R4ga z%b2;wK&ymaluei5D3yk4!(hM ze_8z2<3Ym^WYR}bNsfLI)vrWFBm}t8m#1K0Q1XEScb6=+3=xRjTQPLxRB_^@eyg+e?L-n(aqKlLObmK?o8HU@@4Oe&!Je7SS}m? zzQ5e=wA!E-Du*i5U#=RBO@g$2;X;0{cn|&WWe+(noal$aoTwRb`U`qikYor&XoZb# z7|waFEjQKUXEWXQZHATx&?dKosv|O<>%FL5j7*55*mH?DCy_weTVJiRybaCzPHnVs zpV+w9&=KMUAkyhbfo?}7BRRYu3`5lroocW)Pb}em!0s91P-qdL>qYoQw#86KIS2x4 zd?Nn@jHK#H`ffm+lTtAAM!)~_0%hEXL-hoQL-hrRL-huSL-hxTL-h!^L-h$<&&LIu APXGV_ 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;