Skip to content

cost rounding - #21

Merged
podkovyrin merged 1 commit into
dashpay:developfrom
QuantumExplorer:fix/costRounding
Dec 5, 2018
Merged

cost rounding#21
podkovyrin merged 1 commit into
dashpay:developfrom
QuantumExplorer:fix/costRounding

Conversation

@QuantumExplorer

Copy link
Copy Markdown
Member

No description provided.

@podkovyrin
podkovyrin merged commit ab21065 into dashpay:develop Dec 5, 2018
podkovyrin added a commit that referenced this pull request Jul 17, 2020
llbartekll added a commit that referenced this pull request Apr 17, 2026
Drops DashSync's reachability dependency (row #21 in DASHSYNC_MIGRATION.md)
in favor of a small @objc NetworkReachability singleton over Apple's
NWPathMonitor. Preserves the existing notification name so observers and
the NetworkReachabilityHandling protocol extension keep working unchanged;
startMonitoring() blocks briefly on the first path update to match the
synchronous contract consumers were relying on.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
llbartekll added a commit that referenced this pull request Jul 2, 2026
SwiftDashSDKReceiveAddressReader ignored its DSChain argument (it resolves the
wallet via SwiftDashSDKHost.shared), so every call site fetched
DWEnvironment.currentChain / account.wallet.chain purely to feed a discarded
value. Drop the parameter: receiveAddress(on:) -> receiveAddress(),
@objc(receiveAddressOnChain:) -> plain @objc (auto selector `receiveAddress`).

- 10 Swift sites + the BIP70 provider drop the arg; 8 shed a now-dead
  `let chain` binding.
- 5 ObjC sites become a selector swap; DWURLRequestHandler sheds a dead
  `account` local. Sites that still need chain/account for DSPaymentRequest /
  Apple Watch balance keep them (those belong to #22 / #5-#6).
- The reader file is now completely DashSync-free (zero DS* symbols); kept as a
  permanent SDK-only helper (same shape as #2 / #21).

Flips migration item #1 (receive address) from Solo to Done. dashpay scheme
builds clean on iPhone 17 sim (arm64).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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