Interface

AddOptions

AddOptions

AddOptions represents the set of default parameters to use when adding an IPLD Node via the DAG service.

View Source core/dagservice.ts, line 168

Members

number

# cidVersion Optional

cidVersion specifies which version of CID to use. This option is currently ignored (and defaults to v1).

View Source core/dagservice.ts, line 184

string

# hashAlg Optional

hashAlg is the hashing algorithm that is used to calculate the CID. The default comes from the given codec.

View Source core/dagservice.ts, line 172

boolean

# onlyHash Optional

onlyHash controls whether or not the serialized form of the IPLD Node will be passed to the underlying block store.

View Source core/dagservice.ts, line 178