Fix typos in Kotlin API docs

This commit is contained in:
thunderbiscuit 2023-01-10 14:41:38 -05:00
parent d77f5b84c3
commit 5f7d8a9077
No known key found for this signature in database
GPG Key ID: 88253696EB836462

View File

@ -153,7 +153,7 @@ data class EsploraConfig(
)
/**
* Authentication mechanism for RPC connection to full node
* Authentication mechanism for RPC connection to full node.
*/
sealed class Auth {
/** No authentication */
@ -538,22 +538,22 @@ class DerivationPath(path: String) {}
* @sample org.bitcoindevkit.descriptorSecretKeyExtendSample
*/
class DescriptorSecretKey(network: Network, mnemonic: Mnemonic, password: String?) {
/* Build a DescriptorSecretKey from a String */
/** Build a DescriptorSecretKey from a String */
fun fromString(secretKey: String): DescriptorSecretKey {}
/* Derive a private descriptor at a given path. */
/** Derive a private descriptor at a given path. */
fun derive(path: DerivationPath): DescriptorSecretKey {}
/** Extend the private descriptor with a custom path. */
fun extend(path: DerivationPath): DescriptorSecretKey {}
/* Return the public version of the descriptor. */
/** Return the public version of the descriptor. */
fun asPublic(): DescriptorPublicKey {}
/* Return the raw private key as bytes. */
/** Return the raw private key as bytes. */
fun secretBytes(): List<UByte>
/* Return the private descriptor as a string. */
/** Return the private descriptor as a string. */
fun asString(): String {}
}
@ -582,7 +582,7 @@ class DescriptorPublicKey(network: Network, mnemonic: String, password: String?)
* A output descriptor.
*
* @param descriptor The descriptor in string format.
* @param network The network this DescriptorPublicKey is to be used on.
* @param network The network this descriptor is to be used on.
*
* @sample org.bitcoindevkit.descriptorTemplates1
* @sample org.bitcoindevkit.descriptorTemplates2
@ -679,7 +679,7 @@ class Script(rawOutputScript: List<UByte>)
* @param address The address in string format.
*/
class Address(address: String) {
/* Return the ScriptPubKey. */
/** Return the ScriptPubKey. */
fun scriptPubkey(): Script
}