Object/Class

fr.acinq.eclair.payment

PaymentRequest

Related Docs: class PaymentRequest | package payment

Permalink

object PaymentRequest extends Serializable

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PaymentRequest
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class Bolt11Data(timestamp: Long, taggedFields: List[TaggedField], signature: ByteVector) extends Product with Serializable

    Permalink
  2. case class Description(description: String) extends TaggedField with Product with Serializable

    Permalink

    Description

    Description

    description

    a free-format string that will be included in the payment request

  3. case class DescriptionHash(hash: ByteVector32) extends TaggedField with Product with Serializable

    Permalink

    Hash

    Hash

    hash

    hash that will be included in the payment request, and can be checked against the hash of a long description, an invoice, ...

  4. case class Expiry(bin: BitVector) extends TaggedField with Product with Serializable

    Permalink

    Expiry Date

  5. case class ExtraHop(nodeId: PublicKey, shortChannelId: ShortChannelId, feeBase: MilliSatoshi, feeProportionalMillionths: Long, cltvExpiryDelta: CltvExpiryDelta) extends Product with Serializable

    Permalink

    Extra hop contained in RoutingInfoTag

    Extra hop contained in RoutingInfoTag

    nodeId

    start of the channel

    shortChannelId

    channel id

    feeBase

    node fixed fee

    feeProportionalMillionths

    node proportional fee

    cltvExpiryDelta

    node cltv expiry delta

  6. case class FallbackAddress(version: Byte, data: ByteVector) extends TaggedField with Product with Serializable

    Permalink

    Fallback Payment that specifies a fallback payment address to be used if LN payment cannot be processed

  7. case class Features(bitmask: BitVector) extends TaggedField with Product with Serializable

    Permalink

    Features supported or required for receiving this payment.

  8. case class MinFinalCltvExpiry(bin: BitVector) extends TaggedField with Product with Serializable

    Permalink

    Min final CLTV expiry

  9. case class PaymentHash(hash: ByteVector32) extends TaggedField with Product with Serializable

    Permalink

    Payment Hash

    Payment Hash

    hash

    payment hash

  10. case class PaymentSecret(secret: ByteVector32) extends TaggedField with Product with Serializable

    Permalink

    Payment secret.

    Payment secret. This is currently random bytes used to protect against probing from the next-to-last node.

    secret

    payment secret

  11. case class RoutingInfo(path: List[ExtraHop]) extends TaggedField with Product with Serializable

    Permalink

    Routing Info

    Routing Info

    path

    one or more entries containing extra routing information for a private route

  12. sealed trait TaggedField extends AnyRef

    Permalink
  13. case class UnknownTag0(data: BitVector) extends UnknownTaggedField with Product with Serializable

    Permalink
  14. case class UnknownTag1(data: BitVector) extends UnknownTaggedField with Product with Serializable

    Permalink
  15. case class UnknownTag10(data: BitVector) extends UnknownTaggedField with Product with Serializable

    Permalink
  16. case class UnknownTag11(data: BitVector) extends UnknownTaggedField with Product with Serializable

    Permalink
  17. case class UnknownTag12(data: BitVector) extends UnknownTaggedField with Product with Serializable

    Permalink
  18. case class UnknownTag14(data: BitVector) extends UnknownTaggedField with Product with Serializable

    Permalink
  19. case class UnknownTag15(data: BitVector) extends UnknownTaggedField with Product with Serializable

    Permalink
  20. case class UnknownTag17(data: BitVector) extends UnknownTaggedField with Product with Serializable

    Permalink
  21. case class UnknownTag18(data: BitVector) extends UnknownTaggedField with Product with Serializable

    Permalink
  22. case class UnknownTag19(data: BitVector) extends UnknownTaggedField with Product with Serializable

    Permalink
  23. case class UnknownTag2(data: BitVector) extends UnknownTaggedField with Product with Serializable

    Permalink
  24. case class UnknownTag20(data: BitVector) extends UnknownTaggedField with Product with Serializable

    Permalink
  25. case class UnknownTag21(data: BitVector) extends UnknownTaggedField with Product with Serializable

    Permalink
  26. case class UnknownTag22(data: BitVector) extends UnknownTaggedField with Product with Serializable

    Permalink
  27. case class UnknownTag25(data: BitVector) extends UnknownTaggedField with Product with Serializable

    Permalink
  28. case class UnknownTag26(data: BitVector) extends UnknownTaggedField with Product with Serializable

    Permalink
  29. case class UnknownTag27(data: BitVector) extends UnknownTaggedField with Product with Serializable

    Permalink
  30. case class UnknownTag28(data: BitVector) extends UnknownTaggedField with Product with Serializable

    Permalink
  31. case class UnknownTag29(data: BitVector) extends UnknownTaggedField with Product with Serializable

    Permalink
  32. case class UnknownTag30(data: BitVector) extends UnknownTaggedField with Product with Serializable

    Permalink
  33. case class UnknownTag31(data: BitVector) extends UnknownTaggedField with Product with Serializable

    Permalink
  34. case class UnknownTag4(data: BitVector) extends UnknownTaggedField with Product with Serializable

    Permalink
  35. case class UnknownTag7(data: BitVector) extends UnknownTaggedField with Product with Serializable

    Permalink
  36. case class UnknownTag8(data: BitVector) extends UnknownTaggedField with Product with Serializable

    Permalink
  37. sealed trait UnknownTaggedField extends TaggedField

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object Amount

    Permalink
  5. object Codecs

    Permalink
  6. val DEFAULT_EXPIRY_SECONDS: Int

    Permalink
  7. object Expiry extends Serializable

    Permalink
  8. object FallbackAddress extends Serializable

    Permalink
  9. object Features extends Serializable

    Permalink
  10. object MinFinalCltvExpiry extends Serializable

    Permalink
  11. def apply(chainHash: ByteVector32, amount: Option[MilliSatoshi], paymentHash: ByteVector32, privateKey: PrivateKey, description: String, fallbackAddress: Option[String] = None, expirySeconds: Option[Long] = None, extraHops: List[List[ExtraHop]] = Nil, timestamp: Long = System.currentTimeMillis() / 1000L, features: Option[Features] = ...): PaymentRequest

    Permalink
  12. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  13. val charToint5: Map[Char, BitVector]

    Permalink
  14. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  15. val eight2fiveCodec: Codec[List[Byte]]

    Permalink
  16. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  18. def fastHasExpired(input: String): Boolean

    Permalink

    Checks if a serialized payment request is expired.

    Checks if a serialized payment request is expired. Timestamp is compared to the System's current time.

    input

    valid serialized payment request

    returns

    true if the payment request has expired, false otherwise.

  19. def fastReadDescription(input: String): String

    Permalink

    Extracts the description from a serialized payment request that is **expected to be valid**.

    Extracts the description from a serialized payment request that is **expected to be valid**. Throws an error if the payment request is not valid.

    input

    valid serialized payment request

    returns

    description as a String. If the description is a hash, returns the hash value as a String.

  20. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  21. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. def long2bits(l: Long): BitVector

    Permalink

    This returns a bitvector with the minimum size necessary to encode the long, left padded to have a length (in bits) multiples of 5

  24. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  26. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  27. val prefixes: Map[ByteVector32, String]

    Permalink
  28. def read(input: String): PaymentRequest

    Permalink

    input

    bech32-encoded payment request

    returns

    a payment request

  29. def string2Bits(data: String): BitVector

    Permalink
  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  31. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  32. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. def write(pr: PaymentRequest): String

    Permalink

    pr

    payment request

    returns

    a bech32-encoded payment request

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped