Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckForCommitHandler ¶
type CheckForCommitHandler struct { ShouldCommit bool // contains filtered or unexported fields }
CheckForCommitHandler for checking need to commit
func NewCheckForCommitHandler ¶
func NewCheckForCommitHandler(rwSetIgnoreNameSpace []api.Namespace, callback api.EndorsedCallback, commitType api.CommitType, next ...invoke.Handler) *CheckForCommitHandler
NewCheckForCommitHandler returns a handler that check if there is need to commit
func (*CheckForCommitHandler) Handle ¶
func (c *CheckForCommitHandler) Handle(requestContext *invoke.RequestContext, clientContext *invoke.ClientContext)
Handle for endorsing transactions
type CommitTxHandler ¶ added in v0.2.5
type CommitTxHandler struct {
// contains filtered or unexported fields
}
CommitTxHandler for commit txn
func NewCommitTxHandler ¶ added in v0.2.5
func NewCommitTxHandler(registerTxEvent bool, channelID string, next ...invoke.Handler) *CommitTxHandler
NewCommitTxHandler returns a handler that commit txn
func (*CommitTxHandler) Handle ¶ added in v0.2.5
func (l *CommitTxHandler) Handle(requestContext *invoke.RequestContext, clientContext *invoke.ClientContext)
Handle for endorsing transactions
type PeerFilterHandler ¶
type PeerFilterHandler struct {
// contains filtered or unexported fields
}
PeerFilterHandler for handling peers filter
func NewPeerFilterHandler ¶
func NewPeerFilterHandler(chaincodeIDs []string, config api.Config, next ...invoke.Handler) *PeerFilterHandler
NewPeerFilterHandler returns a handler that filter peers
func (*PeerFilterHandler) Handle ¶
func (p *PeerFilterHandler) Handle(requestContext *invoke.RequestContext, clientContext *invoke.ClientContext)
Handle selects proposal processors
type PreEndorsedHandler ¶ added in v0.4.3
type PreEndorsedHandler struct {
// contains filtered or unexported fields
}
PreEndorsedHandler holds the Endorsement response
func NewPreEndorsedHandler ¶ added in v0.4.3
func NewPreEndorsedHandler(endorserResponse *channel.Response, next ...invoke.Handler) *PreEndorsedHandler
NewPreEndorsedHandler returns a handler that populates the Endorsement Response to the request context
func (*PreEndorsedHandler) Handle ¶ added in v0.4.3
func (i *PreEndorsedHandler) Handle(requestContext *invoke.RequestContext, clientContext *invoke.ClientContext)
Handle for endorsing transactions
Click to show internal directories.
Click to hide internal directories.