Author Topic: dry run 15 的攻击方法  (Read 6682 times)

0 Members and 1 Guest are viewing this topic.

Offline btsfans

  • Full Member
  • ***
  • Posts: 114
    • View Profile
@alt  你说的规则问题 bm知道吗?规则漏洞 将是致命的
我说服不了bm,我发过一个帖子,把short 和 bid 分开成两个独立的步骤。
I have no doubt that market consensus will make bitusd track the price of USD.
but the rules with leak will break the market consensus.
the rules with too many limit will stop the market consensus.

I think we should make a rule with  less limit, and without leak.
here is my solution.
the main different is the short bitusd is separate from bid XTS.
for example:
If I want to short 100 bitUSD with price 1bitUSD/xts, I need to  freeze 200 XTS, and I can get 100  bitUSD immediately.
then I can usd these bitUSD to buy XTS with a different price, for bit order. maybe 0.5 bitUSD/XTS or whatever, there is no limit for the price of bid order.
the same, there is no limit for the price of ask order. there is no limit for the market depth check.

the key is to limit the short price.
the maximum  short price is coming from the minimum matched bid price of latest blocks(maybe latest 24*60*6 blocks).
at the beginning there is no matched bid price, we can set a safety initial limit price, come from the central trade market, like 0.01USD/XTS.


你说的方法是可行的   我前天以 2xts/usd  的价格 用84个xts创造了 20usd
拷问3i !

Offline suwoder

  • Sr. Member
  • ****
  • Posts: 206
    • View Profile
@alt  你说的规则问题 bm知道吗?规则漏洞 将是致命的
我说服不了bm,我发过一个帖子,把short 和 bid 分开成两个独立的步骤。
I have no doubt that market consensus will make bitusd track the price of USD.
but the rules with leak will break the market consensus.
the rules with too many limit will stop the market consensus.

I think we should make a rule with  less limit, and without leak.
here is my solution.
the main different is the short bitusd is separate from bid XTS.
for example:
If I want to short 100 bitUSD with price 1bitUSD/xts, I need to  freeze 200 XTS, and I can get 100  bitUSD immediately.
then I can usd these bitUSD to buy XTS with a different price, for bit order. maybe 0.5 bitUSD/XTS or whatever, there is no limit for the price of bid order.
the same, there is no limit for the price of ask order. there is no limit for the market depth check.

the key is to limit the short price.
the maximum  short price is coming from the minimum matched bid price of latest blocks(maybe latest 24*60*6 blocks).
at the beginning there is no matched bid price, we can set a safety initial limit price, come from the central trade market, like 0.01USD/XTS.
我也觉得把普通交易功能和期货分开来要好些,要不然看着很混乱的感觉,技术我不懂,但想想看多少小白连QT钱包都不会用
更何况是高大上的BTS,越简洁,越没有学习成本就越好。毕竟发行,交易,流通bitusd等比特资产才是系统价值之所在,连做空期货交易锚定现实资产价格都是为此服务的。不知我理解的对不对。

Offline btsfans

  • Full Member
  • ***
  • Posts: 114
    • View Profile

为啥
XTS:USD里
Buy XTS 和Sell XTS都是
XTS
USD/XTS
Lowest Ask 100
Highest Bid 0.011119999999999991
搞晕了啊。谁画图解释下这个标价方式啊。
当然是这样啊  xts:usd就是以一Usd值多少xts来买卖Xts
拷问3i !

Offline sudo

  • Hero Member
  • *****
  • Posts: 2255
    • View Profile
  • BitShares: ags
为啥
XTS:USD里
Buy XTS 和Sell XTS都是
XTS
USD/XTS
Lowest Ask 100
Highest Bid 0.011119999999999991
搞晕了啊。谁画图解释下这个标价方式啊。

Offline btsfans

  • Full Member
  • ***
  • Posts: 114
    • View Profile
昨天有人攻击成功了吧 我昨天才用80来个xts就创建了20个usd
拷问3i !

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
@alt  你说的规则问题 bm知道吗?规则漏洞 将是致命的
我说服不了bm,我发过一个帖子,把short 和 bid 分开成两个独立的步骤。
I have no doubt that market consensus will make bitusd track the price of USD.
but the rules with leak will break the market consensus.
the rules with too many limit will stop the market consensus.

I think we should make a rule with  less limit, and without leak.
here is my solution.
the main different is the short bitusd is separate from bid XTS.
for example:
If I want to short 100 bitUSD with price 1bitUSD/xts, I need to  freeze 200 XTS, and I can get 100  bitUSD immediately.
then I can usd these bitUSD to buy XTS with a different price, for bit order. maybe 0.5 bitUSD/XTS or whatever, there is no limit for the price of bid order.
the same, there is no limit for the price of ask order. there is no limit for the market depth check.

the key is to limit the short price.
the maximum  short price is coming from the minimum matched bid price of latest blocks(maybe latest 24*60*6 blocks).
at the beginning there is no matched bid price, we can set a safety initial limit price, come from the central trade market, like 0.01USD/XTS.

Offline thistome

  • Sr. Member
  • ****
  • Posts: 250
    • View Profile
@alt  你说的规则问题 bm知道吗?规则漏洞 将是致命的

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
赞,那就吧子弹交出来吧 :)
我把子弹都交给熊吧,你们谁缺弹药了找他。

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
以上攻击方法是利用了一些规则及算法的不严谨,通过修改算法比较容易防住,对BTS发展不构成很大障碍。

我认为最大的障碍还是在于交易规则的设计不合理,将严重阻碍市场共识的力量。按常败的说法就是实盘和什么盘没有分开导致的矛盾。
现在有25种可以track的资产,初始价格都是按外部价由delegate设置的。
假如一天过后,bts升值为2倍;又假如在这一天中,bitcny没有任何交易,没有被发行出来;
那么后面的状况是:想 short 的人没法按正常价格 short,因为外部价为feed价格的2倍,short价缺限制为不得高于4/3的feed价。那么我想short就必须低价short了,但谁会把bts低价卖给我呢(也就是买我的高价bitcny)呢?我想自己卖给自己,但万一被别人的short接过去了呢?

这个我想错了,均价是按未成交的价格算的,在这种情况下没有太大问题。
这个担心是存在的,如果没有成交,均价一直不变。。。。

« Last Edit: August 15, 2014, 03:29:47 pm by alt »

Offline 乌鸦

  • Full Member
  • ***
  • Posts: 140
    • View Profile
赞,那就吧子弹交出来吧 :)

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
今晚还有事情,不想测试了,把方法写出来,有空的去试试吧。

方法一:这个攻击的思路是操控均价到很低,让short暴仓,利用暴仓后会凭空生成bts买单的规则,大量吃进廉价bts。注意暴仓后的cover价限制在均价的2/3以上了,所以必须要把均价拉低才能成功。

1.按最低价下 200万XTS short,托底,保持市场深度要求。
2. 买入 bitusd ,砸穿所有正常价位的  bid/short 买单,让剩余 bid/short最高价在 1/100 以下。挂一个不能成交的1/100价位以下的 ask。每多保持1分钟,均价就能跌1/60。
3. 可以考虑撤销最开始的托底单,深度不够,交易停止,这样能帮助均价保持下跌。
4. 如果有人要阻止攻击,增加了深度,且挂了高价bid,那就按1/100挂 ask 单砸。注意坚持一会就会有大量暴仓的 xts 出来帮助你一起砸。此时系统刚启动,没有那么多bitusd跟你打。
但对方如果直接挂了1千万的 short,就要看你的实力了。。。。
5. 等均价跌到1/100, 按此价挂 bid/short 单,吃掉所有暴仓的便宜 xts。

这种攻击有点难度,要有足够的xts压价。最好在人少的时候偷偷干。以上1/100换成1/10000同样有效。

方法二:short 价位限制在低于均价的4/3了,同样需要控制均价,把价位拉高。然后按很高的价格 short bitusd,自己再吃进。能获取大量bitusd。
这个攻击相对上面的简单很多了,砸穿后马上挂一个一万倍的单子,平均下来也能把价位拉高 10000/360 倍。挂一个1亿倍的呢?
可惜现在 ask 有 1300 万 xts 深度,大概需要 1500万XTS的攻击成本。