-
Notifications
You must be signed in to change notification settings - Fork 42
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
Microsoft CCF based PDO transaction processor #259
Microsoft CCF based PDO transaction processor #259
Conversation
fyi: at least as far as SGX HW-mode in docker is concerned, this PR still does run nicely with the standard tests ... |
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.
Looks good so far. I do think the documentation needs some polishing. I'll be reviewing the files in batches.
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.
Huge PR (but nice!)
- some naming convention issues
- missing comments
- and some I believe unnecessary message fields (or perhaps I just need a clarification)
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.
Mostly requesting naming changes and additional in-code documentation for the CCF TP. I do have a couple of questions about the JsonRPC fields for certain operations.
ccf_transaction_processor/transaction_processor/contract_registry.h
Outdated
Show resolved
Hide resolved
ccf_transaction_processor/transaction_processor/verify_signatures.cpp
Outdated
Show resolved
Hide resolved
…awtooth Submitter. Signed-off-by: prakashngit <prakash.narayana.moorthy@intel.com> Microsfot CCF based transaction processor for PDO, in addition to HL Sawtooth based TP. Commit includes client pieces as well as C++ code for the CCF-based PDO-TP. The transaction processor was desgined for CCF release 0.7.1. CCF 0.7.1 is included as a submodule. Certain python modules from this submodule are used as part of the client construction. CF based PDO-TP includes support for proof of commit - meaining, registry reads from ledger will be signed by CCF service which can then be used to construct offline-verifiable proof of txn commits. Signed-off-by: prakashngit <prakash.narayana.moorthy@intel.com>
Signed-off-by: prakashngit <prakash.narayana.moorthy@intel.com>
1a48b35
to
4ba4cc1
Compare
This pull request introduces 16 alerts and fixes 13 when merging 4ba4cc1 into c58d420 - view on LGTM.com new alerts:
fixed alerts:
|
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.
Still some concerns about handling erroneous requests in the TP, and keeping the JsonRPC interface more consistent with Sawtooth protos.
EDIT: Not sure why some of my comments are appearing as resolved. Please do take a look. Also, I'm wondering if this has to do with comments being marked as resolved previously? Not sure why github doesn't automatically re-open those threads.
Signed-off-by: prakashngit <prakash.narayana.moorthy@intel.com>
This pull request introduces 17 alerts and fixes 13 when merging 4cac5c5 into c58d420 - view on LGTM.com new alerts:
fixed alerts:
|
couple requests... first @g2flyer @bvavala and @masomel please mark issues resolved when appropriate & then approve when all of your questions are satisfied. @prakashngit please review the LGTM analysis. Several of the issues can/should be addressed. |
Signed-off-by: prakashngit <prakash.narayana.moorthy@intel.com>
This pull request introduces 5 alerts and fixes 13 when merging d84e949 into c58d420 - view on LGTM.com new alerts:
fixed alerts:
|
There are still a number of outstanding issues here. I believe they have been (or will be) captured as issues where we can continue the discussion on a case by case basis. |
This PR introduces two things:
An abstraction for ledger APIs so that we can use more than just Sawtooth as the ledger choice
Support for Microsoft CCF as a supported ledger for PDO. The PDO/CCF combo must be treated as an experimental effort at present. There is no docker support yet for PDO/CCF & we also haven't added any automated tests for PDO/CCF. The integration currently supports PDO in SIMULATE mode & CCF in virtual mode (meaning virtual enclaves for both PDO & CCF). Support for HW mode will be added soon. This PR integrates PDO with CCF tag 0.7.1. There are several enhancements that will be rolled out in subsequent PRs. These will be tracked via git issues.
Signed-off-by: prakashngit prakash.narayana.moorthy@intel.com