Skip to content

Releases: filswan/go-swan-provider

Release-v2.4.0

07 Apr 07:37
88cb9be
Compare
Choose a tag to compare

‼️ This is a MANDATORY release, as a Storage provider, you must upgrade to this version(v2.4.0) before at Apr 11, 2024 - 12:45PM UTC, otherwise you can not get any deals from Swan platform. This version is compatible with Lotus v1.26.2(An important bug has been fixed)

Improvements:

  • DDO: import DDO deals by Boost v2, set MARKET_VERSION=1.2

Dependency Updates

How To Upgrade

  • Please follow the guidelines (#243)
  • If you want to use YugaDB with the boost in Swan-provider, please follow the steps

Release-v2.3.0

06 Dec 08:11
99be146
Compare
Choose a tag to compare
Release-v2.3.0 Pre-release
Pre-release

‼️ This is a MANDATORY release, as a Storage provider, you must upgrade to this version(v2.3.0) before Dec 12, 2023 - 11:45AM UTC, otherwise you can not get any deals from Swan platform. This version is compatible with Lotus v1.24.0 and v1.25.0+

Improvements:

Dependency Updates

How To Upgrade

The upgrade steps can found here

Release-v2.2.1

09 May 10:40
5f40a71
Compare
Choose a tag to compare

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

Bug Fixes:

Release-v2.2.0

25 Apr 10:14
d489122
Compare
Choose a tag to compare

Here's the MANDATORY Release of Swan Provider. This release is compatible with Lotus v1.22.1+.

‼️Boost maintainers will be fully suspending support for legacy deals in Boost starting May 15, 2023 here.

  • 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:

Dependency Updates

Release-2.2.0-rc1

08 Mar 10:19
22a4ce1
Compare
Choose a tag to compare

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:

  1. Upgrade method: just replace Swan Provider with the latest binary.

  2. 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

13 Feb 11:25
198b9c1
Compare
Choose a tag to compare

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 using market_version = 1.1(Lotus) and market_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"].
  • 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 the set-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

Dependency Updates

Release-v2.1.0-rc1

12 Jan 10:01
0634233
Compare
Choose a tag to compare

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 using market_version = 1.1(Lotus) and market_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"].
  • 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 the set-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

Dependency Updates

Release-v2.0.0

23 Sep 08:51
7f4fc7a
Compare
Choose a tag to compare

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 becomes StorageDealActive or StorageDealError, default: false.
  • 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.

Improvements

Bug Fixes

Dependency Updates

Release-v2.0.0-rc1

27 May 21:27
f19baf9
Compare
Choose a tag to compare

Table of Contents

Improvements

  • Support api changes caused by swan-client can send one car file to multiple miners
  • Add command to show version

Config Explanation

‼️Add config item

  • [bid] auto_bid_deal_per_day auto-bid deal limit per day for your miner defined in config file

‼️Change config item value

  • [main] api_url changed to https://go-swan-server.filswan.com

‼️Remove config item

  • [bid] auto_bid_task_per_day

If there is an old version of swan provider installed in your machine, you need to change the config file ~/.swan/provider/config.toml manually.
You can reference Readme on how to config them

release-v0.2.1-rc2

25 Apr 15:42
02e71c8
Compare
Choose a tag to compare

Table of Contents

Improvements

  • Delete car files under downloaded directory, whose deal status are Completed, DealExpired, or ImportFailed
  • Do not download those car files whose deal status are StorageDealError, and set them to ImportFailed directly

Bug Fixes

  • Explanation for config item aria2_secret on readme

Config Explanation

‼️Add config item

  • purge_interval: 600 seconds or 10 minutes. Time interval to purge downloaded car files whose deal status are Completed, ImportFailed or DealExpired

If there is an old version of swan provider running in your machine, you need to add the new parameter manually.
You can reference Readme on how to config them