case object DummyECDigitalSignature extends ECDigitalSignature with Product with Serializable
The point of this case object is to help with fee estimation an average ECDigitalSignature is 72 bytes in size Technically this number can vary, 72 bytes is the most likely though according to https://en.bitcoin.it/wiki/Elliptic_Curve_Digital_Signature_Algorithm
- Alphabetic
- By Inheritance
- DummyECDigitalSignature
- Serializable
- Product
- Equals
- ECDigitalSignature
- NetworkElement
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def byteSize: Long
The size of the NetworkElement in bytes.
The size of the NetworkElement in bytes.
- Definition Classes
- NetworkElement
- val bytes: ByteVector
The byte representation of the NetworkElement
The byte representation of the NetworkElement
- Definition Classes
- DummyECDigitalSignature → ECDigitalSignature → NetworkElement
- def bytesLE: ByteVector
The byte representation of the NetworkElement in little endian
The byte representation of the NetworkElement in little endian
- Definition Classes
- NetworkElement
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- lazy val decodeSignature: (BigInt, BigInt)
Decodes the digital signature into it's r and s points throws an exception if the given sequence of bytes is not a DER encoded signature
Decodes the digital signature into it's r and s points throws an exception if the given sequence of bytes is not a DER encoded signature
- returns
the (r,s) values for the elliptic curve digital signature
- Definition Classes
- ECDigitalSignature
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(other: Any): Boolean
- Definition Classes
- ECDigitalSignature → AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hex: String
The hexadecimal representation of the NetworkElement
The hexadecimal representation of the NetworkElement
- Definition Classes
- NetworkElement
- def hexLE: String
The hexadecimal representation of the NetworkElement in little endian
The hexadecimal representation of the NetworkElement in little endian
- Definition Classes
- NetworkElement
- def isDEREncoded: Boolean
Checks if this signature is encoded to DER correctly https://crypto.stackexchange.com/questions/1795/how-can-i-convert-a-der-ecdsa-signature-to-asn-1
Checks if this signature is encoded to DER correctly https://crypto.stackexchange.com/questions/1795/how-can-i-convert-a-der-ecdsa-signature-to-asn-1
- returns
boolean representing if the signature is a valid
- Definition Classes
- ECDigitalSignature
- def isEmpty: Boolean
- Definition Classes
- ECDigitalSignature
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isStrictEncoded: Boolean
Checks if the signature is strictly der encoded as per BIP66 https://github.com/bitcoin/bips/blob/master/bip-0066.mediawiki
Checks if the signature is strictly der encoded as per BIP66 https://github.com/bitcoin/bips/blob/master/bip-0066.mediawiki
- Definition Classes
- ECDigitalSignature
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementName(n: Int): String
- Definition Classes
- Product
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def r: BigInt
Represents the r value found in a elliptic curve digital signature
Represents the r value found in a elliptic curve digital signature
- Definition Classes
- DummyECDigitalSignature → ECDigitalSignature
- def rBytes: ByteVector
If we need to do serialization with the r value, you should use this.
If we need to do serialization with the r value, you should use this. It will pad the byte vector so we have exactly 32 bytes
- Definition Classes
- ECDigitalSignature
- def s: BigInt
If we need to do serialization with the s value, you should use this.
If we need to do serialization with the s value, you should use this. It will pad the byte vector so we have exactly 32 bytes
- Definition Classes
- DummyECDigitalSignature → ECDigitalSignature
- def sBytes: ByteVector
- Definition Classes
- ECDigitalSignature
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toRawRS: ByteVector
Creates a ByteVector with only the 32byte r value and 32 byte s value in the vector
Creates a ByteVector with only the 32byte r value and 32 byte s value in the vector
- Definition Classes
- ECDigitalSignature
- def toString(): String
- Definition Classes
- ECDigitalSignature → AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()