Skip to content

Creating a Masternode deletes my masternode.conf file. #2927

@EricStanek

Description

@EricStanek

Describe the issue

I have multiple wallets. When I start one, I specify a the mnconf and wallet parameters for non-standard values.
Then, when creating a MN, when the app would normally edit the masternode.conf file, it deletes it!

Can you reliably reproduce the issue?

YES.

If so, please list the steps to reproduce below:

  1. Start QT from command line with:
    /opt/pivx/bin/pivx-qt -mnconf=/home/estanek/.pivx/wallets/wallet_1/masternode.1-10.conf -wallet=/home/estanek/.pivx/wallets/wallet_1 &
  2. Check that masternode.1-10.conf exists. Make a copy of it for backup.
  3. Create a new MN in the GUI.
  4. Note that masternode.1-10.conf has been deleted.

Expected behavior

New entry for the new MN should be added to the masternode.1-10.conf file and it should not be deleted.

Actual behavior

Everything works as expected, but the masternode.1-10.conf file is deleted.

What version of PIVX Core are you using?

Production Release v5.6.1 official binary.

Machine specs:

  • OS: Fedora 39
  • CPU: Intel Core i9-14900HX x 24
  • RAM: 64 GB
  • Disk size: 8TB
  • Disk Type (HD/SDD): SSD

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions