Author Topic: Dry Run 5: The Final Countdown  (Read 54027 times)

0 Members and 1 Guest are viewing this topic.

Offline bytemaster

This Dry Run is now over... here is where we are at:

It appears that we resolved many issues and that the primary cause of forks right now is network propagation delay caused by CPU load, bandwidth throttling, and the single-threaded nature of the code. 

I would like to separate logic bugs from performance induced bugs because we have ways to significantly enhance performance over time.  Dry run 6 will focus on eliminating the effects of performance from the equation while introducing many small enhancements at the same time.

Stay tuned.
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline bytemaster

I list the transaction_history of same account in two computer , but the result is different
Code: [Select]
roy (unlocked) >>> wallet_account_transaction_history btsdac
    BLK.TRX  TIMESTAMP           FROM                TO                  MEMO                                             AMOUNT             FEE              ID
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    954.0    2014-06-24T05:51:30 mao-delegate1       btsdac                                                        100.00000 XTS         0.00000 XTS        fbb58eb5
   1125.0    2014-06-24T07:28:00 calyau              btsdac              cheers                                     22.00000 XTS         0.00000 XTS        1bcea32a
   1209.0    2014-06-24T08:16:00 XTS5vPz2LsE1KkmR... btsdac              test                                        2.00000 XTS         0.00000 XTS        ac3f9ede
   1379.0    2014-06-24T09:51:00 calyau              btsdac              more                                      100.00000 XTS         0.00000 XTS        77ebfa3b
   3660.1    2014-06-25T16:16:30 btsdac              btsdac02                                                       10.00000 XTS         0.10000 XTS        6309495b
   3660.2    2014-06-25T16:16:30 btsdac              btsdac01                                                       10.00000 XTS         0.10000 XTS        e3f5beec
   3660.0    2014-06-25T16:16:30 btsdac              btsdac02                                                        1.00000 XTS         0.10000 XTS        5fd5d73b

Code: [Select]
roy (unlocked) >>> wallet_account_transaction_history btsdac
    BLK.TRX  TIMESTAMP           FROM                TO                  MEMO                                             AMOUNT             FEE              ID
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    954.0    2014-06-24T05:51:30 mao-delegate1       btsdac                                                        100.00000 XTS         0.00000 XTS        fbb58eb5
   1125.0    2014-06-24T07:28:00 calyau              btsdac              cheers                                     22.00000 XTS         0.00000 XTS        1bcea32a
   1209.0    2014-06-24T08:16:00 XTS5vPz2LsE1KkmR... btsdac              test                                        2.00000 XTS         0.00000 XTS        ac3f9ede
   1379.0    2014-06-24T09:51:00 calyau              btsdac              more                                      100.00000 XTS         0.00000 XTS        77ebfa3b
   3054.0    2014-06-25T08:03:30 btsdac              btsdac              register btsdac                             0.00000 XTS         0.10001 XTS        88060599
   pending   2014-06-25T08:05:00 btsdac              btsdac              update btsdac                               0.00000 XTS         0.10002 XTS        0cef7cd5
   pending   2014-06-25T08:05:00 btsdac              btsdac              update btsdac                               0.00000 XTS         0.10002 XTS        bb15b624
   3069.0    2014-06-25T08:15:00 btsdac              btsdac              register btsdac01                           0.00000 XTS         0.10001 XTS        c79fd85b
   3078.0    2014-06-25T08:22:30 btsdac              btsdac              register btsdac02 as a delegate             0.00000 XTS         2.19724 XTS        3e584981
   3086.0    2014-06-25T08:30:47 btsdac              jeffreylee                                                     10.00000 XTS         0.10000 XTS        47a41975
   3602.0    2014-06-25T15:31:57 btsdac              btsdac01                                                        1.00000 XTS         0.10000 XTS        a60ea647
   3663.0    2014-06-25T16:18:23 btsdac              btsdac01                                                       10.00000 XTS         0.10000 XTS        62686cf6

Interesting, I gather you rescanned the chain...
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline BTSdac

  • Hero Member
  • *****
  • Posts: 1219
    • View Profile
  • BitShares: K1
I list the transaction_history of same account in two computer , but the result is different
Code: [Select]
roy (unlocked) >>> wallet_account_transaction_history btsdac
    BLK.TRX  TIMESTAMP           FROM                TO                  MEMO                                             AMOUNT             FEE              ID
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    954.0    2014-06-24T05:51:30 mao-delegate1       btsdac                                                        100.00000 XTS         0.00000 XTS        fbb58eb5
   1125.0    2014-06-24T07:28:00 calyau              btsdac              cheers                                     22.00000 XTS         0.00000 XTS        1bcea32a
   1209.0    2014-06-24T08:16:00 XTS5vPz2LsE1KkmR... btsdac              test                                        2.00000 XTS         0.00000 XTS        ac3f9ede
   1379.0    2014-06-24T09:51:00 calyau              btsdac              more                                      100.00000 XTS         0.00000 XTS        77ebfa3b
   3660.1    2014-06-25T16:16:30 btsdac              btsdac02                                                       10.00000 XTS         0.10000 XTS        6309495b
   3660.2    2014-06-25T16:16:30 btsdac              btsdac01                                                       10.00000 XTS         0.10000 XTS        e3f5beec
   3660.0    2014-06-25T16:16:30 btsdac              btsdac02                                                        1.00000 XTS         0.10000 XTS        5fd5d73b

Code: [Select]
roy (unlocked) >>> wallet_account_transaction_history btsdac
    BLK.TRX  TIMESTAMP           FROM                TO                  MEMO                                             AMOUNT             FEE              ID
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    954.0    2014-06-24T05:51:30 mao-delegate1       btsdac                                                        100.00000 XTS         0.00000 XTS        fbb58eb5
   1125.0    2014-06-24T07:28:00 calyau              btsdac              cheers                                     22.00000 XTS         0.00000 XTS        1bcea32a
   1209.0    2014-06-24T08:16:00 XTS5vPz2LsE1KkmR... btsdac              test                                        2.00000 XTS         0.00000 XTS        ac3f9ede
   1379.0    2014-06-24T09:51:00 calyau              btsdac              more                                      100.00000 XTS         0.00000 XTS        77ebfa3b
   3054.0    2014-06-25T08:03:30 btsdac              btsdac              register btsdac                             0.00000 XTS         0.10001 XTS        88060599
   pending   2014-06-25T08:05:00 btsdac              btsdac              update btsdac                               0.00000 XTS         0.10002 XTS        0cef7cd5
   pending   2014-06-25T08:05:00 btsdac              btsdac              update btsdac                               0.00000 XTS         0.10002 XTS        bb15b624
   3069.0    2014-06-25T08:15:00 btsdac              btsdac              register btsdac01                           0.00000 XTS         0.10001 XTS        c79fd85b
   3078.0    2014-06-25T08:22:30 btsdac              btsdac              register btsdac02 as a delegate             0.00000 XTS         2.19724 XTS        3e584981
   3086.0    2014-06-25T08:30:47 btsdac              jeffreylee                                                     10.00000 XTS         0.10000 XTS        47a41975
   3602.0    2014-06-25T15:31:57 btsdac              btsdac01                                                        1.00000 XTS         0.10000 XTS        a60ea647
   3663.0    2014-06-25T16:18:23 btsdac              btsdac01                                                       10.00000 XTS         0.10000 XTS        62686cf6
« Last Edit: June 25, 2014, 04:41:31 pm by BTSdac »
github.com :pureland
BTS2.0 API :ws://139.196.37.179:8091
BTS2.0 API 数据源ws://139.196.37.179:8091

Offline vikram

toast. We have approval voting now. But I am still able to vote against some delegates (I know it won't take effect really). And do trust level 10,30,40 make any difference ?

Code: [Select]
heyddryrun5 (unlocked) >>> wallet_list_accounts
NAME (* delegate)                  KEY                                                             REGISTERED            FAVORITE       TRUST LEVEL   
bytemaster *                       XTS7AkLRGApanDEs8fUbpmJtjUn6sTFSC64AENVCqfshWZ2bPjnSy           2014-06-23T21:09:30   NO             -30       
sometimes-naive *                  XTS5kppbLHPT6JV7aGGXQ3Nu4TvtR1u388uau6Yqv1J9Ni64rnFnc           2014-06-24T02:12:30   NO             10       
too-simple *                       XTS5Def6N9bsueAX2YnvQNKHzbphG1Qx9syKthF9BFFSZZT5EkS3x           2014-06-24T02:12:30   NO             40       
too-young *                        XTS6Kp6598CtJhDVauQwQKVLBZZ34o9W55CR2vhCNRezvKL2KHQtB           2014-06-24T02:12:00   NO             30       
welk1n-b *                         XTS5Q9zjvW6WKBhxYT6oY5qmbywbKv8N4K2HkL8XHYxx41dpDsndm           2014-06-24T03:26:00   NO             -10       

Doesn't matter, either 0 or >= 0.
We will change to "true/false" soon.

Done: https://github.com/BitShares/bitshares_toolkit/commit/3d45435a8b856b3dc66e403397de4a5d9c50e815

You will need to re-trust your trusted delegates with:
Code: [Select]
wallet_set_delegate_trust <delegate_name> true
« Last Edit: June 25, 2014, 04:45:29 pm by unlimited_power »

Offline bdnoble

  • Full Member
  • ***
  • Posts: 116
    • View Profile
    • Home Page


So I tried to pull the latest and I removed data directory just in case, but now when I try to import private key it says that scanning has been disabled because there are active delegates. So how am I supposed to get my delegate back and producing blocks?! Help?
Forks were caused by delegates that were busy calculating signatures during stress test and missed producing blocks ..
thus BM temporarily disabled TITAN parsing for delegates ..

As a result (until the wallet is multithreaded) you should not manage delegates and your own pocket-money account in the same wallet!

I am pretty sure this is just temporary

Well if I can't use the private keys to import my delegate back into my wallet... How do I get it back?
What are you talking about?

Sure you can .. but you cannot parse 'non-delegate' accounts for their TITAN addresses ... as this step might be too time-consuming AT THE MOMENT!
nothing else .. delegates always sign with the exact same key ... while all transactions on the blockchain generate stealth addresses for payments .. finding payments that concern you is a little more complex .. and as a consequence together with the mass-stress-test .. your wallet takes to much time parsing TITAN transactions ..

Thus, (FOR THE MOMENT) fetching TITAN transaction for a local account is disabled if you have a running delegate
and thus, you should (FOR THE MOMENT) not mix delegate-accounts and non-delegate-accounts in one single wallet!

Thats all I say .. sure you cann move private keys over and over .. funds are safe!

Okay I think I understand now. I'll see if I can get it working.


Sent from my iPhone using Tapatalk
:)

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
I used mac qt-wallet 0.0.5 to vote for "coolspeed-test". I remember I voted up for it.
But the trx reports I voted down for "coolspeed-test". Could you tell what happend?
In this trx I sent all my balance to myself, just to vote for "coolspeed-test".
This trx is in Block #3434
You tx voted for bytemaster .. check your upvotes

yeah.. I did vote for myself and bytemaster. The problem is, it turned out to be a vote down for myself.
the tx shows netto votes .. so maybe there are votes left .. cant check atm

Offline liondani

  • Hero Member
  • *****
  • Posts: 3737
  • Inch by inch, play by play
    • View Profile
    • My detailed info
  • BitShares: liondani
  • GitHub: liondani
some funds pls XTS7fpNtioF8Xqoq453RGkAqR1ZdGV8cZFN5gPybxgrjZS8hZCy5i (cassyo) thx

Code: [Select]
   pending   2014-06-25T14:48:56 liondani            cassyo                                                         10.00000 XTS         0.10000 XTS        f2379650

do you get them?

Offline coolspeed

  • Hero Member
  • *****
  • Posts: 536
    • View Profile
    • My Blog
I used mac qt-wallet 0.0.5 to vote for "coolspeed-test". I remember I voted up for it.
But the trx reports I voted down for "coolspeed-test". Could you tell what happend?
In this trx I sent all my balance to myself, just to vote for "coolspeed-test".
This trx is in Block #3434
You tx voted for bytemaster .. check your upvotes

yeah.. I did vote for myself and bytemaster. The problem is, it turned out to be a vote down for myself.
Please vote for  delegate.coolspeed    dac.coolspeed
BTS account: coolspeed
Sina Weibo:@coolspeed

Offline spartako

  • Sr. Member
  • ****
  • Posts: 401
    • View Profile
some funds pls XTS7fpNtioF8Xqoq453RGkAqR1ZdGV8cZFN5gPybxgrjZS8hZCy5i (cassyo) thx

Sent
Code: [Select]
3537.0    2014-06-25T14:40:34 spartako            cassyo                                                        100.00000 XTS         0.10000 XTS        a615f279
wallet_account_set_approval spartako

Offline liondani

  • Hero Member
  • *****
  • Posts: 3737
  • Inch by inch, play by play
    • View Profile
    • My detailed info
  • BitShares: liondani
  • GitHub: liondani
Quote
484  liondani-delegate-1           0.0000000000 %      0               0               
485  liondani-delegate-2           0.0000000000 %      0               0               
486  liondani-delegate-4           0.0000000000 %      0               0               
487  liondani-delegate-3           0.0000000000 %      0               0               
488  liondani-delegate-5           0.0000000000 %      0               0               
489  liondani-delegate-8           0.0000000000 %      0               0               
490  liondani-delegate-9           0.0000000000 %      0               0               
491  liondani-delegate-10          0.0000000000 %      0               0               
492  liondani-delegate-7           0.0000000000 %      0               0               
493  liondani-delegate-6           0.0000000000 %      0               0               

Much appreciated to get some votes  ;)

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
I used mac qt-wallet 0.0.5 to vote for "coolspeed-test". I remember I voted up for it.
But the trx reports I voted down for "coolspeed-test". Could you tell what happend?
In this trx I sent all my balance to myself, just to vote for "coolspeed-test".
This trx is in Block #3434
You tx voted for bytemaster .. check your upvotes

Offline coolspeed

  • Hero Member
  • *****
  • Posts: 536
    • View Profile
    • My Blog
my delegate crashed.
with the output:

Code: [Select]
Bus error (core dumped)
I don't know where I can find the core file. I didn't run it in gdb.
When my HDD space finished I saw the same error.

Oops! My SSD is filled up.
Please vote for  delegate.coolspeed    dac.coolspeed
BTS account: coolspeed
Sina Weibo:@coolspeed

Offline coolspeed

  • Hero Member
  • *****
  • Posts: 536
    • View Profile
    • My Blog
I used mac qt-wallet 0.0.5 to vote for "coolspeed-test". I remember I voted up for it.
But the trx reports I voted down for "coolspeed-test". Could you tell what happend?
In this trx I sent all my balance to myself, just to vote for "coolspeed-test".
This trx is in Block #3434

Please vote for  delegate.coolspeed    dac.coolspeed
BTS account: coolspeed
Sina Weibo:@coolspeed

Offline emski

  • Hero Member
  • *****
  • Posts: 1282
    • View Profile
    • http://lnkd.in/nPbhxG
my delegate crashed.
with the output:

Code: [Select]
Bus error (core dumped)
I don't know where I can find the core file. I didn't run it in gdb.
When my HDD space finished I saw the same error.

Offline cass

  • Hero Member
  • *****
  • Posts: 4311
  • /(┬.┬)\
    • View Profile
some funds pls XTS7fpNtioF8Xqoq453RGkAqR1ZdGV8cZFN5gPybxgrjZS8hZCy5i (cassyo) thx
█║▌║║█  - - -  The quieter you become, the more you are able to hear  - - -  █║▌║║█