Repository navigation
[wallet + gateway] refactored wallet to use GatewayClient - #682
Merged
Merged
Conversation
patrickkuo
requested review from
arun-koshy,
huitseeker,
lxfind,
oxade and
sblackshear
March 7, 2022 15:30
patrickkuo
force-pushed
the
pat/wallet_with_gateway_client
branch
from
March 7, 2022 16:51
8dd39c7 to
1d99f21
Compare
Contributor
|
What's the reason to use |
Contributor
Author
Yes, we will have a implementation for |
* Refactored wallet to use `GatewayClient` instead of using `ClientAddressManager` directly * Added GatewayType in config for preparation of different gateway types * `ClientAddressManager` now creates client state implicitly
patrickkuo
force-pushed
the
pat/wallet_with_gateway_client
branch
from
March 7, 2022 18:21
173d8c9 to
c1c1daa
Compare
patrickkuo
marked this pull request as ready for review
March 7, 2022 18:23
lxfind
approved these changes
Mar 7, 2022
lxfind
left a comment
Contributor
There was a problem hiding this comment.
Thanks for refactoring this!
mwtian
pushed a commit
that referenced
this pull request
Sep 12, 2022
* upgrade chrono to 0.4.20
* fix: fix underflow in debug message
* fix: rename worker_network_concourrent_tasks to worker_network_available_tasks
* feat: add a metered_channel that wraps a tokio::mpsc::{Sender, Receiver} with an IntGauge
* feat: use metered_channel everywhere in the Primary
* fix: move the tx_committed_certificates to be initialized in the node bootstrap
Adjusts the consensus registry on the back end of that.
* fix: add tests for reserve, try_reserve, empty & closed channel behavior
mwtian
pushed a commit
that referenced
this pull request
Sep 12, 2022
This is an extension of #682 to the worker
mwtian
pushed a commit
to mwtian/sui
that referenced
this pull request
Sep 29, 2022
* upgrade chrono to 0.4.20
* fix: fix underflow in debug message
* fix: rename worker_network_concourrent_tasks to worker_network_available_tasks
* feat: add a metered_channel that wraps a tokio::mpsc::{Sender, Receiver} with an IntGauge
* feat: use metered_channel everywhere in the Primary
* fix: move the tx_committed_certificates to be initialized in the node bootstrap
Adjusts the consensus registry on the back end of that.
* fix: add tests for reserve, try_reserve, empty & closed channel behavior
mwtian
pushed a commit
to mwtian/sui
that referenced
this pull request
Sep 29, 2022
This is an extension of MystenLabs#682 to the worker
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GatewayClienttypeGatewayClientinstead of usingClientAddressManagerdirectlyClientAddressManagernow creates client state implicitly