Class WantedBlock
A content addressable block that is wanted by a peer.
Inherited Members
Namespace: Ipfs.Engine.BlockExchange
Assembly: Ipfs.Engine.dll
Syntax
public class WantedBlock
Fields
| Improve this Doc View SourceConsumers
The consumers that are waiting for the block.
Declaration
public List<TaskCompletionSource<IDataBlock>> Consumers
Field Value
Type | Description |
---|---|
List<TaskCompletionSource<IDataBlock>> |
Id
The content ID of the block;
Declaration
public Cid Id
Field Value
Type | Description |
---|---|
Cid |
Peers
The peers that want the block.
Declaration
public List<MultiHash> Peers
Field Value
Type | Description |
---|---|
List<MultiHash> |