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

NU custom activation height startup arg. #1747

Merged
merged 4 commits into from
Jul 22, 2020

Conversation

furszy
Copy link

@furszy furszy commented Jul 14, 2020

Few commits decoupled from the Sapling branch.

Included here:

  1. Fixing an upgrade index issue (last commit).

  2. Added the 'nuparams' startup arg to customize the regtest network upgrade activation height (Used in the functional tests).

@furszy furszy self-assigned this Jul 14, 2020
@furszy furszy added this to the 5.0.0 milestone Jul 14, 2020
@furszy furszy added Bug Startup Wallet startup changes and/or improvements labels Jul 14, 2020
-nuparams startup arg added.

help message for nuparams startup arg
UPGRADE_TESTDUMMY needs to be always at the end to be inlined with the networkUpgrades vector position.
@furszy furszy changed the title Sapling NU + NU custom activation height startup arg. NU custom activation height startup arg. Jul 15, 2020
@furszy furszy modified the milestones: 5.0.0, 4.2.0 Jul 15, 2020
@Fuzzbawls Fuzzbawls added the Needs Backport Placeholder tag for anything needing a backport to prior version branches label Jul 16, 2020
Copy link
Collaborator

@Fuzzbawls Fuzzbawls left a comment

Choose a reason for hiding this comment

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

ACK 78d4f3a

with a non-blocking nit.

@@ -67,6 +68,9 @@
#include <signal.h>
#endif

#include <boost/algorithm/string.hpp>
#include <boost/algorithm/string/split.hpp>

Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: no need for a blank line here, could just incorporate these 2 new includes to the ones below.

Copy link

@random-zebra random-zebra left a comment

Choose a reason for hiding this comment

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

I would prefer the reverse fix in 924a27d (instead of moving the UPGRADE_TESTDUMMY to the end of the enum, move its NUInfo entry in the second position of the NetworkUpgradeInfo vector). Rationale being so its index never changes when we add new network upgrades.

Anyway, this is just a non-blocking nit, and I'm fine with the PR as is.
utACK 78d4f3a

@furszy furszy merged commit 6f90e8b into PIVX-Project:master Jul 22, 2020
Fuzzbawls pushed a commit to Fuzzbawls/PIVX that referenced this pull request Jul 22, 2020
Fuzzbawls pushed a commit to Fuzzbawls/PIVX that referenced this pull request Jul 22, 2020
-nuparams startup arg added.

help message for nuparams startup arg

Github-Pull: PIVX-Project#1747
Rebased-From: 2db8a11
Fuzzbawls pushed a commit to Fuzzbawls/PIVX that referenced this pull request Jul 22, 2020
UPGRADE_TESTDUMMY needs to be always at the end to be inlined with the networkUpgrades vector position.

Github-Pull: PIVX-Project#1747
Rebased-From: 924a27d
Fuzzbawls pushed a commit to Fuzzbawls/PIVX that referenced this pull request Jul 22, 2020
furszy added a commit that referenced this pull request Jul 24, 2020
dd22385 [GUI] Update translations from transifex (Fuzzbawls)
919e060 Solving old, not loaded at startup, transactions notification issue. (furszy)
943d84b NU name words separated by underscore instead of white space. (furszy)
fc042f1 Fixing UpgradeIndex position issue. (furszy)
531673c Customize network upgrades activation height for regtest at the startup. (furszy)
1337685 Sapling activation height for regtest (furszy)
15b1052 Miner: Unused reserveKey cleanup (furszy)
566b6fc [GUI] Load persisted transaction filter/sort during start (V3) (Mrs-X)
5d22583 [GUI] Recognize key event for clearing console (Fuzzbawls)
77880e0 GUI: Settings console message moved to read only. (furszy)
6b63591 options model unused signals cleanup (furszy)
b9e3859 GUI: Fixing settings display lang initialization (furszy)
b434cbf Transaction primitive unused methods cleanup. (furszy)
7f9037f missing validation_zerocoin_legacy added to CMakeLists.txt (furszy)
22bfc12 Move-only: ATMP zerocoin check moved to its own legacy file. (furszy)
24d9ac4 Move-only: DataBaseAccChecksum to zerocoin validation legacy. (furszy)
fb2993d Move-only: Move Zerocoin tx disconnection from DisconnectBlock to its own legacy file method. (furszy)
eaacd29 Wallet::AddToWallet if walletdb is null, create one and write the tx. (furszy)
609407d Split CWallet::AddToWallet into AddToWallet and LoadToWallet. (furszy)
9aacb38 Prevent multiple calls to CWallet::AvailableCoins (furszy)
c0e9b13 Fix insanity of CWalletDB::WriteTx and CWalletTx::WriteToDisk (furszy)

Pull request description:

  backports the following PRs that have been merged since the `4.2` branch-off:

  #1717
  #1733
  #1736
  #1742
  #1741
  #1744
  #1287
  #1751
  #1747
  #1749
  #1763

ACKs for top commit:
  furszy:
    utACK dd22385 , ready for 4.2 :) .

Tree-SHA512: 38dd47320b8a7de77879240c36dec7588671fc09bc7d4f0be573fb6a33d6d243d4adbf4451bd4b4da9c046fab058c1cb0eb2ec2d97052b4d1171ac959ae5a71f
@Fuzzbawls Fuzzbawls removed the Needs Backport Placeholder tag for anything needing a backport to prior version branches label Aug 5, 2020
@furszy furszy deleted the 2020_sapling_nu branch November 29, 2022 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Startup Wallet startup changes and/or improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants