C# Class BCNet.Bitcoin

Exibir arquivo Open project: GarageGames/Bitcoin Class Usage Examples

Public Methods

Method Description
AddNode ( string address, ushort port ) : void
BadConnection ( NodeConnection n ) : void
Bitcoin ( string name, string path ) : System
Destroy ( ) : void
HandleBlockPacket ( NodeConnection from, byte payload ) : void
HandleHeadersPacket ( NodeConnection from, byte payload ) : void
HandleInvPacket ( NodeConnection from, byte payload ) : void
NodeDiscovered ( string node ) : void
VersionRecieved ( NodeConnection from ) : void

Private Methods

Method Description
ArchiveBlocks ( ) : void
BCUpdateThread ( ) : void
FindBlock ( byte hash ) : Block
FlushBlocks ( ) : void
LoadBlocks ( ) : void
LoadInfo ( ) : void
Log ( string logLine ) : void
MergePendingHeaders ( ) : void
RequestBlocks ( ) : void
SaveInfo ( ) : void
WriteArchive ( List archive ) : void

Method Details

AddNode() public method

public AddNode ( string address, ushort port ) : void
address string
port ushort
return void

BadConnection() public method

public BadConnection ( NodeConnection n ) : void
n NodeConnection
return void

Bitcoin() public method

public Bitcoin ( string name, string path ) : System
name string
path string
return System

Destroy() public method

public Destroy ( ) : void
return void

HandleBlockPacket() public method

public HandleBlockPacket ( NodeConnection from, byte payload ) : void
from NodeConnection
payload byte
return void

HandleHeadersPacket() public method

public HandleHeadersPacket ( NodeConnection from, byte payload ) : void
from NodeConnection
payload byte
return void

HandleInvPacket() public method

public HandleInvPacket ( NodeConnection from, byte payload ) : void
from NodeConnection
payload byte
return void

NodeDiscovered() public method

public NodeDiscovered ( string node ) : void
node string
return void

VersionRecieved() public method

public VersionRecieved ( NodeConnection from ) : void
from NodeConnection
return void