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
trait BtcSerializable[Message]
class Object
trait Matchable
class Any