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.
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
rpc: event subscription management for RPC client #516
rpc: event subscription management for RPC client #516
Changes from all commits
9df13ed
a01883d
a03d0ab
73c2626
8650db1
cf67215
20cce0a
92cae5f
40e7de2
4634e48
82cf571
52c36d0
1089e8d
5994999
1ef2305
a364187
15d5765
7e6d15d
da0247a
cafa8d7
9ad109b
ecb099f
cf56f7b
ae66f90
d3d2c32
f01d13d
279913b
6d35180
2228b71
8bc9f7f
f017d27
233fd62
36e2969
83d4835
ab4ba9b
b160e65
86ed3d9
fd01278
3eadccd
a4c5a4d
1c82638
772bcd0
1d08a7d
3048155
5e9e351
99dae2a
ba2ca31
b4253c6
b9e240e
99a321f
3e38b0b
58d52ef
e218dd6
ee70331
e7bb6a1
a891c21
c22a5da
1753566
4db8d9e
e293693
e7403a6
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe pedantic but shouldn't the PeerId type already hold a valid address and hence this shouldn't need to return an error?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Technically a Tendermint
Address
could contain either a TCP or a Unix socket address, and we need the host/port details in order to connect to the RPC endpoint.We could do away with the need for an error here by requiring host/port details instead of a
peer_addr
, or we could just panic if a user supplies a Unix socket address?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe this should just be consolidated with client? How much benefit do we really get by opting for the transport_mock over the transport_http ?