You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: documentation/en/best-practices.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -10,5 +10,5 @@ description: Curio best practices
10
10
4. Multiple workers should be started with `--post` layer to allow fast wdPost and winPost turn around time. 
11
11
5. We recommend running 1 GUI layer enabled node. A cluster wide GUI can be access via this node without putting any additional strain of read operations on the DB.
12
12
6. The unsealed and sealed copies should not be stored in the same storage location. Curio will allow automatic regeneration of sealed and unsealed in future if one is lost.
13
-
7. It is recommended to create a distinct layer for each market adapter, corresponding to each minerID. This configuration enables precise control, allowing for the assignment of specific minerIDs to either the Snap Deals pipeline or the PoRep pipeline.
14
-
8. It is advised to run the market adapter on the same node that will execute the TreeD task for the PoRep pipeline or the Encode task for the Snap Deals pipeline.
13
+
7. It is recommended to create a distinct layer for each market adapter (Deprecated), corresponding to each minerID. This configuration enables precise control, allowing for the assignment of specific minerIDs to either the Snap Deals pipeline or the PoRep pipeline.
14
+
8. It is advised to run the market adapter (Deprecated) on the same node that will execute the TreeD task for the PoRep pipeline or the Encode task for the Snap Deals pipeline.
Copy file name to clipboardExpand all lines: documentation/en/curio-market/migrating-from-boost.md
+7-6Lines changed: 7 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -9,8 +9,7 @@ Migrating from Boost to Curio involves transitioning all deal data, including Bo
9
9
## Build the `migrate-curio` CLI Tool
10
10
11
11
* First, you need to build the `migrate-curio` tool, which is part of the Boost code base. This tool will handle the migration of deals.
12
-
* Run the following command to build the tool.\
13
-
12
+
* Run the following command to build the tool.\\
14
13
15
14
```bash
16
15
git checkout feat/curio-migration
@@ -19,6 +18,10 @@ Migrating from Boost to Curio involves transitioning all deal data, including Bo
19
18
20
19
## Preparation for Migration
21
20
21
+
{% hint style="warning" %}
22
+
Please read the [Curio market documentation](storage-market.md) carefully before proceeding. Curio market should be fully [configured](storage-market.md#enabling-storage-market) before proceeding with migration.
23
+
{% endhint %}
24
+
22
25
* Ensure that both Boost and Curio setups are ready forthe migration. **Boost must be shutdown and no deal should bein process**. You will need the following details:
23
26
* Path to the Boost repository (default is `~/.boost`)
24
27
* Backup your Boost repository
@@ -90,14 +93,12 @@ For all deals that have been migrated and are in unsealed sectors, Curio handles
90
93
91
94
## Cleanup of Local Index Directory (LID) (optional)
92
95
93
-
* After the migration, you can clean up the old LevelDB (`LID`) data that was used by Boost:\
94
-
96
+
* After the migration, you can clean up the old LevelDB (`LID`) data that was used by Boost:\\
Copy file name to clipboardExpand all lines: documentation/en/curio-market/storage-market.md
+19-2Lines changed: 19 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -117,6 +117,21 @@ To enable the Curio market on a Curio node, the following configuration changes
117
117
*`MaxDealsPerPublishMsg` for the maximum number of deals per message.
118
118
*`MaxPublishDealFee` to set the fee limit for publishing deals.
119
119
* If handling offline deals, configure `PieceLocator` to specify the endpoints for piece retrieval.
120
+
8. Verify that HTTP server is working:
121
+
122
+
* Curl to your domain name and verify that server is reachable from outside\
123
+
124
+
125
+
```shell
126
+
curl https://<Domain name>
127
+
128
+
Hello, World!
129
+
-Curio
130
+
```
131
+
132
+
{% hint style="warning" %}
133
+
If you do not get above output then something went wrong with configuration and you should not proceed with migration from Boost or Deal making.
134
+
{% endhint %}
120
135
121
136
By applying these changes, the Curio market subsystem will be activated on the specified node(s), enabling storage deals, IPNI synchronization, and retrieval functionality.
Consequences: Sealing early can speed up the process, but it may result in inefficiencies if all deals are not batched correctly.
242
257
243
258
## Offline Verified DDO deals
244
-
Curio only supports offline verified DDO deals as of now. The allocation must be created by the client for the piece and handed over to the SP alongside the data.
245
259
260
+
Curio only supports offline verified DDO deals as of now. The allocation must be created by the client for the piece and handed over to the SP alongside the data.
246
261
247
262
### How to create allocation
263
+
248
264
Clients can create allocation using the `sptool toolbox` or other methods.
0 commit comments