C# Class BitSharp.Network.Domain.VersionPayload

Show file Open project: pmlyon/BitSharp

Public Properties

Property Type Description
LocalAddress NetworkAddress
Nonce System.UInt64
ProtocolVersion System.UInt32
RELAY_VERSION System.UInt32
Relay bool
RemoteAddress NetworkAddress
ServicesBitfield System.UInt64
StartBlockHeight System.UInt32
Time DateTimeOffset
UserAgent string

Public Methods

Method Description
VersionPayload ( UInt32 ProtocolVersion, System.UInt64 ServicesBitfield, DateTimeOffset Time, NetworkAddress RemoteAddress, NetworkAddress LocalAddress, System.UInt64 Nonce, string UserAgent, UInt32 StartBlockHeight, bool Relay ) : System
With ( UInt32 ProtocolVersion = null, System.UInt64 ServicesBitfield = null, DateTimeOffset Time = null, NetworkAddress RemoteAddress = null, NetworkAddress LocalAddress = null, System.UInt64 Nonce = null, string UserAgent = null, UInt32 StartBlockHeight = null, bool Relay = null ) : VersionPayload

Method Details

VersionPayload() public method

public VersionPayload ( UInt32 ProtocolVersion, System.UInt64 ServicesBitfield, DateTimeOffset Time, NetworkAddress RemoteAddress, NetworkAddress LocalAddress, System.UInt64 Nonce, string UserAgent, UInt32 StartBlockHeight, bool Relay ) : System
ProtocolVersion System.UInt32
ServicesBitfield System.UInt64
Time DateTimeOffset
RemoteAddress NetworkAddress
LocalAddress NetworkAddress
Nonce System.UInt64
UserAgent string
StartBlockHeight System.UInt32
Relay bool
return System

With() public method

public With ( UInt32 ProtocolVersion = null, System.UInt64 ServicesBitfield = null, DateTimeOffset Time = null, NetworkAddress RemoteAddress = null, NetworkAddress LocalAddress = null, System.UInt64 Nonce = null, string UserAgent = null, UInt32 StartBlockHeight = null, bool Relay = null ) : VersionPayload
ProtocolVersion System.UInt32
ServicesBitfield System.UInt64
Time DateTimeOffset
RemoteAddress NetworkAddress
LocalAddress NetworkAddress
Nonce System.UInt64
UserAgent string
StartBlockHeight System.UInt32
Relay bool
return VersionPayload

Property Details

LocalAddress public property

public NetworkAddress,BitSharp.Network.Domain LocalAddress
return NetworkAddress

Nonce public property

public UInt64,System Nonce
return System.UInt64

ProtocolVersion public property

public UInt32,System ProtocolVersion
return System.UInt32

RELAY_VERSION public static property

public static UInt32,System RELAY_VERSION
return System.UInt32

Relay public property

public bool Relay
return bool

RemoteAddress public property

public NetworkAddress,BitSharp.Network.Domain RemoteAddress
return NetworkAddress

ServicesBitfield public property

public UInt64,System ServicesBitfield
return System.UInt64

StartBlockHeight public property

public UInt32,System StartBlockHeight
return System.UInt32

Time public property

public DateTimeOffset Time
return DateTimeOffset

UserAgent public property

public string UserAgent
return string