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] MN operator key migration to BLS #2421

Merged
merged 9 commits into from
Oct 8, 2021

Commits on Oct 4, 2021

  1. [TierTwo] Add functions to sign/verify messages with BLS

    these will be used by mnw/fbv for deterministic masternodes, after
    switching the operator keys to BLS
    random-zebra committed Oct 4, 2021
    Configuration menu
    Copy the full SHA
    dd0fb01 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b0a7fa5 View commit details
    Browse the repository at this point in the history
  3. scripted-diff: Rename keyIDOperator to pubKeyOperator

    -BEGIN VERIFY SCRIPT-
    sed -i 's/keyIDOperator/pubKeyOperator/g' src/*.h src/*.cpp src/*/*.h src/*/*.cpp;
    sed -i 's/operatorAddress/operatorPubKey/g' src/*.h src/*.cpp src/*/*.h src/*/*.cpp;
    -END VERIFY SCRIPT-
    random-zebra committed Oct 4, 2021
    Configuration menu
    Copy the full SHA
    619c0f8 View commit details
    Browse the repository at this point in the history
  4. [RPC] Implement generateblskeypair() RPC command

    Also add methods to parse bls public/secret keys.
    These will be used by the protx_* commands after the switch of operator
    keys to BLS.
    random-zebra committed Oct 4, 2021
    Configuration menu
    Copy the full SHA
    1dfdcc1 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    dd46f72 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    77ec208 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    855c094 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    483f509 View commit details
    Browse the repository at this point in the history
  9. [Refactor] No need to get the publickey of the active masternode

    Only the secret key and the collateral out are needed to vote/sign
    random-zebra committed Oct 4, 2021
    Configuration menu
    Copy the full SHA
    d3843cd View commit details
    Browse the repository at this point in the history