Lindacoin / Linda

MIT License
42 stars 51 forks source link

Masternode UI tab updates and a performance improvement. #56

Open Tumba24 opened 6 years ago

Tumba24 commented 6 years ago
  1. Masternode tab performance improvement. a. Problem: The masternodes UI tab uses a lot of resources when it refreshes. b. Solution: Made updates to masternode.cpp that allow for the calculation of masternode scores to be done outside of GetMasternodeRank so that these scores can be passed to GetMasternodeRank for the purpose of making multiple calls to GetMasternodeRank more efficient. Implemented these changes in massternodemanager.cpp. These changes could also be beneficial to other areas that I haven't updated.
  2. Masternode tab sorting. a. Problem: The masternodes UI tab doesn't allow for any sorting. b. Solution: Disable sorting at the start of the row update processes and re enable it at the end. I also updated some of the columns to have numeric values instead of strings so that sorting would work better.
  3. Some masternodes not showing up on the masternodes tab. a. Problem: When multiple masternodes are running under the same ip and port, only one shows up on the masternode tab. b. Solution: Additional masternodes will now show up with a suffix number appended to the masternode's address in the format: ip:port (number). An alternative solution would be to show part of the masternode's vin but I thought this approach would be less controversial.
MoNTE48 commented 6 years ago

@Tumba24, Sorry for the offtopic, can you give a link to the manual to run 2 masternides on one ip?

Tumba24 commented 6 years ago

@MoNTE48 As far as I know you can't properly host two masternode pinging services from one wallet at the moment. This is true of most masternode coins. Some users are using custom applications and scripts to work around the issue with varying levels of success. Currently the best way I know of to run multiple masternodes from one ip is to use multiple wallets and ports assuming your computer is powerful enough. I don't know of an existing detailed guide for this setup sorry.

CitationNumber commented 6 years ago

Awesome work Tumba.

lyricidal commented 6 years ago

This helped a lot with freezing wallet on Windows 10, thank you!