BitShares Forum
Main => General Discussion => Topic started by: FuLl on September 17, 2014, 05:46:52 am
-
Hi,
In the near future, I'll have 2 servers each with their own static IP address, unused CPU cycles, & plenty of bandwidth. I would like to help the network by running a seed node on each.
I'm not clear on whether just running the bitsharesx client constitutes a seed node. I gather that it's separate from a delegate node, & can be helpful without having to be voted into the top 101.
What software would I have to install, & where can I find a download link with installation instructions?
One server runs Debian, & the other will run Lunar linux, so I'll need to build them from source. I assume that's available.
If it's the same software as a delegate node requires, I'll need some help, as I'm having trouble building it, but that's for another thread that's over in 'Technical Support'.
If someone would be kind enough to point me in the right direction, I'm happy to help the project this way.
Thanks,
-F
EDIT:
An afterthought, I probably should have posted this in the 'Newbies' section- sorry. Please feel free to move it should forum admins agree.
-
Hi,
In the near future, I'll have 2 servers each with their own static IP address, unused CPU cycles, & plenty of bandwidth. I would like to help the network by running a seed node on each.
I'm not clear on whether just running the bitsharesx client constitutes a seed node. I gather that it's separate from a delegate node, & can be helpful without having to be voted into the top 101.
What software would I have to install, & where can I find a download link with installation instructions?
One server runs Debian, & the other will run Lunar linux, so I'll need to build them from source. I assume that's available.
If it's the same software as a delegate node requires, I'll need some help, as I'm having trouble building it, but that's for another thread that's over in 'Technical Support'.
If someone would be kind enough to point me in the right direction, I'm happy to help the project this way.
Thanks,
-F
EDIT:
An afterthought, I probably should have posted this in the 'Newbies' section- sorry. Please feel free to move it should forum admins agree.
You will find some infos here:
https://bitsharestalk.org/index.php?topic=5936.0
but it would be great for someone he did it already to describe us step by step how we run a seed node !
-
Yes I am a hero member and I am asking how to setup step by step a seed node
knowing the same time that I am secure enough! Hints @ Tips please :)
thats an easy one ..
- install bitsharesx client
- open up firefwall ports/router forwarding (if necessary)
- (optional) increase max number of conections
- post pm to dacsunlimited and tell them the ip (there's is also a thread somewhere about it)
PS: do not run the delegate on a seed node!
-
- open up firefwall ports/router forwarding (if necessary)
- (optional) increase max number of conections
- post pm to dacsunlimited and tell them the ip (there's is also a thread somewhere about it)
I got the client installed, now I have a few more questions:
-What commands do I need to run in an init script to be sure it starts each boot?
-What ports do I need to open for it?
-Where do I increase the max connections?
-
-Where do I increase the max connections?
when client is running type:
network_set_advanced_node_parameters { "peer_connection_retry_timeout": 30, "desired_number_of_connections": 50, "maximum_number_of_connections": 200 }
-
Right now I have this script using the delegate startup instructions from github.
#!/bin/sh
# Starts and stops bitsharesx
#
case "$1" in
start)
echo ""
echo "Starting BitSharesX"
echo ""
cd /usr/bin/BitSharesX
gdb BitSharesX
sleep 1
$0 view
;;
stop)
echo ""
echo "Stoping BitSharesX"
/usr/bin/BitSharesX stop
;;
restart)
$0 stop
sleep 30
$0 start
;;
view)
ps -e | grep BitSharesX
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
esac
...But when I run it, the terminal stays in gdb mode, & instead of leaving me with a '$' prompt, it's "(gdb)", & I have to type 'quit' to get back to bash. Then that exits the process. Not quite right.
What's the right way to start & stop it?
And I don't see where to get the port info, either in the docs. Could someone tell me about that please?
Thanks,
-F
-
-Where do I increase the max connections?
when client is running type:
network_set_advanced_node_parameters { "peer_connection_retry_timeout": 30, "desired_number_of_connections": 50, "maximum_number_of_connections": 200 }
If I do this command at the (gdb) prompt, I get:
Undefined command: "network_set_advanced_node_parameters". Try "help".
And if I do:
$BitSharesX network_set_advanced_node_parameters { "peer_connection_retry_timeout": 30, "desired_number_of_connections": 50, "maximum_number_of_connections": 200 }
I get:
QXcbConnection: Could not connect to display
Aborted
What am I doing wrong?
-
i am not sure,but i think it can help you."Bitsuperlab".http://www.bitsuperlab.com/
"Hey, to delegates and those who want to provide stable seed nodes. "
https://bitsharestalk.org/index.php?topic=5936.0
-
-Where do I increase the max connections?
when client is running type:
network_set_advanced_node_parameters { "peer_connection_retry_timeout": 30, "desired_number_of_connections": 50, "maximum_number_of_connections": 200 }
If I do this command at the (gdb) prompt, I get:
Undefined command: "network_set_advanced_node_parameters". Try "help".
And if I do:
$BitSharesX network_set_advanced_node_parameters { "peer_connection_retry_timeout": 30, "desired_number_of_connections": 50, "maximum_number_of_connections": 200 }
I get:
QXcbConnection: Could not connect to display
Aborted
What am I doing wrong?
No, you do not need to increase connections.
-
Right now I have this script using the delegate startup instructions from github.
#!/bin/sh
# Starts and stops bitsharesx
#
case "$1" in
start)
echo ""
echo "Starting BitSharesX"
echo ""
cd /usr/bin/BitSharesX
gdb BitSharesX
sleep 1
$0 view
;;
stop)
echo ""
echo "Stoping BitSharesX"
/usr/bin/BitSharesX stop
;;
restart)
$0 stop
sleep 30
$0 start
;;
view)
ps -e | grep BitSharesX
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
esac
...But when I run it, the terminal stays in gdb mode, & instead of leaving me with a '$' prompt, it's "(gdb)", & I have to type 'quit' to get back to bash. Then that exits the process. Not quite right.
What's the right way to start & stop it?
And I don't see where to get the port info, either in the docs. Could someone tell me about that please?
Thanks,
-F
You can remove the gdb word. The debugger was used in the early days.
-
- open up firefwall ports/router forwarding (if necessary)
- (optional) increase max number of conections
- post pm to dacsunlimited and tell them the ip (there's is also a thread somewhere about it)
I got the client installed, now I have a few more questions:
..
-What ports do I need to open for it?
..
The default port being used is 1776. Make sure this port is open to the world.
-
Now when I do:
$BitSharesX
or
$BitSharesX --daemon
I get this error:
QXcbConnection: Could not connect to display
Aborted
How do I get past that? I don't have XOrg installed, & don't want to install it.
What's the right command to run it headless?
Please advise.
Thanks alot for all your help.
-
Finally got it working! :-)
Had to change from Debian to Ubuntu for the startup script to work.
54.165.9.208 for anyone who wants to use it.