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 - zhangweis

Pages: 1 ... 9 10 11 12 13 14 15 [16] 17 18 19 20 21
226
Can anyone share your get_info? I can see the following in my log but 0 connections in get_info.

177019ms       th_a p2p_network_connect_ ] Starting an iteration of p2p_network_connect_loop().                 node.cpp:561
177020ms       th_a display_current_conn ] Currently have 1 of 8 connections                    node.cpp:861
177020ms       th_a display_current_conn ]    my id is 281b1a748c848d873d54b8a6ec5832cd4a5fbe70                 node.cpp:862
177020ms       th_a display_current_conn ]    handshaking: 107.170.30.182:5678 with 0000000000000000000000000000000000000000  [outbound]                       node.cpp:870


(wallet closed) >>> get_info
{
  "balance": 0,
  "unlocked_until": "19700101T000000",
  "version": 100,
  "protocolversion": 100,
  "walletversion": 100,
  "chain_id": "ed2c3dba64a343002734f782bb3bc831a99a14c80490b85bfbf33751793469cc",
  "symbol": "XTS",
  "interval_seconds": 30,
  "blocks": 0,
  "current_share_supply": 80000000000000,
  "shares_per_bip": 0,
  "random_seed": "0000000000000000000000000000000000000000000000000000000000000000",
  "connections": 0,
  "rpc_port": 0,
  "_node_id": "281b1a748c848d873d54b8a6ec5832cd4a5fbe70",
  "_fc_revision": "9f6b52eac2221f398896b318bd46824ee54623e0",
  "_bitshares_toolkit_revision": "f82d0df05f66af9fcbb4035c909046aa9202daa1"
}

227
XTS2PNoTDtXmt1SYe5oJ58RvXJ6rHzTTA17JnBQWd1b5PsvpKxD1hotQTMjcpTSF83vpWLhLEcnH1bFXGtY2YHSUSMUcc8VmW

Thanks in advance.

228
以前听说要投票选择代表,现在可以自动随机选择,那效率确实高。
如果能做到公平 随机的选择代表出来,有效防止各个代表串通,那确实非常了不起。
有这种机制做基础 将来是可以搞出很多现实应用
抱歉,可能原来是标题误解了,Top的代表仍然是投票选择的,只是现在是随机判断下一个delegate,而不是按照顺序执行

其实我觉得原来那样one by one的顺序执行,delegate容易被定点DOS攻击(Deny of Service)

除了防DDOS,还可以防止delegate作弊(比如控制连续几个delegate id,然后可以在一定时间内排除某些交易,达到短期控制市场交易价格的母的)和delegate lotto作弊。(https://bitsharestalk.org/index.php?topic=4164.msg53450#msg53450)

229
General Discussion / Re: Testing BitShares XT Launch...
« on: May 17, 2014, 10:00:27 pm »
send 154321 with 100000 fee? isn't the transfer fee too high?

I think the unit here is satoshi as the amount is of int64_t type. So 100000 is 0.01 but it's still higher than BTC as it's currently about 0.0001. If we consider the price of BTS compared with BTC, 0.01 is fine for the moment.

230
锚定成功 &大量的服务商接受bitcny支付的话 就不需要换成cny了
单是锚定成功就足够了。如果锚定成功,“大量的服务商接受bitcny支付”是很自然的事。

231
从公司的角度看的话,lot本来就只应该对应于转账手续费和博彩抽成。对应于传统博彩公司,它的利润也主要来自于抽成而其中的筹码几乎都是直接是现金(bta)。
从bts x来看,它也是通过交易中介的手续费来实现xts红利的,并没有要求所有的bta转换成xts(抵押xts产生bta另说,这个本质上不算转换成了xts)。
所以,lot红利只来自于手续费和抽成应该是合理的,没有必要要求筹码也是lot。只是我觉得侧链的方式还没有验证,另外增加了系统的复杂性。初期我还是建议直接用lot做筹码,这样最简单。不过确实有赢家dumping的问题,类似限制赢的筹码可兑现时间的做法我个人不是很统一。实践中不知道赢家dumping导致价格短时间下降会不会大量发生,如果lot红利不错,道理上市场应该有对应的反制,就是会有人趁价低吸货,换句话说,市场会支撑价格从而稳定价格。

232
中文 (Chinese) / Re: BTS矿池设想
« on: May 11, 2014, 11:44:12 pm »
以后的PTS是不是要改成POS模式?
PTS本身应该不会变了。

233
DAC PLAY / Re: Blockchain RNG with DPOS
« on: May 10, 2014, 11:16:14 pm »
We discussed this yesterday a little bit. It has several benefits but it makes resolving forks more complicated.

Do you mean http://bitshares.org/documentation/group__dpos.html#dpos_conflict_resolution ?

I guess there won't be much differences between randomness one and 1,2,3,4 one.

Let's say the next miner is decided by RGN(N-2) % 100 and the results are like [2,3,1]. In this case, A,B,C is [2,3,1] and all the same rules in that doc work with [A:2,B:3,C:1] just like [A:1,B:2,C:3]. Notice that I used N-2 which means that it's already decided when current block is not generated yet and the next miner can be ready waiting to resolve the conflicts when it happens. In the worst case, we can use N-100 but I think N-3 could be fine as the possibility of both miners are down is low and in that case the next miner (decided by RGN of last 99)  just picks up.

Edit:
In case that one miner doesn't produce block, it's just like ranking changes because we need to choose next next miner by using RNG of last 99. So there's really not much differences between the two from conflict resolving point of view.

@bytemaster, I think we can still introduce randomness into next miner decision and this can prevent most cases of miner cheating.

234
中文 (Chinese) / Re: [翻譯]BitShares XT 啟動測試
« on: May 04, 2014, 02:26:23 pm »
@CrazyBit 给我送了10,000个bips做测试,我给你转了1234个,你看看,应该很快就到账的。
到账了,多谢。
我试了试reserve_name就花掉我229,心痛死了。测试的都这么不经用。

235
中文 (Chinese) / Re: BTS矿池设想
« on: May 04, 2014, 11:05:36 am »
不用专门服务器跑的吧
需要个相对稳定的机器及网络挖矿,租用服务器可能算是比较便宜。不过可以租个便宜的服务器,每个月费用不会太多。

236
中文 (Chinese) / Re: [翻譯]BitShares XT 啟動測試
« on: May 04, 2014, 10:58:22 am »
我的地址是BFL73TtraijmhJ457ba1NTrePDNN9p6vG,谁能给我发1个bts试试?

同求测试BTS,地址N94JT5RdUJJbUL8UzoUquTe9vTGA4W6ds

237
General Discussion / Re: Testing BitShares XT Launch...
« on: May 03, 2014, 10:24:06 am »
I need to add an rpc call for that. 


Sent from my iPhone using Tapatalk
Thanks for the feedback.

I see that getblock returns signed_block_header which doesn't have transaction ids. If it returns digest_block by calling fetch_digest_block, that'll satisfy my needs. Anyway, another api returning block_trxs.fetch(blocknumber) is also fine.

238
General Discussion / Re: Testing BitShares XT Launch...
« on: May 03, 2014, 09:59:51 am »
BTS wallet's approach seems to be HD wallet.
Refer https://en.bitcoin.it/wiki/Deterministic_wallet

From the code from wallet.cpp(wallet::new_public_key), I think that it will generate the same series of keys if you start from the same wallet key password and the same encrypted_base_key.

239
General Discussion / Re: Testing BitShares XT Launch...
« on: May 03, 2014, 12:30:47 am »
How can I get block's transactions? I can't get that using getblock or get_block_by_number.

I can see there're transactions in block 26 like below but don't know how I can get transactions in it using command or rpc:

>>> get_block_by_number 26
{
  "version": 0,
  "block_num": 26,
  "prev": "8b9fec8966c166561b3ff1208afa85d40e372406",
  "timestamp": "20140502T194000",
  "next_fee": 1000,
  "next_reward": 200,
  "total_shares": 395999999969737,
  "trx_mroot": "14bd6552eef12700e5316b6cad5f4dcd0f3b4170",
  "trustee_signature": "1fd4cd992fd9a5219708a1f3a9a6bfd07fcbe75084fed2022e54e43fb50d90704e476c3ed650c6e8ddab777fb1867d6b1b334ebe142ec67b2f3e5639b4f613a1ee"
}


240
DAC PLAY / Re: Blockchain RNG with DPOS
« on: May 01, 2014, 10:58:06 pm »
We discussed this yesterday a little bit. It has several benefits but it makes resolving forks more complicated.

Do you mean http://bitshares.org/documentation/group__dpos.html#dpos_conflict_resolution ?

I guess there won't be much differences between randomness one and 1,2,3,4 one.

Let's say the next miner is decided by RGN(N-2) % 100 and the results are like [2,3,1]. In this case, A,B,C is [2,3,1] and all the same rules in that doc work with [A:2,B:3,C:1] just like [A:1,B:2,C:3]. Notice that I used N-2 which means that it's already decided when current block is not generated yet and the next miner can be ready waiting to resolve the conflicts when it happens. In the worst case, we can use N-100 but I think N-3 could be fine as the possibility of both miners are down is low and in that case the next miner (decided by RGN of last 99)  just picks up.

Edit:
In case that one miner doesn't produce block, it's just like ranking changes because we need to choose next next miner by using RNG of last 99. So there's really not much differences between the two from conflict resolving point of view.

Pages: 1 ... 9 10 11 12 13 14 15 [16] 17 18 19 20 21