object ServiceIdentifier extends Factory[ServiceIdentifier] with StringFactory[ServiceIdentifier]
- Alphabetic
- By Inheritance
- ServiceIdentifier
- StringFactory
- Factory
- 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
- val NODE_BLOOM: ServiceIdentifier
This is a full node capable and willing to handle bloom-filtered connections.
This is a full node capable and willing to handle bloom-filtered connections.
- See also
BIP111 for details
- val NODE_COMPACT_FILTERS: ServiceIdentifier
- val NODE_GET_UTXO: ServiceIdentifier
This is a full node capable of responding to the
getutxo
protocol request.This is a full node capable of responding to the
getutxo
protocol request. This is not supported by any currently-maintained Bitcoin node.- See also
BIP64 for details on how this is implemented.
- val NODE_NETWORK: ServiceIdentifier
This is a full node and can be asked for full blocks.
This is a full node and can be asked for full blocks. It should implement all protocol features available in its self-reported protocol version.
- val NODE_NETWORK_LIMITED: ServiceIdentifier
This means the same as
NODE_NETWORK
with the limitation of only serving the last 288 (2 days) blocksThis means the same as
NODE_NETWORK
with the limitation of only serving the last 288 (2 days) blocks- See also
BIP159 for details on how this is implemented.
- val NODE_NONE: ServiceIdentifier
This node is not a full node.
This node is not a full node. It may not be able to provide any data except for the transactions it originates.
- val NODE_P2P_V2: ServiceIdentifier
- val NODE_WITNESS: ServiceIdentifier
This is a full node that can be asked for blocks and transactions including witness data.
This is a full node that can be asked for blocks and transactions including witness data.
- See also
BIP144] for details.
- val NODE_XTHIN: ServiceIdentifier
This is a full node that supports Xtreme Thinblocks.
This is a full node that supports Xtreme Thinblocks. This is not supported by any currently-maintained Bitcoin node.
- def apply(uInt64: UInt64): ServiceIdentifier
- def apply(num: BigInt): ServiceIdentifier
- def apply(hex: String): ServiceIdentifier
Creates a T from a hex string.
Creates a T from a hex string.
- Definition Classes
- Factory
- def apply(bytes: ByteVector): ServiceIdentifier
Creates a T out of a sequence of bytes.
Creates a T out of a sequence of bytes.
- Definition Classes
- Factory
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def fromBytes(bytes: ByteVector): ServiceIdentifier
Creates a T out of a sequence of bytes.
Creates a T out of a sequence of bytes.
- Definition Classes
- ServiceIdentifier → Factory
- def fromBytesLE(bytes: ByteVector): ServiceIdentifier
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
- def fromBytesOpt(bytes: ByteVector): Option[ServiceIdentifier]
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
- def fromBytesT(bytes: ByteVector): Try[ServiceIdentifier]
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
- def fromHex(hex: String): ServiceIdentifier
Creates a T out of a hex string.
Creates a T out of a hex string.
- Definition Classes
- Factory
- def fromHexLE(hex: String): ServiceIdentifier
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
- def fromHexOpt(hex: String): Option[ServiceIdentifier]
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
- def fromHexT(hex: String): Try[ServiceIdentifier]
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
- def fromString(string: String): ServiceIdentifier
Tries to parse a string to type t, throws an exception if fails
Tries to parse a string to type t, throws an exception if fails
- Definition Classes
- ServiceIdentifier → StringFactory
- def fromStringOpt(string: String): Option[ServiceIdentifier]
Treis to parse a string to type t, returns None if failure
Treis to parse a string to type t, returns None if failure
- Definition Classes
- StringFactory
- def fromStringT(string: String): Try[ServiceIdentifier]
Tries to parse string to type t, returns scala.util.Failure if the fails
Tries to parse string to type t, returns scala.util.Failure if the fails
- Definition Classes
- StringFactory
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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()
- implicit def self: Factory[ServiceIdentifier]
Allows a
def foo[C: Factory]()
construction.Allows a
def foo[C: Factory]()
construction.- Definition Classes
- Factory
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- 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()