BitShares Forum
Main => General Discussion => Topic started 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?
-
Yes there are:
https://github.com/BitShares/bitshares/blob/master/libraries/client/include/bts/client/seed_nodes.hpp
-
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
-
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?