BlockIndexBase

Description

abstract class Tinman.Core.Database.BlockIndexBase

Derived from

Disposable abstract
ICanReadWrite
IPathInfo

Extended by

BlockIndex

Abstract base class for a database block index.

Public / Methods

Clear


[BeginWriteEnd]
public virtual method Clear → ()

Clears all data from this block index.

IOException

If an I/O error has occurred.

Public / Attributes

Is​Empty


[BeginEnd]
public attribute IsEmpty → (get)

value : bool

true if the index is empty, false if there is at least one entry.

Checks if this block index is empty (i.e. has no entries at all).

Protected / Attributes

pool


[Owner]
protected attribute pool → (ObjectPool<MemoryDataStream>)

The pool for data streams (block node I/O).