Versions in this module Expand all Collapse all v0 v0.1.0 Sep 21, 2019 Changes in this version + var Verifier_CheckCred = fmt.Errorf("Pass if credential can be verified") + func AttachAddrVerifier(phs []TxPreHandler, v AddrVerifier) + func BatchArgParser(ccn string, p map[string]txutil.TxArgParser) txutil.TxArgParser + func EmptyAddrCredVerifier(la ListAddresses) *addrCredVerifier + func GenerateTxArgParser(m map[string]*ChaincodeTx) map[string]tx.TxArgParser + func NewAddrCredVerifier(la ListAddresses) *addrCredVerifier + func NewAddrCredVerifierFromTemplate(la ListAddresses, tp TxPreHandler) *addrCredVerifier + func NewAddrOrCredVerifier(la ListAddresses) addrOrCredVerifier + type AddrCredInspector interface + AddVerifier func(AddrVerifier) bool + type AddrVerifier interface + Verify func(*txutil.Address) error + type ChaincodeTx struct + Ccname string + Handler TxHandler + PostHandlers []TxPostHandler + PreHandlers []TxPreHandler + func (cci *ChaincodeTx) TxCall(stub shim.ChaincodeStubInterface, function string, args [][]byte) ([]byte, error) + type ClonableAddrVerifier interface + Clone func() AddrVerifier + type CollectiveTxs map[string]*ChaincodeTx + func NewCollectiveTxs() CollectiveTxs + func (s CollectiveTxs) Invoke(stub shim.ChaincodeStubInterface, function string, args [][]byte, _ bool) ([]byte, error) + func (s CollectiveTxs) Map() map[string]*ChaincodeTx + func (s CollectiveTxs) Merge(ins ...CollectiveTxs) (CollectiveTxs, error) + func (s CollectiveTxs) MustMerge(ins ...CollectiveTxs) CollectiveTxs + type CollectiveTxs_InnerSupport CollectiveTxs + func (itxh CollectiveTxs_InnerSupport) Invoke(stub shim.ChaincodeStubInterface, function string, args [][]byte, ro bool) ([]byte, error) + func (itxh CollectiveTxs_InnerSupport) TxCall(stub shim.ChaincodeStubInterface, function string, args [][]byte) ([]byte, error) + type IsTxExpired bool + func (force IsTxExpired) PreHandling(_ shim.ChaincodeStubInterface, _ string, tx txutil.Parser) error + type ListAddresses func(shim.ChaincodeStubInterface, proto.Message) []*txutil.Address + type MsgAddresses interface + GetAddresses func() []*txutil.Address + type TxAttrVerifier map[string]string + func (req TxAttrVerifier) PreHandling(stub shim.ChaincodeStubInterface, _ string, _ txutil.Parser) error + type TxHandler interface + Call func(shim.ChaincodeStubInterface, txutil.Parser) ([]byte, error) + Msg func() proto.Message + func BatchTxHandler(hs map[string]*ChaincodeTx) TxHandler + type TxMultiAttrVerifier map[string][]string + func (req TxMultiAttrVerifier) PreHandling(stub shim.ChaincodeStubInterface, _ string, _ txutil.Parser) error + type TxPostHandler interface + PostHandling func(shim.ChaincodeStubInterface, string, txutil.Parser, []byte) ([]byte, error) + type TxPreHandler interface + PreHandling func(shim.ChaincodeStubInterface, string, txutil.Parser) error