Main Menu

Dry Run 2: The Real Deal

Started by toast, June 12, 2014, 11:24:02 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

alt

Quote from: coolspeed on June 14, 2014, 12:56:02 PM
Quote from: bytemaster on June 14, 2014, 03:38:57 AM
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


coolspeed

Quote from: bytemaster on June 14, 2014, 03:38:57 AM
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

spartako

Quote from: Kenof on June 14, 2014, 11:04:30 AM
Thank you very much, I will vote for you  ;)


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

Kenof

Quote from: spartako on June 14, 2014, 10:48:20 AM
Quote from: Kenof on June 14, 2014, 10:36:03 AM
I would be very thankful if anyone sends me some funds for testing.

XTS8c3oGHR9XNSRPV9yYZspcPC2HMowrp6pyadyywpRMFeCSw94E8


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.

spartako

Quote from: Kenof on June 14, 2014, 10:36:03 AM
I would be very thankful if anyone sends me some funds for testing.

XTS8c3oGHR9XNSRPV9yYZspcPC2HMowrp6pyadyywpRMFeCSw94E8


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

Kenof

I would be very thankful if anyone sends me some funds for testing.

XTS8c3oGHR9XNSRPV9yYZspcPC2HMowrp6pyadyywpRMFeCSw94E8
Making life easier.

spartako

#152
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:

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:


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:

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

wallet_account_set_approval spartako

spartako

Quote from: svk on June 14, 2014, 08:15:23 AM
Anyone able to send me some test XTS pls?

XTS53h8pTjQGW2QMUvNvZyWF5oU3hvNtpMFaPWCPEMvEjKeeSzCY1


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

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:

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

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

BTSdac

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
[url="//github.com"]github.com[/url] :pureland
BTS2.0 API :[url="ws://139.196.37.179:8091"]ws://139.196.37.179:8091[/url]
BTS2.0 API 数据源ws:[url="//139.196.37.179:8091"]//139.196.37.179:8091[/url]

Troglodactyl

Quote from: alt on June 14, 2014, 06:52:55 AM
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.

Quote from: alt on June 14, 2014, 06:31:53 AM
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,

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.

alt

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.

Quote from: alt on June 14, 2014, 06:31:53 AM
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,

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.

alt

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,

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.

bitcoinerS

#145
Quote from: bytemaster on June 14, 2014, 01:10:13 AM

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

Great! Thanks.

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

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
}
>>> approve bitcoiners

cgafeng

Quote from: emski on June 14, 2014, 05:46:27 AM
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