-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DEX-818 Invalid asset balance on connection (#312)
A possible fix for invalid balances. The situation wasn't reproduced. Also contains bug fixes: * Connections with subscriptions to the address's changes can affect each other and the last subscription can be cancelled without an user's will; * Negative balances can be propagated to the client; * Changed assets should not be forgotten during new subscriptions. So their changes will be sent in the next WebSocket tick; * The full state is set only once during multiple simultaneous connections. Fixes possible issues with the stale balances; And improvements: * AddressActor could have multiple WebSocket schedules;
- Loading branch information
1 parent
e42f17c
commit 9bf1d38
Showing
11 changed files
with
219 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.