Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Price precision v2 #31

Merged
merged 10 commits into from
Jan 7, 2022
Merged

Price precision v2 #31

merged 10 commits into from
Jan 7, 2022

Conversation

laocheng-cheng
Copy link
Contributor

fix price-precision: solve concurrency issues when more goroutines to run

@rockca
Copy link
Contributor

rockca commented Jan 7, 2022

settlement/swap/vault/vault.go 这个的锁的修改会增加互斥范围,为什么要这么改?

fmt.Println("swapprotocol.SwapProtocol.Handler, error:", err)
return
}
var wg sync.WaitGroup
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

改成串行了?

@laocheng-cheng laocheng-cheng merged commit d540c8f into release-v2.0.1 Jan 7, 2022
@laocheng-cheng laocheng-cheng deleted the price-precision-v2 branch January 7, 2022 04:11
Yrp pushed a commit that referenced this pull request Jan 7, 2022
olenheim pushed a commit that referenced this pull request Jan 7, 2022
* feat: btfs deposit (#14)

* fix: remove useless log (#18)

* chore: use go 1.16 when build docker image (#16,#19)

* chore: remove build-in hostui (#20)

* chore: make hostui use btfs instead of btns (#21)

* style: optimize deposit cmd output (#23)

Co-authored-by: ken.sun <ken.sun@tron.network>

* fix: delete unused cmd and features (#22)

* fix: delete unuse cmd and features

* fix: fix mode

* fix:fix test_go_test

* fix: test_go_test

* fix: modify interface of price oracle to support big number (#26)

* fix price-precision: modify interface of price oracle to support big number

* fix(price): update routines concurrency logic (#31)

* chore: update dashboard version

* version 2.0.1

Co-authored-by: rockca <86341157+rockca@users.noreply.github.com>
Co-authored-by: sunbx <sunbenxin007@gmail.com>
Co-authored-by: Daniel Wang <daniel.wang@tron.network>
Co-authored-by: ken.sun <ken.sun@tron.network>
Co-authored-by: laocheng-cheng <73106671+laocheng-cheng@users.noreply.github.com>
Co-authored-by: Daniel Wang <3644140+daniel-tron@users.noreply.github.com>
N3frill pushed a commit to N3frill/go-btfs that referenced this pull request Jan 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants