BitShares Forum

Other => Graveyard => KeyID => Topic started by: toast on September 23, 2014, 08:25:57 pm

Title: [DNS] Advanced user testnet #3
Post by: toast on September 23, 2014, 08:25:57 pm
In my feverish delusions last night at 3am I realized the cause of the Big Bug in the last testnet. It seems to work now.

http://github.com/keyid/keyid
master branch

*  This is the proposed *final* genesis block, modulo dev fund keys
*  Wallet still requires manual rescan for most DNS operations
*  Auction parameters are not what the real ones  -  in particular, auctions only last 1 minute and domains expire after 1 day. "Spotlight" / "kickback throttle size" is hard-coded to 3.
*  Brave users can try to build the GUI and check out the new user onboarding flow  (as soon as dbrock comes online and updates the freekeyid.com client). The GUI for the domain auction is still not ready.


If all goes well we will use this test network to test the GUI once it is polished up - if that works too then we are good to go.

Watch this space for updates:  keyid.info
Title: Re: [DNS] Advanced user testnet #3
Post by: toast on September 23, 2014, 08:29:50 pm
Fake dev fund privkey for testing - don't empty it:   5Jp8mEBbtk1rPM7TeciJ69RQoaVFDoVUkdRWarR2VGsJofcKttW
Title: Re: [DNS] Advanced user testnet #3
Post by: xeroc on September 23, 2014, 09:11:04 pm
(http://i.imgur.com/mC5gXe5.png)
Logo: awesome
Subtitle: awesome

gonna join that fun tomorrow!
Title: Re: [DNS] Advanced user testnet #3
Post by: Method-X on September 23, 2014, 09:15:03 pm
(http://i.imgur.com/mC5gXe5.png)
Logo: awesome
Subtitle: awesome

gonna join that fun tomorrow!

OMG that is all kinds of awesome!
Title: Re: [DNS] Advanced user testnet #3
Post by: sudo on September 24, 2014, 01:09:15 am
toast  if  DNS can fuck GFW
then  it will  attract  Hundreds of thousands of people in China mainland
Title: Re: [DNS] Advanced user testnet #3
Post by: gamey on September 24, 2014, 05:56:32 am
toast  if  DNS can fuck GFW
then  it will  attract  Hundreds of thousands of people in China mainland

At some point once the the functionality as I understand it has been implemented, the next step would be to partner with some form of distributed web-server/tor-system to add the next layer of decentralization.  I mean kinda obvious thought but .. personally I'd like people pointing out possible partners because I don't spend near as much time on the bitcointalk forum anymore.
Title: Re: [DNS] Advanced user testnet #3
Post by: mtang on September 24, 2014, 05:59:31 am
toast  if  DNS can fuck GFW
then  it will  attract  Hundreds of thousands of people in China mainland
That's ture. FXXK GFW is a huge market in China. :'(
Title: Re: [DNS] Advanced user testnet #3
Post by: crazybit on September 24, 2014, 07:02:12 am
unable to connect to test netowork,seems no available seed node
Title: Re: [DNS] Advanced user testnet #3
Post by: toast on September 24, 2014, 03:39:20 pm
unable to connect to test netowork,seems no available seed node

Sorry, it was on the wrong port, try again.
Title: Re: [DNS] Advanced user testnet #3
Post by: xeroc on September 25, 2014, 10:11:47 am
I am connected and imported the above private key .. all works fine ..
i also made a
dotp2p_buy xeroc 10 xeroc-id
and see the domain in
Code: [Select]
default (unlocked) >>> dotp2p_list_offers xeroc
[{
    "domain_name": "xeroc",
    "price": 10,
    "offer_address": "KEY14zg6USpJHh4B1vi44BjcRxhYefZSTHQh"
  }
]
but nowhere else .. where can i find some more documentation about the commands and what they are supposed to do?
Title: Re: [DNS] Advanced user testnet #3
Post by: toast on September 25, 2014, 02:48:57 pm
I am connected and imported the above private key .. all works fine ..
i also made a
dotp2p_buy xeroc 10 xeroc-id
and see the domain in
Code: [Select]
default (unlocked) >>> dotp2p_list_offers xeroc
[{
    "domain_name": "xeroc",
    "price": 10,
    "offer_address": "KEY14zg6USpJHh4B1vi44BjcRxhYefZSTHQh"
  }
]
but nowhere else .. where can i find some more documentation about the commands and what they are supposed to do?


A writeup like this is high priority. For now, if you want a domain, use "dotp2p_bid" and wait one minute.
Title: Re: [DNS] Advanced user testnet #3
Post by: xeroc on September 25, 2014, 05:07:04 pm
Fake dev fund privkey for testing - don't empty it:   5Jp8mEBbtk1rPM7TeciJ69RQoaVFDoVUkdRWarR2VGsJofcKttW
WTF !?!?!

it seems I emptied the fund by an auction:
  dotp2p_bid xeroc 100 xeroc-id

Code: [Select]
default (unlocked) >>> history
TIMESTAMP           BLOCK     FROM                TO                  AMOUNT                  MEMO                                        BALANCE                 FEE                 ID     
==============================================================================================================================================================================================
2014-07-19T00:00:10 0         GENESIS             xeroc-id            200,000,000.02795 DNS   claim PsDzRSA5pmnGk9dFUAjgz6zRHgerDo4226    200,000,000.02795 DNS   0.00000 DNS         [e94dc2]
.............
2014-09-25T10:03:24 13577     xeroc-id            xeroc-id            0.00000 DNS             register xeroc-id                           198,989,896.52595 DNS   0.50100 DNS         5648f6ce
2014-09-25T10:05:30 13589     xeroc-id            UNKNOWN             10.50000 DNS                                                        198,989,885.52595 DNS   0.50000 DNS         835d11dc
2014-09-25T16:01:00 15722     xeroc-id            UNKNOWN             0.00000 DNS                                                         198,989,785.02595 DNS   100.50000 DNS       5c307696
2014-09-25T16:47:30 16001     xeroc-id            UNKNOWN             0.00000 DNS                                                         198,989,784.52495 DNS   0.50100 DNS         8069ee44
2014-09-25T16:48:50 16009     xeroc-id            UNKNOWN             0.00000 DNS                                                         198,989,784.01708 DNS   0.50787 DNS         9dad4e8f
2014-09-25T16:49:10 16011     xeroc-id            UNKNOWN             198,989,784.01708 DNS                                               -0.50000 DNS            0.50000 DNS         92e50264

did I do sth. wrong?
Title: Re: [DNS] Advanced user testnet #3
Post by: Riverhead on September 25, 2014, 05:11:35 pm
Big spender :). It looks like it hasn't closed. Can you cancel the bid?
Title: Re: [DNS] Advanced user testnet #3
Post by: xeroc on September 25, 2014, 05:29:00 pm
Big spender :). It looks like it hasn't closed. Can you cancel the bid?
no open orders :(

just wondering why the HUGE amount?! never entered anything larger than 100
Title: Re: [DNS] Advanced user testnet #3
Post by: toast on September 25, 2014, 05:33:52 pm
Does your terminal show enough history to see the actual transaction you generated?
Title: Re: [DNS] Advanced user testnet #3
Post by: tonyk on September 25, 2014, 05:34:45 pm
Fake dev fund privkey for testing - don't empty it:   5Jp8mEBbtk1rPM7TeciJ69RQoaVFDoVUkdRWarR2VGsJofcKttW
WTF !?!?!

it seems I emptied the fund by an auction:
  dotp2p_bid xeroc 100 xeroc-id

Code: [Select]
default (unlocked) >>> history
TIMESTAMP           BLOCK     FROM                TO                  AMOUNT                  MEMO                                        BALANCE                 FEE                 ID     
==============================================================================================================================================================================================
2014-07-19T00:00:10 0         GENESIS             xeroc-id            200,000,000.02795 DNS   claim PsDzRSA5pmnGk9dFUAjgz6zRHgerDo4226    200,000,000.02795 DNS   0.00000 DNS         [e94dc2]
.............
2014-09-25T10:03:24 13577     xeroc-id            xeroc-id            0.00000 DNS             register xeroc-id                           198,989,896.52595 DNS   0.50100 DNS         5648f6ce
2014-09-25T10:05:30 13589     xeroc-id            UNKNOWN             10.50000 DNS                                                        198,989,885.52595 DNS   0.50000 DNS         835d11dc
2014-09-25T16:01:00 15722     xeroc-id            UNKNOWN             0.00000 DNS                                                         198,989,785.02595 DNS   100.50000 DNS       5c307696
2014-09-25T16:47:30 16001     xeroc-id            UNKNOWN             0.00000 DNS                                                         198,989,784.52495 DNS   0.50100 DNS         8069ee44
2014-09-25T16:48:50 16009     xeroc-id            UNKNOWN             0.00000 DNS                                                         198,989,784.01708 DNS   0.50787 DNS         9dad4e8f
2014-09-25T16:49:10 16011     xeroc-id            UNKNOWN             198,989,784.01708 DNS                                               -0.50000 DNS            0.50000 DNS         92e50264

did I do sth. wrong?


>>'-0.50000 DNS'

At least you can pride yourself as the first person that shorted DNS!  :)
Title: Re: [DNS] Advanced user testnet #3
Post by: toast on September 25, 2014, 05:35:10 pm
Also what does "balance" report? It shows you have a negative balance at the end which should be impossible anyway
Title: Re: [DNS] Advanced user testnet #3
Post by: xeroc on September 25, 2014, 05:37:26 pm
Does your terminal show enough history to see the actual transaction you generated?
unfortunatelly not .. can only give you the tx on the blockchain :(
Title: Re: [DNS] Advanced user testnet #3
Post by: toast on September 25, 2014, 05:39:14 pm
Does your terminal show enough history to see the actual transaction you generated?
unfortunatelly not .. can only give you the tx on the blockchain :(

Yeah I just grabbed it from there.

Do you have this key?
wallet_dump_private_key KEY9R9R8DSWrGZc7uWoKRLyMiE8KQF7SLbaj
Title: Re: [DNS] Advanced user testnet #3
Post by: xeroc on September 25, 2014, 05:40:38 pm
default (unlocked) >>> wallet_dump_private_key KEY9R9R8DSWrGZc7uWoKRLyMiE8KQF7SLbaj
"key not found"
Title: Re: [DNS] Advanced user testnet #3
Post by: toast on September 25, 2014, 05:41:37 pm
Do "scan" then "balance"
Title: Re: [DNS] Advanced user testnet #3
Post by: xeroc on September 25, 2014, 05:42:43 pm
Code: [Select]
2014-09-25T16:01:00 15722     xeroc-id            UNKNOWN             0.00000 DNS                                                         198,989,785.02595 DNS   100.50000 DNS       5c307696
2014-09-25T16:47:30 16001     xeroc-id            UNKNOWN             0.00000 DNS                                                         198,989,784.52495 DNS   0.50100 DNS         8069ee44
2014-09-25T16:48:50 16009     xeroc-id            UNKNOWN             0.00000 DNS                                                         198,989,784.01708 DNS   0.50787 DNS         9dad4e8f
2014-09-25T16:49:10 16011     xeroc-id            UNKNOWN             198,989,784.01708 DNS                                               -0.50000 DNS            0.50000 DNS         92e50264

The first line is the BID ... I see ..

Someone else took the stake ..

I just imported the above private key into my account keys and worked with a funded account name "xeroc-id" ..
So I guess it's not my fault :-)
Title: Re: [DNS] Advanced user testnet #3
Post by: xeroc on September 25, 2014, 05:43:24 pm
Do "scan" then "balance"
not changing anything
Title: Re: [DNS] Advanced user testnet #3
Post by: toast on September 25, 2014, 05:46:28 pm
Yep, that's what it looks like, someone transferred the funds. Too bad we can't tell to which account =P  Maybe they will post here.
Meanwhile I am curious why it reports a balance of -0.5. I'm guessing it's because the other guys paid the fee from "your" account, which it detects, but it doesn't detect the new balance.
Title: Re: [DNS] Advanced user testnet #3
Post by: toast on September 25, 2014, 05:48:25 pm
culprit:

Code: [Select]
4745  untitled                        3.96685008 %   1        2        33.33 %       50 %     498.39708 DNS       16067
Title: Re: [DNS] Advanced user testnet #3
Post by: xeroc on September 25, 2014, 05:50:24 pm
Yep, that's what it looks like, someone transferred the funds. Too bad we can't tell to which account =P  Maybe they will post here.
Meanwhile I am curious why it reports a balance of -0.5. I'm guessing it's because the other guys paid the fee from "your" account, which it detects, but it doesn't detect the new balance.
guess I will do it differently next time and just take out some portion and leave the rest untouched to not produce negative balances :)