Author Topic: Dry Run 6: Great Scott!  (Read 90935 times)

0 Members and 1 Guest are viewing this topic.

Offline liondani

  • Hero Member
  • *****
  • Posts: 3737
  • Inch by inch, play by play
    • View Profile
    • My detailed info
  • BitShares: liondani
  • GitHub: liondani
Just a heads-up for anyone running the client on an ubuntu VPS: Ubuntu by default uses ntpdate to correct its time, but it only runs once at boot, meaning it can drift a fair bit until your next reboot. I saw my "ntp_error_seconds"  go from 0.1 to 0.6 seconds in just one day. Considering that we wan't to keep the delegate running without reboots, that's not great! To fix it, simply install the ntp daemon:

Code: [Select]
sudo apt-get install ntp
This will run in the background and continuously update the time. For increased accuracy you can add some servers to /etc/npd.conf like this:

Code: [Select]
server ntp.ubuntu.com
server pool.ntp.org

I'm now seeing very low errors:

Code: [Select]
"ntp_error_seconds": 0.00058500000000000002,
+5%

Offline svk

Just a heads-up for anyone running the client on an ubuntu VPS: Ubuntu by default uses ntpdate to correct its time, but it only runs once at boot, meaning it can drift a fair bit until your next reboot. I saw my "ntp_error_seconds"  go from 0.1 to 0.6 seconds in just one day. Considering that we wan't to keep the delegate running without reboots, that's not great! To fix it, simply install the ntp daemon:

Code: [Select]
sudo apt-get install ntp
This will run in the background and continuously update the time. For increased accuracy you can add some servers to /etc/npd.conf like this:

Code: [Select]
server ntp.ubuntu.com
server pool.ntp.org

I'm now seeing very low errors:

Code: [Select]
"ntp_error_seconds": 0.00058500000000000002,
Worker: dev.bitsharesblocks

Offline Troglodactyl

  • Hero Member
  • *****
  • Posts: 960
    • View Profile
How can I change on one of my registered delegate the <pay rate>  value ?   ???

can't in this run... in future we will allow decreasing but not increasing


Quote
How to register as a delegate
wallet_account_register <account_name> <pay_from_account> null <pay_rate>

Example:
wallet_account_register user123 user123 null 50
This will update the account user123, registers it as a delegate and pays the fee for the registration from the account user123.
The pay_rate argument is a value between 0 and 100 which specifies what percent of transaction fees are kept by the delegate. 100 - pay_rate percent of the fees will be destroyed to decrease the total supply.

The bolded sentence is confusing...  I thought giving the value 100 would pay nothing to the delegate.... :-[

(100 - pay_rate) percent destroyed.

So if pay_rate = 100, then
(100 - 100) percent = 0 percent destroyed, leaving all fees for the delegate.

Offline chono

  • Full Member
  • ***
  • Posts: 59
    • View Profile
« Last Edit: June 28, 2014, 05:55:41 am by chono »
Weibo:Will_BTS

Offline liondani

  • Hero Member
  • *****
  • Posts: 3737
  • Inch by inch, play by play
    • View Profile
    • My detailed info
  • BitShares: liondani
  • GitHub: liondani
How can I change on one of my registered delegate the <pay rate>  value ?   ???

can't in this run... in future we will allow decreasing but not increasing


Quote
How to register as a delegate
wallet_account_register <account_name> <pay_from_account> null <pay_rate>

Example:
wallet_account_register user123 user123 null 50
This will update the account user123, registers it as a delegate and pays the fee for the registration from the account user123.
The pay_rate argument is a value between 0 and 100 which specifies what percent of transaction fees are kept by the delegate. 100 - pay_rate percent of the fees will be destroyed to decrease the total supply.

The bolded sentence is confusing...  I thought giving the value 100 would pay nothing to the delegate.... :-[

Offline sfinder

  • Hero Member
  • *****
  • Posts: 1205
  • 4 Cores CPU+100GB SSD+anti-DDoS Pro
    • View Profile
How can I change on one of my registered delegate the <pay rate>  value ?   ???

once it been set then no way to regret <grin>
微博:星在飘我在找|BTS X 受托人delegate ID:baidu
中国教育书店合作将20%收入捐献给贫困山区学生。
Cooperating with China Education Bookstore and will donate 20% of delegate income to the poor students

Offline toast

  • Hero Member
  • *****
  • Posts: 4001
    • View Profile
  • BitShares: nikolai
How can I change on one of my registered delegate the <pay rate>  value ?   ???

can't in this run... in future we will allow decreasing but not increasing
Do not use this post as information for making any important decisions. The only agreements I ever make are informal and non-binding. Take the same precautions as when dealing with a compromised account, scammer, sockpuppet, etc.

Offline liondani

  • Hero Member
  • *****
  • Posts: 3737
  • Inch by inch, play by play
    • View Profile
    • My detailed info
  • BitShares: liondani
  • GitHub: liondani
it is 5 times slower than designed speed

my   "blockchain_head_block_age": "10 minutes old",

is it normal?

It happens every now and then if you ask me....



The purpose of this round is to reduce the number of variables that we must consider when evaluating bugs and thus we are going to slow down time and reduce maximum block size.

Offline liondani

  • Hero Member
  • *****
  • Posts: 3737
  • Inch by inch, play by play
    • View Profile
    • My detailed info
  • BitShares: liondani
  • GitHub: liondani
How can I change on one of my registered delegate the <pay rate>  value ?   ???

Offline sfinder

  • Hero Member
  • *****
  • Posts: 1205
  • 4 Cores CPU+100GB SSD+anti-DDoS Pro
    • View Profile
it is 5 times slower than designed speed

my   "blockchain_head_block_age": "10 minutes old",

is it normal?

It happens every now and then if you ask me....
微博:星在飘我在找|BTS X 受托人delegate ID:baidu
中国教育书店合作将20%收入捐献给贫困山区学生。
Cooperating with China Education Bookstore and will donate 20% of delegate income to the poor students

Offline liondani

  • Hero Member
  • *****
  • Posts: 3737
  • Inch by inch, play by play
    • View Profile
    • My detailed info
  • BitShares: liondani
  • GitHub: liondani
my   "blockchain_head_block_age": "10 minutes old",

is it normal?

It happens every now and then if you ask me....

Offline sfinder

  • Hero Member
  • *****
  • Posts: 1205
  • 4 Cores CPU+100GB SSD+anti-DDoS Pro
    • View Profile
my   "blockchain_head_block_age": "10 minutes old",

is it normal?

Code: [Select]
      1106           2014-06-28T04:00:00                                                           init85            508  130291          50.8      14
      1107           2014-06-28T04:08:00                                                         immortal            911  237691          91.1      11
      1108           2014-06-28T04:10:00                                                           init57            220   72211            22      39
      1109           2014-06-28T04:20:00                                                         vikram13           1144  291631         114.4      16

Code: [Select]
{
  "blockchain_head_block_num": 1108,
  "blockchain_head_block_age": "10 minutes old",
  "blockchain_head_block_timestamp": "20140628T041000",
  "blockchain_average_delegate_participation": 63.522012578616355,
  "blockchain_confirmation_requirement": 277,
  "blockchain_share_supply": 199999272890658,
  "blockchain_random_seed": "d508f1b029e65000f33fa94a800383b80f80b3f7",
  "blockchain_database_version": 108,
  "blockchain_version": 104,
  "network_num_connections": 12,
  "network_num_connections_max": 200,
  "network_protocol_version": 104,
  "ntp_time": "20140628T041953",
  "ntp_error": -0.006391,
  "wallet_open": true,
  "wallet_unlocked": true,
  "wallet_unlocked_until": "12 days in the future",
  "wallet_unlocked_until_timestamp": "20140709T175834",
  "wallet_time_until_next_block_production": "58 minutes in the future",
  "wallet_next_block_production_timestamp": "20140628T051800",
  "
« Last Edit: June 28, 2014, 04:25:40 am by sfinder »
微博:星在飘我在找|BTS X 受托人delegate ID:baidu
中国教育书店合作将20%收入捐献给贫困山区学生。
Cooperating with China Education Bookstore and will donate 20% of delegate income to the poor students

Offline liondani

  • Hero Member
  • *****
  • Posts: 3737
  • Inch by inch, play by play
    • View Profile
    • My detailed info
  • BitShares: liondani
  • GitHub: liondani
Code: [Select]
liondani (unlocked) >>> blockchain_list_blocks 950 200
    HEIGHT                          TIME      TXN COUNT                                                 SIGNING DELEGATE    SIZE LATENCY
----------------------------------------------------------------------------------------------------------------------------------------
       950           2014-06-27T20:18:00             60                                                           init68   17618       2
       951           2014-06-27T20:20:00             59                                                           init90   16993       1
       952           2014-06-27T20:24:00            155                                                           init99   39938       
       953           2014-06-27T20:26:00            117                                                         vikram16   34516       2
       954           2014-06-27T20:28:00            116                                                           init92   32458       2
       955           2014-06-27T20:32:00            235                                                           init73   61426       
       956           2014-06-27T20:34:00            116                                                            light   38314       2
       957           2014-06-27T20:38:00            234                                                           init14   61473       
       958           2014-06-27T20:42:00             81                                                           init56   27287       
       959           2014-06-27T20:44:00              3                                                          calyau3    1193       0
       960           2014-06-27T20:46:00            182                                                         spartako   50669       2
       961           2014-06-27T20:50:00            448                                                           xeldal  115543       
       962           2014-06-27T20:56:00            678                                                           init61  181149       
       963           2014-06-27T21:00:00            445                                                           init88  138863       
       964           2014-06-27T21:02:00            224                                                           init98   72482       3
       965           2014-06-27T21:04:00            226                                                         vikram12   63920       5
       966           2014-06-27T21:06:00            228                                                           init74   64405       
       967           2014-06-27T21:08:00            234                                                           init51   56210       
       968           2014-06-27T21:12:00            456                                                           init50  110079       
       969           2014-06-27T21:16:00            446                                                          vikram4  124181       
       970           2014-06-27T21:18:00            228                                                            init5   76428       4
       971           2014-06-27T21:20:00            224                                                    harvey-dragon   75122       3
       972           2014-06-27T21:22:00            229                                                           init76   70041       
       973           2014-06-27T21:24:00            228                                                           init58   55131       
       974           2014-06-27T21:26:00            226                                                           init60   54649       
       975           2014-06-27T21:32:00            373                                                         liondani  124641       
       976           2014-06-27T21:34:00            221                                                          vikram6   69764       4
       977           2014-06-27T21:36:00            224                                                            init6   63095       3
       978           2014-06-27T21:38:00            222                                                          vikram2   62613       3
       979           2014-06-27T21:40:00            222                                                           init96   62133       
       980           2014-06-27T21:42:00            224                                                           init79   54167       
       981           2014-06-27T21:44:00            224                                                           init85   54167       
       982           2014-06-27T21:50:00            665                                                         vikram13  173984       
       983           2014-06-27T21:52:00            223                                                            init3   75238       3
       984           2014-06-27T21:58:00            678                                                          vikram3  190748       
       985           2014-06-27T22:00:00            218                                                    happyshares-2   72689       2
       986           2014-06-27T22:02:00            230                                                       dele-puppy   71165       4
       987           2014-06-27T22:04:00            224                                                           init82   63287      13
       988           2014-06-27T22:12:00            905                                                          vikram1  226936       
       989           2014-06-27T22:14:00            214                                                    happyshares-5   71149       2
       990           2014-06-27T22:18:00            682                                                     blockchainer  188065       
       991           2014-06-27T22:20:00            220                                                harvey-oathkeeper   73555       4
       992           2014-06-27T22:22:00            229                                                    harvey-needle   70636       3
       993           2014-06-27T22:26:00            461                                                          vikram9  120596       
       994           2014-06-27T22:30:00            454                                                            angel  128125       
       995           2014-06-27T22:32:00            224                                                         vikram15   67799       3
       996           2014-06-27T22:36:00            456                                                          vikram8  123999       
       997           2014-06-27T22:38:00            226                                                           init47   72889       
       998           2014-06-27T22:42:00            406                                                           init78  108013       
       999           2014-06-27T22:44:00            278                                                           init57   71789       
      1000           2014-06-27T22:48:00            391                                                           init55  108910       
      1001           2014-06-27T22:50:00            289                                                           init71   85000       
      1002           2014-06-27T22:56:00            546                                                           init95  138105       
      1003           2014-06-27T23:00:00            359                                                          vikram5  114734       
      1004           2014-06-27T23:02:00            216                                                            init4   72399       4
      1005           2014-06-27T23:04:00            226                                                          calyau1   70297       3
      1006           2014-06-27T23:08:00            454                                                          bdnoble  117085       
      1007           2014-06-27T23:10:00            226                                                    happyshares-1   70585       3
      1008           2014-06-27T23:12:00            228                                                           init80   62907       6
      1009           2014-06-27T23:14:00            226                                                    happyshares-3   62617       3
      1010           2014-06-27T23:16:00            226                                                  wackou-delegate   62809      65
      1011           2014-06-27T23:20:00            449                                                    harvey-dragon  115784       
      1012           2014-06-27T23:24:00            459                                                             lexx  126834       
      1013           2014-06-27T23:30:00            683                                                    happyshares-4  180441       
      1014           2014-06-27T23:32:00            220                                                         alexxy-1   72979       3
      1015           2014-06-27T23:34:00            226                                                  emski-delegate3   66361     106
      1016           2014-06-27T23:36:00            228                                                         vikram14   57435       3
      1017           2014-06-27T23:40:00            450                                                            init9  121977       
      1018           2014-06-27T23:46:00            687                                                            init6  181494       
      1019           2014-06-27T23:48:00            218                                                harvey-oathkeeper   72887       4
      1020           2014-06-27T23:54:00            689                                                         alexxy-2  175928       
      1021           2014-06-27T23:56:00            221                                                            init4   73220       4
      1022           2014-06-27T23:58:00            223                                                    harvey-needle   65926       3
      1023           2014-06-28T00:02:00            458                                                          vikram1  118625       
      1024           2014-06-28T00:04:00            222                                                            init7   69717       3
      1025           2014-06-28T00:06:00            230                                                           init76   63293      66
      1026           2014-06-28T00:08:00            228                                                           init98   63771      17
      1027           2014-06-28T00:10:00            224                                                 delegate-cgafeng   61943       3
      1028           2014-06-28T00:12:00            228                                                           init60   63195      63
      1029           2014-06-28T00:14:00            228                                                           init96   62907      64
      1030           2014-06-28T00:16:00            227                                                         vikram12   63146       4
      1031           2014-06-28T00:18:00            225                                                          calyau2   62952       3
      1032           2014-06-28T00:20:00            230                                                    happyshares-5   63485       3
      1033           2014-06-28T00:22:00            227                                                    happyshares-3   61925       7
      1034           2014-06-28T00:24:00            226                                                         vikram11   62137       3
      1035           2014-06-28T00:26:00            228                                                    happyshares-1   63003       4
      1036           2014-06-28T00:28:00            228                                                           init81   62619       
      1037           2014-06-28T00:30:00            230                                                           init90   55613      13
      1038           2014-06-28T00:32:00            218                                                           xeldal   67697       2
      1039           2014-06-28T00:40:00            474                                                     blockchainer  118353       
      1040           2014-06-28T00:42:00            666                                                           lexx-2  180657       7
      1041           2014-06-28T00:44:00            222                                                       dele-puppy   73461       8
      1042           2014-06-28T00:52:00            910                                                           init11  230821       
      1043           2014-06-28T00:54:00            216                                                       bitcoiners   66447       2
      1044           2014-06-28T00:56:00            230                                                         liondani   61757       1
      1045           2014-06-28T00:58:00            228                                                         vikram13   62331       3
      1046           2014-06-28T01:00:00            227                                                           init79   61610       
      1047           2014-06-28T01:04:00            402                                                           init92  106473       
      1048           2014-06-28T01:06:00            224                                                          vikram6   64343       3
      1049           2014-06-28T01:08:00            228                                                          vikram4   61371       3
      1050           2014-06-28T01:10:00            228                                                           init95   61755     113
      1051           2014-06-28T01:12:00            226                                                             bits   55801       
      1052           2014-06-28T01:20:00            916                                                         crazybit  233419       
      1053           2014-06-28T01:26:00            678                                                  delegate-dorian  190461       
      1054           2014-06-28T01:28:00            220                                                     delegate-alt   72979       4
      1055           2014-06-28T01:30:00            228                                                          vikram5   62427       4
      1056           2014-06-28T01:38:00            723                                                  fox-delegate-99  180282       
      1057           2014-06-28T01:40:00            415                                                          calyau3  119878       6
      1058           2014-06-28T01:44:00            452                                                           init10  122747       
      1059           2014-06-28T01:46:00            225                                                            angel   68136       2
      1060           2014-06-28T01:48:00            229                                                           lexx-1   61324       3
      1061           2014-06-28T01:52:00            454                                                            init8  117085       
      1062           2014-06-28T01:54:00            228                                                            init5   68859       4
      1063           2014-06-28T02:00:00            688                                                    happyshares-2  172711       
      1064           2014-06-28T02:04:00            452                                                          vikram8  129371       
      1065           2014-06-28T02:06:00            226                                                          vikram2   67993       5
      1066           2014-06-28T02:08:00            226                                                          vikram3   60889       3
      1067           2014-06-28T02:10:00            228                                                 xeroc-delegate-4   62139      32
      1068           2014-06-28T02:12:00            228                                                  emski-delegate4   61851       3
      1069           2014-06-28T02:14:00            231                                                            init3   62382       3
      1070           2014-06-28T02:16:00            228                                                         vikram10   61947       6
      1071           2014-06-28T02:22:00            686                                                          vikram7  172421       
      1072           2014-06-28T02:24:00            220                                                         vikram15   72595       6
      1073           2014-06-28T02:28:00            458                                                         vikram16  116897       
      1074           2014-06-28T02:30:00            224                                                  delegate-dragon   66839       3
      1075           2014-06-28T02:32:00            228                                                           init47   61371      46
      1076           2014-06-28T02:34:00            228                                                          vikram9   61371       7
      1077           2014-06-28T02:36:00            226                                                          calyau1   61369       5
      1078           2014-06-28T02:38:00            228                                                           bts101   61275       6
      1079           2014-06-28T02:40:00            228                                                           init73   62235     111
      1080           2014-06-28T02:42:00            224                                                    harvey-dragon   55319       6
      1081           2014-06-28T02:44:00            228                                                delegate-watchman   66843       3
      1082           2014-06-28T02:48:00            458                                                   delegate-baozi  117089       
      1083           2014-06-28T02:50:00            226                                                           init82   68185      33
      1084           2014-06-28T02:52:00            226                                                    happyshares-4   60889       6
      1085           2014-06-28T02:56:00            458                                                  emski-delegate3  117473       
      1086           2014-06-28T02:58:00            225                                                         vikram14   68232       4
      1087           2014-06-28T03:04:00            690                                                           init68  173289       
      1088           2014-06-28T03:08:00            450                                                            init6  128313       
      1089           2014-06-28T03:10:00            220                                                harvey-oathkeeper   66451       3
      1090           2014-06-28T03:14:00            462                                                           init89  118149       
      1091           2014-06-28T03:18:00            454                                                            init4  122653       
      1092           2014-06-28T03:20:00            218                                                    harvey-needle   72305       7
      1093           2014-06-28T03:22:00            232                                                           init55   64159      52
      1094           2014-06-28T03:24:00            228                                                          vikram1   61851       3

Offline puppies

  • Hero Member
  • *****
  • Posts: 1659
    • View Profile
  • BitShares: puppies
Is there a way for us to dig deeper into what the latency issue was for any particular block.  For example both of my nodes and alts node had higher than average latency for block 1050.  My windows gui client also had almost a 2 minute latency for block 1050.
« Last Edit: June 28, 2014, 02:29:28 am by puppies »
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline bytemaster

I noticed the latency went down after I updated to the newest version.
Could the large latency be caused by older version ?
Could it be caused by client running for a long time ?

Latency is the delta time between the block time stamp and when you pushed it into your database.  If you re-sync then all the old blocks will show high latency.   In other words, the latency metric is only valid for blocks you received while online in real time.

and latency is seconds?  milliseconds?

Seconds.
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.