Message

case class Message(magic: Long, command: String, payload: ByteVector) extends BtcSerializable[Message]

Bitcoin message exchanged by nodes over the network

Value parameters:
command

ASCII string identifying the packet content, NULL padded (non-NULL padding results in packet rejected)

magic

Magic value indicating message origin network, and used to seek to next message when stream state is unknown

payload

The actual data

Companion:
object
Source:
Protocol.scala
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

Definition Classes
Source:
Protocol.scala

Inherited methods

Inherited from:
Product