v1.0.4
What's Changed
- fix: fix duration defaults by @alvin-reyes in #87
- feat: fixed the repair and retry functionality by @alvin-reyes in #88
- feat: fix the retry handler by @alvin-reyes in #90
- feat: replication factor for e2e deals by @alvin-reyes in #92
Initial integration with SP-Selection.
This release introduced the initial integration with SP-Selection.
https://github.com/application-research/delta-sp-selection/blob/main/README.md
This release introduced two new metadata attributes
auto_retry
auto retry enables delta to retry a deal whenever a deal gets rejected by a miner. It uses the miner selection endpoint https://github.com/application-research/delta-sp-selection/blob/main/README.md to go thru the SPs and try them until one of the miner accepts. This attribute is set to false by default.
replication
users can set a replication factor up to 6. This will tell delta to replicate the content 6 times to different miners using sp-selection as the basis of the randomly selected miner. This will add a new attribute to the response called replicated_content
which will have a deal_request_meta
of each replication. This is set to empty by default.
"replicated_contents": [
{
"status": "pinned",
"message": "Content replication request successful",
"content_id": 356,
"deal_request_meta": {
"cid": "bafybeibthaovpjnfuvak3hv4mx7stpdg6l2ecsfm42adzqinf4fjaon7oy",
"miner": "f01652333",
"wallet": {},
"piece_commitment": {},
"connection_mode": "e2e",
"replication": 1,
"remove_unsealed_copy": false,
"skip_ipni_announce": false,
"auto_retry": true
},
"deal_proposal_parameter_request_meta": {
"ID": 318,
"content": 356,
"label": "bafybeibthaovpjnfuvak3hv4mx7stpdg6l2ecsfm42adzqinf4fjaon7oy",
"duration": 1494720,
"remove_unsealed_copy": false,
"skip_ipni_announce": false,
"verified_deal": true,
"created_at": "2023-04-05T13:30:59.992327-04:00",
"updated_at": "2023-04-05T13:30:59.992327-04:00"
}
},
]
Full Changelog: v1.0.3...v1.0.4