Author Topic: Dry Run 2: The Real Deal  (Read 145372 times)

0 Members and 1 Guest are viewing this topic.

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
In my experience the network code is completely botched right now.  I am working with Eric to track down the cause.  Very frustrating. 


Sent from my iPhone using Tapatalk

bytemaster, plz take it easy. Take a good sleep, forget all the f**king things.

I believe what should come will come, and what deserves be resolved will be resolved. By now, it's probably you. But no one should rush.

In the long run of DAC career, we really don't need to rush.

May the best DACs win. May all of us enjoy.
+5%

来自我的 HUAWEI P7-L00 上的 Tapatalk


Offline coolspeed

  • Hero Member
  • *****
  • Posts: 536
    • View Profile
    • My Blog
In my experience the network code is completely botched right now.  I am working with Eric to track down the cause.  Very frustrating. 


Sent from my iPhone using Tapatalk

bytemaster, plz take it easy. Take a good sleep, forget all the f**king things.

I believe what should come will come, and what deserves be resolved will be resolved. By now, it's probably you. But no one should rush.

In the long run of DAC career, we really don't need to rush.

May the best DACs win. May all of us enjoy.
Please vote for  delegate.coolspeed    dac.coolspeed
BTS account: coolspeed
Sina Weibo:@coolspeed

Offline spartako

  • Sr. Member
  • ****
  • Posts: 401
    • View Profile
Thank you very much, I will vote for you  ;)

Code: [Select]
3510.0    2014-06-14T11:56:30 spartako            kenof               some love :)                            100.000000 LOVE        0.010000 XTS        d1a4285c
wallet_account_set_approval spartako

Offline Kenof

  • Full Member
  • ***
  • Posts: 71
    • View Profile
I would be very thankful if anyone sends me some funds for testing.

XTS8c3oGHR9XNSRPV9yYZspcPC2HMowrp6pyadyywpRMFeCSw94E8

Code: [Select]
3373.0    2014-06-14T10:45:30 spartako            kenof                                                         10.000000 XTS        0.010000 XTS        8541b057

Thank you very much, I will vote for you  ;)
Making life easier.

Offline spartako

  • Sr. Member
  • ****
  • Posts: 401
    • View Profile
I would be very thankful if anyone sends me some funds for testing.

XTS8c3oGHR9XNSRPV9yYZspcPC2HMowrp6pyadyywpRMFeCSw94E8

Code: [Select]
3373.0    2014-06-14T10:45:30 spartako            kenof                                                         10.000000 XTS        0.010000 XTS        8541b057
wallet_account_set_approval spartako

Offline Kenof

  • Full Member
  • ***
  • Posts: 71
    • View Profile
I would be very thankful if anyone sends me some funds for testing.

XTS8c3oGHR9XNSRPV9yYZspcPC2HMowrp6pyadyywpRMFeCSw94E8
Making life easier.

Offline spartako

  • Sr. Member
  • ****
  • Posts: 401
    • View Profile
My delegates init-delegate-21,init-delegate-22,init-delegate-23,init-delegate-24 are missing a lot of blocks because I think I have few connections.

It started with only one connection, then I added manually other 2 nodes:
Code: [Select]
network_add_node "95.85.33.16:8764" "add"
network_add_node "79.173.81.171:8764" "add"

Then I reached 3 connection in this way and after a while an other node arrived, so I have now 4 connection but I have this log:

Code: [Select]
1498558ms       th_a display_current_conn ] Currently have 8 of 8 connections node.cpp:997
1498558ms       th_a display_current_conn ]    my id is 2ba2f63411e6677639b479d9f773bdcf913f2e22 node.cpp:998
1498558ms       th_a display_current_conn ]         active: 79.173.81.171:8764 with d684db4e2021b2392d85077cc5c23d72553dcb5f   [outbound] node.cpp:1002
1498558ms       th_a display_current_conn ]         active: 84.238.140.192:50546 with 5df36814ac2ab624dee3b3f1d08d3a5af69b6b31   [inbound] node.cpp:1002
1498559ms       th_a display_current_conn ]         active: 95.85.33.16:8764 with 97ed6395a813c0426686056f7a4defd63e920447   [outbound] node.cpp:1002
1498559ms       th_a display_current_conn ]         active: 107.170.30.182:8764 with 42e86a6e5638c95a4b3fdfde811de33a6d9ecedd   [outbound] node.cpp:1002
1498559ms       th_a display_current_conn ]    handshaking: 107.170.211.129:33729 with 0000000000000000000000000000000000000000  [unknown] node.cpp:1006
1498559ms       th_a display_current_conn ]    handshaking: 107.170.211.129:37010 with 0000000000000000000000000000000000000000  [outbound] node.cpp:1006
1498559ms       th_a display_current_conn ]    handshaking: 114.215.104.153:49600 with 0000000000000000000000000000000000000000  [outbound] node.cpp:1006
1498559ms       th_a display_current_conn ]    handshaking: 119.9.78.202:43745 with 0000000000000000000000000000000000000000  [outbound] node.cpp:1006
1498559ms       th_a p2p_network_connect_ ] I don't need any more connections, waiting forever until something changes node.cpp:696
1498559ms       th_a                 bind ] Exception binding outgoing connection to desired local endpoint: bind: Address already in use tcp_socket.cpp:105
1498559ms       th_a           connect_to ] Failed to bind to desired local endpoint 0.0.0.0:51496, will connect using an OS-selected endpoint: {"code":0,"name":"exception","message":"unspecified","stack":[{"context":{"level":"error","file":"tcp_socket.cpp","line":106,"method":"bind","hostname":"","thread_name":"th_a","timestamp":"20140614T102458.559409"},"format":"error binding to ${endpoint}: ${what}","data":{"endpoint":"0.0.0.0:51496","what":"bind: Address already in use"}}]} node.cpp:494



And in and other log part, I get this error but my wallet is UNLOCKED:
Code: [Select]
1663327ms       th_a         get_property ] property active_delegate_list_id chain_database.cpp:1711
1663327ms       th_a        delegate_loop ] next block time: 20140614T102800  interval: 15 seconds  now: 20140614T102743 client.cpp:436
1665327ms       th_a         get_property ] property active_delegate_list_id chain_database.cpp:1711
1665328ms       th_a        delegate_loop ] next block time: 20140614T102800  interval: 15 seconds  now: 20140614T102745 client.cpp:436
1665328ms       th_a        delegate_loop ] unable to produce block because wallet is locked client.cpp:463
1666328ms       th_a         get_property ] property active_delegate_list_id chain_database.cpp:1711
1666328ms       th_a        delegate_loop ] next block time: 20140614T102800  interval: 15 seconds  now: 20140614T102746 client.cpp:436
1666344ms       th_a        delegate_loop ] unable to produce block because wallet is locked client.cpp:463
1667344ms       th_a         get_property ] property active_delegate_list_id chain_database.cpp:1711
1667344ms       th_a        delegate_loop ] next block time: 20140614T102800  interval: 15 seconds  now: 20140614T102747 client.cpp:436
1667344ms       th_a        delegate_loop ] unable to produce block because wallet is locked client.cpp:463
1668344ms       th_a         get_property ] property active_delegate_list_id chain_database.cpp:1711
1668345ms       th_a        delegate_loop ] next block time: 20140614T102800  interval: 15 seconds  now: 20140614T102748 client.cpp:436
1668345ms       th_a        delegate_loop ] unable to produce block because wallet is locked client.cpp:463
« Last Edit: June 14, 2014, 10:30:54 am by spartako »
wallet_account_set_approval spartako

Offline spartako

  • Sr. Member
  • ****
  • Posts: 401
    • View Profile
Anyone able to send me some test XTS pls?

XTS53h8pTjQGW2QMUvNvZyWF5oU3hvNtpMFaPWCPEMvEjKeeSzCY1

Code: [Select]
3314.0    2014-06-14T10:15:30 spartako            svk                 some xts                                  10.000000 XTS        0.010000 XTS        5d6e1484
wallet_account_set_approval spartako

Offline svk

I've managed to compile and run the toolkit on an Amazon free tier micro vps, it's slooooow but it works :)

I like the new syncing messages, nice to have some running updates on the network status:

Code: [Select]
...
Listening for P2P connections on port 48362
Attempting to connect to peer 107.170.30.182:8764
Attempting to connect to peer 114.215.104.153:8764
Attempting to connect to peer 84.238.140.192:8764
--- there are now 1 active connections to the p2p network                                                                                   
--- syncing with p2p network, 361 blocks left to fetch 
--- syncing with p2p network, our last block was created 2 hours ago
--- syncing with p2p network, our last block was created 37 minutes ago

Close and then reopen:

Code: [Select]
...
Attempting to connect to peer 84.238.140.192:8764
--- there are now 1 active connections to the p2p network                                                                                   
--- in sync with p2p network

Anyone able to send me some test XTS pls?

XTS53h8pTjQGW2QMUvNvZyWF5oU3hvNtpMFaPWCPEMvEjKeeSzCY1
Worker: dev.bitsharesblocks

Offline BTSdac

  • Hero Member
  • *****
  • Posts: 1219
    • View Profile
  • BitShares: K1
Code: [Select]
roy (unlocked) >>> info
{
  "blockchain_head_block_num": 2998,
  "blockchain_head_block_time": "20140614T071330",
  "blockchain_confirmation_requirement": 290,
  "blockchain_average_delegate_participation": 35.247093023255815,
  "network_num_connections": 1,
  "wallet_unlocked_seconds_remaining": 9177,
  "wallet_next_block_production_time": null,
  "wallet_seconds_until_next_block_production": null,
  "wallet_local_time": "20140614T071522",
  "blockchain_random_seed": "3e943fdcd182592c4d12e3d70e52e09789cad8ee",
  "blockchain_shares": 9999982626684,
  "network_num_connections_max": 12,
  "network_protocol_version": 101,
  "wallet_open": true,
  "wallet_unlocked_until": "20140614T094819",
  "wallet_version": 100
}
I think I am in the main chain now , my Ip is  107.170.172.14
github.com :pureland
BTS2.0 API :ws://139.196.37.179:8091
BTS2.0 API 数据源ws://139.196.37.179:8091

Offline Troglodactyl

  • Hero Member
  • *****
  • Posts: 960
    • View Profile
Oh, I know why from the source code.
delegate will not  producing block when connection less than 5.

But why the connection is always 1 or 2? I have a public IP.

I can't produce even 1 block after rebuild about 8hours ago.
the network and block sync seems no problem.
attention that  "wallet_seconds_until_next_block_production" is -5,
Code: [Select]
delegate (unlocked) >>> info
{
  "blockchain_head_block_num": 2929,
  "blockchain_head_block_time": "20140614T062800",
  "blockchain_confirmation_requirement": 291,
  "blockchain_average_delegate_participation": 35.780154924382146,
  "network_num_connections": 2,
  "wallet_unlocked_seconds_remaining": 99999835,
  "wallet_next_block_production_time": "20140614T062815",
  "wallet_seconds_until_next_block_production": -5,
  "wallet_local_time": "20140614T062820",
  "blockchain_random_seed": "8bb94b1e583370db1d9ed0e3e1c0ba8986812a78",
  "blockchain_shares": 9999979815269,
  "network_num_connections_max": 12,
  "network_protocol_version": 101,
  "wallet_open": true,
  "wallet_unlocked_until": "20170814T161215",
  "wallet_version": 100
}
delegate (unlocked)  >>> about
{
  "bitshares_toolkit_revision": "2079bad65120f1a3a04ee8abc0a0e7baa345b896",
  "bitshares_toolkit_revision_age": "8 hours ago",
  "fc_revision": "eab346121d1e6a2f52246e84b503907d8ec705f1",
  "fc_revision_age": "32 hours ago",
  "compile_date": "compiled on Jun 14 2014 at 07:48:30"
}
my account is 17,18,19,20.
before this upgrade, I miss only 3 blocks.

There are issues with the latest network code, but Eric and Dan are working on it.

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
Oh, I know why from the source code.
delegate will not  producing block when connection less than 5.

But why the connection is always 1 or 2? I have a public IP.

I can't produce even 1 block after rebuild about 8hours ago.
the network and block sync seems no problem.
attention that  "wallet_seconds_until_next_block_production" is -5,
Code: [Select]
delegate (unlocked) >>> info
{
  "blockchain_head_block_num": 2929,
  "blockchain_head_block_time": "20140614T062800",
  "blockchain_confirmation_requirement": 291,
  "blockchain_average_delegate_participation": 35.780154924382146,
  "network_num_connections": 2,
  "wallet_unlocked_seconds_remaining": 99999835,
  "wallet_next_block_production_time": "20140614T062815",
  "wallet_seconds_until_next_block_production": -5,
  "wallet_local_time": "20140614T062820",
  "blockchain_random_seed": "8bb94b1e583370db1d9ed0e3e1c0ba8986812a78",
  "blockchain_shares": 9999979815269,
  "network_num_connections_max": 12,
  "network_protocol_version": 101,
  "wallet_open": true,
  "wallet_unlocked_until": "20170814T161215",
  "wallet_version": 100
}
delegate (unlocked)  >>> about
{
  "bitshares_toolkit_revision": "2079bad65120f1a3a04ee8abc0a0e7baa345b896",
  "bitshares_toolkit_revision_age": "8 hours ago",
  "fc_revision": "eab346121d1e6a2f52246e84b503907d8ec705f1",
  "fc_revision_age": "32 hours ago",
  "compile_date": "compiled on Jun 14 2014 at 07:48:30"
}
my account is 17,18,19,20.
before this upgrade, I miss only 3 blocks.

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
I can't produce even 1 block after rebuild about 8hours ago.
the network and block sync seems no problem.
attention that  "wallet_seconds_until_next_block_production" is -5,
Code: [Select]
delegate (unlocked) >>> info
{
  "blockchain_head_block_num": 2929,
  "blockchain_head_block_time": "20140614T062800",
  "blockchain_confirmation_requirement": 291,
  "blockchain_average_delegate_participation": 35.780154924382146,
  "network_num_connections": 2,
  "wallet_unlocked_seconds_remaining": 99999835,
  "wallet_next_block_production_time": "20140614T062815",
  "wallet_seconds_until_next_block_production": -5,
  "wallet_local_time": "20140614T062820",
  "blockchain_random_seed": "8bb94b1e583370db1d9ed0e3e1c0ba8986812a78",
  "blockchain_shares": 9999979815269,
  "network_num_connections_max": 12,
  "network_protocol_version": 101,
  "wallet_open": true,
  "wallet_unlocked_until": "20170814T161215",
  "wallet_version": 100
}
delegate (unlocked)  >>> about
{
  "bitshares_toolkit_revision": "2079bad65120f1a3a04ee8abc0a0e7baa345b896",
  "bitshares_toolkit_revision_age": "8 hours ago",
  "fc_revision": "eab346121d1e6a2f52246e84b503907d8ec705f1",
  "fc_revision_age": "32 hours ago",
  "compile_date": "compiled on Jun 14 2014 at 07:48:30"
}
my account is 17,18,19,20.
before this upgrade, I miss only 3 blocks.

Offline bitcoinerS

  • Hero Member
  • *****
  • Posts: 592
    • View Profile

init-delegate-1 is now out, you are in :)

Great! Thanks.

Still, delegate bitcoiners is not producing any blocks yet..

Code: [Select]
get_info
{
  "blockchain_head_block_num": 2898,
  "blockchain_head_block_time": "20140614T060430",

default (unlocked) >>> blockchain_get_account_record bitcoiners
{
  "id": 299,
  "name": "bitcoiners",
  "public_data": null,
  "owner_key": "XTS8eoFWByxKtGYzBrNF4diAhv1zjY7jGNTUv6PSqVGbQs8yi7nqk",
  "active_key_history": [[
      "20140613T030845",
      "XTS8eoFWByxKtGYzBrNF4diAhv1zjY7jGNTUv6PSqVGbQs8yi7nqk"
    ]
  ],
  "delegate_info": {
    "votes_for": 83010000000,
    "votes_against": 0,
    "blocks_produced": 0,
    "blocks_missed": 11,
    "pay_balance": 0,
    "next_secret_hash": "0000000000000000000000000000000000000000",
    "last_block_num_produced": 4294967295
  },
  "registration_date": "20140613T030845",
  "last_update": "20140613T031130",
  "meta_data": null
}
« Last Edit: June 14, 2014, 06:33:13 am by bitcoinerS »
>>> approve bitcoiners

Offline cgafeng

Just syncrhonized (took less than a minute with clean data dir).

Am I on the right chain?
"blockchain_head_block_num": 2870,
"blockchain_head_block_time": "20140614T054445",

may be right. I on here:

 "blockchain_head_block_num": 2879,
 "blockchain_head_block_time": "20140614T055045",
BTC:1EYwcZ9cYVj6C9LMLafdcjK9wicVMDV376