-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
backport: V19.2 rc.1 backports #5427
backport: V19.2 rc.1 backports #5427
Commits on Jun 11, 2023
-
docs: actually add release-notes-19.0.0.md (dashpay#5389)
## Issue being fixed or feature implemented we missed it in dashpay#5385 ## What was done? ## How Has This Been Tested? ## Breaking Changes n/a ## Checklist: - [x] 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 - [x] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_
Configuration menu - View commit details
-
Copy full SHA for 3275953 - Browse repository at this point
Copy the full SHA 3275953View commit details -
build: fix gmp detection on macos when building with no depends (dash…
…pay#5394) ## Issue being fixed or feature implemented gmp can't be detected on macos when installed via `brew` atm ## What was done? detect package prefix and adjust CPPFLAGS and LDFLAGS accordingly ## How Has This Been Tested? `./configure` before: `configure: error: libgmp headers missing` after: passes ## Breaking Changes n/a ## Checklist: - [x] 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 - [x] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_
Configuration menu - View commit details
-
Copy full SHA for 4510d2b - Browse repository at this point
Copy the full SHA 4510d2bView commit details -
feat: calculate DISK_SNAPSHOTS at compile time (dashpay#5395)
## Issue being fixed or feature implemented LLMQ_400_85 requires four days worth of LLMQs https://github.com/dashpay/dash/blob/master/src/llmq/params.h#L416 ## What was done? ## How Has This Been Tested? n/a ## Breaking Changes n/a ## Checklist: - [x] 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 - [ ] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_
Configuration menu - View commit details
-
Copy full SHA for a1ff8dc - Browse repository at this point
Copy the full SHA a1ff8dcView commit details -
feat: ability to disable clsig creation while retaining clsig enforce…
…ment (dashpay#5398) ## Issue being fixed or feature implemented Currently, Chainlocks are either enabled or disabled. This PR adds a third state: enabled but we will not sign new ones. Should probably backport this to v19.x ## What was done? Spork state != 0 but active will now result in chain locks being enforced but not created. ## How Has This Been Tested? ## Breaking Changes None ## Checklist: _Go over all the following points, and put an `x` in all the boxes that apply._ - [ ] 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 - [x] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_ --------- Co-authored-by: UdjinM6 <UdjinM6@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 8432063 - Browse repository at this point
Copy the full SHA 8432063View commit details -
test: Fix dynamically_smth_masternode helpers, extend feature_dip3_v1…
…9.py (dashpay#5402) ## Issue being fixed or feature implemented fix a couple of issues in helpers, extend feature_dip3_v19.py to check more after v19 fork ## What was done? pls see individual PRs ## How Has This Been Tested? run tests ## Breaking Changes n/a ## Checklist: - [x] I have performed a self-review of my own code - [x] 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 - [x] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_
Configuration menu - View commit details
-
Copy full SHA for d13e9de - Browse repository at this point
Copy the full SHA d13e9deView commit details -
feat: use m_protxHash instead of masternodeOutpoint for hashing dsq a…
…nd dstx after v19 activation (dashpay#5404) ## Issue being fixed or feature implemented Should fix dashpay#5401 with minimal potential coinjoin service interruption (~1 minute around v19 fork point) for up to date clients. Fully backwards compatible prior to v19 activation. Old clients won't be able to mix after v19 activation though until they implement similar changes. _EDIT: Actually, this is already the case cause bls sigs are going to change too._ And I think we should also be able to finally drop `masternodeOutpoint` from `CCoinJoinQueue` and `CCoinJoinBroadcastTx` once v19 is active because of that which would be a nice bonus. cc @HashEngineering ## What was done? re-use v19 activation to switch `GetSignatureHash` logic ## How Has This Been Tested? mixing on mainnet ## Breaking Changes mixing won't work on current testnet until MNs are updated ## Checklist: - [x] 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 - [x] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_
Configuration menu - View commit details
-
Copy full SHA for 78bf722 - Browse repository at this point
Copy the full SHA 78bf722View commit details -
trivial: Fix typo in import electrum wallet help (dashpay#5406)
Removes extra 's' after import
Configuration menu - View commit details
-
Copy full SHA for 5160db8 - Browse repository at this point
Copy the full SHA 5160db8View commit details -
docs: correct createwallet help (dashpay#5407)
## Issue being fixed or feature implemented Dash does not have `sethdseed`, but the help mentioned it. ## What was done? Switched to `upgradetohd`. ## How Has This Been Tested? ## Breaking Changes N/A ## Checklist: _Go over all the following points, and put an `x` in all the boxes that apply._ - [x] 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 - [ ] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_
Configuration menu - View commit details
-
Copy full SHA for ced5d5c - Browse repository at this point
Copy the full SHA ced5d5cView commit details -
Merge pull request dashpay#5410 from UdjinM6/fix_dmnl_cache_issues
fix: resolve two DMNL cache issues
Configuration menu - View commit details
-
Copy full SHA for 76a96c2 - Browse repository at this point
Copy the full SHA 76a96c2View commit details -
Merge pull request dashpay#5415 from kittywhiskers/bp_26633
backport: bitcoin#26633 (update qt 5.12 url to archive location)
Configuration menu - View commit details
-
Copy full SHA for 35ccc85 - Browse repository at this point
Copy the full SHA 35ccc85View commit details -
fix: Resolve mainnet v19 fork issues (dashpay#5403)
same as dashpay#5392, alternative solution ~based on dashpay#5402 atm, will rebase later~ pls see individual commits reorg mainnet around forkpoint with a patched client (to allow low difficulty), run tests Another evodb migration is required. Going back to an older version or migrating after the fork requires reindexing. - [x] I have performed a self-review of my own code - [x] 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 - [x] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_
Configuration menu - View commit details
-
Copy full SHA for e0175b2 - Browse repository at this point
Copy the full SHA e0175b2View commit details -
fix: follow-up dashpay#5403: remove double serialization in CDetermin…
…isticMNState (dashpay#5413) ## Issue being fixed or feature implemented Member obj.keyIDOwner is read & write twice ## What was done? Fixed: it is serialized once ## How Has This Been Tested? Unit/functional tests in CI ## Breaking Changes Data format in database changed in incompatible way ## Checklist: - [x] 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 - [x] I have assigned this pull request to a milestone
Configuration menu - View commit details
-
Copy full SHA for 013445a - Browse repository at this point
Copy the full SHA 013445aView commit details -
fix: reset chainman to allow reindex on failure (dashpay#5405)
current develop fails to reindex whenever there is an issue at node start (prints `should not be overwriting a chainstate` in `debug.log`) reset chainman to allow it re-initialize chainstate simulated an issue with ``` if (!fReset) { strLoadError = _("DEBUG"); break; } ``` should not be any but pls test - [x] 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 - [x] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_
Configuration menu - View commit details
-
Copy full SHA for ad09590 - Browse repository at this point
Copy the full SHA ad09590View commit details
Commits on Jun 12, 2023
-
fix: multiple 5403 followups (dashpay#5424)
- CBLSLazyWrapper is doing to much and not enough at the same time - nVersion assignment in CDeterministicMNState(Diff) is incomplete - pubKeyOperator deserialization needs nVersion but nVersion is deser-ed much later - protx rpcs are implicitly converting pubKeyOperator (by forcing nVersion=2), they shouldn't do that pls see individual commits - [x] run tests locally - [x] reindex on testnet: - [x] with and without `--assumevalid=0` to the tip - [x] with 19.1 almost to the forkpoint, then with this version - [x] reindex on mainnet: - [x] with and without `--assumevalid=0` to the tip - [x] with 19.1 to height 1100000+, then with this version might need reindexing if you were running develop on testnet already - [x] I have performed a self-review of my own code - [x] 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 - [x] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_
Configuration menu - View commit details
-
Copy full SHA for a39dd04 - Browse repository at this point
Copy the full SHA a39dd04View commit details -
feat: store protx version in CSimplifiedMNListEntry and use it to ser…
…/deser pubKeyOperator (dashpay#5397) Mobile wallets would have to convert 4k+ pubkeys at the V19 fork point and it's a pretty hard job for them that can easily take 10-15 seconds if not more. Also after the HF, if a masternode list is requested from before the HF, the operator keys come in basic scheme, but the merkelroot was calculated with legacy. From mobile team work it wasn't possible to convert all operator keys to legacy and then calculate the correct merkleroot. ~This PR builds on top of ~dashpay#5392~ dashpay#5403 (changes that belong to this PR: 26f7e96 and 4b42dc8) and aims to solve both of these issues.~ cc @HashEngineering @QuantumExplorer Introduce `nVersion` on p2p level for every CSimplifiedMNListEntry. Set `nVersion` to the same value we have it in CDeterministicMNState i.e. pubkey serialization would not be via basic scheme only after the V19 fork, it would match the way it’s serialized on-chain/in CDeterministicMNState for that specific MN. run tests NOTE: `testnet` is going to re-fork at v19 forkpoint because `merkleRootMNList` is not going to match - [x] 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 - [ ] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_
Configuration menu - View commit details
-
Copy full SHA for 3ac3c1a - Browse repository at this point
Copy the full SHA 3ac3c1aView commit details -
chore: update defaultAssumeValid, nMinimumChainWork, checkpointData a…
…nd chainTxData for testnet (dashpay#5428) Having these above v19 forkpoint (850100) would result in v19.2 nodes forking at the wrong height (864000) when reindexing without `--assumevalid=<0 or some pre-v19 block height>` Go back to pre-v19 block (850000) in chainparams reindex n/a - [x] 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 - [x] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_
Configuration menu - View commit details
-
Copy full SHA for ec8d081 - Browse repository at this point
Copy the full SHA ec8d081View commit details -
Merge pull request dashpay#5425 from UdjinM6/multi_fixes
fix: Various small fixes
Configuration menu - View commit details
-
Copy full SHA for 7477d83 - Browse repository at this point
Copy the full SHA 7477d83View commit details -
chore: update defaultAssumeValid, nMinimumChainWork, checkpointData a…
…nd chainTxData for testnet (again) (dashpay#5430) Same as dashpay#5428 but with a lower block number this time. This should let us simply reorg testnet with 18.2.2 at deeper blocks instead of bumping v19 testnet activation params for 19.2. n/a - [x] 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 - [x] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_
Configuration menu - View commit details
-
Copy full SHA for f391d7c - Browse repository at this point
Copy the full SHA f391d7cView commit details
Commits on Jun 13, 2023
-
fix: off-by-one in the way we use v19 activation helpers (dashpay#5431)
Some conditions won't trigger when reorging exactly from the forkpoint pls see individual commits, tl;dr: you can't get correct results with `GetAncestor` cause the answer is in the future reorg to 850000 and back on testnet ``` invalidateblock 0000003eddb94218e7a3f41b2ac6e26143f8a748b50cd26e86bdbbab9ebe50aa reconsiderblock 0000003eddb94218e7a3f41b2ac6e26143f8a748b50cd26e86bdbbab9ebe50aa ``` this fails on develop and work with this patch n/a - [x] 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 - [x] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_
Configuration menu - View commit details
-
Copy full SHA for 225398d - Browse repository at this point
Copy the full SHA 225398dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 75fe05e - Browse repository at this point
Copy the full SHA 75fe05eView commit details