Interface IBlockContent<T>
A common interface for blocks that do not have any proofs, but have their metadata and containing Transactions.
Inherited Members
Namespace: Libplanet.Blocks
Assembly: Libplanet.dll
Syntax
public interface IBlockContent<T> : IBlockMetadata where T : IAction, new()
Type Parameters
Name | Description |
---|---|
T | A class implementing IAction to include. This type parameter is aligned with Transaction<T>'s type parameter. |
Properties
| Improve this Doc View SourceTransactions
Transactions belonging to the block.
Declaration
IReadOnlyList<Transaction<T>> Transactions { get; }
Property Value
Type | Description |
---|---|
IReadOnlyList<Transaction<T>> |
Remarks
This is always ordered by Id.