BitShares Forum

Main => General Discussion => Topic started by: Come-from-Beyond on March 05, 2015, 02:28:32 pm

Title: BitShares network topology
Post by: Come-from-Beyond on March 05, 2015, 02:28:32 pm
What is BitShares network topology? Is it standard Bitcoin's "connect to 8 random peers"?
Title: Re: BitShares network topology
Post by: emski on March 05, 2015, 02:46:36 pm
Initially the clients connect to a random subset of seed nodes.
Then they acquire peers.
The desired number of connections is 20.

PS: delegates desired number of connections is 50 .
These values could be modified by the users at runtime.
Title: Re: BitShares network topology
Post by: Come-from-Beyond on March 05, 2015, 06:48:12 pm
Initially the clients connect to a random subset of seed nodes.

How are nodes added to the set?
Title: Re: BitShares network topology
Post by: monsterer on March 05, 2015, 06:57:46 pm
Initially the clients connect to a random subset of seed nodes.

How are nodes added to the set?

https://github.com/BitShares/bitshares/blob/ee44418782f1b519480ddab7eb845b0612a99498/libraries/client/include/bts/client/seed_nodes.hpp
Title: Re: BitShares network topology
Post by: vikram on March 05, 2015, 07:31:18 pm
Initially the clients connect to a random subset of seed nodes.

How are nodes added to the set?

https://github.com/BitShares/bitshares/blob/ee44418782f1b519480ddab7eb845b0612a99498/libraries/client/include/bts/client/seed_nodes.hpp

Provided by volunteers and delegates. I encourage everyone to help!
Title: Re: BitShares network topology
Post by: cass on March 05, 2015, 08:13:25 pm
Initially the clients connect to a random subset of seed nodes.

How are nodes added to the set?

https://github.com/BitShares/bitshares/blob/ee44418782f1b519480ddab7eb845b0612a99498/libraries/client/include/bts/client/seed_nodes.hpp

Provided by volunteers and delegates. I encourage everyone to help!

so maybe a short tutorial  – how to setting up a node – would be useful for users who want to help IMO!
Title: Re: BitShares network topology
Post by: ubits on March 05, 2015, 08:49:44 pm
Initially the clients connect to a random subset of seed nodes.

How are nodes added to the set?

https://github.com/BitShares/bitshares/blob/ee44418782f1b519480ddab7eb845b0612a99498/libraries/client/include/bts/client/seed_nodes.hpp

Provided by volunteers and delegates. I encourage everyone to help!

so maybe a short tutorial  – how to setting up a node – would be useful for users who want to help IMO!
+5% +5%
Title: Re: BitShares network topology
Post by: Come-from-Beyond on March 05, 2015, 09:09:46 pm
https://github.com/BitShares/bitshares/blob/ee44418782f1b519480ddab7eb845b0612a99498/libraries/client/include/bts/client/seed_nodes.hpp

Provided by volunteers and delegates. I encourage everyone to help!

So, it's possible to add 153 seed nodes controlled by me and make it easy to do an eclipse attack? Neat...
Title: Re: BitShares network topology
Post by: vikram on March 05, 2015, 09:58:14 pm
https://github.com/BitShares/bitshares/blob/ee44418782f1b519480ddab7eb845b0612a99498/libraries/client/include/bts/client/seed_nodes.hpp

Provided by volunteers and delegates. I encourage everyone to help!

So, it's possible to add 153 seed nodes controlled by me and make it easy to do an eclipse attack? Neat...

Suggestions for improvement are always welcome.
Title: Re: BitShares network topology
Post by: xeroc on March 06, 2015, 07:46:30 am
https://github.com/BitShares/bitshares/blob/ee44418782f1b519480ddab7eb845b0612a99498/libraries/client/include/bts/client/seed_nodes.hpp

Provided by volunteers and delegates. I encourage everyone to help!

So, it's possible to add 153 seed nodes controlled by me and make it easy to do an eclipse attack? Neat...
.. which, however, is just a denial of service and not disruptive for the network
Title: Re: BitShares network topology
Post by: Come-from-Beyond on March 06, 2015, 10:25:53 am
Suggestions for improvement are always welcome.

More nodes. Every delegate should provide as many seed nodes as possible and shareholders should cast votes for those who controls more than others.
Title: Re: BitShares network topology
Post by: Come-from-Beyond on March 06, 2015, 10:26:52 am
.. which, however, is just a denial of service and not disruptive for the network

Eclipse attack is a good opening move for a double-spending attack against a single merchant.
Title: Re: BitShares network topology
Post by: cass on March 06, 2015, 10:37:04 am
Suggestions for improvement are always welcome.

More nodes. Every delegate should provide as many seed nodes as possible and shareholders should cast votes for those who controls more than others.

short tutorial  – how to setting up a node – would be useful for users who want to help IMO!

+5%