Version

case class Version(version: Long, services: Long, timestamp: Long, addr_recv: NetworkAddress, addr_from: NetworkAddress, nonce: Long, user_agent: String, start_height: Long, relay: Boolean) extends BtcSerializable[Version]
Value parameters:
addr_from

The network address of the node emitting this message

addr_recv

The network address of the node receiving this message

nonce

Node random nonce, randomly generated every time a version packet is sent. This nonce is used to detect connections to self.

relay

Whether the remote peer should announce relayed transactions or not, see BIP 0037, since version >= 70001

services

bitfield of features to be enabled for this connection

start_height

The last block received by the emitting node

timestamp

standard UNIX timestamp in seconds

user_agent

User Agent

version

Identifies protocol version being used by the node

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