Class BlockOptions
Configuration options for a IBlockApi.
Inherited Members
Namespace: Ipfs.Engine
Assembly: Ipfs.Engine.dll
Syntax
public class BlockOptions
Properties
| Improve this Doc View SourceAllowInlineCid
Determines if an inline CID can be created.
Declaration
public bool AllowInlineCid { get; set; }
Property Value
Type | Description |
---|---|
Boolean | Defaults to false. |
Remarks
An "inline CID" places the content in the CID not in a seperate block. It is used to speed up access to content that is small.
InlineCidLimit
Used to determine if the content is small enough to be inlined.
Declaration
public int InlineCidLimit { get; set; }
Property Value
Type | Description |
---|---|
Int32 | The maximum number of bytes for content that will be inlined. Defaults to 64. |
MaxBlockSize
The maximun length of data block.
Declaration
public int MaxBlockSize { get; }
Property Value
Type | Description |
---|---|
Int32 |