Class BlockDemandTable
Inheritance
BlockDemandTable
Assembly: Libplanet.Net.dll
Syntax
public class BlockDemandTable
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, Func<IBlockExcerpt, Boolean>, BlockDemand)
Declaration
public void Add(BlockChain blockChain, Func<IBlockExcerpt, bool> predicate, BlockDemand demand)
Parameters
|
Improve this Doc
View Source
Any()
Declaration
Returns
|
Improve this Doc
View Source
Cleanup(BlockChain, Func<IBlockExcerpt, Boolean>)
Declaration
public void Cleanup(BlockChain blockChain, Func<IBlockExcerpt, bool> predicate)
Parameters
|
Improve this Doc
View Source
Remove(BoundPeer)
Declaration
public void Remove(BoundPeer peer)
Parameters