-
Notifications
You must be signed in to change notification settings - Fork 12
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
feat: add verify inclusion proof to cli #95
feat: add verify inclusion proof to cli #95
Conversation
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.
Sounds good just the other API can be used.
src/proto/adminctrl.proto
Outdated
@@ -143,3 +144,10 @@ message GenerateTxInclusionProofRequest { | |||
message GenerateTxInclusionProofReply { | |||
string merkle_block = 1; | |||
} | |||
|
|||
message VerifyInclusionProofRequest { |
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.
Good if we can move those methods on the civkitservice.proto
interface. That way they can be reused by notaryd
in the future.
@@ -71,6 +73,7 @@ impl ServiceManager | |||
send_bitcoind_request: Mutex::new(send_bitcoind_request), | |||
send_events_gateway: Mutex::new(send_gateway_events), | |||
our_service_pubkey: pubkey, | |||
inclusion_proof: inclusion_proof, |
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.
Good to integrate it like this, when the mainstay module is more encapsulated, it can be moved in notaryd
.
Note the inclusion proof verification interface can be integrated in |
See #95, it’s taking it over with fixes. Thanks for the fixes from latest review. |
No description provided.