Show / Hide Table of Contents

Namespace Libplanet.Blockchain

Classes

BlockChain<T>

A class have Block<T>s, Transaction<T>s, and the chain information.

In order to watch its state changes, implement IRenderer<T> interface and pass it to the BlockChain(IBlockPolicy<T>, IStore, IStateStore, Block<T>, IEnumerable<IRenderer<T>>) constructor.

FungibleAssetStateCompleters<T>

Predefined built-in state completers that satisfy FungibleAssetStateCompleter<T> delegate.

IncompleteBlockStatesException

The exception that is thrown when a BlockChain<T> have not calculated the complete states for all blocks, but an operation that needs some lacked states is requested.

MineBlockEventArgs<T>

StateCompleters<T>

Predefined built-in state completers that satisfy StateCompleter<T> delegate.

Structs

StateCompleterSet<T>

Groups two kinds of state completers.

Delegates

FungibleAssetStateCompleter<T>

A delegate to be called when GetBalance(Address, Currency, Nullable<HashDigest<SHA256>>, FungibleAssetStateCompleter<T>) method encounters a block having incomplete dirty states. GetBalance(Address, Currency, Nullable<HashDigest<SHA256>>, FungibleAssetStateCompleter<T>) method returns this delegate's return value instead for such case.

StateCompleter<T>

A delegate to be called when GetState(Address, Nullable<HashDigest<SHA256>>, StateCompleter<T>) method encounters a block having incomplete dirty states. GetState(Address, Nullable<HashDigest<SHA256>>, StateCompleter<T>) method returns this delegate's return value instead for such case.

Back to top Copyright © 2019–2020 Planetarium