Show / Hide Table of Contents

Class BlockOptions

Configuration options for a IBlockApi.

Inheritance
Object
BlockOptions
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Ipfs.Engine
Assembly: Ipfs.Engine.dll
Syntax
public class BlockOptions

Properties

| Improve this Doc View Source

AllowInlineCid

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

MaxBlockSize

The maximun length of data block.

Declaration
public int MaxBlockSize { get; }
Property Value
Type Description
Int32

See Also

IpfsEngineOptions
  • Improve this Doc
  • View Source
Back to top Generated by DocFX