Releases: filswan/go-swan-provider
Release-v2.0.0-rc1
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
- [bid] auto_bid_deal_per_day auto-bid deal limit per day for your miner defined in config file
- [main] api_url changed to
https://go-swan-server.filswan.com
- [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
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
- 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
release-v0.2.1
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 on-chain deal status are StorageDealError, and set them to ImportFailed directly
Bug Fixes
- Explanation for config item aria2_secret on readme
Config Explanation
- 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
release-0.2.1-rc1
Table of Contents
Improvements
- Using methods
Filecoin.AuthVerify
to check lotus token. Compared to the previous complicated method, this will speed up the processing time and reduce errors. - Add a parameter to configure whether swan provider works in release mode or not
Bug Fixes
- Aria2 waiting status was considered as download failed, but now considered as downloading
Config Explanation
- release: When work in release mode: set this to true, otherwise to false and enviornment variable GIN_MODE not to release
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
release-0.2.0-rc3
Table of Contents
Improvements
- Rename lotus config items to match the real meaning
- Add more detailed status and message from lotus to note in each step except downloading
- Add 3 kinds of price(computed from duration*price per epoch, funds reserved, funds released got from Lotus API) to note in each step except downloading
- Update cost in each step, if any changes occur
- Update status, note, file_path, cost only there are changes in these fields
- Refactor, remove common functions to swan lib project
- Move generating config file and download path to shell scripts from go source file
- When install, set
aria2
only when those files do not exist
Bug Fixes
- Fixed bugs when check lotus config during start.
Config Explanation
[lotus]
api_url
rename toclient_api_url
miner_api_url
rename tomarket_api_url
miner_access_token
rename tomarket_access_token
If there is an old version of swan provider running in your machine, you need to rename them manually.
You can reference Readme on how to config them
release-0.2.0
Table of Contents
Improvements
- Rename lotus config items to match the real meaning
- Add more detailed status and message from lotus to note in each step except downloading
- Add 3 kinds of cost(computed from duration*price per epoch, funds reserved, funds released got from Lotus API) to note in each step except downloading
- Update cost in each step, if any changes occur
- Update status, note, file_path, cost only there are changes in these fields
- Refactor, remove common functions to swan lib project
- Move generating config file and download path to shell scripts from go source file
- When install, set
aria2
only when those files do not exist
Bug Fixes
- Fixed bugs when check lotus config during start: the deal for test config not exits.
Config Explanation
[lotus]
api_url
rename toclient_api_url
miner_api_url
rename tomarket_api_url
miner_access_token
rename tomarket_access_token
If there is an old version of swan provider running in your machine, you need to rename them manually.
You can reference Readme on how to config them
release-0.2.0-rc2
Table of Contents
Improvements
- Rename lotus config items to match the real meaning
- Add more detailed status and message from lotus to note in each step except downloading
- Add 3 kinds of price(computed from duration*price per epoch, funds reserved, funds released got from Lotus API) to note in each step except downloading
- Update cost in each step, if any changes occur
- Update status, note, file_path, cost only there are changes in these fields
- Refactor, remove common functions to swan lib project
- Move generating config file and download path to shell scripts from go source file
- When install, set
aria2
only when those files do not exist
Bug Fixes
- Fixed bugs when check lotus config during start.
Config Explanation
[lotus]
api_url
rename toclient_api_url
miner_api_url
rename tomarket_api_url
miner_access_token
rename tomarket_access_token
If there is an old version of swan provider running in your machine, you need to rename them manually.
You can reference Readme on how to config them
release-0.2.0-rc1
Table of Contents
Improvements
- Rename lotus config items to match the real meaning
- Add more detailed status and message from lotus to note in each step except downloading
- Add 3 kinds of price(computed from duration*price per epoch, funds reserved, funds released got from Lotus API) to note in each step except downloading
- Update cost in each step, if any changes occur
- Update status, note, file_path, cost only there are changes in these fields
- Refactor, remove common functions to swan lib project
- Move generating config file and download path to shell scripts from go source file
Bug Fixes
- Fixed bugs when check lotus config during start.
Config Explanation
[lotus]
api_ur
rename toclient_api_url
miner_api_url
rename tomarket_api_url
miner_access_token
rename tomarket_access_token
If there is an old version of swan provider running in your machine, you need to rename them manually.
You can reference Readme on how to config them
release-0.1.0
Table of Contents
Improvements
- Use Json RPC Web Api to replace lotus command to access deals
Bug Fixes
- Fixed bugs on import_interval
Config Explanation
[lotus]
- api_url: Url of lotus web api, such as: http://[ip]:[port]/rpc/v0, generally the [port] is 1234
- miner_api_url: Url of lotus miner web api, such as: http://[ip]:[port]/rpc/v0, generally the [port] is 2345
- miner_access_token: Access token of lotus miner web api
If there is an old version of swan provider running in your machine, you need add them manually.
You can reference config.toml.example and readme on how to config them
release-0.1.0-rc2
Merge pull request #52 from DoraNebula/main Update README.md