Author Topic: Dry Run 8: Need for Speed  (Read 93132 times)

0 Members and 1 Guest are viewing this topic.

Offline bytemaster

We have identified the cause of the connection issues:  memory leak that is causing us to not free up file handles on the sockets.    Now that we know the problem it is now just a matter of finding out why it is occurring.

In the mean time that means delegates should probably reset their node a couple of times per day to maintain connectivity for everyone.

This will likely be fixed tonight or tomorrow.
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 vikram

I need some votes! Thanks all!

Code: [Select]
liondani (locked) >>> wallet_approve_delegate shmowzow true
10 assert_exception: Assert Exception
delegate_record.valid() && delegate_record->is_delegate():
    {}
    th_a  client.cpp:1632 wallet_approve_delegate

    {"delegate_name":"shmowzow","approved":true}
    th_a  client.cpp:1635 wallet_approve_delegate

    {}
    th_a  common_api_client.cpp:771 wallet_approve_delegate

    {"command":"wallet_approve_delegate"}
    th_a  cli.cpp:538 execute_command

have you enabled your delegate?
Code: [Select]
wallet_delegate_set_block_production shmowzow  true

Enabling or disabling block production doesn't matter for approval. That command will fail if the username is not a valid delegate. I have improved the error message in the latest code.

Offline plazmashart

  • Newbie
  • *
  • Posts: 11
    • View Profile
Probably should read the posts a bit better, huh? Oh well, Im tooo pooor to be a delegate. :p
wallet_approve_delegate shmowzow true THANKS!!

Offline liondani

  • Hero Member
  • *****
  • Posts: 3737
  • Inch by inch, play by play
    • View Profile
    • My detailed info
  • BitShares: liondani
  • GitHub: liondani
I need some votes! Thanks all!

Code: [Select]
liondani (locked) >>> wallet_approve_delegate shmowzow true
10 assert_exception: Assert Exception
delegate_record.valid() && delegate_record->is_delegate():
    {}
    th_a  client.cpp:1632 wallet_approve_delegate

    {"delegate_name":"shmowzow","approved":true}
    th_a  client.cpp:1635 wallet_approve_delegate

    {}
    th_a  common_api_client.cpp:771 wallet_approve_delegate

    {"command":"wallet_approve_delegate"}
    th_a  cli.cpp:538 execute_command

have you enabled your delegate?
Code: [Select]
wallet_delegate_set_block_production shmowzow  true


Offline bitmeat

  • Hero Member
  • *****
  • Posts: 1116
    • View Profile
Is it possible to make the number of active delegates be adjusted by the community via voting?

I personally feel that as the network grows 100 delegates would be too small and in fact will look like "centralized power" to the rest of the world.

Offline liondani

  • Hero Member
  • *****
  • Posts: 3737
  • Inch by inch, play by play
    • View Profile
    • My detailed info
  • BitShares: liondani
  • GitHub: liondani
I just want to register one delegate ....

liondani   XTS6PGHZTAi32Wp7CD8cLvMfh45vLJqvnEdyL2E9sRRrW4kRk1jWy

I have 105000 XTS but not enough  >:(

Offline plazmashart

  • Newbie
  • *
  • Posts: 11
    • View Profile
I need some votes! Thanks all!
wallet_approve_delegate shmowzow true THANKS!!

Offline bdnoble

  • Full Member
  • ***
  • Posts: 116
    • View Profile
    • Home Page
Pulled the latest but still only 4 connections for me.  :-\ Starting with --min-delegate-connection-count 3 allows me to produce blocks again though.

Any updates on this bytemaster?

Running on Windows by the way...

Tried the param --min-delegate-connection-count 3 (added it to target in the shortcut)
Also did the desired connections set to 50. Still not producing blocks.

Still have only 4 connections. Should I forward a specific port from the firewall to my PC? Or is the client using UPnP?

I will have Eric work on making UPnP more robust.   Right now it considers you firewalled if you report a different IP than the server sees.
:)

Offline CalabiYau

Its getting slightly better:

Code: [Select]
"blockchain_head_block_num": 6240,
  "blockchain_head_block_age": "5 seconds old",
  "blockchain_head_block_timestamp": "20140709T190520",
  "blockchain_average_delegate_participation": 66.44736842105263,
  "blockchain_delegate_pay_rate": 43956971,
  "blockchain_blocks_left_in_round": 22,
  "blockchain_confirmation_requirement": 52,
  "blockchain_share_supply": 199616530710650,
  "blockchain_random_seed": "a4baaca6020089035af6f750894f309acb843a31",
  "blockchain_database_version": 111,
  "blockchain_version": 105,
  "[color=yellow]network_num_connections": 6[/color], <================
  "network_num_connections_max": 40,
  "network_protocol_version": 104,
  "ntp_time": "20140709T190525",
  "ntp_error": -0.017440000000000001,
  "wallet_open": true,
  "wallet_unlocked": true,
  "wallet_unlocked_until": "6 days in the future",
  "wallet_unlocked_until_timestamp": "20140715T103319",
  "wallet_block_production_enabled": true,
  "wallet_next_block_production_time": "2 minutes in the future",
  "wallet_next_block_production_timestamp": "20140709T190740",
  "wallet_version": 101


Offline jbutta2k13

  • Full Member
  • ***
  • Posts: 51
    • View Profile
When can we import our real Bitshares wallet so that we can test its functionality?

Offline bdnoble

  • Full Member
  • ***
  • Posts: 116
    • View Profile
    • Home Page
I don't understand why the fees from delegate registration cause the future fees to increase so much. Do the registration fees actually get paid to the delegates? This seems wrong. Delegate registration fees should just be destroyed and only transaction fees should get paid to the delegates IMO. This would make a much more reasonable curve to the increase in registration fees.

Btw I am also having connection problems on ubuntu. I am pulling the latest and rebuilding now.
:)

sumantso

  • Guest
Ok, got the moolah for a second delegate, but it doesn't allow to register saying insufficient funds. Any ideas?

I had disabled block production for that time, or do I need a separate client altogether?

Offline jbutta2k13

  • Full Member
  • ***
  • Posts: 51
    • View Profile
We are Outernational and looking to join the test network...Please back us to that we may participate with the community.



wallet_approve_delegate outernat-northamerica true
wallet_approve_delegate outernat-asia true
wallet_approve_delegate outernat-australia true

Offline bytemaster

I am puzzled why when I make a transaction different delegates to get different votes,some to get full of transtactions ,some to get the balance of votes,and some to get nagative votes.

Code: [Select]
"net_delegate_votes": [[
      377,{
        "votes_for": -35788171031
      }
    ],[
      373,{
        "votes_for": 35800000000
      }
    ],[
      314,{
        "votes_for": 11828969
      }
    ],[
      366,{
        "votes_for": 35800000000
      }
    ],[
      307,{
        "votes_for": -35788171031
      }
    ],[
      335,{
        "votes_for": 35800000000
      }
    ],[
      325,{
        "votes_for": 35800000000
      }
    ],[
      324,{
        "votes_for": 35800000000
      }
    ],[
      383,{
        "votes_for": 11828969
      }
    ],[
      322,{
        "votes_for": 35800000000
      }
    ],[
      381,{
        "votes_for": 11828969
      }
    ],[
      315,{
        "votes_for": 35800000000
      }
    ],[
      374,{
        "votes_for": 11828969
      }
    ],[
      309,{
        "votes_for": 35800000000
      }
    ],[
      368,{
        "votes_for": 11828969
      }
    ],[
      272,{
        "votes_for": 35800000000
      }
    ],[
      331,{
        "votes_for": -35788171031
      }
    ],[
      387,{
        "votes_for": 11828969
      }
    ],[
      333,{
        "votes_for": 11828969
      }
    ],[
      326,{
        "votes_for": 11828969
      }
    ],[
      418,{
        "votes_for": 35800000000
      }
    ],[
      300,{
        "votes_for": 11828969
      }
    ],[
      321,{
        "votes_for": -35788171031
      }
    ],[
      417,{
        "votes_for": 35800000000
      }
    ],[
      320,{
        "votes_for": 11828969
      }
    ],[
      370,{
        "votes_for": 35800000000
      }
    ],[
      311,{
        "votes_for": -35788171031
      }
    ],[
      273,{
        "votes_for": 11828969
      }
    ],[
      318,{
        "votes_for": 11828969
      }
    ],[
      365,{
        "votes_for": 11828969
      }
    ],[
      306,{
        "votes_for": 11828969
      }
    ],[
      317,{
        "votes_for": 11828969
      }
    ],[
      376,{
        "votes_for": 11828969
      }
    ],[
      316,{
        "votes_for": 11828969
      }
    ],[
      363,{
        "votes_for": 11828969
      }
    ],[
      304,{
        "votes_for": -35788171031
      }
    ],[
      361,{
        "votes_for": 11828969
      }
    ],[
      313,{
        "votes_for": 11828969
      }
    ],[
      372,{
        "votes_for": 11828969
      }
    ],[
      296,{
        "votes_for": -35788171031
      }
    ],[
      354,{
        "votes_for": 11828969
      }
    ],[
      323,{
        "votes_for": -35788171031
      }
    ],[
      347,{
        "votes_for": 11828969
      }
    ],[
      104,{
        "votes_for": -35788171031
      }
    ],[
      340,{
        "votes_for": -35788171031
      }
    ],[
      339,{
        "votes_for": 11828969
      }
    ],[
      327,{
        "votes_for": 11828969
      }
    ],[
      308,{
        "votes_for": -35788171031
      }
    ],[
      312,{
        "votes_for": -35788171031
      }
    ],[
      371,{
        "votes_for": 11828969
      }
    ],[
      334,{
        "votes_for": 11828969
      }
    ],[
      336,{
        "votes_for": 11828969
      }
    ],[
      337,{
        "votes_for": -35788171031
      }
    ],[
      338,{
        "votes_for": 11828969
      }
    ],[
      341,{
        "votes_for": -35788171031
      }
    ],[
      346,{
        "votes_for": -35788171031
      }
    ],[
      349,{
        "votes_for": 11828969
      }
    ],[
      352,{
        "votes_for": -35788171031
      }
    ],[
      356,{
        "votes_for": -35788171031
      }
    ]

If you had previously voted for others then when you made a transaction it moved votes from your old approvals to the new.   

The wallet randomly selects a subset of your approved list to avoid identifying your transactions by your approval list.
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 emski

  • Hero Member
  • *****
  • Posts: 1282
    • View Profile
    • http://lnkd.in/nPbhxG
My connections were around 30 for a few hours.
Then they started slowly declining. Currently I have 15 and I do not get new ones.

Also I've noticed in the logs that my own IP address was "forcibly disconnected".