-
Notifications
You must be signed in to change notification settings - Fork 93
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
Persistence of proposal, transaction and commit objects #394
Comments
Signed-off-by: sapthasurendran <[email protected]>
Resolves hyperledger#394 Signed-off-by: sapthasurendran <[email protected]>
Resolves hyperledger#394 Signed-off-by: sapthasurendran <[email protected]>
Resolves hyperledger#394 Signed-off-by: sapthasurendran <[email protected]>
Contributes to hyperledger#394 Signed-off-by: sapthasurendran <[email protected]>
Contributes to hyperledger#394 Signed-off-by: sapthasurendran <[email protected]>
Contributes to hyperledger#394 Signed-off-by: sapthasurendran <[email protected]>
As we start working on this it's becoming obvious that, if the request being serialised (proposal, transaction, commit, block / chaincode events request) has already been signed using the off-line signing flow, the serialised form should include that signature and it should be preserved when deserialised. It would be unhelpful to require client applications to separately store the off-line signature or to repeat off-line signing if they choose to persist a proposal. This makes the To fit with the existing |
Contributes to hyperledger#394 Signed-off-by: sapthasurendran <[email protected]>
Contributes to hyperledger#394 Signed-off-by: sapthasurendran <[email protected]>
Contributes to hyperledger#394 Signed-off-by: sapthasurendran <[email protected]>
Contributes to hyperledger#394 Signed-off-by: sapthasurendran <[email protected]>
Contributes to hyperledger#394 Signed-off-by: sapthasurendran <[email protected]>
Contributes to hyperledger#394 Signed-off-by: sapthasurendran <[email protected]>
As an application developer
I want to persist proposal, transaction and commit objects
So that I can resume a submit flow following an application restart
This is already possible using the off-line signing flow but the methods for re-creating these objects from serialized bytes do not make it obvious that this is the case, either through their naming or the presence of a signature parameter, which must be left empty for the persistence flow without off-line signing.
Suggest simply adding methods such as
newUnsignedProposal(bytes)
to Gateway to support this flow. The implementation would be largely common with thenewSignedProposal(bytes, signature)
methods.The text was updated successfully, but these errors were encountered: