A revamped promiscuous strategy will be available to node runners with our upcoming release – Riga, a brilliant feature for node

07 Feb 2023, 16:00
A revamped promiscuous strategy will be available to node runners with our upcoming release Riga, a brilliant feature for node runners trying to maximise the traffic sent through their node and, ultimately, the tokens they earn 🤑 🟡 What is the promiscuous strategy? 🟡 Promiscuous strategy is an automated payment channel management strategy you can opt-in to use with your node. Currently, the default strategy for a node is “passive”, which means that the node will not try to open or close payment channels itself, and all channel management is manual. When you switch to the promiscuous strategy in the next release, your node will start opening channels with peers it has a high-quality connection with, and at the same time, it will close channels: 1️⃣ That have insufficient funds staked in them 2️⃣ That are with peers you have a low-quality connection with The connection quality is determined by the heartbeat mechanism 🟡 How does the promiscuous strategy work? 🟡 The strategy considers the following parameters: Connection quality threshold = 0.5 Initial stake = 0.1 mHOPR Minimum stake = 0.01 mHOPR Minimum Node balance = 0.1 mHOPR Maximum number of open channels = sqrt of total visible peers So, if Node A has 100 visible peers, the strategy will open up to a maximum of ten channels (sqrt 100). If it finds a peer with which it has a high-quality connection (above 0.5), it will attempt to open a channel with them, as long as: 1️⃣ There are not already ten or more channels open 2️⃣ The node’s balance is not below 0.1 mHOPR If the above are satisfied, it will open a channel with the node and stake 0.1 mHOPR in it. It will repeat this process until it either reaches the maximum number of channels or exhausts the available high-quality peers. And if a channel either drops below the minimum stake of 0.01 mHOPR or the quality of the connection drops below 0.5, it will close it and try to find a high-quality alternative. This is a simple strategy, but we expect it to improve the network's topology significantly. Having well-funded channels to peers with high-quality connections makes your node an optimal target for relays and, in turn, increases the amount of tokens you earn as a node runner. 💰 🟡 Using a custom strategy 🟡 As we scale the amount of traffic going through the network, we expect node runners will use custom strategies which they can automate and execute through our hoprd APIs. But scaling the traffic going through the network requires scaling the network itself, and for that, we need quality node runners. If you’re interested in running a HOPR node, join our waitlist: forms.gle/E5gmBZJ2X3GhCLt9A