Skip to content

Commit 2a540f5

Browse files
Merge port/v4.1/split-build-broadcast into followup/v4.1/v2-handle-age-guard
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2 parents b9200c0 + ebaca83 commit 2a540f5

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

packages/kotlin-sdk/sdk/src/main/kotlin/org/dashfoundation/dashsdk/wallet/ManagedCoreWallet.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ class ManagedCoreWallet internal constructor(handle: Long) : AutoCloseable {
8989
*/
9090
internal fun broadcastSignedPayment(token: Long): String =
9191
WalletManagerNative.coreWalletBroadcastSignedPayment(handle, token)
92+
93+
/**
9294
* The engine's next unused BIP-44 EXTERNAL (receive) address for
9395
* [accountIndex], base58-encoded — Android port of Swift's
9496
* `ManagedCoreWallet.nextReceiveAddress(accountIndex:)`

packages/kotlin-sdk/sdk/src/main/kotlin/org/dashfoundation/dashsdk/wallet/ManagedPlatformWallet.kt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,11 @@ class ManagedPlatformWallet internal constructor(
356356
accountIndex,
357357
coreSignerHandle,
358358
)
359+
}
360+
}
361+
}
362+
363+
/**
359364
* Sign [message] with the private key behind [address] and return the
360365
* signature as base64 — a **classic Dash signed message**, byte-for-byte
361366
* compatible with dashj's `ECKey.signMessage` and Dash Core's `signmessage`
@@ -527,6 +532,9 @@ class ManagedPlatformWallet internal constructor(
527532
} finally {
528533
java.lang.ref.Reference.reachabilityFence(payment)
529534
}
535+
}
536+
537+
/**
530538
* Whether every UTF-16 surrogate in this string is part of a well-formed
531539
* high/low pair — i.e. whether the string has an exact UTF-8 encoding.
532540
*

0 commit comments

Comments
 (0)