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)