p

signrpc

package signrpc

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. final class DefaultSignerClient extends SignerClient
  2. final case class InputScript(witness: Seq[ByteString] = _root_.scala.Seq.empty, sigScript: ByteString = ..., unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[InputScript] with Product with Serializable

    witness

    The serializes witness stack for the specified input.

    sigScript

    The optional sig script for the specified witness that will only be set if the input specified is a nested p2sh witness program.

    Annotations
    @SerialVersionUID()
  3. final case class InputScriptResp(inputScripts: Seq[InputScript] = _root_.scala.Seq.empty, unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[InputScriptResp] with Product with Serializable

    inputScripts

    The set of fully valid input scripts requested.

    Annotations
    @SerialVersionUID()
  4. final case class KeyDescriptor(rawKeyBytes: ByteString = ..., keyLoc: Option[KeyLocator] = _root_.scala.None, unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[KeyDescriptor] with Product with Serializable

    rawKeyBytes

    The raw bytes of the key being identified. Either this or the KeyLocator must be specified.

    keyLoc

    The key locator that identifies which key to use for signing. Either this or the raw bytes of the target key must be specified.

    Annotations
    @SerialVersionUID()
  5. final case class KeyLocator(keyFamily: Int = 0, keyIndex: Int = 0, unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[KeyLocator] with Product with Serializable

    keyFamily

    The family of key being identified.

    keyIndex

    The precise index of the key being identified.

    Annotations
    @SerialVersionUID()
  6. final case class SharedKeyRequest(ephemeralPubkey: ByteString = ..., keyLoc: Option[KeyLocator] = _root_.scala.None, keyDesc: Option[KeyDescriptor] = _root_.scala.None, unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[SharedKeyRequest] with Product with Serializable

    ephemeralPubkey

    The ephemeral public key to use for the DH key derivation.

    keyLoc

    Deprecated. The optional key locator of the local key that should be used. If this parameter is not set then the node's identity private key will be used.

    keyDesc

    A key descriptor describes the key used for performing ECDH. Either a key locator or a raw public key is expected, if neither is supplied, defaults to the node's identity private key.

    Annotations
    @SerialVersionUID()
  7. final case class SharedKeyResponse(sharedKey: ByteString = ..., unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[SharedKeyResponse] with Product with Serializable

    sharedKey

    The shared public key, hashed with sha256.

    Annotations
    @SerialVersionUID()
  8. final case class SignDescriptor(keyDesc: Option[KeyDescriptor] = _root_.scala.None, singleTweak: ByteString = ..., doubleTweak: ByteString = ..., witnessScript: ByteString = ..., output: Option[TxOut] = _root_.scala.None, sighash: Int = 0, inputIndex: Int = 0, unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[SignDescriptor] with Product with Serializable

    keyDesc

    A descriptor that precisely describes *which* key to use for signing. This may provide the raw public key directly, or require the Signer to re-derive the key according to the populated derivation path. Note that if the key descriptor was obtained through walletrpc.DeriveKey, then the key locator MUST always be provided, since the derived keys are not persisted unlike with DeriveNextKey.

    singleTweak

    A scalar value that will be added to the private key corresponding to the above public key to obtain the private key to be used to sign this input. This value is typically derived via the following computation: derivedKey = privkey + sha256(perCommitmentPoint || pubKey) mod N

    doubleTweak

    A private key that will be used in combination with its corresponding private key to derive the private key that is to be used to sign the target input. Within the Lightning protocol, this value is typically the commitment secret from a previously revoked commitment transaction. This value is in combination with two hash values, and the original private key to derive the private key to be used when signing. k = (privKey*sha256(pubKey || tweakPub) + tweakPriv*sha256(tweakPub || pubKey)) mod N

    witnessScript

    The full script required to properly redeem the output. This field will only be populated if a p2wsh or a p2sh output is being signed.

    output

    A description of the output being spent. The value and script MUST be provided.

    sighash

    The target sighash type that should be used when generating the final sighash, and signature.

    inputIndex

    The target input within the transaction that should be signed.

    Annotations
    @SerialVersionUID()
  9. final case class SignMessageReq(msg: ByteString = ..., keyLoc: Option[KeyLocator] = _root_.scala.None, unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[SignMessageReq] with Product with Serializable

    msg

    The message to be signed.

    keyLoc

    The key locator that identifies which key to use for signing.

    Annotations
    @SerialVersionUID()
  10. final case class SignMessageResp(signature: ByteString = ..., unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[SignMessageResp] with Product with Serializable

    signature

    The signature for the given message in the fixed-size LN wire format.

    Annotations
    @SerialVersionUID()
  11. final case class SignReq(rawTxBytes: ByteString = ..., signDescs: Seq[SignDescriptor] = _root_.scala.Seq.empty, unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[SignReq] with Product with Serializable

    rawTxBytes

    The raw bytes of the transaction to be signed.

    signDescs

    A set of sign descriptors, for each input to be signed.

    Annotations
    @SerialVersionUID()
  12. final case class SignResp(rawSigs: Seq[ByteString] = _root_.scala.Seq.empty, unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[SignResp] with Product with Serializable

    rawSigs

    A set of signatures realized in a fixed 64-byte format ordered in ascending input order.

    Annotations
    @SerialVersionUID()
  13. trait Signer extends AnyRef

    Signer is a service that gives access to the signing functionality of the daemon's wallet.

  14. trait SignerClient extends Signer with SignerClientPowerApi with AkkaGrpcClient
  15. trait SignerClientPowerApi extends AnyRef
  16. final case class TxOut(value: Long = 0L, pkScript: ByteString = ..., unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[TxOut] with Product with Serializable

    value

    The value of the output being spent.

    pkScript

    The script of the output being spent.

    Annotations
    @SerialVersionUID()
  17. final case class VerifyMessageReq(msg: ByteString = ..., signature: ByteString = ..., pubkey: ByteString = ..., unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[VerifyMessageReq] with Product with Serializable

    msg

    The message over which the signature is to be verified.

    signature

    The fixed-size LN wire encoded signature to be verified over the given message.

    pubkey

    The public key the signature has to be valid for.

    Annotations
    @SerialVersionUID()
  18. final case class VerifyMessageResp(valid: Boolean = false, unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[VerifyMessageResp] with Product with Serializable

    valid

    Whether the signature was valid over the given message.

    Annotations
    @SerialVersionUID()

Ungrouped