Author Topic: Dry Run 4: A New Hope  (Read 16014 times)

0 Members and 1 Guest are viewing this topic.

Offline bytemaster

Updated version of OS X wallet is now out.
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

Transaction propagation bug appears to be resolved with latest commit.   Working on some others.
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 liondani

  • Hero Member
  • *****
  • Posts: 3737
  • Inch by inch, play by play
    • View Profile
    • My detailed info
  • BitShares: liondani
  • GitHub: liondani

Code: [Select]
blockchain_list_delegates 0 10
          ID                     NAME           VOTES FOR       VOTES AGAINST           NET VOTES BLOCKS PRODUCED   BLOCKS MISSED

323                  btsjohn         10474081729                   0      0.1047640741 %              19               0
340               bitcoiners          2816857644              300000     0.02817183174 %               6              12


Offline bitcoinerS

  • Hero Member
  • *****
  • Posts: 592
    • View Profile
This is strange. Some delegates don't miss any blocks, others miss many. My delegate  node (bitcoiners) seems to be missing a lot of blocks despite being constantly on.

Code: [Select]
blockchain_list_delegates 0 10
          ID                     NAME           VOTES FOR       VOTES AGAINST           NET VOTES BLOCKS PRODUCED   BLOCKS MISSED

323                  btsjohn         10474081729                   0      0.1047640741 %              19               0
340               bitcoiners          2816857644              300000     0.02817183174 %               6              12

There seem to be a lot of forks though, maybe this is the reason for missed blocks.

Code: [Select]
>>> list_errors
default (unlocked) >>> list_forks
[
  570,
  582,
  618,
  634,
  640,
  691,
  705,
  724,
  777,
  793,
  818,
  829,
  832,
  834,
  880,
  883,
  885,
  939,
  944,
  958,
  993,
  1038,
  1041,
  1043,
  1096,
  1099,
  1102,
  1141,
  1144,
  1178,
  1200,
  1203,
  1219,
  1226,
  1239,
  1255,
  1286,
  1299,
  1318,
  1333,
  1341
]


Code: [Select]
>>> get_info
{
  "blockchain_head_block_num": 1354,
  "blockchain_head_block_time": "20140621T162730",
  "blockchain_head_block_time_rel": "59 seconds old",
  "blockchain_confirmation_requirement": 302,
  "blockchain_average_delegate_participation": 63.046192259675408,
  "network_num_connections": 6,
>>> approve bitcoiners

Offline coolspeed

  • Hero Member
  • *****
  • Posts: 536
    • View Profile
    • My Blog
Could you please turn my delegate name "coolspeed" to "unelected-coolspeed" or something else to let me use it in the real chain?


UPDATE:
If what bytemaster infers in the following is what I am reporting, then just ignore me. Hope it be fixed next time. Thanks.

Quote
0) I only partially fixed the negative vote issue
« Last Edit: June 21, 2014, 04:31:39 pm by coolspeed »
Please vote for  delegate.coolspeed    dac.coolspeed
BTS account: coolspeed
Sina Weibo:@coolspeed

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
Having issues registering xeroc-delegate ..
Quote
default (unlocked) >>> wallet_account_update_registration xeroc-delegate founder {} true
10 assert_exception: Assert Exception
account.valid(): No such account: xeroc-delegate
    {"acct":"xeroc-delegate"}
    th_a  wallet.cpp:1964 update_registered_account

    {"account_to_update":"xeroc-delegate","pay_from_account":"founder","public_data":{},"new_active_key":null,"as_delegate":true,"sign":true}
    th_a  wallet.cpp:2005 update_registered_account

    {}
    th_a  common_api_client.cpp:542 wallet_account_update_registration

    {"command":"wallet_account_update_registration"}
    th_a  cli.cpp:529 execute_command
default (unlocked) >>> wallet_account_register xeroc-delegate founder {} true
32007 account_already_registered: account already registered

    {"name":"xeroc-delegate"}
    th_a  account_operations.cpp:32 evaluate

    {"*this":{"name":"xeroc-delegate","public_data":{},"owner_key":"XTS5znE4mcMULP3iei3QEVBD9kWSwGWGTMauvfyarRvh1LsuW6WvM","active_key":"XTS5znE4mcMULP3iei3QEVBD9kWSwGWGTMauvfyarRvh1LsuW6WvM","is_delegate":true,"meta_data":null}}
    th_a  account_operations.cpp:69 evaluate

    {"op":{"type":"register_account_op_type","data":{"name":"xeroc-delegate","public_data":{},"owner_key":"XTS5znE4mcMULP3iei3QEVBD9kWSwGWGTMauvfyarRvh1LsuW6WvM","active_key":"XTS5znE4mcMULP3iei3QEVBD9kWSwGWGTMauvfyarRvh1LsuW6WvM","is_delegate":true,"meta_data":null}}}
    th_a  operation_factory.hpp:51 evaluate

    {"trx":{"expiration":null,"delegate_id":null,"operations":[{"type":"register_account_op_type","data":{"name":"xeroc-delegate","public_data":{},"owner_key":"XTS5znE4mcMULP3iei3QEVBD9kWSwGWGTMauvfyarRvh1LsuW6WvM","active_key":"XTS5znE4mcMULP3iei3QEVBD9kWSwGWGTMauvfyarRvh1LsuW6WvM","is_delegate":true,"meta_data":null}},{"type":"withdraw_op_type","data":{"balance_id":"XTSLTb7gFoGgwW2zeGRu8AiwJc9D8drADmSy","amount":20981502,"claim_input_data":""}}],"signatures":["1f82caa7b4fcf303cb4fb06fba4bccb286a3c9b3e4a1b39b4c4cb693cc4ecbd2d63b902182233bc5bfa02542fde49e20754c469828a02604749911e8e2b57c56c8"]}}
    th_a  transaction_evaluation_state.cpp:149 evaluate

    {"trx":{"expiration":null,"delegate_id":null,"operations":[{"type":"register_account_op_type","data":{"name":"xeroc-delegate","public_data":{},"owner_key":"XTS5znE4mcMULP3iei3QEVBD9kWSwGWGTMauvfyarRvh1LsuW6WvM","active_key":"XTS5znE4mcMULP3iei3QEVBD9kWSwGWGTMauvfyarRvh1LsuW6WvM","is_delegate":true,"meta_data":null}},{"type":"withdraw_op_type","data":{"balance_id":"XTSLTb7gFoGgwW2zeGRu8AiwJc9D8drADmSy","amount":20981502,"claim_input_data":""}}],"signatures":["1f82caa7b4fcf303cb4fb06fba4bccb286a3c9b3e4a1b39b4c4cb693cc4ecbd2d63b902182233bc5bfa02542fde49e20754c469828a02604749911e8e2b57c56c8"]}}
    th_a  chain_database.cpp:1006 evaluate_transaction

    {"trx":{"expiration":null,"delegate_id":null,"operations":[{"type":"register_account_op_type","data":{"name":"xeroc-delegate","public_data":{},"owner_key":"XTS5znE4mcMULP3iei3QEVBD9kWSwGWGTMauvfyarRvh1LsuW6WvM","active_key":"XTS5znE4mcMULP3iei3QEVBD9kWSwGWGTMauvfyarRvh1LsuW6WvM","is_delegate":true,"meta_data":null}},{"type":"withdraw_op_type","data":{"balance_id":"XTSLTb7gFoGgwW2zeGRu8AiwJc9D8drADmSy","amount":20981502,"claim_input_data":""}}],"signatures":["1f82caa7b4fcf303cb4fb06fba4bccb286a3c9b3e4a1b39b4c4cb693cc4ecbd2d63b902182233bc5bfa02542fde49e20754c469828a02604749911e8e2b57c56c8"]}}
    th_a  chain_database.cpp:1345 store_pending_transaction

    {"account_name":"xeroc-delegate","data":{}}
    th_a  client.cpp:2229 wallet_account_register

    {}
    th_a  common_api_client.cpp:522 wallet_account_register

    {"command":"wallet_account_register"}
    th_a  cli.cpp:529 execute_command
default (unlocked) >>> wallet_account_update_registration xeroc-delegate founder {} true
10 assert_exception: Assert Exception
account.valid(): No such account: xeroc-delegate
    {"acct":"xeroc-delegate"}
    th_a  wallet.cpp:1964 update_registered_account

    {"account_to_update":"xeroc-delegate","pay_from_account":"founder","public_data":{},"new_active_key":null,"as_delegate":true,"sign":true}
    th_a  wallet.cpp:2005 update_registered_account

    {}
    th_a  common_api_client.cpp:542 wallet_account_update_registration

    {"command":"wallet_account_update_registration"}
    th_a  cli.cpp:529 execute_command

Offline emski

  • Hero Member
  • *****
  • Posts: 1282
    • View Profile
    • http://lnkd.in/nPbhxG
This is what happens with late friday fixes/relases (: .
Go get some sleep and rest - Its weekend.

Offline wackou

Please vote for witness wackou! More info at http://digitalgaia.io

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
finally unelected-delegate-61 is producing blocks ... unelected-xeroc cannot produce blocks because its a name collision with my keyhotee ID 'xeroc' (same pubkeys)

Offline metalallen

  • Sr. Member
  • ****
  • Posts: 262
    • View Profile
Take it easy, BM.
Rome was not built in a day. +5% +5%
浮壹白的微博:http://weibo.com/u/2279693077
BTSX Account:metalallen

Offline wackou

don't worry, it's just another dry run, although the name of this one (a new hope) was maybe not so well chosen ;)

announcing: dry run 5: a walk into Mordor  :P
Please vote for witness wackou! More info at http://digitalgaia.io

Offline bytemaster

 

Looks like Alderaan just got blown up... this dry run appears to be a disaster with the following issues:

0) I only partially fixed the negative vote issue
1) Seed node apparently ended upon on a fork it couldn't escape from
2) Seed node started disconnecting peers for inactivity of 5 seconds during the handshake
3) Forks left, right and center.   
4) Delegates were missing blocks despite being connected to the network (may be forks) 
5) Transactions don't appear to be propagating properly.

We are aware of these issues and are tracking them down.   :'( :'( :'(
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 see one block signed by my delegate. And the same block missed by another one of my delegates.

My delegates are missing blocks as well, I am looking into this issue.
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

It doesn't connect. Only for me? I've tried restarting it 6 to 7 times.
FYI, my VPS located in San Francisco.

doesn't connect for me either, same git revision, VPS in France. I'm thinking maybe the seed node (seems there's only one in this dry run) has reached his maximum number of connections and doesn't accept new ones?

There are currently 43 out of 100 connections on the first seed node.
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 wackou

tried git e724df5e, doesn't connect either...

tried on osx with NAT in Spain (upnp says port mapping is successful) and on a linux VPS with a public ip in France, but none of them connects...
Please vote for witness wackou! More info at http://digitalgaia.io