# Interface: MirrorConfig

Defined in: [packages/core/src/storage/mirror.ts:49](https://github.com/leifriksheim/minca/blob/main/core/src/storage/mirror.ts#L49)

## Properties

| Property | Modifier | Type | Description | Defined in |
| ------ | ------ | ------ | ------ | ------ |
| <a id="property-accept"></a> `accept` | `readonly` | (`version`) => `Promise`\<[`Taken`](https://minca.dev/api/core/type-aliases/Taken.md)\> | The gates sync uses, and storing what passes: nothing from the store is trusted more than a peer | [packages/core/src/storage/mirror.ts:54](https://github.com/leifriksheim/minca/blob/main/core/src/storage/mirror.ts#L54) |
| <a id="property-compactat"></a> `compactAt?` | `readonly` | `number` | Rewrite this writer's segments once it has this many. Default 32. | [packages/core/src/storage/mirror.ts:66](https://github.com/leifriksheim/minca/blob/main/core/src/storage/mirror.ts#L66) |
| <a id="property-flushbytes"></a> `flushBytes?` | `readonly` | `number` | Pack a segment once this much is waiting. Default 256 KiB. | [packages/core/src/storage/mirror.ts:62](https://github.com/leifriksheim/minca/blob/main/core/src/storage/mirror.ts#L62) |
| <a id="property-flushms"></a> `flushMs?` | `readonly` | `number` | Or this long after the first change. Default 5 s. | [packages/core/src/storage/mirror.ts:64](https://github.com/leifriksheim/minca/blob/main/core/src/storage/mirror.ts#L64) |
| <a id="property-space"></a> `space` | `readonly` | `string` | - | [packages/core/src/storage/mirror.ts:51](https://github.com/leifriksheim/minca/blob/main/core/src/storage/mirror.ts#L51) |
| <a id="property-state"></a> `state` | `readonly` | [`StorageAdapter`](https://minca.dev/api/core/interfaces/StorageAdapter.md) | Where this writer keeps its id, what it read and what it knows the store holds. Never in the blob store: two devices sharing one id would each skip the other's segments as their own. | [packages/core/src/storage/mirror.ts:60](https://github.com/leifriksheim/minca/blob/main/core/src/storage/mirror.ts#L60) |
| <a id="property-storage"></a> `storage` | `readonly` | [`StorageProvider`](https://minca.dev/api/storage/interfaces/StorageProvider.md) | - | [packages/core/src/storage/mirror.ts:52](https://github.com/leifriksheim/minca/blob/main/core/src/storage/mirror.ts#L52) |
| <a id="property-store"></a> `store` | `readonly` | [`BlobStore`](https://minca.dev/api/core/interfaces/BlobStore.md) | - | [packages/core/src/storage/mirror.ts:50](https://github.com/leifriksheim/minca/blob/main/core/src/storage/mirror.ts#L50) |
