Is there no initial seed nodes to connect after client run in version 0.9.2?

Started by BTSdac, June 07, 2015, 05:18:23 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

xeroc

The client creates a plain config.json file which will then contain the seed nodes .. from there it will load which seeds to connect to ..
Your issue seems to be a networking issue .. are you running via VPN .. or do you have a firewall enabled?

BTSdac

Quote from: xeroc ¯\_(ツ)_/¯ on June 07, 2015, 05:23:56 PM
Yes there are:
https://github.com/BitShares/bitshares/blob/master/libraries/client/include/bts/client/seed_nodes.hpp
but in default , client do not add the seed nodes ,
    struct chain_server_config
    {
        chain_server_config()
         : enabled(false),
           listen_port(0)
        {}

        bool enabled;
        uint16_t listen_port;
    };

chain_server_config chain_server;
   if (my->_config.chain_server.enabled)
   {
      my->_chain_server = std::unique_ptr<bts::net::chain_server>(
               new bts::net::chain_server(my->_chain_db,
                                          my->_config.chain_server.listen_port));
      ulog("Starting a chain server on port ${port}", ("port", my->_chain_server->get_listening_port()));
   }


I run client in my vps after 4 days stop,
there are always lack of node
--- there are now 1 active connections to the p2p network
--- there are now 2 active connections to the p2p network
--- there are now 1 active connections to the p2p network
--- there are now 2 active connections to the p2p network
--- there are now 3 active connections to the p2p network
--- there are now 2 active connections to the p2p network
--- there are now 1 active connections to the p2p network
--- there are now 2 active connections to the p2p network
--- there are now 1 active connections to the p2p network
--- there are now 2 active connections to the p2p network
--- there are now 3 active connections to the p2p network
--- there are now 2 active connections to the p2p network
--- there are now 3 active connections to the p2p network
--- there are now 2 active connections to the p2p network
--- there are now 3 active connections to the p2p network
--- there are now 4 active connections to the p2p network
--- there are now 3 active connections to the p2p network
--- there are now 2 active connections to the p2p network
--- there are now 1 active connections to the p2p network
--- there are now 0 active connections to the p2p network
--- there are now 1 active connections to the p2p network
--- there are now 2 active connections to the p2p network
--- there are now 3 active connections to the p2p network
--- there are now 4 active connections to the p2p network
--- there are now 3 active connections to the p2p network
--- there are now 2 active connections to the p2p network
--- there are now 1 active connections to the p2p network
--- there are now 2 active connections to the p2p network
--- there are now 1 active connections to the p2p network
--- there are now 2 active connections to the p2p network
---
k
[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]


BTSdac

Is there no initial seed nodes to connect after client run in version 0.9.2?
[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]