Hello,
I love to stake RADS and I would like to set a maximum amount of connections to the network.
How can i do that?
1 outgoing connection is already OK for staking. Look what the main RADS dev Justin (JJ12880) answered about this previously:
In order for the wallet to work correctly, it needs to have a MINIMUM of one connection. A wallet can work perfectly fine, using only one high quality connection to the network. It is desired that a wallet have more than one connection in case your one connection is of low quality. A total of three to five connections is more than enough for the wallet to work correctly.
But arnt more connections better?
Well, it CAN be, in terms of the health of the entire network, however after 3-5 connections there really is little improvement in wallet function. Each connection requires resources to maintain, and the more connections you have the harder your computer will need to work in order to communicate with all the other nodes. Once your wallet has a stable connection to the network, more connections will not increase the speed or improve staking.
I have 16, BUT I WANT MORRRR!
Well, then, be patient. First, connections require more CPU power for the connected wallets. There are two types of connections used by the wallet, outgoing and incoming. An outgoing is established when your wallet reaches out and initiates a connection to another node. An incoming connection occurs when someone else connects to you. There is a hard coded limit of 16 outgoing connections, so that your wallet does not create more work for more nodes than necessary. To help new wallets gain connections even if your already have 16, the incoming connection default limit is set at 125. This means your wallet can not ask for more than 16 connections, but it can accept more connections from other nodes with low connection counts. In summary, only way to get more than 16 connections is to have your wallet open for a long period of time and allow other new nodes to connect to you.
More info about staking you can find on our website -
https://radiumcore.org/staking/Thank you, I already found out that adding a file named radium.conf with the parameter "maxconnections" into the Radium directory can limit the number of connections.
Previously, I got more than 60 connections consuming up to 3 GB of data per day (not an issue at all) but after a period wihout any single stake I tried reducing the amount of connections.
I should get a stake every few hours, but the last one is more than 5 days old.
Am I doing something wrong? How can I check, that everything is allright? The wallet is synced, staking is active and there are 14-18 active connections.
Thank you!