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 2 3 4 5 6 7 8 [9] 10 11 12 13 14 15 16 ... 21
121
General Discussion / Re: JDS Dry Run #2
« on: October 10, 2014, 10:05:26 am »
it has been a fresh checkout ..
I am running on boost 1.56.0
Are you on master?
*confirmed*

I'm using Debian 3.2.57-3 with boost 1.55.0.2

Can you try to follow https://github.com/zhangweis/jds/blob/master/BUILD_UBUNTU.md? I've fixed the url in it.

122
General Discussion / Re: JDS Dry Run #2
« on: October 10, 2014, 09:57:30 am »
Built here without issue.

riverdice - JDST6t2MrADeGpACfRm5Nm3unEkH82dvdvxwKCECNV8coVoywuWuJ9

Also, is this the right blockchain?

Code: [Select]
  "blockchain_id": "9329bb6fbb5d6fbc0e0872dd306536f66ea53250ee1e00602cb36bff05eff842",
  "symbol": "JDST",
  "name": "BitShares JDST",
  "version": 109,
  "db_version": 133,
  "genesis_timestamp": "2014-06-20T14:40:27",
Yes, it's the right one.

sent 1,000,000.00000 JDST to you.

123
General Discussion / Re: JDS Dry Run #2
« on: October 10, 2014, 07:27:05 am »
it has been a fresh checkout ..
I am running on boost 1.56.0
Are you on master?

124
中文 (Chinese) / Re: JustDice风格的骰子DAC提议(JDS)
« on: October 10, 2014, 12:40:42 am »
还没参与测试,谁测试了,讲讲盈利情况?
受托人能自动将收入投入骰子游戏么?这样就能吸引玩家。

什么时候拍照,上线?
Quote
20%PTS/20%AGS/10%Dev/50%Delegates
持有JDS相当于JD的坐庄,输赢都是通过总量变化完成,所以跟JD类似,有输有赢,总体应该是dice量的1%(House edge).
受托人能自动将收入投入骰子游戏么?这个没看懂。如果是指受托人的收入自动坐庄,这个上面描述了,是会自动坐庄的。不过如果受托人想将收入去下注,需要先提出来到自己账户再下注。
拍照时间没定,不过现在基本上大的变动都完成了,如果测试的情况比较好,应该离正式发布不会太远了。拍照时间应该是在软件准备就绪后,拍照,然后准备发布,比如生成genesis,解决法律问题等等。

125
General Discussion / Re: JDS Dry Run #2
« on: October 09, 2014, 10:53:00 pm »
I am still getting a compile error:
Code: [Select]
[ 30%] Building CXX object libraries/fc/CMakeFiles/fc.dir/src/thread/thread.cpp.o
In file included from /tmp/jds/libraries/fc/src/thread/thread.cpp:5:
In file included from /tmp/jds/libraries/fc/src/thread/thread_d.hpp:4:
In file included from /usr/include/boost/thread.hpp:17:
In file included from /usr/include/boost/thread/once.hpp:20:
In file included from /usr/include/boost/thread/pthread/once_atomic.hpp:20:
In file included from /usr/include/boost/atomic.hpp:12:
/usr/include/boost/atomic/atomic.hpp:31:16: error: target of using declaration conflicts with declaration already in scope
using atomics::atomic;
               ^
/usr/include/boost/atomic/detail/atomic_template.hpp:668:7: note: target of using declaration
class atomic :
      ^
/tmp/jds/libraries/fc/include/fc/thread/spin_yield_lock.hpp:4:30: note: conflicting declaration
  template<typename T> class atomic;
                             ^
In file included from /tmp/jds/libraries/fc/src/thread/thread.cpp:5:
In file included from /tmp/jds/libraries/fc/src/thread/thread_d.hpp:5:
/tmp/jds/libraries/fc/src/thread/context.hpp:58:49: error: no member named 'default_stacksize' in 'boost::coroutines::basic_standard_stack_allocator<boost::coroutines::stack_traits>'
     size_t stack_size =  bco::stack_allocator::default_stacksize() * 4;
                          ~~~~~~~~~~~~~~~~~~~~~~^
/tmp/jds/libraries/fc/src/thread/context.hpp:60:17: error: assigning to 'bc::fcontext_t *' (aka 'void **') from incompatible type 'fcontext_t' (aka 'void *')
     my_context = bc::make_fcontext( stack_ctx.sp, stack_ctx.size, sf);
                ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/jds/libraries/fc/src/thread/thread.cpp:5:
/tmp/jds/libraries/fc/src/thread/thread_d.hpp:74:44: error: implicit instantiation of undefined template 'boost::atomic<fc::task_base *>'
           boost::atomic<task_base*>       task_in_queue;
                                           ^
/tmp/jds/libraries/fc/include/fc/thread/spin_yield_lock.hpp:4:30: note: template is declared here
  template<typename T> class atomic;
                             ^
In file included from /tmp/jds/libraries/fc/src/thread/thread.cpp:5:
/tmp/jds/libraries/fc/src/thread/thread_d.hpp:34:41: error: implicit instantiation of undefined template 'boost::atomic<int>'
              static boost::atomic<int> cnt(0);
                                        ^
/tmp/jds/libraries/fc/include/fc/thread/spin_yield_lock.hpp:4:30: note: template is declared here
  template<typename T> class atomic;
                             ^
5 errors generated.
libraries/fc/CMakeFiles/fc.dir/build.make:146: recipe for target 'libraries/fc/CMakeFiles/fc.dir/src/thread/thread.cpp.o' failed
make[2]: *** [libraries/fc/CMakeFiles/fc.dir/src/thread/thread.cpp.o] Error 1
CMakeFiles/Makefile2:196: recipe for target 'libraries/fc/CMakeFiles/fc.dir/all' failed
make[1]: *** [libraries/fc/CMakeFiles/fc.dir/all] Error 2
Makefile:76: recipe for target 'all' failed
make: *** [all] Error 2


Can you try from a fresh start? like removing the jds folder and git clone, git submodule init, git submodule  update, cmake ., make.

126
General Discussion / Re: JDS Dry Run #2
« on: October 09, 2014, 04:30:24 pm »
Test account private key 5JBLNgtSSBAzsq6bXkqpDyNn64kmp6nDepyM798a2dZLdyHThbf. Please don't empty it.
It's better to use GUI but if you want to use console you can do as below:
wallet_dice "<account_name>" 100 2 true
   Roll dice using account 100 JDS and payout as 2, roll high.
wallet_account_dice_transaction_history to view the result. It's in json, that's why it's better to use GUI .

127
General Discussion / Re: JDS Dry Run #2
« on: October 09, 2014, 04:22:01 pm »
Build fails for me:

Code: [Select]
[ 73%] Building CXX object libraries/net/CMakeFiles/bts_net.dir/message_oriented_connection.cpp.o
/home/peter/rpmbuild/BUILD/jds-master/libraries/net/message_oriented_connection.cpp:31:19: error: cannot declare field 'bts::net::detail::message_oriented_connection_impl::_sock' to be of abstract type 'bts::net::stcp_socket'
In file included from /home/peter/rpmbuild/BUILD/jds-master/libraries/net/message_oriented_connection.cpp:9:0:
/home/peter/rpmbuild/BUILD/jds-master/libraries/net/include/bts/net/stcp_socket.hpp:12:7: note:   because the following virtual functions are pure within 'bts::net::stcp_socket':
In file included from /usr/include/fc/network/tcp_socket.hpp:4:0,
                 from /home/peter/rpmbuild/BUILD/jds-master/libraries/net/include/bts/net/message_oriented_connection.hpp:2,
                 from /home/peter/rpmbuild/BUILD/jds-master/libraries/net/message_oriented_connection.cpp:8:
/usr/include/fc/io/iostream.hpp:24:26: note:    virtual std::size_t fc::istream::readsome(const std::shared_ptr<char>&, std::size_t, std::size_t)
/usr/include/fc/io/iostream.hpp:46:27: note:    virtual std::size_t fc::ostream::writesome(const std::shared_ptr<const char>&, std::size_t, std::size_t)
/home/peter/rpmbuild/BUILD/jds-master/libraries/net/message_oriented_connection.cpp: In member function 'void bts::net::detail::message_oriented_connection_impl::read_loop()':
/home/peter/rpmbuild/BUILD/jds-master/libraries/net/message_oriented_connection.cpp:143:57: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

Are you on master? Have you tried "git submodule init" and "git submodule update"?

128
General Discussion / Re: JDS Dry Run #2
« on: October 09, 2014, 03:54:00 pm »
Can you also comment on this thread? https://bitsharestalk.org/index.php?topic=8916.new#new

A lot of concern about putting private keys into new DACs to claim distribution. Since this thread is about the previous lotto DAC you may already be following.

Sorry I don't follow much about this DAC. The last time I checked it, it seemed not based on BTS code but some POW code.
I can understand the concern about putting private keys to claim distribution. I think the cold storage solution can solve this elegantly but as it's not fully ready I have the idea that we can have the private keys to sign something like "claim JDS to JDSxxxxx" to move the fund to another (newly created) account.

129
General Discussion / Re: JDS Dry Run #2
« on: October 09, 2014, 07:26:35 am »
No time like the first time :).

Here are the instructions for BitSharesX. Since JDS is based on the bitshares_toolkit the steps will be nearly if not completely the same.

http://wiki.bitshares.org/index.php/BuildInstructionsBitSharesX

You can also follow https://github.com/zhangweis/jds/blob/master/BUILD_UBUNTU.md if you're using ubuntu. I only changed the git repository url.

130
General Discussion / Re: JDS Dry Run #2
« on: October 09, 2014, 04:55:59 am »
Do you want me to bring it up at Friday's "State of the Blockchain" Mumble session? We can get you testers if that's what you need.

Sure, I'd appreciate that and I'm also thinking of a JDST dice tournament to promote this.

131
General Discussion / Re: JDS Dry Run #2
« on: October 09, 2014, 04:40:27 am »
Thank you. Sorry if I jumped the gun. Just excited to see this in action. :)

Thanks for trying.

Currently it has very low testing participation and I'm trying to find a way to promote testing participation as most big changes have been done.

132
General Discussion / Re: JDS Dry Run #2
« on: October 09, 2014, 04:32:59 am »
I see there are 17 dry runs. Are they place holders? Do you want any testing done? I build the source but the blockchain wasn't active. I did DR17 since it was the biggest number haha. Looking forward to this DAC.

I cloned it from btsx and I'm using master.

133
General Discussion / Re: JDS Dry Run #2
« on: October 09, 2014, 03:34:04 am »
[Update]:
Shuffling delegates after every block is implemented and under tests.

134
General Discussion / Re: JDS (Just Dice Style Shares) Dry Run #1
« on: October 06, 2014, 10:42:01 pm »
I really like this adjustment.... the primary challenge is deciding who goes next in the event of a missed block.  You would have to "shuffle all remaining delegates".  Then what happens when the "short list" of delegates are all inactive. 

I will choose to shuffle bottom n not top n. Then n is not based on block index but slot index. Then missed delegates will still stay in top but time slot will pass and the one after it will take the chance. Of course I will need to find block signee in the list to determine the slot index the current block is on.

135
中文 (Chinese) / Re: JustDice风格的骰子DAC提议(JDS)
« on: October 06, 2014, 04:38:50 pm »
进度更新[1007]
Dry run 02开始了。https://bitsharestalk.org/index.php?topic=9758.0

Pages: 1 2 3 4 5 6 7 8 [9] 10 11 12 13 14 15 16 ... 21