minca

Interface: NodeConfig

Defined in: packages/core/src/node/types.ts:76

Properties

PropertyModifierTypeDescriptionDefined in
accountKey?readonlyUint8Array<ArrayBufferLike>The account key (deriveAccountKey(seed)): the node then follows the account registry and opens the contacts spacepackages/core/src/node/types.ts:80
accountName?readonlystringThe account's name as a grant gives it: what knocks and a new inbox say until the account's profile reaches this node from its registrypackages/core/src/node/types.ts:92
cache?readonlyCacheConfigHold only the collections this node uses, once a space names a keeper to hold the restpackages/core/src/node/types.ts:122
collections?readonlyreadonly CollectionDef[]Collection shapes to use where a space has none: checked on write, flagged (conforms) on read, never refusedpackages/core/src/node/types.ts:100
contactKey?readonlyUint8Array<ArrayBufferLike>The account's contact key (deriveContactKeyBytes(seed)), to open contact requests and knocks, in shared spaces and in the inbox. Its public half is published on the account's profiles.packages/core/src/node/types.ts:85
contactsSpace?readonlystringThe account's contacts space, for a node given it without the account key (an app granted contacts)packages/core/src/node/types.ts:87
fetchFiles?readonly"all"Fetch and keep every file of any size, as a keeper does. Default: others' files up to 5 MiB, dropping the least used past 256 MiB a space (spec 05 §16.6). setFileLimits changes either while the node runs.packages/core/src/node/types.ts:120
mailbox?readonlyMailboxClientHow the inbox and short links reach mailboxes. Default: createMailboxClientpackages/core/src/node/types.ts:94
network?readonlyNodeNetworkConfigOmit to stay offlinepackages/core/src/node/types.ts:102
provider?readonlyCryptoProviderThe cryptography to sign and check with. Default: P-256 over Web Crypto.packages/core/src/node/types.ts:98
sessionKey?readonlySigningKeyPairThe key to sign with, when the signer already named it: its private half may be held elsewhere (SigningKey). Default: one claimed from writerKey, else a fresh onepackages/core/src/node/types.ts:110
sessionTtlSeconds?readonlynumberSeconds each session delegation lasts; renewed before it runs out. Default 3600.packages/core/src/node/types.ts:104
signerreadonlyRootSignerWho this node acts for. The root key only signs session delegations.packages/core/src/node/types.ts:78
storesreadonlyStoreFactoryWhere the registry and each space's store livepackages/core/src/node/types.ts:96
watchIntervalMs?readonlynumberHow often to look for another process's writes to a folder store, ms. 0 disables. Default 2000.packages/core/src/node/types.ts:114
writerKey?readonlyWriterKeySourceWhere to keep a signing key across runs (browserWriterKeys). Without one, each run makes a new key. Ignored with sessionKey.packages/core/src/node/types.ts:112

On this page