# Interface: HostConfig

Defined in: [packages/core/src/node/host.ts:113](https://github.com/leifriksheim/minca/blob/main/core/src/node/host.ts#L113)

## Properties

| Property | Modifier | Type | Description | Defined in |
| ------ | ------ | ------ | ------ | ------ |
| <a id="property-allow"></a> `allow?` | `readonly` | readonly `string`[] | The accounts this host carries for, and no others. Absent: any account whose subscription is paid. | [packages/core/src/node/host.ts:124](https://github.com/leifriksheim/minca/blob/main/core/src/node/host.ts#L124) |
| <a id="property-free"></a> `free?` | `readonly` | `boolean` | Every subscription counts as paid: for someone hosting only themselves, and for trying it out | [packages/core/src/node/host.ts:122](https://github.com/leifriksheim/minca/blob/main/core/src/node/host.ts#L122) |
| <a id="property-full"></a> `full?` | `readonly` | (`carrySpace`) => `boolean` | Whether a carry space's subscription may take no more spaces: the host's storage limit | [packages/core/src/node/host.ts:134](https://github.com/leifriksheim/minca/blob/main/core/src/node/host.ts#L134) |
| <a id="property-gracedays"></a> `graceDays?` | `readonly` | `number` | Days a lapsed subscription is kept, carried, before it is dropped. Default 30. | [packages/core/src/node/host.ts:120](https://github.com/leifriksheim/minca/blob/main/core/src/node/host.ts#L120) |
| <a id="property-ignore"></a> `ignore?` | `readonly` | (`account`) => `boolean` \| `Promise`\<`boolean`\> | Accounts whose writes are not counted: the host's own bots | [packages/core/src/node/host.ts:142](https://github.com/leifriksheim/minca/blob/main/core/src/node/host.ts#L142) |
| <a id="property-key"></a> `key` | `readonly` | `CryptoKeyPair` | The host's own key: who it is to peers | [packages/core/src/node/host.ts:115](https://github.com/leifriksheim/minca/blob/main/core/src/node/host.ts#L115) |
| <a id="property-limits"></a> `limits?` | `readonly` | [`HostLimits`](https://minca.dev/api/core/interfaces/HostLimits.md) | Free hosting within limits (spec 08 §1.1). Ignored with `free`. | [packages/core/src/node/host.ts:136](https://github.com/leifriksheim/minca/blob/main/core/src/node/host.ts#L136) |
| <a id="property-measure"></a> `measure?` | `readonly` | (`spaceId`) => `Promise`\<`number`\> | How many bytes a carried space takes: what the free line's `bytes` reads | [packages/core/src/node/host.ts:138](https://github.com/leifriksheim/minca/blob/main/core/src/node/host.ts#L138) |
| <a id="property-mirror"></a> `mirror?` | `readonly` | [`BlobStore`](https://minca.dev/api/core/interfaces/BlobStore.md) | The 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](https://github.com/leifriksheim/minca/blob/main/core/src/node/host.ts#L131) |
| <a id="property-network"></a> `network?` | `readonly` | [`NodeNetworkConfig`](https://minca.dev/api/core/interfaces/NodeNetworkConfig.md) | - | [packages/core/src/node/host.ts:117](https://github.com/leifriksheim/minca/blob/main/core/src/node/host.ts#L117) |
| <a id="property-now"></a> `now?` | `readonly` | () => `number` | Unix seconds now; for tests | [packages/core/src/node/host.ts:126](https://github.com/leifriksheim/minca/blob/main/core/src/node/host.ts#L126) |
| <a id="property-provider"></a> `provider?` | `readonly` | [`CryptoProvider`](https://minca.dev/api/core/interfaces/CryptoProvider.md) | - | [packages/core/src/node/host.ts:118](https://github.com/leifriksheim/minca/blob/main/core/src/node/host.ts#L118) |
| <a id="property-spacespercarry"></a> `spacesPerCarry?` | `readonly` | `number` | Spaces one account's carry space may have carried at most: those it names past that wait | [packages/core/src/node/host.ts:140](https://github.com/leifriksheim/minca/blob/main/core/src/node/host.ts#L140) |
| <a id="property-stores"></a> `stores` | `readonly` | [`StoreFactory`](https://minca.dev/api/core/type-aliases/StoreFactory.md) | - | [packages/core/src/node/host.ts:116](https://github.com/leifriksheim/minca/blob/main/core/src/node/host.ts#L116) |
| <a id="property-watchintervalms"></a> `watchIntervalMs?` | `readonly` | `number` | - | [packages/core/src/node/host.ts:132](https://github.com/leifriksheim/minca/blob/main/core/src/node/host.ts#L132) |
