Author Topic: [OVER] New testnet iteration  (Read 26600 times)

0 Members and 1 Guest are viewing this topic.

Offline bytemaster

nice work.

account_name: taoljj
XTS5NUAgfhjRZntLe5nkxGDum2TXgQ2FH8tsJhtXF5CQXyJRAKbqV

thanks

Seed funds sent.
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 taoljj

  • Full Member
  • ***
  • Posts: 177
    • View Profile
nice work.

account_name: taoljj
XTS5NUAgfhjRZntLe5nkxGDum2TXgQ2FH8tsJhtXF5CQXyJRAKbqV

thanks
BTS      Witness: delegate.taoljj

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
I found the issue, the seed node wasn't listening on the right port because it was relaunched to quickly.   Things are connecting now.
I  can't connect to the feed node except patched the  code.
I have no upnp support and without public IP.
We should detect if bind to a special port is failed.
Code: [Select]
diff --git a/libraries/net/node.cpp b/libraries/net/node.cpp
index 2c6d2ec..56584c4 100644
--- a/libraries/net/node.cpp
+++ b/libraries/net/node.cpp
@@ -476,7 +476,7 @@ namespace bts { namespace net {
           // detect if this fails.
           try
           {
-            _message_connection.bind(*local_endpoint);
+            //_message_connection.bind(*local_endpoint);
           }
           catch (const fc::exception& except)
           {
« Last Edit: June 04, 2014, 01:07:59 am by alt »

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
XTS6Pd7FndgfuZk6P94FUazQyNmckbd1Co4oYvGF4AKRzkDM8p6rg
Thanks

Offline bytemaster

I found the issue, the seed node wasn't listening on the right port because it was relaunched to quickly.   Things are connecting now.
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

XTS8TzZ4svypC4nyyuExv9uMGiFYYnvXFutXxx8yJphwLZpLC5oqe

Thanks.

btw, I have 0 connections with the below logs.

1664970ms       th_a advertise_inventory_ ] beginning an iteration of advertise inventory                       node.cpp:832
1664971ms       th_a p2p_network_connect_ ] Starting an iteration of p2p_network_connect_loop().                        node.cpp:610
1664971ms       th_a display_current_conn ] Currently have 1 of 8 connections                   node.cpp:985
1664971ms       th_a display_current_conn ]    my id is 48e3556ba8e7e5d8d139906fe9ffa3147542f5f5                        node.cpp:986
1664971ms       th_a display_current_conn ]    handshaking: 107.170.30.182:8764 with 0000000000000000000000000000000000000000  [outbound]                      node.cpp:994
1664971ms       th_a p2p_network_connect_ ] Last attempt was 0 seconds ago (disposition: last_connection_failed)                      node.cpp:649
1664971ms       th_a display_current_conn ] Currently have 1 of 8 connections                   node.cpp:985
1664971ms       th_a display_current_conn ]    my id is 48e3556ba8e7e5d8d139906fe9ffa3147542f5f5                        node.cpp:986
1664971ms       th_a display_current_conn ]    handshaking: 107.170.30.182:8764 with 0000000000000000000000000000000000000000  [outbound]                      node.cpp:994
1664971ms       th_a p2p_network_connect_ ] Still want to connect to more nodes, but I don't have any good candidates.  Trying again in 15 seconds                     node.cpp:677
1664971ms       th_a fetch_sync_items_loo ] beginning another iteration of the sync items loop                  node.cpp:725
1664972ms       th_a fetch_sync_items_loo ] no sync items to fetch right now, going to sleep                    node.cpp:761
1664972ms       th_a     fetch_items_loop ] beginning an iteration of fetch items (0 items to fetch)                    node.cpp:782
1664972ms       th_a                  cli ] starting process commands                   cli.cpp:1105
1665202ms       th_a           connect_to ] fatal: error connecting to peer 107.170.30.182:8764: unspecified
Broken pipe
    {"message":"Broken pipe"}
    asio  asio.cpp:28 read_write_handler                        node.cpp:492
1665202ms       th_a display_current_conn ] Currently have 0 of 8 connections                   node.cpp:985
1665202ms       th_a display_current_conn ]    my id is 48e3556ba8e7e5d8d139906fe9ffa3147542f5f5                        node.cpp:986
1665203ms       th_a trigger_p2p_network_ ] Triggering connect loop now                 node.cpp:698
1665203ms       th_a p2p_network_connect_ ] Starting an iteration of p2p_network_connect_loop().                        node.cpp:610
1665203ms       th_a display_current_conn ] Currently have 0 of 8 connections                   node.cpp:985
1665203ms       th_a display_current_conn ]    my id is 48e3556ba8e7e5d8d139906fe9ffa3147542f5f5                        node.cpp:986
1665203ms       th_a p2p_network_connect_ ] Last attempt was 1 seconds ago (disposition: last_connection_failed)                      node.cpp:649

There is a new genesis.json that the network expects...  do you have the right blockchain_id?
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 zhangweis

  • Sr. Member
  • ****
  • Posts: 305
    • View Profile
XTS8TzZ4svypC4nyyuExv9uMGiFYYnvXFutXxx8yJphwLZpLC5oqe

Thanks.

btw, I have 0 connections with the below logs.

1664970ms       th_a advertise_inventory_ ] beginning an iteration of advertise inventory                       node.cpp:832
1664971ms       th_a p2p_network_connect_ ] Starting an iteration of p2p_network_connect_loop().                        node.cpp:610
1664971ms       th_a display_current_conn ] Currently have 1 of 8 connections                   node.cpp:985
1664971ms       th_a display_current_conn ]    my id is 48e3556ba8e7e5d8d139906fe9ffa3147542f5f5                        node.cpp:986
1664971ms       th_a display_current_conn ]    handshaking: 107.170.30.182:8764 with 0000000000000000000000000000000000000000  [outbound]                      node.cpp:994
1664971ms       th_a p2p_network_connect_ ] Last attempt was 0 seconds ago (disposition: last_connection_failed)                      node.cpp:649
1664971ms       th_a display_current_conn ] Currently have 1 of 8 connections                   node.cpp:985
1664971ms       th_a display_current_conn ]    my id is 48e3556ba8e7e5d8d139906fe9ffa3147542f5f5                        node.cpp:986
1664971ms       th_a display_current_conn ]    handshaking: 107.170.30.182:8764 with 0000000000000000000000000000000000000000  [outbound]                      node.cpp:994
1664971ms       th_a p2p_network_connect_ ] Still want to connect to more nodes, but I don't have any good candidates.  Trying again in 15 seconds                     node.cpp:677
1664971ms       th_a fetch_sync_items_loo ] beginning another iteration of the sync items loop                  node.cpp:725
1664972ms       th_a fetch_sync_items_loo ] no sync items to fetch right now, going to sleep                    node.cpp:761
1664972ms       th_a     fetch_items_loop ] beginning an iteration of fetch items (0 items to fetch)                    node.cpp:782
1664972ms       th_a                  cli ] starting process commands                   cli.cpp:1105
1665202ms       th_a           connect_to ] fatal: error connecting to peer 107.170.30.182:8764: unspecified
Broken pipe
    {"message":"Broken pipe"}
    asio  asio.cpp:28 read_write_handler                        node.cpp:492
1665202ms       th_a display_current_conn ] Currently have 0 of 8 connections                   node.cpp:985
1665202ms       th_a display_current_conn ]    my id is 48e3556ba8e7e5d8d139906fe9ffa3147542f5f5                        node.cpp:986
1665203ms       th_a trigger_p2p_network_ ] Triggering connect loop now                 node.cpp:698
1665203ms       th_a p2p_network_connect_ ] Starting an iteration of p2p_network_connect_loop().                        node.cpp:610
1665203ms       th_a display_current_conn ] Currently have 0 of 8 connections                   node.cpp:985
1665203ms       th_a display_current_conn ]    my id is 48e3556ba8e7e5d8d139906fe9ffa3147542f5f5                        node.cpp:986
1665203ms       th_a p2p_network_connect_ ] Last attempt was 1 seconds ago (disposition: last_connection_failed)                      node.cpp:649
Weibo:http://weibo.com/zhangweis

Offline toast

  • Hero Member
  • *****
  • Posts: 4001
    • View Profile
  • BitShares: nikolai
Every time there is a hard-fork we will make a new thread so people know they have to resync and can ask for new funds.


It has been an incredibly productive day of bug fixing

Quote
Known Issues:
1) Delegate Fee Registration not Enforced on Update
2) Wallet may not include enough fees in some cases

3) Sometimes wallet will attempt to vote for an invalid delegate (0)
4) Wallet cache of name updates may get out of sync (not reporting contacts as registered or delegates)
The known issues will likely be resolved in the next 24 hours...

We have resolved all of these issues which means that we have to reset the chain because of #2... there are now invalid transactions (that did not pay enough fees) in the chain which will prevent users with the latest code from syncing.   

We have also made a whole host of usability enhancements to the CLI.     A new chain will be launching shortly.
If you relaunch the client with --clear-peer-database and --resync-blockchain  while running the latest code then you can keep your current wallet and contacts.

The wallet will still have a bunch of your stale transactions... which we need to clear out.    We will get something to do that tomorrow.

New chain is up with a new genesis block to prevent people from accidentally connecting to an invalid network.

Run this command to make sure you have the latest genesis block.
Quote
default (unlocked) >>> blockchain_get_config
  "blockchain_id": "fad10934fe03db46d4cd1934a47845d5080059933df3770ff6558abb764864e2",
« Last Edit: June 07, 2014, 03:47:18 am by toast »
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.