Skip to content

fix(dashmate): Remove -masternodeblsprivkey from docker arguments - #538

Merged
shumkov merged 13 commits into
masterfrom
fix/dashmate-masternode-privkey
Sep 29, 2022
Merged

fix(dashmate): Remove -masternodeblsprivkey from docker arguments#538
shumkov merged 13 commits into
masterfrom
fix/dashmate-masternode-privkey

Conversation

@pshenmic

@pshenmic pshenmic commented Sep 23, 2022

Copy link
Copy Markdown
Contributor

Issue being fixed or feature implemented

Masternode operator privkey is passed to the command arguments when it is started via dashmate. It is not secure, and disables wallet mode when private key is empty (when run as node). Original issue here #87

What was done?

  • Removed -masternodeblsprivkey from docker arguments
  • Render masternode operator key straight into dashcore configuration (passed inside the container)

How Has This Been Tested?

Locally

Breaking Changes

No

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation

For repository code-owners and collaborators only

  • I have assigned this pull request to a milestone

@pshenmic
pshenmic changed the base branch from v0.23-dev to master September 23, 2022 09:50
Comment thread packages/dashmate/src/core/startCoreFactory.js
Comment thread packages/dashmate/src/core/startCoreFactory.js Outdated

@shumkov shumkov left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Good job! 👍

@shumkov
shumkov merged commit 4bc070f into master Sep 29, 2022
@shumkov
shumkov deleted the fix/dashmate-masternode-privkey branch September 29, 2022 12:43
shumkov added a commit that referenced this pull request Oct 3, 2022
* fix(dashmate): update v18 for the mainnet nodes

* feat(dashmate): add reindex command (wip)

* chore(dashmate): bump migration version

* chore(dashmate): bump migration version

* fix(dashmate): start only core nodes during reindex

* feat(dashmate): change running core strategy

* chore(dashmate): wip

* fix(dashmate): fix naming

* feat(dashmate): migrate wait job to observer

* makes it show the progress in group mode

* feat(dashmate): add healthcheck in the waitForCoreSync.js

* feat(dashmate): move out upper

* docs(dashmate): add reindex documentation

* chore(dashmate): lower dashcore

* chore(dashmate): code review fix

* chore(dashmate): remove outdated const

* chore(dashmate): fix

* chore(dashmate): migrate to v23-dev

* chore(dashmate): migrate to v23-dev

* docs(dashmate): fix code review fixes

Co-authored-by: thephez <thephez@users.noreply.github.com>

* chore(dashmate): update docs

Co-authored-by: thephez <thephez@users.noreply.github.com>

* fix(dashmate): code review fixes

* fix(dashmate): fix typo

* fix(dashmate): fix typo

* chore(dashmate): remove healthcheck

* chore(dashmate): typo fix

* chore(dashmate): fix lint

* chore(dashmate): fix eslint

* chore(dashmate): code review fixes

* feat(dashmate): make reindex as a core subscommand

* fix(dashmate): Remove -masternodeblsprivkey from docker arguments (#538)

* feat(dashmate): check for docker container existence

* chore(dashmate): code review text fixes

Co-authored-by: Ivan Shumkov <ivan@shumkov.ru>

* fix(dashmate): code review fix

* chore(dashmate): fix code review

* fix(dashmate): reuse container info

* chore(dashmate): some minor imprvmnts

* chore(dashmate): fix missing semicolon

* chore(dashmate): fix linting and some bugs

* chore: combine migrations

Co-authored-by: thephez <thephez@users.noreply.github.com>
Co-authored-by: Ivan Shumkov <ivan@shumkov.ru>
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.

2 participants