0 Members and 1 Guest are viewing this topic.
现在正处研发测试期,出啥毛病都不奇怪,也不必还要人打气鼓劲;喝凉水都要呛着的时候,何况是复杂系统功能的测试。对一个交易所来说,稳定与安全是最最至关重要的,多变态的单子都是好测先法子,系统不奔溃个几次,那都不叫测试,测试时不流汗,上线后,那得大概率流血。严酷的测试后,依然无法确保上线后的隐性BUG,强烈建议上线后,试运行一段时间。试运行期间可以场外交易BTSX,场内交易的一律作为测试(生成的BTA不参与外场的任何交易),悬赏攻击,修补健壮系统代码。
Quote from: heyD on July 16, 2014, 01:23:21 pmalt今晚把门窗关紧点,小心bm上门https://bitsharestalk.org/index.php?topic=5660.msg76475#msg76475据悉,bm准备悬赏一千亿比特美元捉拿alt,把他押到美国任bm处置。toast和黑鱼已经准备好皮鞭,手套,铁链,蜡烛和手铐等用品。
alt今晚把门窗关紧点,小心bm上门https://bitsharestalk.org/index.php?topic=5660.msg76475#msg76475
Quote from: Webber on July 16, 2014, 01:25:24 pmQuote from: alt on July 16, 2014, 06:47:18 am我卡在2271块了,从日志很容易发现问题,是本地验证没通过,和以前卡住的原因不同。64位无符号整数相加的结果赋值给64位有符号整数,结果溢出了。5837168575529231657 + 5837448775871972696 - 2^64 = -6772126722308347263如果赋值给无符号整数就不会溢出5837168575529231657 + 5837448775871972696 = 11674617351401204353看来有人下了一个很变态的单Code: [Select]20140716T031500.018909 th_a execute ] xts_fees_collected: {"amount":5837168575529231657,"asset_id":0} xts_paid_by_ask: {"amount":5837448775874750446,"asset_id":0} xts_received_by_bid: {"amount":2777750,"asset_id":0} quote_quantity: {"amount":166665,"asset_id":22} chain_database.cpp:14720140716T031500.019066 th_a extend_chain ] error applying block: 30002 addition_overflow: addition overflowasset addition overflowed {"amount":5837168575529231657,"asset_id":0} + {"amount":5837448775871972696,"asset_id":0} = {"amount":-6772126722308347263,"asset_id":0} {"a":{"amount":5837168575529231657,"asset_id":0},"b":{"amount":5837448775871972696,"asset_id":0},"c":{"amount":-6772126722308347263,"asset_id":0}} th_a asset.cpp:29 operator+= {"quote_id":22,"base_id":0} th_a chain_database.cpp:310 execute {} th_a chain_database.cpp:1110 execute_markets chain_database.cpp:1170无语中 bm说个变态的单是你下的 您在逗大家玩呀我忘记了,我提出了一千亿美元后,以为已经不关我事了。忘记了还有个short单没完全成交来自我的 HUAWEI P7-L00 上的 Tapatalk
Quote from: alt on July 16, 2014, 06:47:18 am我卡在2271块了,从日志很容易发现问题,是本地验证没通过,和以前卡住的原因不同。64位无符号整数相加的结果赋值给64位有符号整数,结果溢出了。5837168575529231657 + 5837448775871972696 - 2^64 = -6772126722308347263如果赋值给无符号整数就不会溢出5837168575529231657 + 5837448775871972696 = 11674617351401204353看来有人下了一个很变态的单Code: [Select]20140716T031500.018909 th_a execute ] xts_fees_collected: {"amount":5837168575529231657,"asset_id":0} xts_paid_by_ask: {"amount":5837448775874750446,"asset_id":0} xts_received_by_bid: {"amount":2777750,"asset_id":0} quote_quantity: {"amount":166665,"asset_id":22} chain_database.cpp:14720140716T031500.019066 th_a extend_chain ] error applying block: 30002 addition_overflow: addition overflowasset addition overflowed {"amount":5837168575529231657,"asset_id":0} + {"amount":5837448775871972696,"asset_id":0} = {"amount":-6772126722308347263,"asset_id":0} {"a":{"amount":5837168575529231657,"asset_id":0},"b":{"amount":5837448775871972696,"asset_id":0},"c":{"amount":-6772126722308347263,"asset_id":0}} th_a asset.cpp:29 operator+= {"quote_id":22,"base_id":0} th_a chain_database.cpp:310 execute {} th_a chain_database.cpp:1110 execute_markets chain_database.cpp:1170无语中 bm说个变态的单是你下的 您在逗大家玩呀
我卡在2271块了,从日志很容易发现问题,是本地验证没通过,和以前卡住的原因不同。64位无符号整数相加的结果赋值给64位有符号整数,结果溢出了。5837168575529231657 + 5837448775871972696 - 2^64 = -6772126722308347263如果赋值给无符号整数就不会溢出5837168575529231657 + 5837448775871972696 = 11674617351401204353看来有人下了一个很变态的单Code: [Select]20140716T031500.018909 th_a execute ] xts_fees_collected: {"amount":5837168575529231657,"asset_id":0} xts_paid_by_ask: {"amount":5837448775874750446,"asset_id":0} xts_received_by_bid: {"amount":2777750,"asset_id":0} quote_quantity: {"amount":166665,"asset_id":22} chain_database.cpp:14720140716T031500.019066 th_a extend_chain ] error applying block: 30002 addition_overflow: addition overflowasset addition overflowed {"amount":5837168575529231657,"asset_id":0} + {"amount":5837448775871972696,"asset_id":0} = {"amount":-6772126722308347263,"asset_id":0} {"a":{"amount":5837168575529231657,"asset_id":0},"b":{"amount":5837448775871972696,"asset_id":0},"c":{"amount":-6772126722308347263,"asset_id":0}} th_a asset.cpp:29 operator+= {"quote_id":22,"base_id":0} th_a chain_database.cpp:310 execute {} th_a chain_database.cpp:1110 execute_markets chain_database.cpp:1170
20140716T031500.018909 th_a execute ] xts_fees_collected: {"amount":5837168575529231657,"asset_id":0} xts_paid_by_ask: {"amount":5837448775874750446,"asset_id":0} xts_received_by_bid: {"amount":2777750,"asset_id":0} quote_quantity: {"amount":166665,"asset_id":22} chain_database.cpp:14720140716T031500.019066 th_a extend_chain ] error applying block: 30002 addition_overflow: addition overflowasset addition overflowed {"amount":5837168575529231657,"asset_id":0} + {"amount":5837448775871972696,"asset_id":0} = {"amount":-6772126722308347263,"asset_id":0} {"a":{"amount":5837168575529231657,"asset_id":0},"b":{"amount":5837448775871972696,"asset_id":0},"c":{"amount":-6772126722308347263,"asset_id":0}} th_a asset.cpp:29 operator+= {"quote_id":22,"base_id":0} th_a chain_database.cpp:310 execute {} th_a chain_database.cpp:1110 execute_markets chain_database.cpp:1170
几位的意见很好,我也算是论坛老人了。对BTS的信心大家也知道,BTS今后发展的路还很长,问题还有更严重的时候,我就是希望我们这些对i3有期望的人能抗震,这样今后对任何突发事件都有个中肯的看法,逐渐形成一个成熟的中文社区。alt这次牛B,是你把这条测试链给搞崩了,我很高兴有ALT这样的测试高手,是我们社区已及3i的福气Quote from: lzr1900 on July 16, 2014, 12:54:47 pmQuote from: metalallen on July 16, 2014, 12:53:07 pm我只希望sfinder别总是那么激动,有点什么问题就急的跳脚然后论坛微博全发一遍,这样不能帮助解决问题反而会造成不良影响。可能有些人对I3的错误的容忍能力到了极限,但是如果你不打算出来就抛就再淡定一点吧,都半年多了不在乎多等几天 几次了,懒得数了。
Quote from: metalallen on July 16, 2014, 12:53:07 pm我只希望sfinder别总是那么激动,有点什么问题就急的跳脚然后论坛微博全发一遍,这样不能帮助解决问题反而会造成不良影响。可能有些人对I3的错误的容忍能力到了极限,但是如果你不打算出来就抛就再淡定一点吧,都半年多了不在乎多等几天 几次了,懒得数了。
我只希望sfinder别总是那么激动,有点什么问题就急的跳脚然后论坛微博全发一遍,这样不能帮助解决问题反而会造成不良影响。可能有些人对I3的错误的容忍能力到了极限,但是如果你不打算出来就抛就再淡定一点吧,都半年多了不在乎多等几天
....This is the first dry run featuring market functionality. We did not test it very extensively which means you should expect things to break....
真相帝
Quote from: dcchong on July 16, 2014, 07:29:17 am这是学生写出来的代码吧,这么简单的溢出问题都没考虑到。。。 当年受千年虫影响的电脑程序都是由学生写出来的代码么?很多人在自己家里烧个菜这么简单的事情,都会忘记把火关掉,把菜烧焦,何况是动辄几千几万几十万行的代码编写。总会有被忽略的地方,所以才要公测啊。现在已经做出来的虚拟币,如果都以这么严格的过程去测试,恐怕没几个能幸免的。只不过目前还没有人有兴趣去做而已。
这是学生写出来的代码吧,这么简单的溢出问题都没考虑到。。。
Quote from: sabreiib on July 16, 2014, 08:16:31 am我操,这tm什么水平?我仅剩的信心也崩溃了。连基本的整数变量都弄出错来,这种平台还tm秒天秒地?还500刀? 我呸不要不懂装懂了,任何计算机程序设计的时候变量都是用来存储一定大小的数值范围,超出该范围就会出错。由于计算机资源比较宝贵,所以程序猿都是在资源允许的情况下声明得大一点,但资源始终是有限的,在某个阶段定下来的规则在另一个阶段就可能不够用。当初千年虫不就是这种问题的典型例子么,你能说90年代前设计的电脑程序都是由傻子设计的么?况且现在只是在测试阶段,这种被忽略的小问题非常常见。微软早期的系统补丁都是接二连三地出。
我操,这tm什么水平?我仅剩的信心也崩溃了。连基本的整数变量都弄出错来,这种平台还tm秒天秒地?还500刀? 我呸