Skip to content

fix: v11.6.2 and some minor fixes - #1465

Merged
HashEngineering merged 10 commits into
masterfrom
build-11.6.2
Feb 24, 2026
Merged

HashEngineering merged 10 commits into
masterfrom
build-11.6.2

Conversation

@HashEngineering

@HashEngineering HashEngineering commented Feb 23, 2026 •

Copy link
Copy Markdown
Collaborator

Issue being fixed or feature implemented

Related PR's and Dependencies

Screenshots / Videos

How Has This Been Tested?

  • QA (Mobile Team)

Checklist:

  • I have performed a self-review of my own code and added comments where necessary
  • I have added or updated relevant unit/integration/functional/e2e tests

Summary by CodeRabbit

  • New Features

    • Added instant username creation with voting workflow.
    • Added transaction metadata settings for tracking payments, categories, and memos.
    • Added wallet creation date selection and blockchain rescan features.
  • Bug Fixes

    • Fixed CoinJoin spending change returns and mixing fee issues.
    • Improved sending performance from CoinJoin wallets.
  • Chores

    • Bumped version to 11.6.2.
    • Updated checkpoint data for blockchain synchronization.
    • Added support for compressed headers from Dash Network.
    • Extended Ukrainian, Filipino, and Korean localizations.

@coderabbitai

coderabbitai Bot commented Feb 23, 2026 •

Copy link
Copy Markdown
Contributor
📝 Walkthrough

Walkthrough

This PR updates project versions to v11.6.2, introduces XML reference validation tooling, expands localization support across multiple languages with new strings for instant usernames and transaction metadata, updates layout preview contexts, and refines blockchain synchronization and username voting logic with improved error handling.

Changes

Cohort / File(s) Summary
Version and Build Configuration
build.gradle, wallet/CHANGES, wallet/build.gradle
Updated dashjVersion from '22.0.0-SNAPSHOT' to '22.0.0', bumped wallet version to v11.6.2 with versionCode 11060200 and versionName "11.6.2", and documented changes in CHANGES file including CoinJoin fixes and compressed headers support.
Blockchain Checkpoints
wallet/assets/checkpoints.txt, wallet/assets/checkpoints-testnet.txt
Updated checkpoint numerical values and added new checkpoint data entries (49 lines added to testnet, 122 lines to mainnet) for network synchronization.
XML Reference Validation
check_xml_references.sh
New Bash script validating navigation graph and layout XML references against source directories; includes functions to resolve class names, find class files, and report broken references with detailed error reporting.
Layout Files (Context Updates)
wallet/res/layout/activity_explore.xml, wallet/res/layout/block_username_request_view.xml, wallet/res/layout/fragment_transaction_metadata_settings.xml, wallet/res/layout/invite_error_envelope_view.xml, wallet/res/layout/invite_preview_envelope_view.xml, wallet/res/layout/username_request_date_view.xml, wallet/res/layout/username_request_group_view.xml, wallet/res/layout/username_request_view.xml, common/src/main/res/layout/vertical_segmented_picker.xml, integrations/crowdnode/src/main/res/layout/dialog_staking.xml
Updated tools:context attributes in 10 layout XML files to reference correct preview fragments or view holders, improving design-time tooling accuracy without affecting runtime behavior.
Localization - Ukrainian (Strings)
common/src/main/res/values-uk/strings.xml, wallet/res/values-uk/strings.xml, wallet/res/values-uk/strings-dashpay.xml, wallet/res/values-uk/strings-extra.xml, features/exploredash/src/main/res/values-uk/strings-explore-dash.xml
Added 1 + 13 + 52 + 10 + 25 Ukrainian string resources for new features: instant usernames, transaction metadata UI, wallet restoration workflows, blockchain rescan, PIN upgrade, gift cards, onboarding, and welcome screens.
Localization - Korean (Strings)
wallet/res/values-ko/strings.xml, wallet/res/values-ko/strings-dashpay.xml, wallet/res/values-ko/strings-extra.xml
Added 13 + 8 + 7 Korean string resources for wallet creation date handling, instant username workflows, voting UI, and onboarding/welcome screens.
Localization - Filipino (Strings)
wallet/res/values-fil/strings.xml, wallet/res/values-fil/strings-dashpay.xml, wallet/res/values-fil/strings-extra.xml
Added 13 + 8 + 7 Filipino string resources mirroring Korean additions for wallet restoration, blockchain rescan, instant usernames, PIN upgrade, and onboarding flows.
Localization - English (Strings)
wallet/res/values/strings-extra.xml
Updated copyright year from 2025 to 2026.
Blockchain Service Logic
wallet/src/de/schildbach/wallet/service/BlockchainServiceImpl.kt
Recomputed depthInBlocks for BUILDING transactions and wrapped foreground notification management in try-catch(RuntimeException) to handle potential runtime exceptions during active syncing and coin-join notifications.
Username and Voting Logic
wallet/src/de/schildbach/wallet/ui/dashpay/PlatformRepo.kt, wallet/src/de/schildbach/wallet/ui/more/MoreFragment.kt
Added conditional checks to prevent overwriting usernameRequested and votingPeriodStart with sentinel values; added handling for UsernameRequestStatus.NONE in voting branch to prevent crashes.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~35 minutes

Possibly related PRs

Suggested reviewers

  • abaranouski
  • Syn-McJ

Poem

🐰 A wallet hops through v11.6.2,
With checksums fresh and languages true,
Instant names dance, metadata gleams,
While layouts preview their design dreams,
The blockchain syncs—one error caught—
Innovation grows, as features are brought! ✨

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 42.86% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The PR title 'fix: v11.6.2 and some minor fixes' accurately reflects the main changes—a version bump to v11.6.2 and multiple supporting fixes across the codebase including translations, checkpoints, layouts, and code improvements.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
  • 📝 Generate docstrings (stacked PR)
  • 📝 Generate docstrings (commit on current branch)
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch build-11.6.2

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 3

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
wallet/src/de/schildbach/wallet/service/BlockchainServiceImpl.kt (1)

524-541: ⚠️ Potential issue | 🟡 Minor

Clamp computed depth to prevent confusing negative values during edge cases.

The formula lastBlockSeenHeight - appearedAtChainHeight + 1 can produce negative or zero values if the chain height lags (startup, reorg). While comparisons like depthInBlocks >= requiredDepth still work correctly with negative values, clamping improves semantic clarity by ensuring depth is always non-negative.

🔧 Suggested fix
-                    transactionConfidence.depthInBlocks = wallet.lastBlockSeenHeight - transactionConfidence.appearedAtChainHeight + 1
+                    val computedDepth =
+                        wallet.lastBlockSeenHeight - transactionConfidence.appearedAtChainHeight + 1
+                    transactionConfidence.depthInBlocks = maxOf(0, computedDepth)
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@wallet/src/de/schildbach/wallet/service/BlockchainServiceImpl.kt` around
lines 524 - 541, The computed depthInBlocks assignment inside
BlockchainServiceImpl (where transactionConfidence.depthInBlocks is set to
wallet.lastBlockSeenHeight - transactionConfidence.appearedAtChainHeight + 1)
should be clamped to never be negative to avoid confusing negative/zero values;
modify the assignment in that block (the BUILDING branch where requiredDepth and
result are computed, and queueListeners is called) to set depthInBlocks to the
non-negative result (e.g., use a clamp/coerceAtLeast with 0) before comparing to
requiredDepth and invoking queueListeners.
🧹 Nitpick comments (1)
wallet/res/layout/activity_explore.xml (1)

23-23: tools:context points to a Fragment on an Activity layout.

activity_explore.xml is an Activity-level layout (it hosts the NavHostFragment container). Setting tools:context to ExploreFragment instead of the owning Activity means the Layout Editor will resolve the preview theme from the Fragment, which may not accurately reflect the Activity's window/theme decorations. Consider keeping it as ExploreActivity (or whichever Activity inflates this layout) for a faithful design-time preview.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@wallet/res/layout/activity_explore.xml` at line 23, The layout
activity_explore.xml incorrectly sets tools:context to ExploreFragment; change
the tools:context attribute to the Activity that hosts this layout (e.g.,
ExploreActivity or the actual Activity class that inflates activity_explore.xml)
so the Layout Editor uses the Activity/window theme and decorations instead of
the Fragment's, by updating the tools:context value from ExploreFragment to the
correct Activity class name.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@wallet/CHANGES`:
- Around line 2-6: Update the CHANGES entry so all bullets use consistent
capitalization: change the second bullet text "fix CoinJoin Mixing fee issues"
to start with an uppercase "Fix" (i.e., "Fix CoinJoin Mixing fee issues") so it
matches the other bullets like "Speed up sending from a CoinJoin Wallet" and
"Support Compressed Headers from Dash Network".

In `@wallet/res/values-fil/strings-dashpay.xml`:
- Line 20: Fix spacing around the %s placeholder and remove unintended double
spaces in the updated string resources; specifically update the value of
new_account_secondary_confirm_message so there is a space after the %s (e.g.,
"%s bilang...") and ensure there are no double spaces before "username" (and
apply the same corrections to the other new strings mentioned in the comment so
all placeholder+word combos and any accidental double spaces are fixed).

In `@wallet/res/values-fil/strings.xml`:
- Around line 206-212: The strings use inconsistent Tagalog terms for "creation"
("Paglikha" vs "Paggawa") which will cause UI inconsistency; update the relevant
string resources (restore_wallet_creation_date_label,
restore_wallet_creation_date_info, restore_wallet_select_date,
restore_wallet_selected_date, restore_wallet_date_picker_title,
wallet_creation_date_info_title, wallet_creation_date_info_description) to use a
single chosen term (either "Paglikha" or "Paggawa") across all entries so
wording is consistent, and verify grammar/fluency after replacing each
occurrence.

---

Outside diff comments:
In `@wallet/src/de/schildbach/wallet/service/BlockchainServiceImpl.kt`:
- Around line 524-541: The computed depthInBlocks assignment inside
BlockchainServiceImpl (where transactionConfidence.depthInBlocks is set to
wallet.lastBlockSeenHeight - transactionConfidence.appearedAtChainHeight + 1)
should be clamped to never be negative to avoid confusing negative/zero values;
modify the assignment in that block (the BUILDING branch where requiredDepth and
result are computed, and queueListeners is called) to set depthInBlocks to the
non-negative result (e.g., use a clamp/coerceAtLeast with 0) before comparing to
requiredDepth and invoking queueListeners.

---

Nitpick comments:
In `@wallet/res/layout/activity_explore.xml`:
- Line 23: The layout activity_explore.xml incorrectly sets tools:context to
ExploreFragment; change the tools:context attribute to the Activity that hosts
this layout (e.g., ExploreActivity or the actual Activity class that inflates
activity_explore.xml) so the Layout Editor uses the Activity/window theme and
decorations instead of the Fragment's, by updating the tools:context value from
ExploreFragment to the correct Activity class name.

ℹ️ Review info

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 40cdd8e and 4449912.

📒 Files selected for processing (31)
  • build.gradle
  • check_xml_references.sh
  • common/src/main/res/layout/vertical_segmented_picker.xml
  • common/src/main/res/values-uk/strings.xml
  • features/exploredash/src/main/res/values-uk/strings-explore-dash.xml
  • integrations/crowdnode/src/main/res/layout/dialog_staking.xml
  • wallet/CHANGES
  • wallet/assets/checkpoints-testnet.txt
  • wallet/assets/checkpoints.txt
  • wallet/build.gradle
  • wallet/res/layout/activity_explore.xml
  • wallet/res/layout/block_username_request_view.xml
  • wallet/res/layout/fragment_transaction_metadata_settings.xml
  • wallet/res/layout/invite_error_envelope_view.xml
  • wallet/res/layout/invite_preview_envelope_view.xml
  • wallet/res/layout/username_request_date_view.xml
  • wallet/res/layout/username_request_group_view.xml
  • wallet/res/layout/username_request_view.xml
  • wallet/res/values-fil/strings-dashpay.xml
  • wallet/res/values-fil/strings-extra.xml
  • wallet/res/values-fil/strings.xml
  • wallet/res/values-ko/strings-dashpay.xml
  • wallet/res/values-ko/strings-extra.xml
  • wallet/res/values-ko/strings.xml
  • wallet/res/values-uk/strings-dashpay.xml
  • wallet/res/values-uk/strings-extra.xml
  • wallet/res/values-uk/strings.xml
  • wallet/res/values/strings-extra.xml
  • wallet/src/de/schildbach/wallet/service/BlockchainServiceImpl.kt
  • wallet/src/de/schildbach/wallet/ui/dashpay/PlatformRepo.kt
  • wallet/src/de/schildbach/wallet/ui/more/MoreFragment.kt
👮 Files not reviewed due to content moderation or server errors (1)
  • wallet/assets/checkpoints.txt

Comment thread wallet/CHANGES Resolved
Comment thread wallet/res/values-fil/strings.xml Resolved
@HashEngineering
HashEngineering merged commit 7ebd3fb into master Feb 24, 2026
2 of 3 checks passed
@coderabbitai coderabbitai Bot mentioned this pull request Jul 21, 2026
3 tasks
@HashEngineering
HashEngineering deleted the build-11.6.2 branch July 25, 2026 14:07
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