C# Class BitSharp.Core.BlockProvider

Inheritance: IDisposable
Exibir arquivo Open project: pmlyon/BitSharp Class Usage Examples

Public Methods

Method Description
BlockProvider ( string resourceName ) : BitSharp.Common
Dispose ( ) : void
GetBlock ( UInt256 hash ) : BitSharp.Core.Domain.Block
GetBlock ( int height ) : BitSharp.Core.Domain.Block
ReadBlocks ( ) : IEnumerable

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
GetEntry ( string name ) : BitSharp.Core.Domain.Block

Method Details

BlockProvider() public method

public BlockProvider ( string resourceName ) : BitSharp.Common
resourceName string
return BitSharp.Common

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

GetBlock() public method

public GetBlock ( UInt256 hash ) : BitSharp.Core.Domain.Block
hash UInt256
return BitSharp.Core.Domain.Block

GetBlock() public method

public GetBlock ( int height ) : BitSharp.Core.Domain.Block
height int
return BitSharp.Core.Domain.Block

ReadBlocks() public method

public ReadBlocks ( ) : IEnumerable
return IEnumerable