Releases: filswan/go-swan-provider
Release-v2.6.0
v1.30.0+
), boost(v2.4.0
)
What's Changed
- Support Filecoin V24 by @sonic-chain in #248
- upgrade
swan-boost-lib
version [0.0.5] (https://github.com/filswan/swan-boost-lib/releases/tag/v0.0.5)
How to Use YugaDB
- If you want to use YugaDB with the boost in Swan-provider, please follow the steps
Full Changelog: v2.5.0...v2.6.0
Release-v2.5.0
v1.28.2
), boost(v2.3.0
)
Dependency Updates
- upgrade
swan-boost-lib
version [0.0.4] (https://github.com/filswan/swan-boost-lib/releases/tag/v0.0.3)
How to Use YugaDB
- If you want to use YugaDB with the boost in Swan-provider, please follow the steps
Release-v2.4.0
v1.26.2
(An important bug has been fixed)
Improvements:
- DDO: import DDO deals by Boost v2, set
MARKET_VERSION=1.2
Dependency Updates
- update
go-swan-lib
version [0.3.3 -> 0.3.4] - upgrade
swan-boost-lib
version [0.0.3] (https://github.com/filswan/swan-boost-lib/releases/tag/v0.0.3)
How To Upgrade
Release-v2.3.0
v1.24.0
and v1.25.0+
Improvements:
- Boost v2: support to import deals by Boost v2, set
MARKET_VERSION=1.2
(filswan/go-swan-provider#235). - Customed deals import speed: support to limit the deals importing speed by the configured sealing capabilities when using Boost V2(filswan/go-swan-provider#236).
Dependency Updates
-
update go-swan-lib version(0.3.0 -> 0.3.3).
-
add swan-boost-lib version(0.0.1)
How To Upgrade
The upgrade steps can found here
Release-v2.2.1
This is an optional release, it fixed an important bug. When an incomplete CAR file is downloaded, the download process will not retry, and the deal will be importedFailed
If you have met this issue, please upgrade to v2.2.1.
How to Upgrade
- replace the latest swan-provider binary
Bug Fixes:
- fix: import failed with the incomplete CAR file(filswan/go-swan-provider#227).
Release-v2.2.0
Here's the MANDATORY Release of Swan Provider. This release is compatible with Lotus v1.22.1+.
-
If you use it to import deals, please upgrade to this version before Filecoin Network Version 19 (at epoch 2809800, on April 27th at 2023-04-27T13:00:00Z).
-
If you use Lotus-market to import deals, just set
[main].market_version = "1.1"
. -
Upgrade method: Replace Swan Provider and boostd with the latest binary.
Improvements & Bug Fixes:
- Report the dealID on the chain and the market_version of the configuration(filswan/go-swan-provider#221).
- Added boost health check(filswan/go-swan-provider#223).
- Fix: Resolved the dead loop caused by the failure to find deal info or error report(filswan/go-swan-provider#220).
Dependency Updates
- update go-swan-lib version(0.2.139 -> v0.2.141).
Release-2.2.0-rc1
Here's the MANDATORY Release of Swan Provider. This release is compatible with Lotus v1.20.0+.
-
If you use Boost to import deals, please upgrade to this version before Filecoin Network Version 18 (at epoch 2683348, on March 14th at 2023-03-14T15:14:00Z).
-
If you use Lotus-market to import deals, you can continue to use the previous version; just set
[main].market_version = "1.1"
.
Note:
-
Upgrade method: just replace Swan Provider with the latest binary.
-
Currently, there're many problems with the Lotus-market module, and the Filecoin team no longer maintains it. It is recommended that users could switch to Boost for deals importing ASAP. The module of Lotus-market in Swan Provider will be removed soon.
Bug Fixes:
- Fix: all CAR files are downloaded to the last directory in
aria2_candidate_dirs
all the time.
Release-2.1.0
This is a breakthrough version, v2.1.0 supports storage providers to import deals by using market_version = 1.2
(Boost
) and import deals from multiple directories. It also enables them to config their ask using the set-ask
command.
Note: when storage providers set
market_version = 1.2
(Boost) to import deals, they can receive the deals from clients who are usingmarket_version = 1.1
(Lotus) andmarket_version = 1.2
(Boost).
It includes many new bug fixes, new features, and improvements. You can leave any feedback, report bugs, and create an issue here
New feature
-
Aria2: import deals from multiple directories at the same time(filswan/go-swan-provider#184)
- New configuration
[aria2]. aria2_candidate_dirs = ["/tmp"]
.
- New configuration
-
Deal: support to import deals using
market_version = 1.2
(Boost)(filswan/go-swan-provider#187)- New configuration should be added:
[lotus] client_api_token = "" [main] market_version = "1.2" [market] collateral_wallet = "" publish_wallet = ""
-
Deal: import deals sent from Lotus and Boost when the storage provider sets
market_version = 1.2
(filswan/go-swan-provider#188) -
Deal: set the storage providers' deal ask when
market_version = 1.2
through theset-ask
command (filswan/go-swan-provider#190)swan-provider set-ask --price=0 --verified-price=0 --min-piece-size=256 --max-piece-size=34359738368
Improvements & Bug Fixes
-
Config: allow two format to config
aria2_candidate_dirs
(filswan/go-swan-provider#206) -
Environment: set
SWAN_PATH
by environment variableexport SWAN_PATH="/data/.swan"
(filswan/go-swan-provider#189) -
Fix: endless loop due to the empty deal(filswan/go-swan-provider#190)
-
Fix: downloadFailed when dealCID is empty(filswan/go-swan-provider#208)
Dependency Updates
- update go-swan-lib version(0.2.131 -> v0.2.137)
Release-v2.1.0-rc1
This is the first release candidate for the upcoming v2.1.0. It supports storage providers to import deals from multiple directories, and import deals by using market_version = 1.2
(Boost). It also enables them to config the their ask using the set-ask
command.
Note: when storage providers set
market_version = 1.2
(Boost) to import deals, they can receive the deals from clients who are usingmarket_version = 1.1
(Lotus) andmarket_version = 1.2
(Boost).
It includes many bug fixes, new features, and improvements. You can leave any feedback, report bugs, and create an issue here
New feature
-
Aria2: import deals from multiple directories at the same time(filswan/go-swan-provider#184)
- New configuration
[aria2]. aria2_candidate_dirs = ["/tmp"]
.
- New configuration
-
Deal: support to import deals using
market_version = 1.2
(Boost)(filswan/go-swan-provider#187)- New configuration should be added:
[lotus] client_api_token = "" [main] market_version = "1.2" [market] collateral_wallet = "" publish_wallet = ""
-
Deal: import deals sent from Lotus and Boost when the storage provider sets
market_version = 1.2
(filswan/go-swan-provider#188) -
Deal: set the storage providers' deal ask when
market_version = 1.2
through theset-ask
command (filswan/go-swan-provider#190)swan-provider set-ask --price=0 --verified-price=0 --min-piece-size=256 --max-piece-size=34359738368
Improvements & Bug Fixes
-
Environment: set
SWAN_PATH
by environment variableexport SWAN_PATH="/data/.swan"
(filswan/go-swan-provider#189) -
Fix: endless loop due to the empty deal(filswan/go-swan-provider#190)
Dependency Updates
- update go-swan-lib version(0.2.131 -> v0.2.137)
Release-v2.0.0
This is a important release of go-swan-provider, it includes many bug fixes, new features and improvements. You can leave any feedback, report bugs and create an issue here
New features
- Aria2: delete the useless CAR file automatically(filswan/go-swan-provider#156)
- new config,
[aria2].aria2_auto_delete_car_file=true
, can help you delete the CAR file after the deal becomesStorageDealActive
orStorageDealError
, default: false.
- new config,
- Aria2: Config for parallel download counts(filswan/go-swan-provider#167)
- new config,
[aria2].aria2_max_downloading_tasks=10
, can limit the number of concurrent download tasks using Aria2.
- new config,
Improvements
- logs: Add the task-name log(filswan/go-swan-provider#153)
- Aria2: Change the download path to an absolute path(filswan/go-swan-provider#157)
- Aria2: Skip downloading the existing CAR file(filswan/go-swan-provider#159)
- Aria2: Update the state to ReadyForImport if the CAR file already exists(filswan/go-swan-provider#169)
- lotus: remove confusing error message(filswan/go-swan-provider#172)
- config: modify
aria2_auto_delete_car_file
default value asfalse
(filswan/go-swan-provider#174)
Bug Fixes
- fix: car file can not been downloaded and endless loop due to empty deal status on the chain(filswan/go-swan-provider#152)
- fix: update the deal to
ImportFailed
when the deal status on the chain isnil
(filswan/go-swan-provider#160) - logs: Fix the Aria2's error log(filswan/go-swan-provider#163)
- lotus: Correct the wrong deal status returned by the lotus-miner API using on-chain data(filswan/go-swan-provider#168)
- fix the
FileImporting
andONCHAIN_DEAL_STATUS_ERROR
status(filswan/go-swan-provider#171) - fix deal StorageDealActive error (filswan/go-swan-provider#173)
Dependency Updates
- update go-swan-lib version(0.2.116 -> v0.2.131)