Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: remove redundant filename prefixes for Dash-specific logic #4475

Merged
merged 4 commits into from
Oct 1, 2021

Conversation

kwvg
Copy link
Collaborator

@kwvg kwvg commented Oct 1, 2021

Following the pattern established by #4197 (refactoring util*.[cpp/h]) and #1502 (refactoring rpc*.[cpp/h]), changes have been made in the format specified by the commit message for masternode, coinjoin and governance

Deviations

  • coinjoin-client-options.* has been renamed to options.*
  • activemasternode.* has been renamed to node.*

Why now?

This pull request in one in a series of pull requests meant to do some move-only refactoring and revert some rebrandings in preparation for accommodating alternative build systems

Why not now?

The changes are move-only and don't involve any logic changes but could potentially cause inconvenience towards maintainers of parallel pull requests

Additional Notes

llmq/quorum* has not been touched as it's unsure whether to organize them as llmq/quorum/*.[cpp/h] or llmq/*.[cpp/h]

Copy link

@UdjinM6 UdjinM6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link

@UdjinM6 UdjinM6 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

@UdjinM6 UdjinM6 added this to the 18 milestone Oct 1, 2021
Copy link
Member

@PastaPastaPasta PastaPastaPasta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not really a fan of this change, I somewhat prefer more verbose naming, and I HATE that there is wallet/wallet.h and interfaces/wallet.h as I end up in the wrong file in my ide all the time due to it... But, I guess it's probably fine, so

utACK for squash merge

@UdjinM6 UdjinM6 merged commit cb1d476 into dashpay:develop Oct 1, 2021
kwvg added a commit to kwvg/dash that referenced this pull request Oct 12, 2021
…ashpay#4475)

* refactor: coinjoin/coinjoin-*[cpp/h] --> coinjoin/*.[cpp/h]

* refactor: governance/governance-*[cpp/h] --> governance/*.[cpp/h]

* refactor: masternode/masternode-*[cpp/h] --> masternode/*.[cpp/h]

* fix linter

Co-authored-by: UdjinM6 <UdjinM6@users.noreply.github.com>
pravblockc pushed a commit to pravblockc/dash that referenced this pull request Nov 18, 2021
…ashpay#4475)

* refactor: coinjoin/coinjoin-*[cpp/h] --> coinjoin/*.[cpp/h]

* refactor: governance/governance-*[cpp/h] --> governance/*.[cpp/h]

* refactor: masternode/masternode-*[cpp/h] --> masternode/*.[cpp/h]

* fix linter

Co-authored-by: UdjinM6 <UdjinM6@users.noreply.github.com>
gades pushed a commit to cosanta/cosanta-core that referenced this pull request May 8, 2022
…ashpay#4475)

* refactor: coinjoin/coinjoin-*[cpp/h] --> coinjoin/*.[cpp/h]

* refactor: governance/governance-*[cpp/h] --> governance/*.[cpp/h]

* refactor: masternode/masternode-*[cpp/h] --> masternode/*.[cpp/h]

* fix linter

Co-authored-by: UdjinM6 <UdjinM6@users.noreply.github.com>
@kwvg kwvg deleted the misc_refactoring branch July 18, 2023 11:40
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.

3 participants