minca
ApiCoreInterfaces

Interface: HostConfig

Defined in: packages/core/src/node/host.ts:113

Properties

PropertyModifierTypeDescriptionDefined in
allow?readonlyreadonly string[]The accounts this host carries for, and no others. Absent: any account whose subscription is paid.packages/core/src/node/host.ts:124
free?readonlybooleanEvery subscription counts as paid: for someone hosting only themselves, and for trying it outpackages/core/src/node/host.ts:122
full?readonly(carrySpace) => booleanWhether a carry space's subscription may take no more spaces: the host's storage limitpackages/core/src/node/host.ts:134
graceDays?readonlynumberDays a lapsed subscription is kept, carried, before it is dropped. Default 30.packages/core/src/node/host.ts:120
ignore?readonly(account) => boolean | Promise<boolean>Accounts whose writes are not counted: the host's own botspackages/core/src/node/host.ts:142
keyreadonlyCryptoKeyPairThe host's own key: who it is to peerspackages/core/src/node/host.ts:115
limits?readonlyHostLimitsFree hosting within limits (spec 08 §1.1). Ignored with free.packages/core/src/node/host.ts:136
measure?readonly(spaceId) => Promise<number>How many bytes a carried space takes: what the free line's bytes readspackages/core/src/node/host.ts:138
mirror?readonlyBlobStoreThe host's bucket (storage/blob/s3.ts): every carried space and the subscriptions are kept there too, so the host's disk is only a cache.packages/core/src/node/host.ts:131
network?readonlyNodeNetworkConfig-packages/core/src/node/host.ts:117
now?readonly() => numberUnix seconds now; for testspackages/core/src/node/host.ts:126
provider?readonlyCryptoProvider-packages/core/src/node/host.ts:118
spacesPerCarry?readonlynumberSpaces one account's carry space may have carried at most: those it names past that waitpackages/core/src/node/host.ts:140
storesreadonlyStoreFactory-packages/core/src/node/host.ts:116
watchIntervalMs?readonlynumber-packages/core/src/node/host.ts:132

On this page