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

Pages: 1 2 3 4 [5] 6
61
中文 (Chinese) / 我知道今天能拿到多少BTS空投股份?
« on: January 20, 2015, 09:30:49 am »
首先空投解冻期限,开始UTC时间2014-11-06T00:00:00,期长730天,线性释放。
大家升级到0.5版本后,今天在1575500区块后可以释放,大概时间是2015-01-20 16:30 UTC,大家可以计算一下今天能释放出多少(应该是10%多一点)。如果我没错的话!

62
中文 (Chinese) / bitshares内置的随机数生成器
« on: January 20, 2015, 06:27:18 am »
随机数的生成是一个由来已久的问题。一个广泛的原则是:随机性的生成 最好不被任何个体所控制。因此譬如从比特币的未来某区块的数据来获取随机性的方式是不能使人信服 的,因为这些随机性最终实际上是由某个个体决定的,无法证明这个相关人没有作恶。
BTS块链中采用的是一种分布式的随机数生成算法,使用了DPOS结构中的受托人来提供随机性。受托人事先生 成私密的种子数据,然后生成区块时公布该种子数据的哈希值,在下一次生成区块时再公布该种子数据 。最终外部过程所使用的随机数由连续的多个种子数据来确定。这样只要有一位受托人是诚实的并将他们的信息保密,那么其他人就无法预测结果。那么我们可以很放心地假设 受托人中至少其中有一个是诚实的。这样产生的随机数可信程度是非常高的。

bts每块都有一个随机数种子:random_seed,
可以在控制台中通过blockchain_get_block 查询,如:查询第100块的随机数=>
>> blockchain_get_block  1000000

{
  "previous": "e9302cdac98a957b738adc7a5844a246f99b6907",
  "block_num": 1000000,
  "timestamp": "2014-11-13T16:33:10",
  "transaction_digest": "c8cf12fe3180ed901a58a0697a522f1217de72d04529bd255627a4ad6164f0f0",
  "next_secret_hash": "98e1f662286bb51067169b37d57e26d4c1a184c1",
  "previous_secret": "ae365cfb435b8460dadbf9c81663e8880e0ec982",
  "delegate_signature": "2095a89c64029014b5e11e11a974aaeec67acd79d747595a7e3c870992dd834c0b0b5b0291bea3db837f4578f426a049d7e9644fc5c7c1b936e38c6e4b5afaa125",
  "user_transaction_ids": [],
  "block_size": 166,
  "latency": 5758292000000,
  "signee_shares_issued": 150000,
  "signee_fees_collected": 0,
  "signee_fees_destroyed": 0,
  "random_seed": "c68620f29b33fc6f77c6d0929520712786cf6a2f",<=这个就是随机数种子了
  "processing_time": 0
}

随机数有很多的应用场景,如彩票、竞猜等、随机选择等,BTS的101每轮受托人顺序就是利用BTS块链中随机数进行随机排列的。
比特股猜区块小游戏(http://btsgame.org ) 是 一个基于bts块链链工作的应用,利用了bts块链的中随机数进行开奖,开奖数字取值预先指定的区块随机数,所以开奖号码是无法预先知道的,庄家无法作弊。

63
中文 (Chinese) / Re: 咨询DNS获取BTS
« on: January 20, 2015, 06:07:21 am »
坑,那个命令是 wallet_collect_vested_balances

64
Technical Support / if there is reward for catch bugs.
« on: January 13, 2015, 12:41:56 am »
It seems that the BTS code still have a lot of bug. If somebody help catch bugs , I want know if there is  reward.
Hope to establish a fund to do it.

65
中文 (Chinese) / 比特股竞猜网址沦陷
« on: January 09, 2015, 04:19:59 am »
昨天(1月8日)晚上,比特股竞猜(btsx.me) 遭到最大“炮击”,连续产生9000BTS奖金后,系统进入维护。

故事从昨天中午开始。中午quiz 在论坛中,写了一篇文章 《154.9175%的挣钱方法》开始,比特股竞猜招来一批套利者。
起先只是一些零星的赌家投注,到8日晚上,对赌战役开始,赌家**w**与庄家进行决战,每次下注100, 首轮120注,1注中,赌家亏损,
quiz还在论坛中写了一篇文章《最大奖金9000BTS已经诞生,系统自动派发奖金》,
赌家并没有败退,继续第二轮下注,到第5注中奖,继续投到80注停止 ,赌家盈利。
半小时后,第三轮进攻开始,投注中了一注后转为疯狂进攻,基本每块都投,连续投到90多注,又连续中了3注。
至此,庄家崩溃,挂起免战牌,网址系统提示 2015年01月08日22点40分 进入维护阶段。

整个战役此赌家胜利,庄家沦陷告终!

另一家同类网址 比特股猜区块游戏(btsgame.org) 目前来看运行还算正常。

===========================================
参考数据:http://www.btsx.me/realtime.php
http://www.btsx.me/winners.php

67
新增竞猜区块代理人游戏: http://btsgame.org/  点击右上角链接 进入 竞猜猜区块代理人,投注后即时显示,即时开奖发送奖金。

68
General Discussion / Re: New BTS client date?
« on: December 02, 2014, 09:04:33 am »
Expect next modification can let blockchain_get_block returns block_record 's all data, and use CLI command can display random_seed,It's import for game development.
do it pls!

69
After 4 hours of reading the source code, I find the problem。
blockchain_get_block return digest_block,blockchain_list_blocks return block_record,
so I use blockchain_list_blocks get blockchain_random_seed,


Out of curiosity, I  spent 1 hours  changed the blockchain_get_block source code, now it can also return random_seed, I think xeroc is doing,

(wallet closed) >>> blockchain_get_block 100                                                                                                                                     {
  "previous": "71524c64f3221c3fb77f93b8707669bdfbf7f33f",
  "block_num": 100,
  "timestamp": "20140719T033520",
  "transaction_digest": "c8cf12fe3180ed901a58a0697a522f1217de72d04529bd255627a4ad6164f0f0",
  "next_secret_hash": "119a1e39809ff06a25854c7f9a75b2f4e135afc8",
  "previous_secret": "a4b5f588ed9f9cf149f74a56be38f53881767b81",
  "delegate_signature": "20ace47fbc877db37a0983e8d7a3a74163c26e0d399df2cf7e5020f9eb2f025cacdbe6e7cf1ffa13f7ae250634cb6a34cb7c3dc059044012c63e2cc34b8f9655ff",
  "user_transaction_ids": [],
  "random_seed": "5b9496384a9297c5629bf48ce2499adc8f220cd4",
  "block_size": 166,
  "latency": 10035102000000,
  "processing_time": 1000
}


Now the problem is that random_seed cannot display blockchain_list_blocks in CLI, expect BM next modification can let blockchain_get_block returns all the data, and CLI can display random_seed..

good job!


70
I was confused. In my 0.4.24 client, only displays the following information=>
default (unlocked) >>> blockchain_get_block 100
{
  "previous": "71524c64f3221c3fb77f93b8707669bdfbf7f33f",
  "block_num": 100,
  "timestamp": "20140719T033520",
  "transaction_digest": "c8cf12fe3180ed901a58a0697a522f1217de72d04529bd255627a4a
d6164f0f0",
  "next_secret_hash": "119a1e39809ff06a25854c7f9a75b2f4e135afc8",
  "previous_secret": "a4b5f588ed9f9cf149f74a56be38f53881767b81",
  "delegate_signature": "20ace47fbc877db37a0983e8d7a3a74163c26e0d399df2cf7e5020f
9eb2f025cacdbe6e7cf1ffa13f7ae250634cb6a34cb7c3dc059044012c63e2cc34b8f9655ff",
  "user_transaction_ids": []
}

71
Technical Support / How can I get blockchain_random_seed in ervery block?
« on: December 01, 2014, 02:17:25 pm »
I know get_info can get blockchain_random_seed,but I want get blockchain_random_seed in a history blocks.how can I get it?
I found these code:
: auto latency = now - block_data.timestamp;
:              block_record record( block_data, self->get_current_random_seed(), block_data.block_size(), :latency );
:              _block_id_to_block_record_db.store( block_id, record );


It seems block_current_random_seed have stored in db.but how can i get it in API.

72
猜区块小游戏,现在开始可以用bitCNY投注了,网址 http://bitcny.btsgame.org/

73
新增猜大小玩法
猜大小:号码0-6为小,号码9-15为大,7、8为平;猜中大小2倍返还,系统出平,0.5倍返还。

74
bitsharex 彩票系统 改名为 猜bitshare区块小游戏,启用正式域名btsgame.org,以后大家可以用   http://btsgame.org/ 进入。

75
因为系统问题,部分支付到bitsharex系统超时了,目前做了一个程序,自动补发支付超时的奖金,解决了该问题。
先前期奖金现在已全部支付!
请大家积极参与!!

Pages: 1 2 3 4 [5] 6