C# Class BitSharper.VersionMessage

Inheritance: Message
Show file Open project: TangibleCryptography/BitSharper Class Usage Examples

Public Methods

Method Description
BitcoinSerializeToStream ( Stream buf ) : void
HasBlockChain ( ) : bool

Returns true if the version message indicates the sender has a full copy of the block chain, or if it's running in client mode (only has the headers).

VersionMessage ( NetworkParameters @params, byte msg ) : System
VersionMessage ( NetworkParameters @params, uint newBestHeight ) : System

Protected Methods

Method Description
Parse ( ) : void

Method Details

BitcoinSerializeToStream() public method

public BitcoinSerializeToStream ( Stream buf ) : void
buf Stream
return void

HasBlockChain() public method

Returns true if the version message indicates the sender has a full copy of the block chain, or if it's running in client mode (only has the headers).
public HasBlockChain ( ) : bool
return bool

Parse() protected method

protected Parse ( ) : void
return void

VersionMessage() public method

public VersionMessage ( NetworkParameters @params, byte msg ) : System
@params NetworkParameters
msg byte
return System

VersionMessage() public method

public VersionMessage ( NetworkParameters @params, uint newBestHeight ) : System
@params NetworkParameters
newBestHeight uint
return System