Skip to content

Masternode UI tab updates and a performance improvement.#56

Open
Tumba24 wants to merge 8 commits intoLindacoin:masterfrom
Tumba24:masternode-tab-performance
Open

Masternode UI tab updates and a performance improvement.#56
Tumba24 wants to merge 8 commits intoLindacoin:masterfrom
Tumba24:masternode-tab-performance

Conversation

@Tumba24
Copy link

@Tumba24 Tumba24 commented May 3, 2018

  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
Copy link

MoNTE48 commented May 4, 2018

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

@Tumba24
Copy link
Author

Tumba24 commented May 4, 2018

@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
Copy link

Awesome work Tumba.

@lyricidal
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants