Skip to content

chore: merge master into feat/kotlin-sdk-phase-1 (#1664, #1604, #1662, #1670, #1674) - #1687

Merged
HashEngineering merged 10 commits into
feat/kotlin-sdk-phase-1from
merge/master-into-kotlin-sdk-phase-1-2026-11-08
Nov 9, 2026
Merged

HashEngineering merged 10 commits into
feat/kotlin-sdk-phase-1from
merge/master-into-kotlin-sdk-phase-1-2026-11-08

Conversation

@HashEngineering

Copy link
Copy Markdown
Collaborator

Brings phase-1 up to master 654f1540e in two merge commits plus one fix.

1. #1664 remove CrowdNode (d146c82b3)

  • Takes master's removal of the module, StakingActivity, MinimumBalanceDialog, the CrowdNode tx group and the withdrawal reminder.
  • Removes phase-1's own CrowdNode plumbing too: the leftover-balance check (only CrowdNode fed it: LeftoverBalanceException, checkSendingConditions, the checkBalanceConditions parameters, the Coinbase/send-screen minimum-balance flows), sendCoinsSelected/SpendSelection and lockOutputsPayingTo. SeamOutputLockRegistry now has no producer; documented, not removed.
  • Keeps phase-1's v22 instant_send_locks migration alongside master's removeCrowdNodeCacheRows callback, and master's removeCrowdNodeData() at startup.

2. DashConnect v2 + v11.9.2 (7f1b13733)

  • DashConnect merged as-is on the legacy Platform SDK; the Kotlin SDK port is separate work.
  • dashj 22.0.5 → 24.0.0 and dpp 5.0.0 snapshot → 5.0.1 (master's pins; DashConnect needs 5.0.1, which needs dashj 24). Version code/name stay phase-1's.
  • PlatformRepo.readProtocolVersion() kept for ConnectAvailability; it no longer feeds contested-username fees, which follow the SDK's latched version. refreshProtocolVersion() dropped (no callers).
  • Master's lock-screen fix ported into dismissDialogsForLockScreen (hide at once, recurse into every child fragment manager) — applies to every screen, not only DashConnect.
  • Master's new tests adapted: Robolectric sdk 28 → 29 (phase-1 minSdk), phase-1 constructors and wallet types.

3. Fix (f48eeb688): Reset Wallet's registry clear now applies each config's own wipe policy, so DashConnect's grants and purchase receipts survive it as master intends. Every other config still clears everything.

Verification

  • Full unit suites pass: wallet, coinbase, maya, common, exploredash, uphold. ktlint clean.
  • Not verified: that dpp 5.0.1 carries both fixes the old snapshot was pinned for (document format 3, the CBOR identity read). Needs identity registration/restore QA.
  • androidTest does not compile on feat/kotlin-sdk-phase-1 either (pre-existing, from the earlier WalletDataProvider rework); not addressed here.

Pre-review (Sol), last round: 3 blocking, all in master's DashConnect code, unchanged by this merge

  • ApproveConnectionDialog.kt:340 — the approval sheet does not render the verified contract-group scope (grantChoices).
  • ApproveConnectionDialog.kt:315 — approving another session for the same app shows only the new budget, not the surviving one.
  • ConnectIdentityAvailability.kt:34 — another wallet's retained audit can mark a wallet with no identity as having one.

These belong to the DashConnect follow-up, not this merge.

🤖 Generated with Claude Code

HashEngineering and others added 9 commits November 3, 2026 12:12
* chore: remove CrowdNode integration (MO-1114)

Remove the CrowdNode integration module and every reference to it:
staking entry points (Explore menu item, Staking shortcut, StakingActivity),
CrowdNode validations and messaging, the leftover-balance check on sends
(LeftoverBalanceException, checkSendingConditions, MinimumBalanceDialog),
and CrowdNode transaction grouping in wallet history.

Upgrade handling for users who had CrowdNode:
- Room onOpen callback deletes cached crowdnode rows from tx_group_cache
  and tx_display_cache so history is rebuilt (no schema version bump)
- the saved Staking shortcut id (10) is ignored and refilled
- obsolete crowdnode Configuration keys, the crowdnode DataStore file and
  the pending CrowdNode.WORK job are removed on startup

ServiceName.CrowdNode is kept so existing transaction metadata still reads.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix: rebuild history without waiting for sync; keep scan_qr translations

Clear both transaction caches when they hold CrowdNode rows instead of only
deleting those rows, so history is rebuilt from the wallet on load rather
than after sync completes. Move the scan_qr translations from the removed
CrowdNode module to common, and drop the now-unused button_show_qr.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* test: use JUnit assertions in DatabaseMigrationTest

Kotlin assert is a no-op unless assertions are enabled at runtime, so the
migration and CrowdNode cache cleanup tests could pass without checking
anything.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix: index-friendly CrowdNode cache probe; restore group details heading

Probe tx_group_cache by groupId, which the primary key indexes, so the
startup check no longer scans the whole cache for wallets without CrowdNode.

The CoinJoin group details sheet showed the explainer text as both heading
and body. Restore the "Why do I see all these transactions?" heading it had
before, moved from the removed CrowdNode module with its translations.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* chore: drop unused analytics from ExploreEntryViewModel

logEvent lost its last callers with the CrowdNode Staking entry.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* chore: drop orphaned CrowdNode test fixtures and stale APY KDoc

TransactionWrapperHelperTest lost its only test with the CrowdNode
grouping; BlockchainStateProvider no longer provides Masternode APY.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
* feat(dashpay): contested username fee follows the Platform protocol version (MO-1067)

Platform protocol version 14 (v4.2) lowers the prefunded voting balance a
contested username pays from 0.2 to 0.1 DASH, so creating an identity with
a contested name drops from 0.25 to 0.15 DASH.

ContestedUsernameFees replaces the DASH_PAY_FEE_CONTESTED(_NAME) constants
and derives both fees from the protocol version learned via the new
PlatformRepo.refreshProtocolVersion() (dash-sdk 4.2.0-SNAPSHOT). The version
is refreshed when the username/invite screens open and right before
CreateIdentityService sizes the asset lock. Until it is known, the higher
pre-v14 fees apply: over-funding only leaves identity credits, while
under-funding would make the registration fail.

The "You need to have 0.25 DASH" requirement text was hardcoded in every
locale; it now takes the fee as an argument (and shows the non-contested
fee for non-contested names).

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* refactor(connect): remove second QR registration path

* chore: update Platform SDK to 5.0.0-SNAPSHOT

* fix: refresh username affordability and amounts when protocol fees change

* fix: refresh invitation labels without delaying non-contested invites

* Use DIP-13 DashConnect session key derivation

* feat: configure wallet devnet flavor for Sakura

* fix(dashpay): dark mode text in the create username confirmation dialog

OffsetDialog parented from Theme.Design.Light.BottomSheetDialog with no
values-night override, so android:textColorPrimary inside every offset
bottom sheet stayed the light theme near-black. The sheet background
already follows the night palette via @color/background_secondary, which
left any view that relies on the theme for its colour dark-on-dark.

Most TextViews escaped this because their style sets
android:textColor="@color/content_primary", a colour resource that does
have a night variant. The confirmation message and the "I accept" label
in dialog_confirm_username_request carried no style at all, fell through
to the theme, and rendered black on the dark sheet.

Base.OffsetDialog now holds the parent and is overridden in values-night
with Theme.Design.BottomSheetDialog. The two Material themes carry
identical items and differ only in their AppCompat palette, so nothing
structural about the sheet changes. Keeping every <item> on OffsetDialog
means the two configurations cannot drift apart - duplicating the style
per configuration is what invites this bug back.

No layout in the app reads theme-attribute colours and none of the 36
offset sheet layouts hardcodes a light background, so there is no
white-on-white inverse of this bug to introduce. The theme fix also
covers the unstyled CheckBox tint in the same dialog and the same class
of bug in the other offset sheets.

The two TextViews additionally get style="@style/Body2", matching the
convention every sibling dialog already follows.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>

* fix(ci): point devnet distribution at the real Firebase app

The devnet app id matched no app in dash-wallet-firebase, so every QA
upload for that flavor failed the build and then 404'd:

  App Distribution halted because it had a problem uploading the APK.
  (Invalid request, status_code: 404)

The flavor builds as org.dash.wallet.devnet, whose app is
1:1039839682638:android:fdff563e24b69c5fea631f. Fixed in the workflow
too, which carried the same bad id and would have failed the same way.

Note that org.dash.dashpay.devnet is a second, older app with the same
"DashPay [devnet]" display name, left over from before the applicationId
changed. It is not the one we distribute to.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>

* fix: prevent crashes if google-service.json is missing

* revert: devnet flavor app id

* docs: update sakura-devnet.md

* chore: update dashj to 24.0.0-SNAPSHOT

* revert: use 22.0.5 dashj

* feat: add PV14 App Connect v2 wallet flow

* fix: prevent DashConnect only on mainnet

* fix: reuse wallet dialogs and select Sakura quorums

* fix: reconcile Connect cancellation and restore approval state

Revoke an attempted request before reporting it as declined, retain uncertain outcomes for retry, and freeze approved terms. Revoke confirmed auth keys without blocking on unrelated pending registrations and recognize irrecoverable key ID conflicts.

Use a restorable approval dialog owned by the connections fragment, with no denial on composition disposal. Cover approval/revocation errors, key-state policy, and saved-state recreation in focused regressions.

* feat: approve dash-st token purchases and handle operation links

Keep one-QR login and add a separate explicit token-purchase approval sheet. Validate and display identity, token denomination, quantity and price ceiling, then rebuild through the SDK rather than signing untrusted bytes.

Persist scoped submission receipts to prevent uncertain debit retries, retain approval through recreation, and route dash-key and dash-st through Android browsable links and all wallet scanners. Requires kotlin-platform purchase bridge commit 25c83e7.

Validation: 74 wallet tests passed with 3 existing flavor skips; 17 JNI/identity tests and 4 Rust parser tests passed. Devnet APK built and native library matched the updated AAR.

* fix: confirm Connect grants and restore reconnect actions

* fix(connect): preserve revocation after key limit and storage changes

* fix: address Connect grant recovery and signing review findings

* fix: require wallet unlock for Connect approvals

* fix: batch Connect revocation and retain recovery audits

* fix: permanently revoke expired Connect keys

* fix: separate request revocation from app disconnect confirmation

* Fix Connect authentication and cold-start lifecycle blockers

* Trigger PR synchronization

* fix: prevent DashConnect on 32-bit devices

* fix: reject unsupported Connect requests before identity initialization

* fix: refresh DashConnect status at expiry and on resume

* fix: preserve responses for independent app connections

* fix: reject unverified group grants and redact QR errors

* fix: reject disabled Connect networks before identity initialization

* fix: use dashj 24.0.0-SNAPSHOT

* fix: fail closed on grant storage and require explicit signing-key setup

* fix: invalidate Connect signing authorization when the wallet locks

* fix: reject legacy DashConnect login requests before granting access

* Restore Yappr group grants with verified scope and renewed consent

The owner-only bridge led to a blanket group rejection that broke Yappr's CRITICAL login grants. Consume the full proof-verified SDK snapshot, disclose current and future scope and administrators, persist approved scope, and recheck before registration and response publication. Refresh consent explicitly when configuration changes while retaining recovery and revocation controls. Pin SDK 9fdfe17, include regression tests, and document the rationale and Pixel 9 test evidence.

* Require renewed group-scope consent when recovering Connect grants

Decode the persisted approved scope and compare it with the current verified authorization scope across process restarts. Changed or missing prior metadata requires a visible unchecked acknowledgement; direct session approval enforces it before secrets and binds the plan to the saved record. Preserve frozen grants, revocation and error recovery, reset consent on refresh, and leave malformed metadata fail-closed. Cover prepared/pending/confirmed/active recovery and document test limits.

* Invalidate Connect signing authority when its UI leaves the foreground

Cancel sensitive jobs and invalidate captured authorization on pause, stop, destroy or screen-off. Require an interactive unlocked device, preserve uncertain-outcome recovery and require a fresh explicit action after return. Cover lifecycle wiring on API 28/34 and all sensitive operation types. Also correct the 2 DASH preset, keep QR names explicitly unverified, refresh state-change timestamps and export workflow support email only after external SDK builds.

* Refresh Connect timestamps when revocation confirmation changes

A disabled grant can move from request-only revocation to confirmed app-wide disconnect without changing its state string. Refresh the status timestamp on confirmation changes and preserve it for identical repeated settlements.

* Pin the published DashJ build and complete Connect status follow-ups

Use the exact timestamped DashJ 24 publication across direct and transitive dependencies and pin the corresponding SDK revision. Derive expiry status dates from the final auth-key expiry while retaining later state changes. Retain failed approval status and offer the established ac=failed callback only after explicit end-recovery and confirmed revocation; preserve scanner and uncertain-outcome safeguards.

* Keep unavailable Connect scope distinct from an empty grant list

Propagate wallet and identity scope failures. Keep records loading during pending identity initialization, report failures as unavailable, and restart observation on initialization or identity changes. Clear stale rows while reloading and retain Retry without initiating identity setup. Cover real repository/ViewModel cold start, failure, recovery, identity loss and valid empty results.

* Serialize Connect availability and connection-row updates

Keep state writes inside the same cancellable identity observation instead of forwarding buffered lists to a separate READY consumer. Check the collecting coroutine before updates and error handling so cancelled observers cannot overwrite newer refresh state. Reproduce emit-then-fail and cover initialization changes and late cancelled-observer failures.

* Reload missing Connect identity metadata on explicit Retry

Route Retry through the existing identity loader after failed or successful-but-empty initialization. Use the injected application scope so screen closure cannot strand the shared loader, coalesce pending retries, and preserve read-only automatic refresh. Cover actual storage rereads, cached missing identity recovery, startup/healthy guards, duplicate taps and ViewModel disposal.

* Settle cancelled identity loads without swallowing cancellation

Publish an ordinary retryable interrupted-load failure before rethrowing cancellation. Serialize metadata initialization owners so cancelled or queued attempts cannot overwrite a newer result, and check cancellation after storage reads. Cover owner cancellation, queue ordering, reload and real owner-to-ViewModel Retry recovery without key registration.

* Preserve selected grant expiry and fresh consent editing

* Reject Unicode formatting characters in Connect labels

* Normalize group consent and restore trusted quick sends

* Keep Connect recovery reachable without username metadata

* Restore saved grant selection before recovery expiry checks

* Reload partial identity metadata on explicit Connect Retry

* Avoid reading partial identity IDs during metadata reload

* Share Connections state ownership and verify pinned DashJ bytes

* Gate connection revoke toggle on wallet and record availability

* Distinguish confirmed no identity from unavailable Connect records

* Distinguish purchase preflight cancellation from native handoff

* Consume canonical purchase IDs and pin nonce-preserving SDK

* Run native purchase replay regressions in SDK CI

* Pin wallet Platform SDK to 5.0.1

* Pin final regenerated Platform SDK bindings

* Pin SDK CI publication fix

* Fix DashConnect confirmation recovery and simplify connection names

Poll exact response confirmation up to three times with backoff and redacted outcome diagnostics. Refresh persisted approval terms after failures, block stale retries when refresh fails, and retain group-consent and revocation checks.

Show the friendly app name alone on connection cards per MO-1072 testing feedback. Include regression coverage and build code 11090202. Verified with 260 DashConnect tests against the local 5.0.0 SDK and successful response confirmation on emulator-5556.

* feat(connect): accept App Connect requests on dashpay://connect (#1656)

* feat(connect): accept App Connect requests on dashpay://connect

The App Connect DIP (dashpay/dips#181) never allows the dash-key:
carrier on mainnet and moves requests to the dashpay:// scheme the
wallet already uses for invitations. The Android wallet only knew
dash-key:, so a dashpay://connect link from a scan or a tap did nothing.

Accept the same request v2 body on dashpay://connect?v=2&n=..&r=..[&cb=..]
and hand the decoded bytes to the existing AppConnectParser, so both
carriers are processed identically. r is decoded by a strict canonical
base64url decoder (java.util.Base64 tolerates padding and trailing bits),
with the DIP's size limits checked before decoding. Scheme and host are
compared case-insensitively, a repeated v/n/r/cb is invalid, and any
dashpay verb the wallet does not implement says the link needs a newer
wallet. dashpay://invite still goes to the invitation handler.

MainActivity gets a separate dashpay + host connect intent filter; a host
on the dash-key/dash-st filter would stop those host-less URIs matching.
dash-key:/dash-st: behaviour, mainnet gating and key derivation are
unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(connect): report a dashpay:// link with userinfo or a port as invalid

dashpay://user@connect?... read 'user' as the verb and told the user to
update the wallet. Userinfo or a port makes a malformed link, so it is
now refused as an invalid connection link before the verb is looked at.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>

* Specify initial encryption rotation for Platform SDK 5.0.1

Pass rotation 0 explicitly to the updated application encryption derivation API. Verified merged wallet compilation and all 288 DashConnect tests against SDK 5.0.1. Pixel emulator dashpay://connect testing confirmed response recovery on the second read after backoff.

* Block key allocation while other scoped registrations are unresolved

Check every other grant in the wallet/identity/network scope before deriving or allocating new keys and saving a prepared record. Do not narrow the settlement check to the same app or connection; exclude only the request being recovered. Keep revocation targeting unchanged.

Add nine regression tests covering cross-app and cross-connection pending grants, scope and current-request exclusions, settled versus unresolved states, storage failure, and approval ordering before record persistence. All 297 testnet DashConnect tests pass against SDK 5.0.1.

* Pin Platform SDK ValueMap header-order fix

Use bb3eeae17cccfbd7d70ae1d077770e19e8b36ebc so CI declares ValueMap before generated header use regardless of definition order. The SDK fix passed reordered-header regression checks, a clean native C++ rebuild and seven JNI Value tests. Platform fork/revision remain unchanged.

* Consume published Platform SDK 5.0.1 instead of building it in wallet CI

Remove the native SDK bootstrap script, composite action and source revision pin, remove its calls from all three wallet workflows, and drop the isolated repository override. Resolve dash-sdk-java, dash-sdk-kotlin (dpp) and dash-sdk-android 5.0.1 from the published Maven artifacts.

Verified testnet compilation and all 297 DashConnect tests with SDK resolution restricted to Maven Central, valid workflow YAML, and required Connect/purchase JNI exports in both published Android ABIs.

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: PastaPastaPasta <[email protected]>
* feat(connect): redesign the approve connection sheet

Follow the new DashPay Android designs for the App Connect approval:
- Reorder the sheet: app name and website, a first-connection warning,
  request details, identity funding limit and expiration, then
  collapsible "able to do" / "will NOT have access to" cards.
- Describe each grant in plain language instead of raw grant text, and
  approve every requested grant (the per-grant checkboxes are gone).
- Replace the dropdowns with funding limit (0.1/0.5/2/5 DASH) and
  expiration (30/90/365 days) picker sheets. The sheet opens on the
  smallest presets at or above the request, so it grants exactly what
  was asked until the user lowers it.
- Add info sheets for identity funding limits and spendable Dash.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(connect): keep approve buttons on screen and fix sheet text

Found while checking the redesigned sheet on a staging build:
- Pin Approve/Deny below a body that scrolls within the visible part of
  the expanded sheet, instead of a fixed 720dp cap that left a blank
  gap; the top spacer stays outside the scroll so cards no longer slide
  under the drag indicator.
- Hide the website row when no website was resolved rather than
  repeating the unverified app label beside the globe.
- Escape paragraph breaks in the new strings (raw newlines were folded
  into spaces) and avoid a possessive on the quoted app label.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(connect): scroll the approve sheet instead of dismissing it on drag down

The approve sheet's Compose content scrolled inside a View-based bottom
sheet that could not see that scroll, so dragging down to re-read the
terms dismissed the sheet, which denies the request. Connect the scroll
through nested-scroll interop so the sheet only collapses once the
content is back at the top.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* feat(connect): tabbed Connections page with connection details sheet

Follow the DashPay Android Connections designs (Figma 40042:59884):
- Active / Disconnected / Expired tabs once a connection exists, and a
  + button in the top bar that opens the scanner like Scan QR. Pending
  connections stay under Active; local-only records under Disconnected.
- Add an EXPIRED status for connections whose keys all expired without
  being revoked; they stay enabled on Platform until disconnected.
- Rows show the app name and website; tapping one opens a details sheet
  (status, IDs, funding limit and expiry, what the app could and could
  not do) built from the latest recorded grant, with Disconnect for
  active and expired connections and Remove from list for local-only
  records. The old per-key text moves into a collapsed Key details card.
- Share the sheet cards between the approve and details sheets.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* feat(connect): Reconnect button and disconnect date on the disconnected sheet

Reconnect opens the scanner, since a new login needs the app's QR.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* feat(connect): warn about DashPay profile keys no connection holds

Connections now lists enabled keys bound to the DashPay profile that no local
grant record holds, e.g. after a wallet restore or from another wallet with the
same identity. Dismiss hides those keys on this device until another one
appears; Revoke disables them with a master-key identity update, re-checking
first that each key is still unlinked.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(connect): drop the Key details card from the connection sheet

It is not in the design, and key info is out of scope for the MVP.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(connect): address pre-review findings on the Connections redesign

- Describe every login that may still authorize access, not only the newest one.
- Show Expired only when no login is still registering or awaiting a confirmed revoke.
- Keep the details sheet open while the list reloads on resume.
- Cancel an earlier details load when the sheet is reopened or closed.
- Warn that removing an older connection does not revoke its Platform access.
- Catch a failed save of dismissed profile keys and show the warning again.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(connect): show each key's current Platform limits on the details sheet

A key's budget and expiry can change on Platform without changing the key, so
the sheet reads the identity and describes each recorded key as Platform holds
it now. A key no longer on the identity keeps its recorded terms.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(connect): expose collapsible card headers as buttons with expanded state

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* test(connect): cover shared DashPay profile key listing, dismissal and revocation

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(connect): confirm on Platform that a connection expired before listing it

Another device can extend a key's expiry on Platform, so the expiry saved at
approval is only a hint. When a connection's saved expiry has passed, the list
reads the identity once and keeps the connection Active if a recorded key is
still enabled with a later expiry, scheduling the next refresh from it. If
Platform cannot be read, the connection shows as pending, never Expired. Live
connections are still listed without a Platform read.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(connect): keep the details selection while connection records reload

A reload empties the list until it finishes, so a missing row proves nothing
yet; the sheet shows a spinner and closes only if a finished read no longer
has the connection. This also survives the dialog being recreated mid-reload.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(connect): give info buttons a button role and a topic-specific label

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* feat(connect): always show Connections in Tools when Connect is supported

Connections now offers to create a username, so a wallet without one no
longer needs the entry hidden. Only the Platform and Connect flags decide.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* feat(connect): offer to create a username on Connections

Without a username, Connections shows the design's intro (Figma 40042:60147)
with a Create username button that starts the same flow as Join DashPay.
A request opened from the main scanner, the camera or a link lands on this
screen instead of an error toast.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* feat(connect): offer to buy credits when the identity cannot pay to approve

Approve reads the identity balance first. When it is empty, nothing is
submitted, the request stays open, and the sheet offers Buy credits, the
same top-up the wallet uses before contact requests and profile edits. An
unreadable balance or a recovering approval goes ahead as before.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* feat(connect): one funding limit per connection, split between its keys

Per MO-1117, the approve sheet sets one funding limit and one expiry for the
whole connection:
- The limit starts at the total the app requests (Yappr: 0.5 + 0.01 DASH),
  capped at 5 DASH, and the user may go above or below it.
- It is split between the keys: a DashPay profile key gets 0.002 DASH (half
  the limit under 0.004 DASH) and the app's own key gets the rest.
- One expiry for all keys: the request, capped at a year, 90 days if none.
- Set custom limit opens a keypad sheet (Figma 40103:38833) that refuses 0
  and anything above 5 DASH; Set date opens the system date picker.
- Consent checks only the wallet's maximums; a recovering approval keeps the
  limits it was prepared with.
- The approve and details sheets show the keys' budgets together.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* feat(connect): show when a connection was made and the funding left on its keys

Per MO-1117 (no designs; the wallet's existing patterns):
- Details show a Connected date. A record keeps connectedAt from the first
  time it became active; older records use when they became active.
- Details show the funding left on each enabled key (the app's own key and
  the DashPay profile key), read from Platform; an unreadable one shows as
  unavailable.
- Disconnect asks for confirmation first, since it revokes the app's keys
  on Platform for good. Removing an older connection from the list does not.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* feat(connect): reword what the app's own key may do with tokens

"Act as you in Yappr until <date>, including buying and sending its tokens.
It can spend up to <limit> DASH of your identity balance on fees and token
purchases, but can send any amount of your Yappr tokens."

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(connect): close the pre-review findings on limits, expiry and consent

- Judge a connection expired by Platform time, and count any live key of the
  app the wallet has no record of (e.g. registered on another device).
- A recovering approval keeps an unlimited budget an earlier version saved.
- Connection terms leave out keys a renewal disabled; a key without an expiry
  leaves the connection without one.
- The details sheet is bound to its connection's wallet scope, and reads the
  username before the scope-checked terms.
- The Buy credits prompt shows only while the wallet is unlocked.
- The approve sheet shows what each contract-group key covers, including
  members added later.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* revert(connect): drop the contract-group scope lines from the approve sheet

The disclosure needs a design before it goes on the sheet.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(connect): keep a disconnected connection's terms when its encryption key survives

A disconnect disables the authentication keys and keeps encryption keys, so
leaving out disabled keys left only the encryption key and the sheet showed
"No limit". Disabled keys are left out only while an authentication key is
still enabled.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
… 14 (#1670)

* feat(connect): run DashConnect on mainnet, gated on Platform protocol 14

DashConnect is built into the prod flavour (SUPPORTS_CONNECT = true) and no
longer refuses production builds or mainnet. Instead every entry point and
operation requires the network to run Platform protocol version 14, which
brings key funding limits and expiry, contract-group bounds, remaining-budget
queries and the AppConnect response contract.

- ConnectAvailability: build support plus the protocol version the wallet
  already records (PlatformRepo.refreshProtocolVersion, which only goes up).
- Tools shows Connections only once the network is known to be new enough.
- The Connections screen and every repository operation check it, and report
  DashConnect as unavailable below version 14.
- A QR's network selector is matched to the wallet's network, so a mainnet
  wallet accepts n=m (it was compared with devnet).

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(connect): mainnet key derivation and a retryable protocol check

- Application keys are derived with the wallet's network, so a mainnet
  wallet uses the mainnet coin type (both were derived as testnet).
- Tools reads the protocol version again on every resume until Connections
  is available, so an offline start or a network upgrade is noticed.
- A protocol version that could not be read is not reported as too old: the
  Connections screen stays retryable and a request says to try again.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(connect): count only a Platform version the network reported

A failed refreshProtocolVersion() does not return 0: the SDK keeps its per-network
starting version (13 on mainnet and testnet) and returns that. Offline after a fresh
launch, the gate read 13 as the network's answer and called a protocol 14 network too
old, removing the Connections screen's Retry.

The version now counts only after a proven query succeeds. PlatformRepo.readProtocolVersion()
reads Platform time for the identity, whose verified response sets the SDK's version,
and returns null when the network does not answer. ConnectAvailability keeps the
highest version read this way; Tools and the repository ask through it. The session's
checks run after its proven identity read instead of after a refresh.

A wallet without a username still gets the username prompt: the Connections screen
reads the version once the identity is known.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* test(connect): pin the network flag of approval key derivation

Approval derives authentication and encryption keys with isMainnet true on mainnet
and false elsewhere; going back to a hard-coded value now fails this test.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* docs(connect): drop the stale prod note from the QR routing comments

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(connect): read the Platform version without a wallet identity

The proven query behind the version read asked for the wallet's own
identity, so a wallet without a username never learned the version and
Tools kept the Connections entry hidden, the way to create a username.
The query now asks for an identity no wallet owns: its proven absence
carries the same verified metadata, so any wallet can read the version.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(tools): keep Connections shown while the username loads

The username coroutine copied the state before its suspending read and
wrote that copy back afterwards, so an availability update in between
was undone. With the version already known, a later Tools visit hid the
Connections entry for good. Every writer now goes through update {}.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(connect): answer with the version kept when probes overlap

The cache kept the highest version read, but each probe answered with
its own. An older probe that read 13 and finished after a newer one read
14 reported the network too old, which hid the Connections screen while
Tools showed the entry.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(connect): check the Platform version before offering a username

The screen skipped the version check for a wallet without a username,
because the version used to be read with the wallet's identity. Now that
any wallet can read it, the screen checks it first, so a network too old
for DashConnect is not offered a username to use it with. A restored
process does not replay the link, so the screen cannot rely on the link
check. Requests check the version before waiting for the identity too.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(connect): keep a confirmed version when an overlapping probe fails

A probe that failed answered "unknown" before looking at the version
kept, so after another probe had confirmed protocol 14 it still made the
caller reject an incoming link or mark the records unavailable. A failed
probe now answers with the kept version too, and is unknown only when no
probe has confirmed one.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
* feat(connect): translate DashConnect strings into DE, PL, IT, ES, PT-BR, RU and FR

Add strings_app_connect.xml for the seven locales and the three DashConnect
strings in strings-dashpay.xml and strings.xml. Translated locally, not
pulled from Transifex; strings_app_connect.xml is not in .tx/config yet.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* docs: v11.9.2 release notes

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* chore: v11.9.2 (11090205) and pin dashj 24.0.0 checksums

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* chore: update dashj to 24.0.0

* chore: drop Gradle dependency verification for dashj-core

The checksums pinned a locally built 24.0.0 whose JAR and module metadata
differ in packaging from the Maven Central release, which failed CI. The
release is immutable, so the verification file and the non-changing
override it needed are removed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* chore: verify dashj-core 24.0.0 against the Maven Central release

Restores gradle/verification-metadata.xml, scoped to dashj-core, with the
SHA-256 hashes of the Maven Central 24.0.0 JAR, POM, module metadata,
sources and javadoc. The version force pins coordinates, not bytes, and
Maven Local is searched first, so the hashes are what keeps a different
local publication out of the build.

docs/app-connect-v2.md: describe the release pin and its verification,
the dashpay://connect carrier, and drop the stale SDK-build CI note.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Takes master's removal of the CrowdNode integration (module, StakingActivity,
MinimumBalanceDialog, the CrowdNode tx group and withdrawal reminder) and
applies the same removal to phase-1's own CrowdNode plumbing:

- the leftover-balance check, which only CrowdNode fed, is gone end to end:
  LeftoverBalanceException, checkSendingConditions, needsLeftoverBalanceWarning,
  the checkBalanceConditions parameters and the coinbase/send-screen
  minimum-balance flows
- sendCoinsSelected/SpendSelection and lockOutputsPayingTo (CrowdNode-only);
  SeamOutputLockRegistry now has no producer and is documented as such
- TxDisplayCacheService wraps with the CoinJoin factory only
- BlockchainServiceImpl keeps phase-1's own-send gate; the CrowdNode
  notification filters and confirmation handler are dropped

Kept from both sides: phase-1's v22 instant_send_locks migration and master's
removeCrowdNodeCacheRows open callback; master's removeCrowdNodeData() at
startup. Tests updated for the removed parameters; leftover-warning tests deleted.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Brings in #1604 (DashConnect v2 one-QR flow), #1662 (approve sheet and
Connections redesign), #1670 (DashConnect on mainnet, gated on Platform
protocol 14) and #1674 (v11.9.2, translations, Core 24). DashConnect is
merged as-is on the legacy Platform SDK; porting it to the Kotlin SDK is
separate work.

- dashj 22.0.5 -> 24.0.0 and dpp 5.0.0 snapshot -> 5.0.1 (master's pins;
  DashConnect needs 5.0.1, which requires dashj 24). Version code and name
  stay phase-1's.
- PlatformRepo.readProtocolVersion() kept for ConnectAvailability; it no
  longer feeds contested-username fees, which follow the SDK's latched
  version. refreshProtocolVersion() and its test dropped (no callers).
- ConnectIdentityAvailability injects WalletData: phase-1's
  WalletDataProvider no longer exposes the dashj wallet.
- master's lock-screen fix ported into dismissDialogsForLockScreen: hide a
  dialog at once and recurse into every child fragment manager, so a sheet
  under an ordinary parent no longer stays above the PIN screen.
- LockScreenActivity keeps phase-1's unlock broadcast and early-finish guard
  alongside master's walletLocked state.
- the DashConnect audit file survives the datastore wipe;
  observeIdentityPresence() added to BlockchainIdentityConfig.
- master's new tests adapted: Robolectric sdk 28 -> 29 (phase-1 minSdk),
  phase-1 constructors and wallet types, reflective calls to renamed
  methods, and stubbed identity reads in ToolsViewModelConnectionsTest.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…rge/master-into-kotlin-sdk-phase-1-2026-11-08
Reset Wallet clears every live config through BaseConfig.clearAllLiveInstances()
before deleting datastore files. It called clearAll() directly, bypassing
DashConnectConfig.onWalletWiped(), which keeps grants and unknown purchase
receipts for a same-seed restore, so the audit was lost before either
preservation step ran. The registry now applies each config's own wipe
policy; onWalletWiped() defaults to clearAll(), so every other config is
unchanged.

DashConnectConfigTest now runs the production order (registry clear, then
file deletion). DatabaseMigrationTest includes the 21-to-22 migration.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@coderabbitai

coderabbitai Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Too many files!

This PR contains 354 files, which is 254 over the limit of 100.

To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch.

Upgrade to a paid plan to raise the limit.

Usage-priced reviews support at most 300 files.

Run configuration

Commits

Reviewing files that changed from the base of the PR and between f00053c and b27099b.

Files ignored due to path filters: 33

  • common/src/main/res/values-ar/strings.xml is excluded by !**/res/values-*/strings.xml
  • common/src/main/res/values-de/strings.xml is excluded by !**/res/values-*/strings.xml
  • common/src/main/res/values-el/strings.xml is excluded by !**/res/values-*/strings.xml
  • common/src/main/res/values-es/strings.xml is excluded by !**/res/values-*/strings.xml
  • common/src/main/res/values-fa/strings.xml is excluded by !**/res/values-*/strings.xml
  • common/src/main/res/values-fil/strings.xml is excluded by !**/res/values-*/strings.xml
  • common/src/main/res/values-fr/strings.xml is excluded by !**/res/values-*/strings.xml
  • common/src/main/res/values-id/strings.xml is excluded by !**/res/values-*/strings.xml
  • common/src/main/res/values-it/strings.xml is excluded by !**/res/values-*/strings.xml
  • common/src/main/res/values-ja/strings.xml is excluded by !**/res/values-*/strings.xml
  • common/src/main/res/values-ko/strings.xml is excluded by !**/res/values-*/strings.xml
  • common/src/main/res/values-nl/strings.xml is excluded by !**/res/values-*/strings.xml
  • common/src/main/res/values-pl/strings.xml is excluded by !**/res/values-*/strings.xml
  • common/src/main/res/values-pt/strings.xml is excluded by !**/res/values-*/strings.xml
  • common/src/main/res/values-ru/strings.xml is excluded by !**/res/values-*/strings.xml
  • common/src/main/res/values-sk/strings.xml is excluded by !**/res/values-*/strings.xml
  • common/src/main/res/values-th/strings.xml is excluded by !**/res/values-*/strings.xml
  • common/src/main/res/values-tr/strings.xml is excluded by !**/res/values-*/strings.xml
  • common/src/main/res/values-uk/strings.xml is excluded by !**/res/values-*/strings.xml
  • common/src/main/res/values-zh-rTW/strings.xml is excluded by !**/res/values-*/strings.xml
  • common/src/main/res/values-zh/strings.xml is excluded by !**/res/values-*/strings.xml
  • features/exploredash/test/resources/empty_explore.db is excluded by !**/*.db
  • features/exploredash/test/resources/explore.db is excluded by !**/*.db
  • integrations/crowdnode/src/main/res/drawable-hdpi/staking_image.png is excluded by !**/*.png
  • integrations/crowdnode/src/main/res/drawable-xhdpi/staking_image.png is excluded by !**/*.png
  • integrations/crowdnode/src/main/res/drawable-xxhdpi/staking_image.png is excluded by !**/*.png
  • wallet/res/values-de/strings.xml is excluded by !**/res/values-*/strings.xml
  • wallet/res/values-es/strings.xml is excluded by !**/res/values-*/strings.xml
  • wallet/res/values-fr/strings.xml is excluded by !**/res/values-*/strings.xml
  • wallet/res/values-it/strings.xml is excluded by !**/res/values-*/strings.xml
  • wallet/res/values-pl/strings.xml is excluded by !**/res/values-*/strings.xml
  • wallet/res/values-pt/strings.xml is excluded by !**/res/values-*/strings.xml
  • wallet/res/values-ru/strings.xml is excluded by !**/res/values-*/strings.xml
Files selected for processing: 354

  • .github/workflows/dashpay.yml
  • .github/workflows/dashwallet.yml
  • .github/workflows/manual_distribution.yml
  • .tx/config
  • CLAUDE.md
  • README.md
  • build.gradle
  • check_xml_references.sh
  • common/src/main/java/org/dash/wallet/common/Configuration.java
  • common/src/main/java/org/dash/wallet/common/WalletDataProvider.kt
  • common/src/main/java/org/dash/wallet/common/WalletDataProviderExt.kt
  • common/src/main/java/org/dash/wallet/common/data/BaseConfig.kt
  • common/src/main/java/org/dash/wallet/common/data/ServiceName.kt
  • common/src/main/java/org/dash/wallet/common/services/BlockchainStateProvider.kt
  • common/src/main/java/org/dash/wallet/common/services/MessageSigningException.kt
  • common/src/main/java/org/dash/wallet/common/services/SendPaymentService.kt
  • common/src/main/java/org/dash/wallet/common/services/SendPaymentServiceExt.kt
  • common/src/main/java/org/dash/wallet/common/services/analytics/AnalyticsConstants.kt
  • common/src/main/java/org/dash/wallet/common/transactions/filters/CoinsReceivedTxFilter.kt
  • common/src/main/java/org/dash/wallet/common/ui/LockScreenHost.kt
  • common/src/main/java/org/dash/wallet/common/ui/dialogs/AdaptiveDialog.kt
  • common/src/main/java/org/dash/wallet/common/ui/dialogs/MinimumBalanceDialog.kt
  • common/src/main/res/drawable/ic_info_circle.xml
  • common/src/main/res/drawable/ic_qr.xml
  • common/src/main/res/drawable/ic_warning_filled.xml
  • common/src/main/res/values/colors.xml
  • common/src/main/res/values/strings.xml
  • common/src/main/res/values/styles.xml
  • docs/app-connect-v2.md
  • docs/sakura-devnet.md
  • features/exploredash/src/main/java/org/dash/wallet/features/exploredash/ui/dashspend/DashSpendViewModel.kt
  • features/exploredash/src/main/java/org/dash/wallet/features/exploredash/ui/dashspend/dialogs/PurchaseGiftCardConfirmDialog.kt
  • features/exploredash/src/main/res/drawable/ic_deposit.xml
  • features/exploredash/src/main/res/values/strings-explore-dash.xml
  • gradle/verification-metadata.xml
  • integrations/coinbase/src/main/java/org/dash/wallet/integrations/coinbase/ui/CoinbaseConvertCryptoFragment.kt
  • integrations/coinbase/src/main/java/org/dash/wallet/integrations/coinbase/ui/TransferDashFragment.kt
  • integrations/coinbase/src/main/java/org/dash/wallet/integrations/coinbase/ui/convert_currency/model/SwapValueErrorType.kt
  • integrations/coinbase/src/main/java/org/dash/wallet/integrations/coinbase/viewmodels/CoinbaseConversionPreviewViewModel.kt
  • integrations/coinbase/src/main/java/org/dash/wallet/integrations/coinbase/viewmodels/ConvertViewViewModel.kt
  • integrations/coinbase/src/main/java/org/dash/wallet/integrations/coinbase/viewmodels/TransferDashViewModel.kt
  • integrations/coinbase/src/test/java/org/dash/wallet/integrations/coinbase/PaymentOutcomeUnknownTest.kt
  • integrations/crowdnode/.gitignore
  • integrations/crowdnode/CLAUDE.md
  • integrations/crowdnode/build.gradle
  • integrations/crowdnode/proguard-rules.pro
  • integrations/crowdnode/src/main/AndroidManifest.xml
  • integrations/crowdnode/src/main/java/org/dash/wallet/integrations/crowdnode/api/CrowdNodeApi.kt
  • integrations/crowdnode/src/main/java/org/dash/wallet/integrations/crowdnode/api/CrowdNodeBlockchainApi.kt
  • integrations/crowdnode/src/main/java/org/dash/wallet/integrations/crowdnode/api/CrowdNodeConfirmationTxHandler.kt
  • integrations/crowdnode/src/main/java/org/dash/wallet/integrations/crowdnode/api/CrowdNodeWebApi.kt
  • integrations/crowdnode/src/main/java/org/dash/wallet/integrations/crowdnode/api/CrowdNodeWorker.kt
  • integrations/crowdnode/src/main/java/org/dash/wallet/integrations/crowdnode/api/RemoteDataSource.kt
  • integrations/crowdnode/src/main/java/org/dash/wallet/integrations/crowdnode/di/CrowdNodeModule.kt
  • integrations/crowdnode/src/main/java/org/dash/wallet/integrations/crowdnode/model/AddressStatus.kt
  • integrations/crowdnode/src/main/java/org/dash/wallet/integrations/crowdnode/model/ApiCode.kt
  • integrations/crowdnode/src/main/java/org/dash/wallet/integrations/crowdnode/model/ApiStatuses.kt
  • integrations/crowdnode/src/main/java/org/dash/wallet/integrations/crowdnode/model/CrowdNodeBalance.kt
  • integrations/crowdnode/src/main/java/org/dash/wallet/integrations/crowdnode/model/CrowdNodeFeeInfo.kt
  • integrations/crowdnode/src/main/java/org/dash/wallet/integrations/crowdnode/model/CrowdNodeIsAddressInUse.kt
  • integrations/crowdnode/src/main/java/org/dash/wallet/integrations/crowdnode/model/CrowdNodeTx.kt
  • integrations/crowdnode/src/main/java/org/dash/wallet/integrations/crowdnode/model/IsAddressInUse.kt
  • integrations/crowdnode/src/main/java/org/dash/wallet/integrations/crowdnode/model/IsDefaultEmail.kt
  • integrations/crowdnode/src/main/java/org/dash/wallet/integrations/crowdnode/model/MessageStatus.kt
  • integrations/crowdnode/src/main/java/org/dash/wallet/integrations/crowdnode/model/WithdrawalLimit.kt
  • integrations/crowdnode/src/main/java/org/dash/wallet/integrations/crowdnode/transactions/CrowdNodeAcceptTermsResponse.kt
  • integrations/crowdnode/src/main/java/org/dash/wallet/integrations/crowdnode/transactions/CrowdNodeAcceptTermsTx.kt
  • integrations/crowdnode/src/main/java/org/dash/wallet/integrations/crowdnode/transactions/CrowdNodeDepositReceivedResponse.kt
  • integrations/crowdnode/src/main/java/org/dash/wallet/integrations/crowdnode/transactions/CrowdNodeDepositTx.kt
  • integrations/crowdnode/src/main/java/org/dash/wallet/integrations/crowdnode/transactions/CrowdNodeErrorResponse.kt
  • integrations/crowdnode/src/main/java/org/dash/wallet/integrations/crowdnode/transactions/CrowdNodeSignUpTx.kt
  • integrations/crowdnode/src/main/java/org/dash/wallet/integrations/crowdnode/transactions/CrowdNodeTopUpTx.kt
  • integrations/crowdnode/src/main/java/org/dash/wallet/integrations/crowdnode/transactions/CrowdNodeWelcomeToApiResponse.kt
  • integrations/crowdnode/src/main/java/org/dash/wallet/integrations/crowdnode/transactions/CrowdNodeWithdrawalDeniedResponse.kt
  • integrations/crowdnode/src/main/java/org/dash/wallet/integrations/crowdnode/transactions/CrowdNodeWithdrawalQueueResponse.kt
  • integrations/crowdnode/src/main/java/org/dash/wallet/integrations/crowdnode/transactions/CrowdNodeWithdrawalReceivedTx.kt
  • integrations/crowdnode/src/main/java/org/dash/wallet/integrations/crowdnode/transactions/FullCrowdNodeSignUpTxSet.kt
  • integrations/crowdnode/src/main/java/org/dash/wallet/integrations/crowdnode/transactions/FullCrowdNodeSignUpTxSetFactory.kt
  • integrations/crowdnode/src/main/java/org/dash/wallet/integrations/crowdnode/transactions/PossibleAcceptTermsResponse.kt
  • integrations/crowdnode/src/main/java/org/dash/wallet/integrations/crowdnode/transactions/PossibleWelcomeResponse.kt
  • integrations/crowdnode/src/main/java/org/dash/wallet/integrations/crowdnode/ui/CrowdNodeViewModel.kt
  • integrations/crowdnode/src/main/java/org/dash/wallet/integrations/crowdnode/ui/ResultFragment.kt
  • integrations/crowdnode/src/main/java/org/dash/wallet/integrations/crowdnode/ui/dialogs/ConfirmationDialog.kt
  • integrations/crowdnode/src/main/java/org/dash/wallet/integrations/crowdnode/ui/dialogs/OnlineAccountDetailsDialog.kt
  • integrations/crowdnode/src/main/java/org/dash/wallet/integrations/crowdnode/ui/dialogs/QRDialog.kt
  • integrations/crowdnode/src/main/java/org/dash/wallet/integrations/crowdnode/ui/dialogs/StakingDialog.kt
  • integrations/crowdnode/src/main/java/org/dash/wallet/integrations/crowdnode/ui/dialogs/WithdrawalLimitsInfoDialog.kt
  • integrations/crowdnode/src/main/java/org/dash/wallet/integrations/crowdnode/ui/entry_point/EntryPointFragment.kt
  • integrations/crowdnode/src/main/java/org/dash/wallet/integrations/crowdnode/ui/entry_point/FirstTimeInfoFragment.kt
  • integrations/crowdnode/src/main/java/org/dash/wallet/integrations/crowdnode/ui/entry_point/NewAccountFragment.kt
  • integrations/crowdnode/src/main/java/org/dash/wallet/integrations/crowdnode/ui/online/OnlineAccountEmailFragment.kt
  • integrations/crowdnode/src/main/java/org/dash/wallet/integrations/crowdnode/ui/online/OnlineAccountInfoFragment.kt
  • integrations/crowdnode/src/main/java/org/dash/wallet/integrations/crowdnode/ui/online/OnlineSignUpFragment.kt
  • integrations/crowdnode/src/main/java/org/dash/wallet/integrations/crowdnode/ui/portal/PortalFragment.kt
  • integrations/crowdnode/src/main/java/org/dash/wallet/integrations/crowdnode/ui/portal/TransferFragment.kt
  • integrations/crowdnode/src/main/java/org/dash/wallet/integrations/crowdnode/utils/CrowdNodeBalanceCondition.kt
  • integrations/crowdnode/src/main/java/org/dash/wallet/integrations/crowdnode/utils/CrowdNodeConfig.kt
  • integrations/crowdnode/src/main/java/org/dash/wallet/integrations/crowdnode/utils/CrowdNodeConstants.kt
  • integrations/crowdnode/src/main/res/drawable/ic_account.xml
  • integrations/crowdnode/src/main/res/drawable/ic_account_existing.xml
  • integrations/crowdnode/src/main/res/drawable/ic_account_new.xml
  • integrations/crowdnode/src/main/res/drawable/ic_bolt.xml
  • integrations/crowdnode/src/main/res/drawable/ic_bullet_error.xml
  • integrations/crowdnode/src/main/res/drawable/ic_crowdnode_logo.xml
  • integrations/crowdnode/src/main/res/drawable/ic_dash.xml
  • integrations/crowdnode/src/main/res/drawable/ic_deposit_disabled.xml
  • integrations/crowdnode/src/main/res/drawable/ic_deposit_enabled.xml
  • integrations/crowdnode/src/main/res/drawable/ic_dialog_arrows.xml
  • integrations/crowdnode/src/main/res/drawable/ic_document.xml
  • integrations/crowdnode/src/main/res/drawable/ic_hands_sparkles.xml
  • integrations/crowdnode/src/main/res/drawable/ic_info_filled.xml
  • integrations/crowdnode/src/main/res/drawable/ic_info_white.xml
  • integrations/crowdnode/src/main/res/drawable/ic_join_the_pool.xml
  • integrations/crowdnode/src/main/res/drawable/ic_lifebuoy.xml
  • integrations/crowdnode/src/main/res/drawable/ic_link_account.xml
  • integrations/crowdnode/src/main/res/drawable/ic_lock_circle.xml
  • integrations/crowdnode/src/main/res/drawable/ic_new_account.xml
  • integrations/crowdnode/src/main/res/drawable/ic_notify.xml
  • integrations/crowdnode/src/main/res/drawable/ic_open_link.xml
  • integrations/crowdnode/src/main/res/drawable/ic_options.xml
  • integrations/crowdnode/src/main/res/drawable/ic_report.xml
  • integrations/crowdnode/src/main/res/drawable/ic_share.xml
  • integrations/crowdnode/src/main/res/drawable/ic_staking_first_deposit.xml
  • integrations/crowdnode/src/main/res/drawable/ic_staking_receiving_rewards.xml
  • integrations/crowdnode/src/main/res/drawable/ic_steaking_leaving_pool.xml
  • integrations/crowdnode/src/main/res/drawable/ic_withdraw_disabled.xml
  • integrations/crowdnode/src/main/res/layout/dialog_qr.xml
  • integrations/crowdnode/src/main/res/layout/dialog_staking.xml
  • integrations/crowdnode/src/main/res/layout/dialog_withdrawal_limits.xml
  • integrations/crowdnode/src/main/res/layout/fragment_confirmation.xml
  • integrations/crowdnode/src/main/res/layout/fragment_entry_point.xml
  • integrations/crowdnode/src/main/res/layout/fragment_first_time_info.xml
  • integrations/crowdnode/src/main/res/layout/fragment_new_account.xml
  • integrations/crowdnode/src/main/res/layout/fragment_online_account_details.xml
  • integrations/crowdnode/src/main/res/layout/fragment_online_account_email.xml
  • integrations/crowdnode/src/main/res/layout/fragment_online_account_info.xml
  • integrations/crowdnode/src/main/res/layout/fragment_portal.xml
  • integrations/crowdnode/src/main/res/layout/fragment_result.xml
  • integrations/crowdnode/src/main/res/layout/fragment_transfer.xml
  • integrations/crowdnode/src/main/res/layout/view_keyboard_deposit_header.xml
  • integrations/crowdnode/src/main/res/layout/view_keyboard_header.xml
  • integrations/crowdnode/src/main/res/layout/view_keyboard_withdraw_header.xml
  • integrations/crowdnode/src/main/res/menu/menu_info.xml
  • integrations/crowdnode/src/main/res/navigation/nav_crowdnode.xml
  • integrations/crowdnode/src/main/res/values-ar/strings-crowdnode.xml
  • integrations/crowdnode/src/main/res/values-cs/strings-crowdnode.xml
  • integrations/crowdnode/src/main/res/values-de/strings-crowdnode.xml
  • integrations/crowdnode/src/main/res/values-el/strings-crowdnode.xml
  • integrations/crowdnode/src/main/res/values-es/strings-crowdnode.xml
  • integrations/crowdnode/src/main/res/values-fa/strings-crowdnode.xml
  • integrations/crowdnode/src/main/res/values-fil/strings-crowdnode.xml
  • integrations/crowdnode/src/main/res/values-fr/strings-crowdnode.xml
  • integrations/crowdnode/src/main/res/values-id/strings-crowdnode.xml
  • integrations/crowdnode/src/main/res/values-it/strings-crowdnode.xml
  • integrations/crowdnode/src/main/res/values-ja/strings-crowdnode.xml
  • integrations/crowdnode/src/main/res/values-ko/strings-crowdnode.xml
  • integrations/crowdnode/src/main/res/values-nl/strings-crowdnode.xml
  • integrations/crowdnode/src/main/res/values-pl/strings-crowdnode.xml
  • integrations/crowdnode/src/main/res/values-pt/strings-crowdnode.xml
  • integrations/crowdnode/src/main/res/values-ru/strings-crowdnode.xml
  • integrations/crowdnode/src/main/res/values-sk/strings-crowdnode.xml
  • integrations/crowdnode/src/main/res/values-th/strings-crowdnode.xml
  • integrations/crowdnode/src/main/res/values-tr/strings-crowdnode.xml
  • integrations/crowdnode/src/main/res/values-uk/strings-crowdnode.xml
  • integrations/crowdnode/src/main/res/values-zh-rTW/strings-crowdnode.xml
  • integrations/crowdnode/src/main/res/values-zh/strings-crowdnode.xml
  • integrations/crowdnode/src/main/res/values/colors.xml
  • integrations/crowdnode/src/main/res/values/strings-crowdnode.xml
  • integrations/crowdnode/src/main/res/values/styles.xml
  • integrations/crowdnode/src/test/java/org/dash/wallet/integrations/crowdnode/CrowdNodeApiAggregatorTest.kt
  • integrations/crowdnode/src/test/java/org/dash/wallet/integrations/crowdnode/CrowdNodeBalanceConditionTest.kt
  • integrations/crowdnode/src/test/java/org/dash/wallet/integrations/crowdnode/CrowdNodeBlockchainApiRetirementTest.kt
  • integrations/crowdnode/src/test/java/org/dash/wallet/integrations/crowdnode/CrowdNodeTxFilterTest.kt
  • integrations/crowdnode/src/test/java/org/dash/wallet/integrations/crowdnode/CrowdNodeViewModelTest.kt
  • integrations/crowdnode/src/test/java/org/dash/wallet/integrations/crowdnode/TestTx.kt
  • integrations/maya/src/main/java/org/dash/wallet/integrations/maya/swapkit/SwapKitApiAggregator.kt
  • integrations/maya/src/main/java/org/dash/wallet/integrations/maya/ui/MayaConvertCryptoFragment.kt
  • integrations/maya/src/main/java/org/dash/wallet/integrations/maya/ui/convert_currency/ConvertViewViewModel.kt
  • integrations/maya/src/main/java/org/dash/wallet/integrations/maya/ui/convert_currency/model/SwapValueErrorType.kt
  • settings.gradle
  • translations/compare-strings.py
  • wallet/AndroidManifest.xml
  • wallet/CHANGES
  • wallet/androidTest/de/schildbach/wallet/database/DatabaseMigrationTest.kt
  • wallet/androidTest/de/schildbach/wallet/security/SecurityGuardMultiThreadingTest.kt
  • wallet/build.gradle
  • wallet/proguard.cfg
  • wallet/res/drawable/ic_connect_chevron_up.xml
  • wallet/res/drawable/ic_connect_info.xml
  • wallet/res/drawable/ic_connect_warning.xml
  • wallet/res/drawable/ic_connect_web.xml
  • wallet/res/drawable/ic_shortcut_staking.xml
  • wallet/res/layout/activity_staking.xml
  • wallet/res/layout/transaction_group_details.xml
  • wallet/res/navigation/nav_home.xml
  • wallet/res/values-ar/strings-dashpay.xml
  • wallet/res/values-de/strings-dashpay.xml
  • wallet/res/values-de/strings_app_connect.xml
  • wallet/res/values-el/strings-dashpay.xml
  • wallet/res/values-es/strings-dashpay.xml
  • wallet/res/values-es/strings_app_connect.xml
  • wallet/res/values-fa/strings-dashpay.xml
  • wallet/res/values-fil/strings-dashpay.xml
  • wallet/res/values-fr/strings-dashpay.xml
  • wallet/res/values-fr/strings_app_connect.xml
  • wallet/res/values-id/strings-dashpay.xml
  • wallet/res/values-it/strings-dashpay.xml
  • wallet/res/values-it/strings_app_connect.xml
  • wallet/res/values-ja/strings-dashpay.xml
  • wallet/res/values-ko/strings-dashpay.xml
  • wallet/res/values-nl/strings-dashpay.xml
  • wallet/res/values-pl/strings-dashpay.xml
  • wallet/res/values-pl/strings_app_connect.xml
  • wallet/res/values-pt/strings-dashpay.xml
  • wallet/res/values-pt/strings_app_connect.xml
  • wallet/res/values-ru/strings-dashpay.xml
  • wallet/res/values-ru/strings_app_connect.xml
  • wallet/res/values-sk/strings-dashpay.xml
  • wallet/res/values-th/strings-dashpay.xml
  • wallet/res/values-tr/strings-dashpay.xml
  • wallet/res/values-uk/strings-dashpay.xml
  • wallet/res/values-zh-rTW/strings-dashpay.xml
  • wallet/res/values-zh/strings-dashpay.xml
  • wallet/res/values/strings-dashpay.xml
  • wallet/res/values/strings.xml
  • wallet/res/values/strings_app_connect.xml
  • wallet/src/de/schildbach/wallet/Constants.java
  • wallet/src/de/schildbach/wallet/WalletApplication.java
  • wallet/src/de/schildbach/wallet/data/WalletData.kt
  • wallet/src/de/schildbach/wallet/data/WalletDataAdapter.kt
  • wallet/src/de/schildbach/wallet/database/AppDatabaseMigrations.kt
  • wallet/src/de/schildbach/wallet/database/dao/TxGroupCacheDao.kt
  • wallet/src/de/schildbach/wallet/database/entity/BlockchainIdentityData.kt
  • wallet/src/de/schildbach/wallet/database/entity/TxDisplayCacheEntry.kt
  • wallet/src/de/schildbach/wallet/database/entity/TxGroupCacheEntry.kt
  • wallet/src/de/schildbach/wallet/di/DatabaseModule.kt
  • wallet/src/de/schildbach/wallet/network/SakuraDevNetParams.java
  • wallet/src/de/schildbach/wallet/payments/BalanceConditionBridge.kt
  • wallet/src/de/schildbach/wallet/payments/FakeDashSpendService.kt
  • wallet/src/de/schildbach/wallet/payments/SendCoinsOfflineTask.java
  • wallet/src/de/schildbach/wallet/payments/SendCoinsTaskRunner.kt
  • wallet/src/de/schildbach/wallet/payments/WalletSendPaymentService.kt
  • wallet/src/de/schildbach/wallet/service/BlockchainServiceImpl.kt
  • wallet/src/de/schildbach/wallet/service/BlockchainStateDataProvider.kt
  • wallet/src/de/schildbach/wallet/service/TxDisplayCacheService.kt
  • wallet/src/de/schildbach/wallet/service/extensions/BlockchainServiceExt.kt
  • wallet/src/de/schildbach/wallet/service/platform/IdentityRepository.kt
  • wallet/src/de/schildbach/wallet/service/platform/sdk/SdkL1SendService.kt
  • wallet/src/de/schildbach/wallet/service/platform/sdk/SeamOutputLockRegistry.kt
  • wallet/src/de/schildbach/wallet/ui/ImportSharedImageActivity.kt
  • wallet/src/de/schildbach/wallet/ui/LockScreenActivity.kt
  • wallet/src/de/schildbach/wallet/ui/compose_views/ApproveConnectionDialog.kt
  • wallet/src/de/schildbach/wallet/ui/compose_views/ApproveTokenPurchaseDialog.kt
  • wallet/src/de/schildbach/wallet/ui/compose_views/ConnectApprovalSheets.kt
  • wallet/src/de/schildbach/wallet/ui/compose_views/ConnectSheetComponents.kt
  • wallet/src/de/schildbach/wallet/ui/compose_views/ConnectionDetailsDialog.kt
  • wallet/src/de/schildbach/wallet/ui/dashpay/PlatformRepo.kt
  • wallet/src/de/schildbach/wallet/ui/explore/ExploreEntryViewModel.kt
  • wallet/src/de/schildbach/wallet/ui/explore/ExploreFragment.kt
  • wallet/src/de/schildbach/wallet/ui/explore/ExploreScreen.kt
  • wallet/src/de/schildbach/wallet/ui/main/MainActivity.kt
  • wallet/src/de/schildbach/wallet/ui/main/MainViewModel.kt
  • wallet/src/de/schildbach/wallet/ui/main/WalletFragment.kt
  • wallet/src/de/schildbach/wallet/ui/main/WalletTransactionsFragment.kt
  • wallet/src/de/schildbach/wallet/ui/main/shortcuts/ShortcutOption.kt
  • wallet/src/de/schildbach/wallet/ui/main/shortcuts/ShortcutsViewModel.kt
  • wallet/src/de/schildbach/wallet/ui/more/ToolsFragment.kt
  • wallet/src/de/schildbach/wallet/ui/more/ToolsScreen.kt
  • wallet/src/de/schildbach/wallet/ui/more/ToolsViewModel.kt
  • wallet/src/de/schildbach/wallet/ui/more/connections/AppConnectGroupConsent.kt
  • wallet/src/de/schildbach/wallet/ui/more/connections/AppConnectKeyState.kt
  • wallet/src/de/schildbach/wallet/ui/more/connections/AppConnectPlan.kt
  • wallet/src/de/schildbach/wallet/ui/more/connections/AppConnectSession.kt
  • wallet/src/de/schildbach/wallet/ui/more/connections/ConnectAvailability.kt
  • wallet/src/de/schildbach/wallet/ui/more/connections/ConnectIdentityAvailability.kt
  • wallet/src/de/schildbach/wallet/ui/more/connections/ConnectionAuthorization.kt
  • wallet/src/de/schildbach/wallet/ui/more/connections/ConnectionDialogs.kt
  • wallet/src/de/schildbach/wallet/ui/more/connections/ConnectionDisplayName.kt
  • wallet/src/de/schildbach/wallet/ui/more/connections/ConnectionForegroundObserver.kt
  • wallet/src/de/schildbach/wallet/ui/more/connections/ConnectionsFragment.kt
  • wallet/src/de/schildbach/wallet/ui/more/connections/ConnectionsScreen.kt
  • wallet/src/de/schildbach/wallet/ui/more/connections/ConnectionsViewModel.kt
  • wallet/src/de/schildbach/wallet/ui/more/connections/DashConnectConfig.kt
  • wallet/src/de/schildbach/wallet/ui/more/connections/DashConnectRepository.kt
  • wallet/src/de/schildbach/wallet/ui/more/connections/GrantConfirmation.kt
  • wallet/src/de/schildbach/wallet/ui/more/connections/IdentityUpdateBatches.kt
  • wallet/src/de/schildbach/wallet/ui/more/connections/PlatformDashConnectRepository.kt
  • wallet/src/de/schildbach/wallet/ui/more/connections/ResponseConfirmation.kt
  • wallet/src/de/schildbach/wallet/ui/more/connections/RevocationSettlement.kt
  • wallet/src/de/schildbach/wallet/ui/more/connections/TokenPurchaseApproval.kt
  • wallet/src/de/schildbach/wallet/ui/more/connections/TokenPurchaseSubmission.kt
  • wallet/src/de/schildbach/wallet/ui/more/connections/protocol/AppConnectRequest.kt
  • wallet/src/de/schildbach/wallet/ui/more/connections/protocol/DashConnectUri.kt
  • wallet/src/de/schildbach/wallet/ui/more/connections/protocol/KeyExchangeCrypto.kt
  • wallet/src/de/schildbach/wallet/ui/payments/PaymentsPayFragment.kt
  • wallet/src/de/schildbach/wallet/ui/payments/SweepWalletFragment.java
  • wallet/src/de/schildbach/wallet/ui/send/DashAddressInputFragment.kt
  • wallet/src/de/schildbach/wallet/ui/send/InAppSendCoinsActivity.kt
  • wallet/src/de/schildbach/wallet/ui/send/SendCoinsActivity.kt
  • wallet/src/de/schildbach/wallet/ui/send/SendCoinsFragment.kt
  • wallet/src/de/schildbach/wallet/ui/send/SendCoinsViewModel.kt
  • wallet/src/de/schildbach/wallet/ui/staking/CrowdNodeWithdrawalReminderDialog.kt
  • wallet/src/de/schildbach/wallet/ui/staking/StakingActivity.kt
  • wallet/src/de/schildbach/wallet/ui/transactions/CrowdNodeTxResourceMapper.kt
  • wallet/src/de/schildbach/wallet/ui/transactions/TransactionGroupDetailsFragment.kt
  • wallet/src/de/schildbach/wallet/ui/transactions/TransactionGroupViewModel.kt
  • wallet/src/de/schildbach/wallet/ui/transactions/TransactionRowView.kt
  • wallet/src/de/schildbach/wallet/ui/username/request/VerifyIdentityFragment.kt
  • wallet/test/app-connect-vectors.json
  • wallet/test/de/schildbach/wallet/data/WalletDataAdapterSeamRoutingTest.kt
  • wallet/test/de/schildbach/wallet/network/SakuraDevNetParamsTest.java
  • wallet/test/de/schildbach/wallet/payments/SendCoinsTaskRunnerBroadcastSignalTest.kt
  • wallet/test/de/schildbach/wallet/payments/SendCoinsTaskRunnerSdkRoutingTest.kt
  • wallet/test/de/schildbach/wallet/payments/SendCoinsTaskRunnerSelfSpendGraceTest.kt
  • wallet/test/de/schildbach/wallet/service/FirebaseOptionalDebugTest.kt
  • wallet/test/de/schildbach/wallet/service/TxDisplayCacheRescanTest.kt
  • wallet/test/de/schildbach/wallet/service/platform/IdentityRepositoryConnectKeyTest.kt
  • wallet/test/de/schildbach/wallet/service/platform/sdk/CutoverUiDataServiceTest.kt
  • wallet/test/de/schildbach/wallet/ui/more/ToolsViewModelConnectionsTest.kt
  • wallet/test/de/schildbach/wallet/ui/more/connections/AppConnectGroupConsentTest.kt
  • wallet/test/de/schildbach/wallet/ui/more/connections/AppConnectKeyStateTest.kt
  • wallet/test/de/schildbach/wallet/ui/more/connections/AppConnectOwnershipTest.kt
  • wallet/test/de/schildbach/wallet/ui/more/connections/AppConnectPlanTest.kt
  • wallet/test/de/schildbach/wallet/ui/more/connections/AppConnectRegistrationRecoveryTest.kt
  • wallet/test/de/schildbach/wallet/ui/more/connections/AppConnectResponseCleanupTest.kt
  • wallet/test/de/schildbach/wallet/ui/more/connections/ConnectIdentityAvailabilityTest.kt
  • wallet/test/de/schildbach/wallet/ui/more/connections/ConnectLinkManifestTest.kt
  • wallet/test/de/schildbach/wallet/ui/more/connections/ConnectionAuthorizationTest.kt
  • wallet/test/de/schildbach/wallet/ui/more/connections/ConnectionDialogLockTest.kt
  • wallet/test/de/schildbach/wallet/ui/more/connections/ConnectionDialogsTest.kt
  • wallet/test/de/schildbach/wallet/ui/more/connections/ConnectionExpiryTest.kt
  • wallet/test/de/schildbach/wallet/ui/more/connections/ConnectionForegroundObserverTest.kt
  • wallet/test/de/schildbach/wallet/ui/more/connections/ConnectionsViewModelTest.kt
  • wallet/test/de/schildbach/wallet/ui/more/connections/DashConnectConfigTest.kt
  • wallet/test/de/schildbach/wallet/ui/more/connections/DisabledConnectRequestTest.kt
  • wallet/test/de/schildbach/wallet/ui/more/connections/GrantConfirmationTest.kt
  • wallet/test/de/schildbach/wallet/ui/more/connections/IdentityUpdateBatchesTest.kt
  • wallet/test/de/schildbach/wallet/ui/more/connections/PlatformDashConnectRepositoryTest.kt
  • wallet/test/de/schildbach/wallet/ui/more/connections/ResponseConfirmationTest.kt
  • wallet/test/de/schildbach/wallet/ui/more/connections/RevocationOwnershipTest.kt
  • wallet/test/de/schildbach/wallet/ui/more/connections/RevocationSettlementTest.kt
  • wallet/test/de/schildbach/wallet/ui/more/connections/SharedProfileKeysTest.kt
  • wallet/test/de/schildbach/wallet/ui/more/connections/TokenPurchaseSubmissionTest.kt
  • wallet/test/de/schildbach/wallet/ui/more/connections/TokenPurchaseTest.kt
  • wallet/test/de/schildbach/wallet/ui/more/connections/protocol/AppConnectRequestTest.kt
  • wallet/test/de/schildbach/wallet/ui/more/connections/protocol/DashConnectUriTest.kt
  • wallet/test/de/schildbach/wallet/ui/more/connections/protocol/DashPayConnectUriTest.kt
  • wallet/test/de/schildbach/wallet/ui/more/connections/protocol/DashStUriTest.kt
  • wallet/test/de/schildbach/wallet/ui/send/SendCoinsViewModelContactResubmitTest.kt
  • wallet/test/de/schildbach/wallet/ui/send/SendCoinsViewModelOutcomeUnknownTest.kt
  • wallet/test/de/schildbach/wallet/ui/send/SendCoinsViewModelStaleDryRunTest.kt
  • wallet/test/de/schildbach/wallet/util/ConnectFlagTest.kt
  • wallet/test/de/schildbach/wallet/util/transactions/TransactionWrapperHelperTest.kt
  • wallet/test/de/schildbach/wallet/util/viewModels/MainViewModelTest.kt

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@thepastaclaw

thepastaclaw commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

⛔ Final review complete — 4 blocking finding(s) (commit b27099b) · triage: critical

@thepastaclaw thepastaclaw 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.

Final validation — Phase 1 + Phase 2

Verified the findings against head f48eeb6: four blocking DashConnect defects and two minor cleanup issues remain. The DashConnect implementation is newly imported relative to the target base, so these defects remain in scope despite being unchanged from master. This was a static review; current CI build and check jobs pass, and the automated review check is pending.

🔴 4 blocking | 🟡 1 suggestion(s) | 💬 1 nitpick(s)

6 finding(s) not shown inline (GitHub refused the PR diff as too large)

🔴 Blocking: Display the verified contract-group scope before approval
wallet/src/de/schildbach/wallet/ui/compose_views/ApproveConnectionDialog.kt:340-342

The approval sheet renders only generic capabilities, not request.grantChoices or permissionText. AppConnectPlan.capabilities() maps contract-group grants to ACT_IN_APP, while choices() contains the verified group ID, owner, administrators, current members, and warning that administrators can authorize future members without another approval. Ownership validation permits an app-owned group with broader membership, so a CRITICAL grant can authorize actions and token transfers beyond the named app's apparent scope. Approval registers those group-bounded keys and sends their secrets to the app. Recovery also asks users to acknowledge changed scope without displaying it. Render the selected grants' verified descriptions and dynamic-membership warning, including refreshed recovery scope, before enabling approval; checking that an undisclosed snapshot stayed unchanged does not establish informed consent.

source: gpt-6.1-sol (phase2-reviewer: general, security-auditor)

🔴 Blocking: Disclose surviving authorization when approving another session
wallet/src/de/schildbach/wallet/ui/compose_views/ApproveConnectionDialog.kt:315-318

The sheet presents request.fundingLimit as the connection's maximum identity funding limit, but withTerms() calculates it from only the new plan's selected keys. AppConnectSession.approve() disables previous grants only when the request supplies the same non-null connectionId; a fresh or absent ID leaves older session keys authorized. For example, approving a new 0.1 DASH grant can leave an unspent 5 DASH grant intact while this sheet displays "Maximum of 0.1 DASH". Existing connections are grouped by app contract ID, and the sheet does not distinguish the surviving authorization as a separate session. Disclose existing access and the resulting aggregate exposure, or explicitly describe the new grant as an additional session budget; alternatively, replace the surviving grants so the displayed maximum is enforced.

source: gpt-6.1-sol (phase2-reviewer: general, security-auditor)

🔴 Blocking: Scope retained audits before treating them as identity evidence
wallet/src/de/schildbach/wallet/ui/more/connections/ConnectIdentityAvailability.kt:29-35

observeHasRecords() counts grants, legacy connections, and purchase receipts regardless of wallet or network. This PR also preserves grant and purchase audits through Reset Wallet. After wallet A creates an audit, resetting and creating wallet B without an identity therefore produces AVAILABLE even when both identity reads successfully establish absence. refreshConnections() proceeds to observeConnections(), where session.scope() throws because B has no identity, leaving the screen UNAVAILABLE instead of NO_IDENTITY. Retrying cannot remove A's retained audit, and the create-username action is available only in the no-identity state. Match recovery evidence to the current wallet and network before using it to suppress NO_IDENTITY, while preserving unrelated wallets' audits and propagating storage errors.

source: gpt-6.1-sol (phase2-reviewer: general, security-auditor)

🔴 Blocking: Dismiss the native date picker when the wallet locks
wallet/src/de/schildbach/wallet/ui/compose_views/ConnectApprovalSheets.kt:160-170

showDatePicker() shows an independent DatePickerDialog without retaining it or attaching it to fragment lifecycle cleanup. Opening Expiration → Set date and allowing the wallet to auto-lock leaves this window above the PIN screen: handleLockScreenActivated() dismisses FragmentManager-owned dialogs, but the native picker is not registered there, and dismissing its parent sheet does not dismiss this separate window. The selectExpiry() authorization guard prevents a locked-state update, but does not remove the overlay; its callback can also reach a detached parent fragment after lock cleanup. Host the picker in a managed DialogFragment, or retain and dismiss it on lock, lifecycle stop, and parent-view destruction.

source: gpt-6.1-sol (phase2-reviewer: general, security-auditor)

🟡 Suggestion: Update the remaining registry documentation after CrowdNode removal
wallet/src/de/schildbach/wallet/service/platform/sdk/SeamOutputLockRegistry.kt:30-47

The updated KDoc correctly states that CrowdNode was the only producer and nothing registers locks now, but immediately claims that WalletDataAdapter registers SDK transaction locks here. It also says the CrowdNode flow re-locks on resume. Both claims became obsolete when this PR removed lockOutputsPayingTo and CrowdNode. Describe those behaviors as historical, while retaining the explanation of the intentionally preserved drain-guard wiring.

source: muse-spark-1.3-contributor (phase1-reviewer: general)

💬 Nitpick: Remove the adapter's unused registry dependency
wallet/src/de/schildbach/wallet/data/WalletDataAdapter.kt:68-69

Removing lockOutputsPayingTo also removes the adapter's only use of seamLockRegistry; the injected property is now never read or written. Keeping the registry itself for the existing drain guards is intentional and does not violate an ownership rule, but that does not require retaining this unused adapter dependency. Remove this constructor parameter and its import, updating direct constructor calls as needed; leave the registry's actual drain-guard and wipe consumers intact.

source: muse-spark-1.3-contributor (phase1-reviewer: general)

Review provenance

Source: reviewer 1: gpt-6.1-sol (agent: phase2-reviewer, role: general); reviewer 2: gpt-6.1-sol (agent: phase2-reviewer, role: security-auditor); reviewer 3: muse-spark-1.3-contributor (agent: phase1-reviewer, role: general); final verifier: gpt-6.1-sol (agent: sol-verifier, role: final-verifier)

  • Triage: critical by gpt-6.1-sol (effort low) — This large merge directly changes funds-movement and coin-selection behavior by removing SendPaymentService.sendCoinsSelected/SpendSelection and the lockOutputsPayingTo plumbing, beyond merely removing CrowdNode UI or bumping dependencies.
  • Phase 1 reviewers: muse-spark-1.3-contributor — general (completed, effort xhigh); agent phase1-reviewer
  • Phase 1 model: muse-spark-1.3-contributor — not quota-gated; passed over gemini-3.8-flash-high (antigravity quota lookup failed), glm-5.3-flash (not used above high effort; tier asks max)
  • Single stage: Phase 1 and Phase 2 reviewed this head side by side, with no blocker gate between them (triage tier)
  • Fresh verifier: gpt-6.1-sol — final-verifier; agent sol-verifier
  • Phase 2 reviewers: gpt-6.1-sol — general (completed, effort xhigh); agent phase2-reviewer, gpt-6.1-sol — security-auditor (completed, effort xhigh); agent phase2-reviewer
🤖 Prompt for all review comments with AI agents
These findings are from an automated code review. Verify each finding against the current code and only fix it if needed.

In `wallet/src/de/schildbach/wallet/ui/compose_views/ApproveConnectionDialog.kt`:
- [BLOCKING] wallet/src/de/schildbach/wallet/ui/compose_views/ApproveConnectionDialog.kt:340-342: Display the verified contract-group scope before approval
  The approval sheet renders only generic capabilities, not `request.grantChoices` or `permissionText`. `AppConnectPlan.capabilities()` maps contract-group grants to ACT_IN_APP, while `choices()` contains the verified group ID, owner, administrators, current members, and warning that administrators can authorize future members without another approval. Ownership validation permits an app-owned group with broader membership, so a CRITICAL grant can authorize actions and token transfers beyond the named app's apparent scope. Approval registers those group-bounded keys and sends their secrets to the app. Recovery also asks users to acknowledge changed scope without displaying it. Render the selected grants' verified descriptions and dynamic-membership warning, including refreshed recovery scope, before enabling approval; checking that an undisclosed snapshot stayed unchanged does not establish informed consent.
- [BLOCKING] wallet/src/de/schildbach/wallet/ui/compose_views/ApproveConnectionDialog.kt:315-318: Disclose surviving authorization when approving another session
  The sheet presents `request.fundingLimit` as the connection's maximum identity funding limit, but `withTerms()` calculates it from only the new plan's selected keys. `AppConnectSession.approve()` disables previous grants only when the request supplies the same non-null `connectionId`; a fresh or absent ID leaves older session keys authorized. For example, approving a new 0.1 DASH grant can leave an unspent 5 DASH grant intact while this sheet displays "Maximum of 0.1 DASH". Existing connections are grouped by app contract ID, and the sheet does not distinguish the surviving authorization as a separate session. Disclose existing access and the resulting aggregate exposure, or explicitly describe the new grant as an additional session budget; alternatively, replace the surviving grants so the displayed maximum is enforced.

In `wallet/src/de/schildbach/wallet/ui/more/connections/ConnectIdentityAvailability.kt`:
- [BLOCKING] wallet/src/de/schildbach/wallet/ui/more/connections/ConnectIdentityAvailability.kt:29-35: Scope retained audits before treating them as identity evidence
  `observeHasRecords()` counts grants, legacy connections, and purchase receipts regardless of wallet or network. This PR also preserves grant and purchase audits through Reset Wallet. After wallet A creates an audit, resetting and creating wallet B without an identity therefore produces AVAILABLE even when both identity reads successfully establish absence. `refreshConnections()` proceeds to `observeConnections()`, where `session.scope()` throws because B has no identity, leaving the screen UNAVAILABLE instead of NO_IDENTITY. Retrying cannot remove A's retained audit, and the create-username action is available only in the no-identity state. Match recovery evidence to the current wallet and network before using it to suppress NO_IDENTITY, while preserving unrelated wallets' audits and propagating storage errors.

In `wallet/src/de/schildbach/wallet/ui/compose_views/ConnectApprovalSheets.kt`:
- [BLOCKING] wallet/src/de/schildbach/wallet/ui/compose_views/ConnectApprovalSheets.kt:160-170: Dismiss the native date picker when the wallet locks
  `showDatePicker()` shows an independent `DatePickerDialog` without retaining it or attaching it to fragment lifecycle cleanup. Opening Expiration → Set date and allowing the wallet to auto-lock leaves this window above the PIN screen: `handleLockScreenActivated()` dismisses FragmentManager-owned dialogs, but the native picker is not registered there, and dismissing its parent sheet does not dismiss this separate window. The `selectExpiry()` authorization guard prevents a locked-state update, but does not remove the overlay; its callback can also reach a detached parent fragment after lock cleanup. Host the picker in a managed DialogFragment, or retain and dismiss it on lock, lifecycle stop, and parent-view destruction.

In `wallet/src/de/schildbach/wallet/service/platform/sdk/SeamOutputLockRegistry.kt`:
- [SUGGESTION] wallet/src/de/schildbach/wallet/service/platform/sdk/SeamOutputLockRegistry.kt:30-47: Update the remaining registry documentation after CrowdNode removal
  The updated KDoc correctly states that CrowdNode was the only producer and nothing registers locks now, but immediately claims that `WalletDataAdapter` registers SDK transaction locks here. It also says the CrowdNode flow re-locks on resume. Both claims became obsolete when this PR removed `lockOutputsPayingTo` and CrowdNode. Describe those behaviors as historical, while retaining the explanation of the intentionally preserved drain-guard wiring.

In `wallet/src/de/schildbach/wallet/data/WalletDataAdapter.kt`:
- [NITPICK] wallet/src/de/schildbach/wallet/data/WalletDataAdapter.kt:68-69: Remove the adapter's unused registry dependency
  Removing `lockOutputsPayingTo` also removes the adapter's only use of `seamLockRegistry`; the injected property is now never read or written. Keeping the registry itself for the existing drain guards is intentional and does not violate an ownership rule, but that does not require retaining this unused adapter dependency. Remove this constructor parameter and its import, updating direct constructor calls as needed; leave the registry's actual drain-guard and wipe consumers intact.

…ry KDoc

Both left over from removing lockOutputsPayingTo with CrowdNode (PastaClaw on #1687).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@HashEngineering

Copy link
Copy Markdown
Collaborator Author

Responding to the review of f48eeb68:

🔴 The 4 DashConnect blockers (ApproveConnectionDialog.kt:340 contract-group scope, ApproveConnectionDialog.kt:315 surviving session budget, ConnectIdentityAvailability.kt:29 cross-wallet audits, ConnectApprovalSheets.kt:160 date picker on lock): deferred to #1689. These are in master's DashConnect code, which this PR merges unchanged. They apply to master as well, and the DashConnect port to phase-1 is separate work. We won't fix them in this merge.

🟡 SeamOutputLockRegistry KDoc: fixed in b27099b. It now describes the WalletDataAdapter producer and the CrowdNode re-lock as removed, and keeps the drain-guard explanation.

💬 Unused seamLockRegistry in WalletDataAdapter: removed in b27099b, including the constructor parameter, the import and the test call sites. The registry's drain guards and wipe wiring are unchanged.

🤖 Generated with Claude Code

@thepastaclaw thepastaclaw 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.

Re-review — Final validation — Phase 1 + Phase 2

Verified head b27099b: both cleanup findings are fixed, but four DashConnect defects remain. Although the affected implementations match upstream master and are tracked in #1689, this diff introduces them to the target branch and enables DashConnect in production, so the tracked follow-up does not justify deferring these blockers. Current CI build and check jobs pass, with the review check pending; this verification was static and no builds or tests were run locally.

🔴 4 blocking

4 finding(s) not shown inline (GitHub refused the PR diff as too large)

🔴 Blocking: Display the verified contract-group scope before approval
wallet/src/de/schildbach/wallet/ui/compose_views/ApproveConnectionDialog.kt:340-342

The approval sheet renders generic capabilities but never renders request.grantChoices. ConnectionsViewModel.withTerms() populates those choices with the verified group ID, owner, administrators, membership, and warning that future members receive authority without another approval. AppConnectSession.validateOwnership() checks that the group owner matches the app owner; it does not limit membership to the displayed app contract. A CRITICAL group-bound key can therefore authorize token operations across broader membership while the sheet describes access only to the named app and its tokens. Recovery also permits acknowledgement of changed group scope without displaying the replacement scope. Render the selected grants' verified bounds and dynamic-membership warning before enabling approval, including during recovery, or reject group-bound grants until that disclosure exists.

source: gpt-6.1-sol (phase2-reviewer: general, security-auditor)

🔴 Blocking: Disclose surviving authorization when approving another session
wallet/src/de/schildbach/wallet/ui/compose_views/ApproveConnectionDialog.kt:315-318

The displayed 'Identity funding limit — Maximum of … DASH' comes exclusively from the pending plan's selected keys. AppConnectSession.approve() disables older grants only when the request carries a matching, non-null connectionId, which the app can omit or change. An existing unspent 5 DASH allowance followed by approval of a 0.1 DASH allowance can therefore leave 5.1 DASH authorized while this sheet shows a maximum of 0.1 DASH. requireOtherRegistrationsSettled() does not prevent this: an earlier active, confirmed grant is settled. The displayed connection expiry likewise does not terminate those surviving keys. Disclose the surviving authorization and distinguish this additional session allowance from combined app exposure, or revoke and confirm replacement of the previous grants.

source: gpt-6.1-sol (phase2-reviewer: general, security-auditor)

🔴 Blocking: Scope retained audits before treating them as identity evidence
wallet/src/de/schildbach/wallet/ui/more/connections/ConnectIdentityAvailability.kt:29-35

connections.observeHasRecords() counts grants and purchase receipts from every wallet and network, while DashConnectConfig.onWalletWiped() deliberately preserves those audits. After wallet A creates a record, resetting and creating wallet B without an identity makes this branch return AVAILABLE instead of NO_IDENTITY. ConnectionsViewModel then collects PlatformDashConnectRepository.observeConnections(), where session.scope() requires an identity and throws. The screen shows 'Connection records unavailable' instead of the Create username action, and Retry repeats the failure because B still has no identity and A's audit remains. Match retained evidence to the current wallet and network before allowing it to suppress NO_IDENTITY, while preserving same-wallet recovery and propagation of storage-read failures.

source: gpt-6.1-sol (phase2-reviewer: general)

🔴 Blocking: Dismiss the native date picker when the wallet locks
wallet/src/de/schildbach/wallet/ui/compose_views/ConnectApprovalSheets.kt:160-170

showDatePicker() opens a bare android.app.DatePickerDialog without retaining it or registering lifecycle cleanup. Opening Expiration → Set date and then allowing the wallet to auto-lock leaves this independent window above the PIN screen: dismissDialogsForLockScreen() and ConnectionsFragment's lock observer dismiss fragment-owned sheets, but neither owns this picker. Its listener also remains callable after the originating ConnectLimitPickerDialog has been removed and still calls dismiss() on that fragment. Host the picker in a lifecycle-managed DialogFragment covered by lock teardown, or retain it and explicitly dismiss it on lock, stop, and view destruction. The ViewModel's locked-state guard prevents a limit update but does not remove the orphaned window.

source: gpt-6.1-sol (phase2-reviewer: general, security-auditor)

Review provenance

Source: reviewer 1: gpt-6.1-sol (agent: phase2-reviewer, role: general); reviewer 2: gpt-6.1-sol (agent: phase2-reviewer, role: security-auditor); reviewer 3: muse-spark-1.3-contributor (agent: phase1-reviewer, role: general); reviewer 4: gpt-6.1-sol (agent: phase2-reviewer, role: general); reviewer 5: gpt-6.1-sol (agent: phase2-reviewer, role: security-auditor); final verifier: gpt-6.1-sol (agent: sol-verifier, role: final-verifier)

  • Triage: critical by gpt-6.1-sol (effort low) — This large, cross-module merge directly changes funds-movement and coin-selection behavior in common/src/main/java/org/dash/wallet/common/services/SendPaymentService.kt by removing selected-output sending and output-locking APIs alongside balance-condition enforcement.
  • Phase 1 reviewers: muse-spark-1.3-contributor — general (completed, effort xhigh); agent phase1-reviewer
  • Phase 1 model: muse-spark-1.3-contributor — not quota-gated; passed over gemini-3.8-flash-high (antigravity quota lookup failed), glm-5.3-flash (not used above high effort; tier asks max)
  • Single stage: Phase 1 and Phase 2 reviewed this head side by side, with no blocker gate between them (triage tier)
  • Fresh final gate: an independent Phase-2 review ran after iterative findings were reconciled
  • Fresh verifier: gpt-6.1-sol — final-verifier; agent sol-verifier
  • Phase 2 reviewers: gpt-6.1-sol — general (completed, effort xhigh); agent phase2-reviewer, gpt-6.1-sol — security-auditor (completed, effort xhigh); agent phase2-reviewer, gpt-6.1-sol — general (completed, effort xhigh); agent phase2-reviewer, gpt-6.1-sol — security-auditor (completed, effort xhigh); agent phase2-reviewer
🤖 Prompt for all review comments with AI agents
These findings are from an automated code review. Verify each finding against the current code and only fix it if needed.

In `wallet/src/de/schildbach/wallet/ui/compose_views/ApproveConnectionDialog.kt`:
- [BLOCKING] wallet/src/de/schildbach/wallet/ui/compose_views/ApproveConnectionDialog.kt:340-342: Display the verified contract-group scope before approval
  The approval sheet renders generic capabilities but never renders request.grantChoices. ConnectionsViewModel.withTerms() populates those choices with the verified group ID, owner, administrators, membership, and warning that future members receive authority without another approval. AppConnectSession.validateOwnership() checks that the group owner matches the app owner; it does not limit membership to the displayed app contract. A CRITICAL group-bound key can therefore authorize token operations across broader membership while the sheet describes access only to the named app and its tokens. Recovery also permits acknowledgement of changed group scope without displaying the replacement scope. Render the selected grants' verified bounds and dynamic-membership warning before enabling approval, including during recovery, or reject group-bound grants until that disclosure exists.
- [BLOCKING] wallet/src/de/schildbach/wallet/ui/compose_views/ApproveConnectionDialog.kt:315-318: Disclose surviving authorization when approving another session
  The displayed 'Identity funding limit — Maximum of … DASH' comes exclusively from the pending plan's selected keys. AppConnectSession.approve() disables older grants only when the request carries a matching, non-null connectionId, which the app can omit or change. An existing unspent 5 DASH allowance followed by approval of a 0.1 DASH allowance can therefore leave 5.1 DASH authorized while this sheet shows a maximum of 0.1 DASH. requireOtherRegistrationsSettled() does not prevent this: an earlier active, confirmed grant is settled. The displayed connection expiry likewise does not terminate those surviving keys. Disclose the surviving authorization and distinguish this additional session allowance from combined app exposure, or revoke and confirm replacement of the previous grants.

In `wallet/src/de/schildbach/wallet/ui/more/connections/ConnectIdentityAvailability.kt`:
- [BLOCKING] wallet/src/de/schildbach/wallet/ui/more/connections/ConnectIdentityAvailability.kt:29-35: Scope retained audits before treating them as identity evidence
  connections.observeHasRecords() counts grants and purchase receipts from every wallet and network, while DashConnectConfig.onWalletWiped() deliberately preserves those audits. After wallet A creates a record, resetting and creating wallet B without an identity makes this branch return AVAILABLE instead of NO_IDENTITY. ConnectionsViewModel then collects PlatformDashConnectRepository.observeConnections(), where session.scope() requires an identity and throws. The screen shows 'Connection records unavailable' instead of the Create username action, and Retry repeats the failure because B still has no identity and A's audit remains. Match retained evidence to the current wallet and network before allowing it to suppress NO_IDENTITY, while preserving same-wallet recovery and propagation of storage-read failures.

In `wallet/src/de/schildbach/wallet/ui/compose_views/ConnectApprovalSheets.kt`:
- [BLOCKING] wallet/src/de/schildbach/wallet/ui/compose_views/ConnectApprovalSheets.kt:160-170: Dismiss the native date picker when the wallet locks
  showDatePicker() opens a bare android.app.DatePickerDialog without retaining it or registering lifecycle cleanup. Opening Expiration → Set date and then allowing the wallet to auto-lock leaves this independent window above the PIN screen: dismissDialogsForLockScreen() and ConnectionsFragment's lock observer dismiss fragment-owned sheets, but neither owns this picker. Its listener also remains callable after the originating ConnectLimitPickerDialog has been removed and still calls dismiss() on that fragment. Host the picker in a lifecycle-managed DialogFragment covered by lock teardown, or retain it and explicitly dismiss it on lock, stop, and view destruction. The ViewModel's locked-state guard prevents a limit update but does not remove the orphaned window.

@HashEngineering HashEngineering self-assigned this Nov 9, 2026
@HashEngineering

Copy link
Copy Markdown
Collaborator Author

We will address the DashConnect findings and blockers in the next DashConnect ticket/PR.

@HashEngineering HashEngineering left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

approved

@HashEngineering
HashEngineering merged commit efb3d3e into feat/kotlin-sdk-phase-1 Nov 9, 2026
3 of 4 checks passed
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