C# 클래스 BitSharper.Store.MemoryBlockStore

Keeps StoredBlocks in memory. Used primarily for unit testing.
상속: IBlockStore
파일 보기 프로젝트 열기: TangibleCryptography/BitSharper 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void
Get ( Sha256Hash hash ) : StoredBlock
GetChainHead ( ) : StoredBlock
MemoryBlockStore ( NetworkParameters @params ) : System.Collections.Generic
Put ( StoredBlock block ) : void
SetChainHead ( StoredBlock chainHead ) : void

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Get() 공개 메소드

public Get ( Sha256Hash hash ) : StoredBlock
hash Sha256Hash
리턴 StoredBlock

GetChainHead() 공개 메소드

public GetChainHead ( ) : StoredBlock
리턴 StoredBlock

MemoryBlockStore() 공개 메소드

public MemoryBlockStore ( NetworkParameters @params ) : System.Collections.Generic
@params NetworkParameters
리턴 System.Collections.Generic

Put() 공개 메소드

public Put ( StoredBlock block ) : void
block StoredBlock
리턴 void

SetChainHead() 공개 메소드

public SetChainHead ( StoredBlock chainHead ) : void
chainHead StoredBlock
리턴 void