BitShares Forum

Main => General Discussion => Topic started by: BTSdac on June 07, 2015, 05:18:23 pm

Title: Is there no initial seed nodes to connect after client run in version 0.9.2?
Post by: BTSdac on June 07, 2015, 05:18:23 pm
Is there no initial seed nodes to connect after client run in version 0.9.2?
Title: Re: Is there no initial seed nodes to connect after client run in version 0.9.2?
Post by: 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
Title: Re: Is there no initial seed nodes to connect after client run in version 0.9.2?
Post by: BTSdac on June 07, 2015, 05:35:39 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 ,
Code: [Select]
    struct chain_server_config
    {
        chain_server_config()
         : enabled(false),
           listen_port(0)
        {}

        bool enabled;
        uint16_t listen_port;
    };
Code: [Select]
chain_server_config chain_server;
Code: [Select]
   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
Code: [Select]
--- 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
Title: Re: Is there no initial seed nodes to connect after client run in version 0.9.2?
Post by: xeroc on June 07, 2015, 05:44:23 pm
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?