-
Notifications
You must be signed in to change notification settings - Fork 115
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
Basic consensus light client support #2881
Conversation
c62db02
to
c33045c
Compare
c2c0d08
to
608d347
Compare
Codecov Report
@@ Coverage Diff @@
## master #2881 +/- ##
==========================================
+ Coverage 67.56% 67.74% +0.18%
==========================================
Files 350 352 +2
Lines 34036 34215 +179
==========================================
+ Hits 22995 23179 +184
+ Misses 8079 8074 -5
Partials 2962 2962
Continue to review full report at Codecov.
|
608d347
to
504db8e
Compare
504db8e
to
e8d1621
Compare
624a5c0
to
2ddcbd7
Compare
A public consensus services worker enables any full consensus node to expose light client services to other nodes that may need them (e.g., they are needed to support light clients). The worker can be enabled using --worker.consensusrpc.enabled and is disabled by default. Enabling the public consensus services worker exposes the light consensus client interface over publicly accessible gRPC.
2ddcbd7
to
20107f5
Compare
func (m *Metadata) EncodedHash() hash.Hash { | ||
var hh hash.Hash | ||
|
||
hh.From(m) |
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.
Doesn't need to be now, and we do this all over the place, but at some point we should add func NewFrom(v interface{}) Hash
.
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.
Ah, good idea! I'll do this in a separate PR.
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.
Done in #2890.
Initial implementation of #2440, required for #2880.
TODO