BitShares Forum

Other => Graveyard => KeyID => Topic started by: toast on August 27, 2014, 09:19:46 pm

Title: [DNS] test network for advanced users
Post by: toast on August 27, 2014, 09:19:46 pm
There's a test network. I'm not really giving it any attention b/c of BTSX but I will answer questions and make note of bugs

https://github.com/das-lab/DNS
on branch master

Everything should work except that the wallet transaction history does not interpret the domain transactions properly.

Temporary paramters:
The auction throttle size is hard-coded to 3.
Auction duration is 5 minutes (you have to spend 5 minutes in the top 3 without any bids).
Domain expiration is 2 hours.

Writeup about how much you get back for getting outbid coming soon, here's a rough version:
"""
*  The first time a domain is bid on, if you get outbid, you only get 95% back
*  Afterwards, if you bid on a domain that is "in the throttle" (one of the top K domains) and you get outbid, you get 110% back
*  If you bid on a domain that is not in the throttle  (not in top K and not the first bid), and you get outbid, you get 100% back
AND:  the next person's "required minimum bid" is your bid + the difference between your bid and your required bid
so you have to outbid the last person by more than they outbid the previous person by
"""
Title: Re: [DNS] test network for advanced users
Post by: daidai on August 28, 2014, 01:09:42 am
good news.
Title: Re: [DNS] test network for advanced users
Post by: JetainM on August 28, 2014, 03:45:15 am
Can you send me some BDNS? 
KEY8eKQ6tM1JArmTDg7PF7WMFVJjUJo5kiEygmwyMRfvrFaE7516e

Title: Re: [DNS] test network for advanced users
Post by: JetainM on August 28, 2014, 03:46:21 am
Code: [Select]
mi (unlocked) >>> wallet_import_bitcoin /home/clark/develop/3i/wallet_btc.dat xxx mi001

mi (unlocked) >>> wallet_account_balance
No balances found.

mi (unlocked) >>> wallet_list_accounts
NAME (* delegate)                  KEY                                                             REGISTERED            FAVORITE       APPROVAL       
mi                                 KEY8eKQ6tM1JArmTDg7PF7WMFVJjUJo5kiEygmwyMRfvrFaE7516e           NO                    NO             0         
mi001                              KEY7qdFEEFiW178sYWHdi6UbJLUtgxcNuDZK3nZuuQbL1sQedwZQm           NO                    NO             0   



Can you send me some BDNS? 
KEY8eKQ6tM1JArmTDg7PF7WMFVJjUJo5kiEygmwyMRfvrFaE7516e


Title: Re: [DNS] test network for advanced users
Post by: toast on August 28, 2014, 05:43:31 am
sent
Title: Re: [DNS] test network for advanced users
Post by: alt on August 28, 2014, 07:08:16 am
 +5%
fund please
KEY6EtAaHWAErFnEYxCT1ZL1r8p9yGDN2eBJGWPsRi5wFxatpTZeH
Title: Re: [DNS] test network for advanced users
Post by: mtang on August 28, 2014, 07:56:05 am
making  :)
can't wait to test
Title: Re: [DNS] test network for advanced users
Post by: spoonman on August 28, 2014, 03:48:22 pm
Has anyone built it on OS X? I get everything to build except the last and most import step "8 To build the Desktop Client"...
Title: Re: [DNS] test network for advanced users
Post by: JetainM on August 29, 2014, 02:41:02 am
really sent?
Code: [Select]
mi (locked) >>> wallet_list_accounts
NAME (* delegate)                  KEY                                                             REGISTERED            FAVORITE       APPROVAL       
mi                                 KEY8eKQ6tM1JArmTDg7PF7WMFVJjUJo5kiEygmwyMRfvrFaE7516e           NO                    NO             0         
mi001                              KEY7qdFEEFiW178sYWHdi6UbJLUtgxcNuDZK3nZuuQbL1sQedwZQm           NO                    NO             0         
mi (locked) >>> wallet_account_balance mi
No balances found.
mi (locked) >>> wallet_account_balance mi001
No balances found.
mi (locked) >>> get_info
{
  "blockchain_head_block_num": 10713,
  "blockchain_head_block_age": "10 seconds old",
  "blockchain_head_block_timestamp": "2014-08-29T02:34:30",
  "blockchain_average_delegate_participation": "99.02 %",
  "blockchain_confirmation_requirement": 1,

sent
Title: Re: [DNS] test network for advanced users
Post by: gyhy on August 29, 2014, 02:42:53 am
 +5%
Title: Re: [DNS] test network for advanced users
Post by: JetainM on August 29, 2014, 02:43:55 am
+5%
fund please
KEY6EtAaHWAErFnEYxCT1ZL1r8p9yGDN2eBJGWPsRi5wFxatpTZeH

你收到bdns了吗? 能否给我发点?
KEY8eKQ6tM1JArmTDg7PF7WMFVJjUJo5kiEygmwyMRfvrFaE7516e
Title: Re: [DNS] test network for advanced users
Post by: sfinder on August 29, 2014, 02:46:06 am
 +5% +5% +5%
Title: Re: [DNS] test network for advanced users
Post by: game on August 29, 2014, 03:25:27 am
好 就等你了
Title: Re: [DNS] test network for advanced users
Post by: x.ebit on August 29, 2014, 03:36:52 am
 +5%
Title: Re: [DNS] test network for advanced users
Post by: Harvey on August 29, 2014, 04:41:40 am
It is based on the bitshares_toolkits, which is almost bug free on the DPOS part.
So I guess we don't need to register as delegates.

Some fund please
KEY6rWKwRPQ74tdvJ3tPkQLkutV3BCia5XMeFLhFb9txmUQ4SVskQ
Title: Re: [DNS] test network for advanced users
Post by: crazybit on August 29, 2014, 05:16:58 am
does the genesis of DNS test network use the AGS/PTS snapshot?
Title: Re: [DNS] test network for advanced users
Post by: alt on August 29, 2014, 05:18:35 am
Code: [Select]
2014-08-29T05:17:40 11693     alt                 jetainm             10,000.00000 BDNS                                                   0.50000 BDNS        641a5eb9
2014-08-29T05:18:00 PENDING   alt                 harvey              10,000.00000 BDNS                                                   0.50000 BDNS        99837018
Title: Re: [DNS] test network for advanced users
Post by: testz on August 29, 2014, 05:41:17 am
does the genesis of DNS test network use the AGS/PTS snapshot?

Probably, for % of allocation look here: https://bitsharestalk.org/index.php?topic=6753.0
Title: Re: [DNS] test network for advanced users
Post by: toast on August 29, 2014, 05:49:19 am
this one does not use the real snapshot, just some keys I had. post for funds, a few people have them
Title: Re: [DNS] test network for advanced users
Post by: crazybit on August 29, 2014, 05:53:15 am
this one does not use the real snapshot, just some keys I had. post for funds, a few people have them

KEY5FDpj2TQZCoha4Q7SpJx6ZbM3o9xb1zHoT7kPmQSSGj8zMvctJ

please give me some test fund, thanks
Title: Re: [DNS] test network for advanced users
Post by: alt on August 29, 2014, 06:05:16 am
I have bid for several domains, like: google, qq, bts, alt
with price 10 BDNS
but only google is in auctions list.
Then I  bid qq for price 20 BDNS, qq appear in auction list
bid bts for price 30 BDNS, bts appear in auction list
is this correct?
Title: Re: [DNS] test network for advanced users
Post by: alt on August 29, 2014, 06:09:35 am
and how to list all domains which state is in_sale?
Title: Re: [DNS] test network for advanced users
Post by: mtang on August 29, 2014, 09:37:57 am
+5%
fund please
KEY6EtAaHWAErFnEYxCT1ZL1r8p9yGDN2eBJGWPsRi5wFxatpTZeH

please fund me some coin to play
KEY7FCsTNe9Z3uNj1yUM2tvYSSdTXpdL6eK2k89cANjVwaZ6VQZWd
Title: Re: [DNS] test network for advanced users
Post by: huzhuzhu on August 29, 2014, 10:52:35 pm
could  you please post the detail steps for how to run this DNS client?
Thanks

Title: Re: [DNS] test network for advanced users
Post by: toast on August 29, 2014, 11:02:51 pm
I have bid for several domains, like: google, qq, bts, alt
with price 10 BDNS
but only google is in auctions list.
Then I  bid qq for price 20 BDNS, qq appear in auction list
bid bts for price 30 BDNS, bts appear in auction list
is this correct?

No, this isn't right. I will look into it.
Title: Re: [DNS] test network for advanced users
Post by: sfinder on August 29, 2014, 11:39:00 pm
any instruction for how to run DNS client.

thanks
Title: Re: [DNS] test network for advanced users
Post by: toast on August 29, 2014, 11:43:21 pm
same as for btsx

Code: [Select]
git submodule init
git submodule update
cmake .
make
cd programs/client
./bitshares_client
Title: Re: [DNS] test network for advanced users
Post by: cgafeng on August 30, 2014, 12:38:05 am
fund please
KEY6J8eFstsY499omqvGMtJPxJKJgaY9PZuBNZ78DsrRF521ocbHw
Title: Re: [DNS] test network for advanced users
Post by: ripplexiaoshan on August 30, 2014, 04:28:50 am
KEY7TtiAU94TVx8kNEBUzAetbbNNhrCw9dkvtmtBZzhF4bF6WTrjL

Can I have some fund please?
Title: Re: [DNS] test network for advanced users
Post by: sfinder on August 30, 2014, 04:38:37 am
please fund me to play.

KEY57CuMRXu6mvFpHHwqDVEyc5zzU3UhPJLzEHRBfBPP6jER9ruat


by the way " wallet_import_bitcoin" function is not able to generate coins. is it normal ?
Title: Re: [DNS] test network for advanced users
Post by: alt on August 30, 2014, 03:21:29 pm
sent
Code: [Select]
2014-08-30T15:20:11 23948     alt                 sfinder             10,000.00000 BDNS                                                   0.50000 BDNS        960b3d62
2014-08-30T15:20:48 23951     alt                 xiaoshan            10,000.00000 BDNS                                                   0.50000 BDNS        ae841d38
2014-08-30T15:21:02 23953     alt                 cgafeng             10,000.00000 BDNS                                                   0.50000 BDNS        c1dd3e06
Title: Re: [DNS] test network for advanced users
Post by: sfinder on August 30, 2014, 07:01:57 pm
Toast,

delegate id: "chinese" is up running.

need your votes
Title: Re: [DNS] test network for advanced users
Post by: pc on August 30, 2014, 08:53:41 pm
Some funds, please:

xts:pc:KEY5r26eCoK87PYMmVZuAyVisyj4MfUCVG49uLiRniR8NzGMvG6oT

Thanks!
Title: Re: [DNS] test network for advanced users
Post by: JetainM on August 31, 2014, 05:08:19 am
alt, please vote for my delegate:(or just send 150,000 to account "mi")
wallet_account_set_approval delegate001.mi true   

sent
Code: [Select]
2014-08-30T15:20:11 23948     alt                 sfinder             10,000.00000 BDNS                                                   0.50000 BDNS        960b3d62
Title: Re: [DNS] test network for advanced users
Post by: alt on August 31, 2014, 07:20:29 am
have vote for you all
Title: Re: [DNS] test network for advanced users
Post by: pc on August 31, 2014, 10:37:58 am
Still playing around... and got an assertion failure. I have to admit that I don't really know what I'm doing.
Tried to buy the domain "pc", a few minutes later I was trying to look it up:
Code: [Select]
pc (unlocked) >>> dotp2p_info pc
null
pc (unlocked) >>> dotp2p_show pc
bitshares_client: /usr/include/fc/optional.hpp:197: T* fc::optional<T>::operator->() [with T = bts::blockchain::domain_record]: Assertion `_valid' failed.

Program received signal SIGABRT, Aborted.
0xb7fdd424 in __kernel_vsyscall ()
(gdb) bt
#0  0xb7fdd424 in __kernel_vsyscall ()
#1  0xb797c577 in __GI_raise ([email protected]=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#2  0xb797f9a3 in __GI_abort () at abort.c:89
#3  0xb79756c7 in __assert_fail_base (
    fmt=0xb7ab38f4 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
    [email protected]=0x9406ea1 "_valid",
    [email protected]=0x9406e84 "/usr/include/fc/optional.hpp",
    [email protected]=197,
    [email protected]=0x940cfa0 <fc::optional<bts::blockchain::domain_record>::operator->()::__PRETTY_FUNCTION__> "T* fc::optional<T>::operator->() [with T = bts::blockchain::domain_record]") at assert.c:92
#4  0xb7975777 in __GI___assert_fail (assertion=0x9406ea1 "_valid",
    file=0x9406e84 "/usr/include/fc/optional.hpp", line=197,
    function=0x940cfa0 <fc::optional<bts::blockchain::domain_record>::operator->()::__PRETTY_FUNCTION__> "T* fc::optional<T>::operator->() [with T = bts::blockchain::domain_record]") at assert.c:101
#5  0x08b3d172 in fc::optional<bts::blockchain::domain_record>::operator->() ()
#6  0x08b193ff in bts::client::detail::client_impl::dotp2p_show(std::string const&) ()
#7  0x08ecd460 in bts::rpc_stubs::common_api_client::dotp2p_show(std::string const&) ()
#8  0x08dcf104 in bts::rpc_stubs::common_api_rpc_server::dotp2p_show_positional(std::shared_ptr<fc::rpc::json_connection> const&, std::vector<fc::variant, std::allocator<fc::variant> > const&) ()
#9  0x08e37ab6 in bts::rpc_stubs::common_api_rpc_server::direct_invoke_positional_method(std::string const&, std::vector<fc::variant, std::allocator<fc::variant---Type <return> to continue, or q <return> to quit---
> > const&) ()
#10 0x08c59435 in bts::rpc::detail::rpc_server_impl::dispatch_authenticated_method(bts::api::method_data const&, std::vector<fc::variant, std::allocator<fc::variant> > const&) ()
#11 0x08c59c7d in bts::rpc::detail::rpc_server_impl::direct_invoke_method(std::string const&, std::vector<fc::variant, std::allocator<fc::variant> > const&) ()
#12 0x08c4c339 in bts::rpc::rpc_server::direct_invoke_method(std::string const&, std::vector<fc::variant, std::allocator<fc::variant> > const&) ()
#13 0x08c7020a in bts::cli::detail::cli_impl::execute_command(std::string const&, std::vector<fc::variant, std::allocator<fc::variant> > const&) ()
#14 0x08c70158 in bts::cli::detail::cli_impl::execute_interactive_command(std::string const&, std::vector<fc::variant, std::allocator<fc::variant> > const&) ()
#15 0x08c69159 in bts::cli::cli::execute_interactive_command(std::string const&, std::vector<fc::variant, std::allocator<fc::variant> > const&) ()
#16 0x08c6ac54 in bts::cli::detail::cli_impl::parse_and_execute_interactive_command(std::string, std::shared_ptr<fc::istream>) ()
#17 0x08c6b926 in bts::cli::detail::cli_impl::execute_command_line(std::string const&) ()
#18 0x08c6765c in bts::cli::detail::cli_impl::process_commands(std::istream*)
    ()
#19 0x08c6a54d in bts::cli::detail::cli_impl::start() ()
#20 0x08c688ca in bts::cli::cli::start() ()
#21 0x08b28c5e in bts::client::detail::client_impl::start() ()
#22 0x08b0c514 in bts::client::client::start()::{lambda()#1}::operator()() const ()
#23 0x08b1c869 in fc::detail::void_functor_run<bts::client::client::start()::{lambda()#1}>::run(void*, fc::detail::void_functor_run<bts::client::client::start()---Type <return> to continue, or q <return> to quit---
::{lambda()#1}>) ()
#24 0x08bce997 in fc::task_base::run_impl() ()
#25 0x08bce94d in fc::task_base::run() ()
#26 0x08bc6cf9 in fc::thread_d::run_next_task() ()
#27 0x08bc7024 in fc::thread_d::process_tasks() ()
#28 0x08bc6885 in fc::thread_d::start_process_tasks(int) ()
#29 0xb7c85597 in make_fcontext ()
   from /usr/lib/i386-linux-gnu/libboost_context.so.1.54.0
Title: Re: [DNS] test network for advanced users
Post by: cm2355 on September 01, 2014, 02:17:15 am
fund please
KEY6kvfP3KmEAPYSgALbbNgJkUbtx67anqS2gwxgkYrM68vLwCjuy
Title: Re: [DNS] test network for advanced users
Post by: mtang on September 01, 2014, 02:33:03 am
have vote for you all
KEY7FCsTNe9Z3uNj1yUM2tvYSSdTXpdL6eK2k89cANjVwaZ6VQZWd
fund me please :P
Title: Re: [DNS] test network for advanced users
Post by: alt on September 01, 2014, 02:48:19 am
Code: [Select]
2014-09-01T02:47:49 36576     alt                 cm2355              10,000.00000 BDNS                                                   0.50000 BDNS        1e0d8eb6
2014-09-01T02:47:54 36576     alt                 mtang               10,000.00000 BDNS                                                   0.50000 BDNS        e8d014db
Title: Re: [DNS] test network for advanced users
Post by: mtang on September 01, 2014, 03:14:05 am
Code: [Select]
2014-09-01T02:47:49 36576     alt                 cm2355              10,000.00000 BDNS                                                   0.50000 BDNS        1e0d8eb6
2014-09-01T02:47:54 36576     alt                 mtang               10,000.00000 BDNS                                                   0.50000 BDNS        e8d014db
received
Thanks
Title: Re: [DNS] test network for advanced users
Post by: cm2355 on September 01, 2014, 03:30:08 am
Code: [Select]
2014-09-01T02:47:49 36576     alt                 cm2355              10,000.00000 BDNS                                                   0.50000 BDNS        1e0d8eb6
2014-09-01T02:47:54 36576     alt                 mtang               10,000.00000 BDNS                                                   0.50000 BDNS        e8d014db

received  :)
Thanks
Title: Re: [DNS] test network for advanced users
Post by: x.ebit on September 01, 2014, 03:22:09 pm
 :D
KEY7j5bDDdaZuSK2TZ1d9Q8UTeYANTYLk8btiXWtXs5XzedimTT8h
Title: Re: [DNS] test network for advanced users
Post by: alwaysjh on September 02, 2014, 05:17:31 am
Some funds for delegate, please:

KEY66f2C9BbkZ75bdsnLPVHT1NATdjJgxYgnKGd4eWJTeQ57QRpWj

Thanks!
Title: Re: [DNS] test network for advanced users
Post by: gyhy on September 02, 2014, 08:36:05 am
Some funds , please:
KEY5yPy2APzSmJoKszYYfQ1JtiiCuYZaUBMoBr7GNoF8UN7nCBLhk
Title: Re: [DNS] test network for advanced users
Post by: huzhuzhu on September 03, 2014, 03:51:29 pm
got following compile error

Quote

[ 81%] Building CXX object libraries/blockchain/CMakeFiles/bts_blockchain.dir/chain_interface.cpp.o
/home/ubuntu/DNS/libraries/blockchain/chain_interface.cpp: In member function ‘virtual bool bts::blockchain::chain_interface::is_valid_account_name(const string&) const’:
/home/ubuntu/DNS/libraries/blockchain/chain_interface.cpp:48:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       if( dot != std::string::npos )
                               ^
[ 81%] Building CXX object libraries/blockchain/CMakeFiles/bts_blockchain.dir/pending_chain_state.cpp.o
[ 82%] Building CXX object libraries/blockchain/CMakeFiles/bts_blockchain.dir/chain_database.cpp.o
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
make[2]: *** [libraries/blockchain/CMakeFiles/bts_blockchain.dir/chain_database.cpp.o] Error 4
make[1]: *** [libraries/blockchain/CMakeFiles/bts_blockchain.dir/all] Error 2
make: *** [all] Error 2
Title: Re: [DNS] test network for advanced users
Post by: huzhuzhu on September 03, 2014, 04:03:51 pm

do i need to check out as "develop" branch?


Quote


git clone ttps://github.com/das-lab/DNS
cd DNS
git checkout develop
git submodule init
git submodule update
cmake .
make
*

got following compile error

Quote

[ 81%] Building CXX object libraries/blockchain/CMakeFiles/bts_blockchain.dir/chain_interface.cpp.o
/home/ubuntu/DNS/libraries/blockchain/chain_interface.cpp: In member function ‘virtual bool bts::blockchain::chain_interface::is_valid_account_name(const string&) const’:
/home/ubuntu/DNS/libraries/blockchain/chain_interface.cpp:48:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       if( dot != std::string::npos )
                               ^
[ 81%] Building CXX object libraries/blockchain/CMakeFiles/bts_blockchain.dir/pending_chain_state.cpp.o
[ 82%] Building CXX object libraries/blockchain/CMakeFiles/bts_blockchain.dir/chain_database.cpp.o
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
make[2]: *** [libraries/blockchain/CMakeFiles/bts_blockchain.dir/chain_database.cpp.o] Error 4
make[1]: *** [libraries/blockchain/CMakeFiles/bts_blockchain.dir/all] Error 2
make: *** [all] Error 2
Title: Re: [DNS] test network for advanced users
Post by: xeroc on September 03, 2014, 04:08:30 pm

do i need to check out as "develop" branch?


Quote


git clone ttps://github.com/das-lab/DNS
cd DNS
git checkout develop
git submodule init
git submodule update
cmake .
make
*

got following compile error

Quote

[ 81%] Building CXX object libraries/blockchain/CMakeFiles/bts_blockchain.dir/chain_interface.cpp.o
/home/ubuntu/DNS/libraries/blockchain/chain_interface.cpp: In member function ‘virtual bool bts::blockchain::chain_interface::is_valid_account_name(const string&) const’:
/home/ubuntu/DNS/libraries/blockchain/chain_interface.cpp:48:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
       if( dot != std::string::npos )
                               ^
[ 81%] Building CXX object libraries/blockchain/CMakeFiles/bts_blockchain.dir/pending_chain_state.cpp.o
[ 82%] Building CXX object libraries/blockchain/CMakeFiles/bts_blockchain.dir/chain_database.cpp.o
c++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
make[2]: *** [libraries/blockchain/CMakeFiles/bts_blockchain.dir/chain_database.cpp.o] Error 4
make[1]: *** [libraries/blockchain/CMakeFiles/bts_blockchain.dir/all] Error 2
make: *** [all] Error 2

you are probably running out of ram .. but you can add Swap to your system:
https://wiki.archlinux.org/index.php/swap#Swap_file
Title: Re: [DNS] test network for advanced users
Post by: cube on September 20, 2014, 05:46:41 pm
Please provide some fund to:

keyid:bitcube:KEY73x6dhZfQiVPUg6dDzgj33WNpj17pFV1dtmCefE2NDdWvc2CA7