Skip to content

chore: v0.24-dev backports part 2 - #980

Merged
QuantumExplorer merged 21 commits into
v0.25-devfrom
feat/v024_backports_part_2
Apr 26, 2023
Merged

chore: v0.24-dev backports part 2#980
QuantumExplorer merged 21 commits into
v0.25-devfrom
feat/v024_backports_part_2

Conversation

@markin-io

@markin-iomarkin-io commented Apr 26, 2023

Copy link
Copy Markdown
Contributor

Issue being fixed or feature implemented

v0.24-dev backports

What was done?

Backports of:

Change log and version updates

Skipped backports for js-drive

How Has This Been Tested?

  • rs-dpp tests
  • wasm-dpp build
  • rs-drive-abci tests
  • rs-drive tests

wasm-dpp tests are ignored because many of them might not be needed anymore having in mind that js-drive is not used anymore. They will be revisited at later stage.

Breaking Changes

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

@markin-io

Copy link
Copy Markdown
ContributorAuthor

@QuantumExplorer please check description. There are three js-drive backports that were not included, but probably should be taken into account in rs-drive-abci

@markin-iomarkin-io changed the title feat: v0.24-dev backports part 2chore: v0.24-dev backports part 2Apr 26, 2023
@markin-io
markin-io marked this pull request as ready for review April 26, 2023 14:26
shumkovand others added 20 commits April 26, 2023 15:41
Co-authored-by: Ivan Shumkov <ivan@shumkov.ru>
Co-authored-by: Ivan Shumkov <ivan@shumkov.ru>
Co-authored-by: Ivan Shumkov <ivan@shumkov.ru>
Co-authored-by: Ivan Shumkov <ivan@shumkov.ru>
@markin-io
markin-ioforce-pushed the feat/v024_backports_part_2 branch from 4ef0d2f to 3d6c8caCompareApril 26, 2023 14:52
@QuantumExplorer
QuantumExplorer merged commit 2c947b4 into v0.25-devApr 26, 2023
@QuantumExplorer
QuantumExplorer deleted the feat/v024_backports_part_2 branch April 26, 2023 19:59
@thephezthephez added this to the v0.25.0 milestone Oct 11, 2023
romchornyi pushed a commit that referenced this pull request Aug 22, 2026
…ashcore-dev-961
Two conflicts, both about the rust-dashcore pin, plus one semantic
break the textual merge hid.
`v4.2-dev` pinned `a97b32c6` in #4455, which turns out to be a side
branch off the old `173ffac0` carrying cherry-picks of the seed refresh
and the BIP-39 fix. This branch pinned `5877d15f`, on `dev`'s mainline.
Neither contains the other. Resolved onto `dev`'s head `b66db390`, which
is a superset of both: it carries the seed refresh (#970) and the BIP-39
fix (#980) that `v4.2-dev` wanted, plus #966 and #969 that this branch
needs, plus the QRInfo masternode-sync recovery (#947).
The hidden break: `v4.2-dev` added `get_wallet_blocking`, which calls
`blocking_read()` on the wallets map — a method this branch removed when
the map became an `ArcSwap`. Git merged the file cleanly and the build
failed. The accessor now loads wait-free; its name is kept so the FFI
callers that predate the change still compile.
romchornyi pushed a commit that referenced this pull request Aug 25, 2026
Per the decision on the blocker: the pinned branch is re-cut without
#866's `rescan_committed_range`.
Two reasons, and the second is the one that decides it. The Codex finding
stands — the sweep accumulates every match from the birth height into one
`BTreeMap` and queues them together, so an eclipsing compact-filter peer
can turn a full-history rescan into a chain-length allocation followed by
millions of block requests, and nothing upstream bounds it yet.
More decisive is the honest case. On a real long-history CoinJoined
restore the #846 backward sweep ran 191 times, reached a 2.9 GB
footprint, and was killed by jetsam before finishing; the coalescing fix
for that is dashpay/rust-dashcore#974, which is not merged. Shipping #866
without #974 would trade a mid-sync stall for a restore that kills the
app — and long-history migrated wallets are exactly this release's
audience.
What the pin still carries is the point of this PR: #964, #960, #955,
#947 and #946, the six sync-stall fixes, plus #945, #928, #963, #965,
#967, #970 and #980. Dropping #866 restores the status quo of the
previous pin rather than introducing a regression — #846's mid-sync
invisibility was never fixed in what shipped — and the migrated-wallet
heal (#4377) does a full rescan, so it does not lean on this sweep.
#866 and #974 come back together next cycle, with a bounded drain for the
accumulation finding.
Branch: dashpay/rust-dashcore@chore/sync-fixes-without-swept, re-cut at
33030acf (base #945 plus eight cherry-picks, #866 omitted).
Sign up for freeto 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.

9 participants

@markin-io@thephez@QuantumExplorer@shumkov@qrayven@iammadab@strophy@pshenmic@antouhou