I noticed that there was no way to track how many connections were going through a node at a given time, so I wrote up a tracker. The GitHub repo is at https://github.com/DatOneLefty/storj_connection_tracker.
Screenshot:
If you don’t want to use the shell script, you are able to just download the app.js file and run docker logs --tail 0 storagenode -f 2>&1 | node app
Make sure you have Node.js installed first.
I believe it could be possible by passing the last 100 or so records and itll sort through which ones are incomplete, if you want I could add a second file to the repo for it
Hi @lholliger
Thanks for your reply!
I think requiremen is Node.js >= 8.xx version, can I ask you add this information to github?
I also found official manual from node.js
I just install latest 12.7 and everything is working fine, thanks!
To explain this I have to switch the topic to satellite trust. What happens if a new satellite would like to join the network. All storage nodes have to add it to the trusted satellite list (Opt-In) vs the satellite is untrusted and will get trusted over time without any user interaction. The user can decide to untrust the satellite (Opt-Out).
Kademlia is needed for the Opt-Out approach. For the Opt-In approach we don’t need any kademlia and we don’t need to replace it.
I hope that explains the situation. If not please let me know and I will try to explain it better.
It does actually! So all you would need is a routing table of nodes on the satellite and all other nodes (uplinks/storagenodes) simply tell the satellites directly that they exist and where they can be found. Much simpler than I was expecting. Thanks for the quick response.
I thought the opt-in vs opt-out approach was still being discussed. But I guess that decision has been made then?
We are working on the details. One option was Opt-In in combination with subscribing to a trusted satellite list. The owner of this list can add and remove satellites and the storage nodes operator will follow without having to update the config file. I like the idea.
I can’t predict what the final descicion will be. My point is to give you all a fair warning before you spend too much time with kademlia.
I always wondered why are you keeping Kademlia in v3 if the nodes do not really talk to each other (the uplink is given a list of nodes by the satellite etc).
I guess there can be two types of lists - a list of trusted satellites for the node (opt-in) and a list of nodes that are willing to try working with any satellite (opt-out).
A new satellite would like to join the network. How does it find all storage nodes? Opt-In = the satellite doesn’t need to care because the storage nodes have to add the satellite. Opt-Out = the storage nodes don’t need to care because the satellite has to find them. They need the kademlia network to do so.