Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - sfinder

Pages: 1 ... 17 18 19 20 21 22 23 [24] 25 26 27 28 29 30 31 ... 81
346
中文 (Chinese) / Re: toast发飙了?抢bts的id这事儿。
« on: July 20, 2014, 07:12:05 pm »
:-X 不认为这个有什么用处

做广告付款时都很有用处,我也注册了很多,而且这些账号可以转让,通过私钥

347
中文 (Chinese) / Re: 别名是否有价值?
« on: July 20, 2014, 03:50:31 am »
BTS系统中的别名是否真的有价值?

大家说说看?

当然是有价值,和域名一个道理。


wallet_approve_delegate chinese  true
BTS X 受托人ID:chinese

348
try to clear pending transactions and then rescan

Toast , it does not help........

Code: [Select]
>> wallet_get_pending_transaction_errors

[[
    "4f08f077ba69a027f972912197e8de643b7f10fa",{
      "code": 30007,
      "name": "duplicate_transaction",
      "message": "duplicate transaction",
      "stack": [{
          "context": {
            "level": "error",
            "file": "transaction_evaluation_state.cpp",
            "line": 189,
            "method": "bts::blockchain::transaction_evaluation_state::evaluate",
            "hostname": "",
            "thread_name": "bitshares",
            "timestamp": "20140720T031055.991233"
          },
          "format": "",
          "data": {
            "trx_id": "4f08f077ba69a027f972912197e8de643b7f10fa"
          }
        },{
          "context": {
            "level": "warn",
            "file": "transaction_evaluation_state.cpp",
            "line": 218,
            "method": "bts::blockchain::transaction_evaluation_state::evaluate",
            "hostname": "",
            "thread_name": "bitshares",
            "timestamp": "20140720T031055.991233"
          },
          "format": "",
          "data": {
            "trx": {
              "expiration": "20140720T045352",
              "delegate_slate_id": null,
              "operations": [{
                  "type": "register_account_op_type",
                  "data": {
                    "name": "rent",
                    "public_data": {
                      "gravatarID": ""
                    },
                    "owner_key": "BTSX753fFy9NfsEMM8rtrUz5hq7nPDb346vVYayxVQ62TDvkAgA3TT",
                    "active_key": "BTSX753fFy9NfsEMM8rtrUz5hq7nPDb346vVYayxVQ62TDvkAgA3TT",
                    "delegate_pay_rate": 255,
                    "meta_data": null
                  }
                },{
                  "type": "withdraw_op_type",
                  "data": {
                    "balance_id": "BTSXJ14EEhQwndNaP66zs1EWe7tvZp7m3SCaw",
                    "amount": 10015,
                    "claim_input_data": ""
                  }
                }
              ],
              "signatures": [
                "2032ad5a1640c769f412e913823abcbf6be61db5514dd5ded02e3552eb2cc830fb128549a08639516937c4e7618ea63ac584e4dce6de4cc2fd7c911c749cf866ad"
              ]
            }
          }
        }
      ]
    }
  ],[
    "56869170158582c54d63a0db0a363bb93598fe6e",{
      "code": 30007,
      "name": "duplicate_transaction",
      "message": "duplicate transaction",
      "stack": [{
          "context": {
            "level": "error",
            "file": "transaction_evaluation_state.cpp",
            "line": 189,
            "method": "bts::blockchain::transaction_evaluation_state::evaluate",
            "hostname": "",
            "thread_name": "bitshares",
            "timestamp": "20140720T031055.991233"
          },
          "format": "",
          "data": {
            "trx_id": "56869170158582c54d63a0db0a363bb93598fe6e"
          }
        },{
          "context": {
            "level": "warn",
            "file": "transaction_evaluation_state.cpp",
            "line": 218,
            "method": "bts::blockchain::transaction_evaluation_state::evaluate",
            "hostname": "",
            "thread_name": "bitshares",
            "timestamp": "20140720T031055.991233"
          },
          "format": "",
          "data": {
            "trx": {
              "expiration": "20140720T045224",
              "delegate_slate_id": null,
              "operations": [{
                  "type": "register_account_op_type",
                  "data": {
                    "name": "authorize",
                    "public_data": {
                      "gravatarID": ""
                    },
                    "owner_key": "BTSX5HMrmF8yA7YkQ92x2YmfHVug2pMnmgSvJLt7gWwGtLMn7zAomc",
                    "active_key": "BTSX5HMrmF8yA7YkQ92x2YmfHVug2pMnmgSvJLt7gWwGtLMn7zAomc",
                    "delegate_pay_rate": 255,
                    "meta_data": null
                  }
                },{
                  "type": "withdraw_op_type",
                  "data": {
                    "balance_id": "BTSXJ14EEhQwndNaP66zs1EWe7tvZp7m3SCaw",
                    "amount": 10015,
                    "claim_input_data": ""
                  }
                }
              ],
              "signatures": [
                "204d71a71f7b776c33b09cae6b55ef4049ce3b7e0808bd0e8698eb0221077f1afdf848f2fb9cd9ab064441e875c7b3528ed67a6b4f51e0c2d4fe047bc95f3cb843"
              ]
            }
          }
        }
      ]
    }
  ]
]

349
中文 (Chinese) / lixiaolai 李笑来 这个账号也被注册了
« on: July 20, 2014, 03:07:45 am »
lixiaolai 李笑来 这个账号也被注册了

350
a display problem?  try the command "wallet_account_balance" on console page.

it s not a display problem.

>> wallet_account_balance

ACCOUNT                         BALANCE                     
============================================================
chinese                         0.03329 BTSX               
tiger                           ***2,237.99915 BTSX       

351
2000less than balance list.. :'( :'( :'( :'( :'( :'( :'(
my account balance should be ***4,237btsx and not the one show as ***2,237


Quote
>> wallet_account_balance

ACCOUNT                         BALANCE                     
============================================================
chinese                         0.03329 BTSX               
tiger                           ***2,237.99915 BTSX       
BIG PROBLEM.  my following 2000 BTSX  are missing from my wallet

I transferred 1000btsx from "tiger" to "chinese " in the same wallet but almost 1 hour past and still showing pending .  and "duplicate" status in wallet_account_transaction_history

Quote
wallet_account_transaction_history chinese

2014-07-19T19:38:01 EXPIRED   tiger               chinese             1,000.00000 BTSX                                                    N/A                     0.00000 BTSX        8d7b6e8
2014-07-19T20:46:27 DUPLICATE tiger               chinese             1,000.00000 BTSX        mmmmm                                       N/A                     0.00000 BTSX        ad12f04

go to console and clear pending transactions

someone please track my above 2 transactions

352
General Discussion / Re: DACSunlimited - Sunrise!
« on: July 19, 2014, 02:40:09 pm »
The website if this company has only chinese version.

353
把这个帖子顶上来聊聊,呵呵

BM发帖,看情况就要发布了

354
这个也顶上去,都聊聊,别一个个都不吭声了

已经准备发布了,而且music等几个DAC也开始动起来了
Quote
BTS X with bitassets is now implemented and functional, but we are working on a few last minute market security features.  The basic code for DPOS + TITAN + Asset exchange is now stable enough for a MVP release of the toolkit to developers such as DAC Sun Limited and others.

We will continue with dryruns with the latest market functions on the XT chain.   

355
General Discussion / Re: Dry Run 10: Viva la Vida Delegada
« on: July 17, 2014, 05:07:36 pm »
Hackfisher, please kindly help to translate following solution to BM for how to avoid attacking 


现在的问题是抵押发行资产时,价格可以随意定,我可以抵押1XTS,发行1亿bitUSD,在精心设计的攻击下,可以让这个挂单成交获取很多bitUSD.
以下是我的修改
1. 首先对每个block,我们可以获取这个block内所有交易中,bitUSD 卖单的最高成交价。可以认为如果按这个价格抵押XTS发行USD,能把USD发行数量限制在安全值内。
2. 为进一步保证安全,可以扫描每个块的bitUSD最高成交价,按最近360个价格取最高值。对初始状态,没有360个块,可以设定一个安全的初始值,比如0.2USD/XTS。到此可以强制规定一个安全的资产发行价。
3. 现在举实例,假设按以上逻辑算出来的发行价为 0.2 USD/XTS
  1) 我要拿出20 XTS,按0.18 USD/XTS价格发行,这个价格小于 0.2,所以强制按 0.2USD/XTS发行,加上双倍抵押,只能创造 20 *(0.2/2) = 2 USD。这2个USD直接就创造出来,属于我了。同时按 0.18USD/XTS 挂 USD 卖单。
  2) 如果我设定按 0.22 USD/XTS 发行,这个价格本身就大于 0.2,是安全的,就直接按这个 0.22 的价格创造 USD,并挂USD卖单。
 
 
 
  这样做连市场深度检查都不需要的
为更加保险,可以把360个块再取大一点,比如按1天24小时算,是24*60*6 个块。
如果想发动攻击,发行大量bitUSD,除非能控制一天之内所有的 USD 卖单价格都严重偏低,这是不可能的。
 
 
  在正式启动之后
第一个block就可以创造出 bitUSD,第一天之内的所有发行价应该都是<=0.2USD/XTS 。
第二天开始,发行价由前一天成交的 bitUSD 买卖单市场价决定。如果XTS开始升值,发行价自然会提高。XTS价值越高,1个XTS能发行的USD越多,但上限总是被市场趋势控制的,无法被个人左右。





still can attack with these rules, if I have about 1% XTS.

1. use about 10^7 XTS  or more, control the price to 500USD/XTS, get about 5*10^9 USD
2. usd about 10^7 XTS or more + maybe 10^5 USD, control the price to 0.0005USD/XTS,get all the backup XTS.

It is just a matter of scale.  Attacking the network in such a manner would destroy the network and make your 1% worthless.  We can set that value as high as 5% or more.  The assumption is anyone with that much steak we not want to harm the network.  No one else would participate in the network and instead could go to a new bit asset.  You and then be trading against yourself and not profit at all. 


Sent from my iPhone using Tapatalk

Arrrg.  I'm not a tester, but I don't think I like this reasoning at all. Assuming that no individual person or group would spend money to harm the network is a bad assumption, especially at the early stages when the total NAV is still low.  There could be great incentives to try and destroy the network.  :o  Please tell me I don't know crap and I'm wrong because that's what I want to hear right now.  :-\

+ 1

Lets look at this very closely because it is very easy to confuse yourself when it comes to thinking about markets (happens to me a lot and I have a good grasp on it).   I write this to "think out loud" so I may have something wrong.

Before any trading can occur there must be at least X% (say 1%) of the XTS sitting in unmatched shorts & asks.  Lets also assume that this 1% does not belong to the attacker because the attacker would have no victims if it all belonged to him. 

Primary goal of the attack:
1) Create a large amount of BitUSD with very little XTS backing it which will be unresolvable and break the peg until someone eats the loss.
2) To be successful the attacker must be on both sides of the trade (collecting a large USD balance, and an equal short position).
3) To achieve this the attacker must eliminate all other asks on the book that are not their own.

To execute the attack:
1) You must sell 1 XTS for 10000 USD (a very high ask if it were real USD)
2) This means you must place bids to match every ask at 1, 10, 100, 1000 USD per XTS
3) To places these bids means you must short USD at lower and lower prices
4) As you short USD at lower and lower prices you are creating more and more USD backed by less and less XTS.
5) At the end of the day you have a lot of people who long USD while you are short USD at a very low value.
*** Critical Point:  Does the rest of the market run out of money before you do ********
6) Eventually you run out of money and can no longer fight off the hoards of people selling XTS for USD
7) The value of USD starts rising absent your manipulation until your short position is blown.
8) Those who were buying USD while you were shorting knew at the time of purchase that USD wasn't pegged to the dollar and they bought knowing their max return would be 2x on their XTS.   So these buyers of USD gladly sell their USD at a 2x profit even if it is below the dollar peg.
9) The market will continue to correct until all of the attackers USD has been covered and his collateral lost.
10) The peg is restored and all is well.

Some things to note:
1) During the attack many legitimate shorts will start covering to lock in their profits and thus make it more difficult to maintain the attack
2) During the attack many savvy users will start buying USD at the huge discount.  If BitUSD is currently 10% of real USD then you buy it because you know it has collateral worth 20% of real USD backing it.  Sure you don't get to realize a 10x gain when it returns to market peg, but you still get a free 2x gain on the return to market peg.  For this reason, BitUSD is a solid buy any time it is below parity and profit can be made by selling BitUSD for XTS even below market peg if you bought it at an even lower point.

What this means is that only the attacker's short positions get blown out, and everyone else still profits.   In this case I consider an attacker anyone who shorts BitUSD when BitUSD is already below USD value. 

So the attacker has to clear the order book of all orders but their own, create a large short against their own ASK so they end up being LONG and SHORT a significant amount of USD.       To execute this attack requires:

1) Enough XTS to buy out all existing asks while having enough XTS to keep the market open, so lets call that 2% of XTS
2) The ability to execute your attack faster than the rest of the market participants can enter to take your money.
       - shorts entering to cover at a profit
       - asks entering to buy USD cheap

I think that the 2% attack threshold is only viable if the rest of the network is idle, in practice I suspect that the market depth could be 10% and would grow as the attacker attempted to push down USD. 

Lastly I would like to submit one last fail-safe feature:  Delegates
  To execute any attack requires delegates to include your transactions in the first place and for regular users to propagate your transactions.  For this reason an attacker would have to connect directly to a delegate that will include their transaction because it is unlikely to propagate among regular users.   If there are good delegates then the market can function with little opportunity to attack.

356
没看懂这个方案怎么有效。

假如当前市场价是1个XTS 换1USD。
我牺牲1%的XTS应该就可以操纵价格到500USD/XTS。
如果我还剩下1%XTS,这些XTS换成美元价格就翻了500倍,这种市场操纵谁敢陪着玩?

我也觉得他需要好好睡几天觉。头脑里都是浆糊

357
中文 (Chinese) / Re: 我给一个稳妥方案
« on: July 17, 2014, 03:58:11 pm »
BitUSD这个的数量是固定的吗?

这个不固定,就像中央银行一样,根据经济的总量来调整,所以用的人越多,我们的btsx就越有价值。因为btsx是定在20亿,这20亿去锚定一个不断上升的市场。所以熊熊一直喊“500美元,妥妥的”

358
中文 (Chinese) / Re: 我给一个稳妥方案
« on: July 17, 2014, 03:50:54 pm »
假设BTS =100美元, 那么1个BITUSD的理论价值不是 0.01BTS吗?


           BITUSD= 1/BTS

概念基本上是正确的。但bitusd和btsx的汇率是通过卖空买多来实现的。usd和btsx的汇率是交易所体现出来的,基本上是趋向于1usd=1bitusd这个汇率来调整市场的。


BITUSD的含义是,单位美元能买多少BTS,因此假设BTS=100美元

1BITUSD 就是 0.01BTS,然后多空双方按这个价格去挂盘

先有btsx后有bitusd/bitbtc/bitcny。。。。有个顺序

359
BM出方案了。。。。。


still can attack with these rules, if I have about 1% XTS.

1. use about 10^7 XTS  or more, control the price to 500USD/XTS, get about 5*10^9 USD
2. usd about 10^7 XTS or more + maybe 10^5 USD, control the price to 0.0005USD/XTS,get all the backup XTS.

It is just a matter of scale.  Attacking the network in such a manner would destroy the network and make your 1% worthless.  We can set that value as high as 5% or more.  The assumption is anyone with that much steak we not want to harm the network.  No one else would participate in the network and instead could go to a new bit asset.  You and then be trading against yourself and not profit at all. 


Sent from my iPhone using Tapatalk

Arrrg.  I'm not a tester, but I don't think I like this reasoning at all. Assuming that no individual person or group would spend money to harm the network is a bad assumption, especially at the early stages when the total NAV is still low.  There could be great incentives to try and destroy the network.  :o  Please tell me I don't know crap and I'm wrong because that's what I want to hear right now.  :-\

+ 1

Lets look at this very closely because it is very easy to confuse yourself when it comes to thinking about markets (happens to me a lot and I have a good grasp on it).   I write this to "think out loud" so I may have something wrong.

Before any trading can occur there must be at least X% (say 1%) of the XTS sitting in unmatched shorts & asks.  Lets also assume that this 1% does not belong to the attacker because the attacker would have no victims if it all belonged to him. 

Primary goal of the attack:
1) Create a large amount of BitUSD with very little XTS backing it which will be unresolvable and break the peg until someone eats the loss.
2) To be successful the attacker must be on both sides of the trade (collecting a large USD balance, and an equal short position).
3) To achieve this the attacker must eliminate all other asks on the book that are not their own.

To execute the attack:
1) You must sell 1 XTS for 10000 USD (a very high ask if it were real USD)
2) This means you must place bids to match every ask at 1, 10, 100, 1000 USD per XTS
3) To places these bids means you must short USD at lower and lower prices
4) As you short USD at lower and lower prices you are creating more and more USD backed by less and less XTS.
5) At the end of the day you have a lot of people who long USD while you are short USD at a very low value.
*** Critical Point:  Does the rest of the market run out of money before you do ********
6) Eventually you run out of money and can no longer fight off the hoards of people selling XTS for USD
7) The value of USD starts rising absent your manipulation until your short position is blown.
8) Those who were buying USD while you were shorting knew at the time of purchase that USD wasn't pegged to the dollar and they bought knowing their max return would be 2x on their XTS.   So these buyers of USD gladly sell their USD at a 2x profit even if it is below the dollar peg.
9) The market will continue to correct until all of the attackers USD has been covered and his collateral lost.
10) The peg is restored and all is well.

Some things to note:
1) During the attack many legitimate shorts will start covering to lock in their profits and thus make it more difficult to maintain the attack
2) During the attack many savvy users will start buying USD at the huge discount.  If BitUSD is currently 10% of real USD then you buy it because you know it has collateral worth 20% of real USD backing it.  Sure you don't get to realize a 10x gain when it returns to market peg, but you still get a free 2x gain on the return to market peg.  For this reason, BitUSD is a solid buy any time it is below parity and profit can be made by selling BitUSD for XTS even below market peg if you bought it at an even lower point.

What this means is that only the attacker's short positions get blown out, and everyone else still profits.   In this case I consider an attacker anyone who shorts BitUSD when BitUSD is already below USD value. 

So the attacker has to clear the order book of all orders but their own, create a large short against their own ASK so they end up being LONG and SHORT a significant amount of USD.       To execute this attack requires:

1) Enough XTS to buy out all existing asks while having enough XTS to keep the market open, so lets call that 2% of XTS
2) The ability to execute your attack faster than the rest of the market participants can enter to take your money.
       - shorts entering to cover at a profit
       - asks entering to buy USD cheap

I think that the 2% attack threshold is only viable if the rest of the network is idle, in practice I suspect that the market depth could be 10% and would grow as the attacker attempted to push down USD. 

Lastly I would like to submit one last fail-safe feature:  Delegates
  To execute any attack requires delegates to include your transactions in the first place and for regular users to propagate your transactions.  For this reason an attacker would have to connect directly to a delegate that will include their transaction because it is unlikely to propagate among regular users.   If there are good delegates then the market can function with little opportunity to attack.

360
中文 (Chinese) / Re: 我给一个稳妥方案
« on: July 17, 2014, 03:27:48 pm »
恩,我以前想了很久,只有两种方法:

1、每天人为投票设定下一阶段的上下波动限值(很大幅度的一个限制,比如正常价格左右的5~10倍以外)
2、代码里设定让系统取近期交易价格的平均数,再设定一个一个倍数范围,只允许在这个范围内发起

第一种太麻烦,而且让有去中心化洁癖的人反感;第二种是最合理的,就是不知道编程实现起来方不方便了;alt大哥的是第二条路  :P
不过我觉得取每个块的交易价格最大值不是很好,还是认为要取三天内所有交易的加权平均数为基准,设定左右波动的倍数空间(具体多少时间内,需要讨论,比如按照天、小时、分钟?)

我估计BM目前也只有ALT的方案可以实施了。给他几天时间看看他有什么惊人的解决办法。昨天他的最后发的一个帖子已经被中美群众联合批斗了。

Pages: 1 ... 17 18 19 20 21 22 23 [24] 25 26 27 28 29 30 31 ... 81