Class BlockDemandTable<T>
Inheritance
BlockDemandTable<T>
Assembly: Libplanet.dll
Syntax
public class BlockDemandTable<T>
where T : IAction, new()
Type Parameters
Constructors
|
Improve this Doc
View Source
BlockDemandTable(TimeSpan)
Declaration
public BlockDemandTable(TimeSpan blockDemandLifespan)
Parameters
Type |
Name |
Description |
TimeSpan |
blockDemandLifespan |
|
Properties
|
Improve this Doc
View Source
Demands
Declaration
public IDictionary<BoundPeer, BlockDemand> Demands { get; }
Property Value
Methods
|
Improve this Doc
View Source
Add(BlockChain<T>, Func<IBlockExcerpt, Boolean>, BlockDemand)
Declaration
public void Add(BlockChain<T> blockChain, Func<IBlockExcerpt, bool> predicate, BlockDemand demand)
Parameters
|
Improve this Doc
View Source
Any()
Declaration
Returns
|
Improve this Doc
View Source
Cleanup(BlockChain<T>, Func<IBlockExcerpt, Boolean>)
Declaration
public void Cleanup(BlockChain<T> blockChain, Func<IBlockExcerpt, bool> predicate)
Parameters