C# Class BitCoinClient.NodeConnection

Mostrar archivo Open project: GarageGames/Bitcoin Class Usage Examples

Public Methods

Method Description
NodeConnection ( Bitcoin owner, string nodeAddress, ushort port = 8333 ) : System
RequestData ( List transactions, List blocks ) : void

Private Methods

Method Description
CompareChecksum ( uint checksum, byte hash ) : bool
Connect ( string nodeAddress, ushort port = 8333 ) : void
DisptachPacket ( byte packet ) : void
PH_Addr ( byte payload ) : void
PH_Alert ( byte payload ) : void
PH_Block ( byte payload ) : void
PH_CheckOrder ( byte payload ) : void
PH_GetAddr ( byte payload ) : void
PH_GetBlocks ( byte payload ) : void
PH_GetData ( byte payload ) : void
PH_GetHeaders ( byte payload ) : void
PH_Headers ( byte payload ) : void
PH_Inv ( byte payload ) : void
PH_Mempool ( byte payload ) : void
PH_NotFound ( byte payload ) : void
PH_Ping ( byte payload ) : void
PH_Pong ( byte payload ) : void
PH_Reply ( byte payload ) : void
PH_Subimtorder ( byte payload ) : void
PH_Tx ( byte payload ) : void
PH_Verack ( byte payload ) : void
PH_Version ( byte payload ) : void
ReadSocket ( ) : void
SendPacket ( string packetID, byte payload ) : void
SendVersionPacket ( ) : void

Method Details

NodeConnection() public method

public NodeConnection ( Bitcoin owner, string nodeAddress, ushort port = 8333 ) : System
owner Bitcoin
nodeAddress string
port ushort
return System

RequestData() public method

public RequestData ( List transactions, List blocks ) : void
transactions List
blocks List
return void