object AddrV2Message extends Factory[AddrV2Message]

The companion object for an AddrV2Message

See also

https://developer.bitcoin.org/reference/p2p_networking.html#addrv2

https://github.com/bitcoin/bips/blob/master/bip-0155.mediawiki

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AddrV2Message
  2. Factory
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final val CJDNS_ADDR_LENGTH: Int
  5. final val CJDNS_NETWORK_BYTE: Byte
  6. final val I2P_ADDR_LENGTH: Int
  7. final val I2P_NETWORK_BYTE: Byte
  8. final val IPV4_ADDR_LENGTH: Int
  9. final val IPV4_NETWORK_BYTE: Byte
  10. final val IPV6_ADDR_LENGTH: Int
  11. final val IPV6_NETWORK_BYTE: Byte
  12. final val TOR_V2_ADDR_LENGTH: Int
  13. final val TOR_V2_NETWORK_BYTE: Byte
  14. final val TOR_V3_ADDR_LENGTH: Int
  15. final val TOR_V3_NETWORK_BYTE: Byte
  16. def apply(hex: String): AddrV2Message

    Creates a T from a hex string.

    Creates a T from a hex string.

    Definition Classes
    Factory
  17. def apply(bytes: ByteVector): AddrV2Message

    Creates a T out of a sequence of bytes.

    Creates a T out of a sequence of bytes.

    Definition Classes
    Factory
  18. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  19. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  20. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  22. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  23. def fromBytes(bytes: ByteVector): AddrV2Message

    Creates a T out of a sequence of bytes.

    Creates a T out of a sequence of bytes.

    Definition Classes
    AddrV2MessageFactory
  24. def fromBytesLE(bytes: ByteVector): AddrV2Message

    Creates a T out of a sequence of bytes in little endian.

    Creates a T out of a sequence of bytes in little endian.

    Definition Classes
    Factory
  25. def fromBytesOpt(bytes: ByteVector): Option[AddrV2Message]

    Deserializes the given ByteVector to a T If the ByteVector is not correct, None is returned

    Deserializes the given ByteVector to a T If the ByteVector is not correct, None is returned

    Definition Classes
    Factory
  26. def fromBytesT(bytes: ByteVector): Try[AddrV2Message]

    Deserializes the given ByteVector string if the ByteVector is not correct, we give you a Failure

    Deserializes the given ByteVector string if the ByteVector is not correct, we give you a Failure

    Definition Classes
    Factory
  27. def fromHex(hex: String): AddrV2Message

    Creates a T out of a hex string.

    Creates a T out of a hex string.

    Definition Classes
    Factory
  28. def fromHexLE(hex: String): AddrV2Message

    Creates a T out of a hex string in little endian.

    Creates a T out of a hex string in little endian.

    Definition Classes
    Factory
  29. def fromHexOpt(hex: String): Option[AddrV2Message]

    Deserializes the given hex string to a T If the hex is not correct, None is returned

    Deserializes the given hex string to a T If the hex is not correct, None is returned

    Definition Classes
    Factory
  30. def fromHexT(hex: String): Try[AddrV2Message]

    Deserializes the given hex string if the hex is not correct, we give you a Failure

    Deserializes the given hex string if the hex is not correct, we give you a Failure

    Definition Classes
    Factory
  31. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  32. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  33. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  34. val knownNetworkBytes: Vector[Byte]
  35. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  36. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  37. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  38. implicit def self: Factory[AddrV2Message]

    Allows a def foo[C: Factory]() construction.

    Allows a def foo[C: Factory]() construction.

    Definition Classes
    Factory
  39. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  40. def toString(): String
    Definition Classes
    AnyRef → Any
  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Factory[AddrV2Message]

Inherited from AnyRef

Inherited from Any

Ungrouped