Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckForCommitHandler ¶
type CheckForCommitHandler struct {
// contains filtered or unexported fields
}
CheckForCommitHandler for checking need to commit
func NewCheckForCommitHandler ¶
func NewCheckForCommitHandler(rwSetIgnoreNameSpace []string, callback api.EndorsedCallback, 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 LocalEventCommitHandler ¶
type LocalEventCommitHandler struct {
// contains filtered or unexported fields
}
LocalEventCommitHandler for commit txn
func NewLocalEventCommitHandler ¶
func NewLocalEventCommitHandler(registerTxEvent bool, channelID string, next ...invoke.Handler) *LocalEventCommitHandler
NewLocalEventCommitHandler returns a handler that commit txn
func (*LocalEventCommitHandler) Handle ¶
func (l *LocalEventCommitHandler) 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
Click to show internal directories.
Click to hide internal directories.