MCPcopy Create free account

hub / github.com/dddengyunjie/fabric / functions

Functions19,835 in github.com/dddengyunjie/fabric

↓ 21 callersFunctionassertBlockDissemination
(expectedSeq uint64, ch chan uint64, t *testing.T)
core/deliverservice/deliveryclient_test.go:680
↓ 21 callersMethodcommitUpdatesForTesting
(blkNum uint64, updates *privacyenabledstate.UpdateBatch)
core/ledger/kvledger/txmgmt/pvtstatepurgemgmt/purge_mgr_test.go:304
↓ 21 callersMethodget
(key string)
msp/cache/second_chance.go:57
↓ 21 callersFunctionprotoMatcher
protoMatcher is used to test that a slice of protos equals another slice of protos. This is needed because in general reflect.Equal(proto1, proto1) ma
gossip/privdata/pull_test.go:44
↓ 21 callersMethodstop
()
orderer/common/cluster/deliver_test.go:237
↓ 20 callersMethodAdd
add adds a message to the store returns true or false whether the message was added to the store
gossip/gossip/msgstore/msgs.go:81
↓ 20 callersMethodClone
Clone returns a copy of this BlockPuller initialized for the given channel
orderer/common/cluster/deliver.go:54
↓ 20 callersMethodClose
()
peer/common/broadcastclient.go:28
↓ 20 callersMethodCreateAndJoinChannel
CreateAndJoinChannel will create the specified channel. The referencing peers will then be joined to the channel. The network must be running before
integration/nwo/network.go:677
↓ 20 callersMethodEphemeral
Ephemeral returns true if the key to generate has to be ephemeral, false otherwise.
bccsp/bccsp.go:55
↓ 20 callersMethodGetBlockchainInfo
()
core/ledger/confighistory/mgr.go:177
↓ 20 callersMethodGetState
GetState gets the value for given namespace and key. For a chaincode, the namespace corresponds to the chaincodeId
token/ledger/ledger.go:23
↓ 20 callersMethodGetType
GetType returns the provider type
msp/msp.go:72
↓ 20 callersMethodIsDir
()
core/chaincode/persistence/mock/osfileinfo.go:75
↓ 20 callersMethodNormal
()
common/flogging/fabenc/color.go:28
↓ 20 callersMethodServeHTTP
(w http.ResponseWriter, req *http.Request)
core/middleware/request_id.go:38
↓ 20 callersMethodShutdown
()
core/deliverservice/mocks/orderer.go:51
↓ 20 callersMethodSign
Sign a message and return the signature over the digest, or error on failure
common/crypto/signer.go:22
↓ 20 callersMethodSignCallCount
()
token/client/mock/signer_identity.go:61
↓ 20 callersMethodStore
Store persists etcd/raft data
orderer/consensus/etcdraft/storage.go:244
↓ 20 callersMethodToBytes
ToBytes serializes the Height
core/ledger/kvledger/txmgmt/version/version.go:44
↓ 20 callersFunctionbuildTXWithRwset
(rws []byte)
core/common/validation/statebased/validator_keylevel_test.go:47
↓ 20 callersFunctionchannelNameForTest
(t *testing.T)
orderer/consensus/kafka/consenter_test.go:220
↓ 20 callersFunctioncloseResponseBody
closeResponseBody discards the body and then closes it to enable returning it to connection pool
core/ledger/util/couchdb/couchdb.go:227
↓ 20 callersMethodgetName
()
core/ledger/kvledger/txmgmt/txmgr/lockbasedtxmgr/pkg_test.go:41
↓ 20 callersFunctioninvokeEmptyCall
invoke the EmptyCall RPC
core/comm/server_test.go:123
↓ 20 callersFunctionmakeConfigSet
(configPairs ...*configPair)
common/configtx/validator_test.go:55
↓ 20 callersFunctionnewBccspMsp
newBccspMsp returns an MSP instance backed up by a BCCSP crypto provider. It handles x.509 certificates and can generate identities and signing identi
msp/mspimpl.go:103
↓ 20 callersFunctionnewRegularMessage
Test helper functions here.
orderer/consensus/kafka/chain_test.go:3301
↓ 20 callersMethodrecordInvocation
(key string, args []interface{})
core/chaincode/mock/peer_ledger.go:1484
↓ 20 callersFunctionserializeTestProtoMsg
(t *testing.T, protoMsg proto.Message)
core/ledger/kvledger/txmgmt/rwsetutil/rwset_builder_test.go:355
↓ 20 callersMethodsetPvtdata
(ns, coll, key string, val string)
core/ledger/kvledger/tests/client.go:103
↓ 20 callersFunctionsetUpCoreYAMLConfig
()
core/ledger/ledgerconfig/ledger_config_test.go:251
↓ 20 callersMethodsimulateDataTx
simulateDataTx takes a simulation logic and wraps it between (A) the pre-simulation tasks (such as obtaining a fresh simulator) and (B) the post simul
core/ledger/kvledger/tests/client.go:37
↓ 20 callersFunctionwaitUntilOrFailBlocking
(t *testing.T, f func())
gossip/gossip/gossip_test.go:1736
↓ 19 callersMethodAddArgsForCall
(i int)
common/metrics/metricsfakes/gauge.go:102
↓ 19 callersMethodAddEndorsersQuery
AddEndorsersQuery adds to the request a query for given chaincodes interests are the chaincode interests that the client wants to query for. All inter
discovery/client/client.go:75
↓ 19 callersMethodAppend
Append a new block to the ledger
orderer/common/cluster/replication.go:57
↓ 19 callersMethodCleanup
Cleanup drops the test couch databases and closes the db provider
core/ledger/kvledger/txmgmt/statedb/statecouchdb/statecouchdb_test_export.go:33
↓ 19 callersMethodConfigtxValidator
ConfigtxValidator returns the configtx manager corresponding to the system channel's current config.
orderer/common/msgprocessor/systemchannel.go:193
↓ 19 callersMethodCreateDatabaseIfNotExist
CreateDatabaseIfNotExist method provides function to create database
core/ledger/util/couchdb/couchdb.go:262
↓ 19 callersMethodDone
Done releases resources occupied by the QueryExecutor
core/ledger/ledger_interface.go:168
↓ 19 callersMethodForChannel
ForChannel returns a ChannelResponse in the context of a given channel
discovery/client/api.go:31
↓ 19 callersMethodGetChaincodeData
GetChaincodeData gets the ChaincodeData
core/common/ccprovider/ccprovider.go:61
↓ 19 callersMethodGetQueryIterator
(queryID string)
core/chaincode/transaction_context.go:60
↓ 19 callersMethodGetSignatureHeader
()
protos/common/common.pb.go:312
↓ 19 callersMethodIsAliveMsg
IsAliveMsg returns whether this GossipMessage is an AliveMessage
protos/gossip/extensions.go:125
↓ 19 callersMethodName
()
core/chaincode/platforms/platforms.go:33
↓ 19 callersFunctionNewMockProvider
()
core/scc/lscc/lscc_test.go:1119
↓ 19 callersMethodNewQueryExecutor
(txid string)
core/ledger/kvledger/txmgmt/txmgr/txmgr.go:28
↓ 19 callersFunctionNewTestVDBEnv
NewTestVDBEnv instantiates and new couch db backed TestVDB
core/ledger/kvledger/txmgmt/statedb/statecouchdb/statecouchdb_test_export.go:23
↓ 19 callersMethodOn
(methodName string, arguments ...interface{})
gossip/privdata/coordinator_test.go:94
↓ 19 callersMethodSerialize
Serialize returns a byte representation of this identity which is used to verify messages signed by this SigningIdentity
core/handlers/endorsement/api/identities/identities.go:18
↓ 19 callersMethodSign
Sign signs digest using key k. The opts argument should be appropriate for the algorithm used. Note that when a signature of a hash of a larger messa
bccsp/bccsp.go:131
↓ 19 callersMethodStoreBlock
StoreBlock deliver new block with underlined private data returns missing transaction ids
gossip/privdata/coordinator.go:74
↓ 19 callersFunctionassertInvalid
(block *common.Block, t *testing.T, code peer.TxValidationCode)
core/committer/txvalidator/validator_test.go:326
↓ 19 callersFunctioncreateLSCCTx
(ccname, ccver, f string, res []byte)
core/handlers/validation/builtin/v13/validation_logic_test.go:171
↓ 19 callersFunctioncreateLSCCTx
(ccname, ccver, f string, res []byte)
core/handlers/validation/builtin/v12/validation_logic_test.go:170
↓ 19 callersMethodnewSet
()
discovery/endorsement/endorsement_test.go:706
↓ 19 callersFunctionstopChaincode
(ctx context.Context, chaincodeCtx *ccprovider.CCContext, chaincodeSupport *ChaincodeSupport)
core/chaincode/exectransaction_test.go:861
↓ 19 callersMethodtoMembers
()
discovery/endorsement/endorsement_test.go:587
↓ 19 callersMethodtrustedClients
return trusted clients for the org
core/comm/server_test.go:266
↓ 19 callersFunctionwaitForLeaderElection
(t *testing.T, peers []*peer)
gossip/election/election_test.go:202
↓ 18 callersMethodAddToHashedReadSet
AddToHashedReadSet adds a key and corresponding version to the hashed read-set
core/ledger/kvledger/txmgmt/rwsetutil/rwset_builder.go:107
↓ 18 callersMethodCleanupQueryContext
(queryID string)
core/chaincode/transaction_context.go:81
↓ 18 callersMethodExtractValidationParameterDependency
ExtractValidationParameterDependency implements the method of the same name of the KeyLevelValidationParameterManager interface Note that this functio
core/common/validation/statebased/vpmanagerimpl.go:246
↓ 18 callersMethodGenesisBlockForChannel
GenesisBlockForChannel produces a genesis block for a given channel ID
common/tools/configtxgen/encoder/encoder.go:555
↓ 18 callersMethodGetConf
GetConf returns the configuration that this GossipChannel will posses
gossip/gossip/channel/channel.go:107
↓ 18 callersMethodGetHeader
()
protos/common/common.pb.go:617
↓ 18 callersMethodGetMemReq
()
protos/gossip/message.pb.go:537
↓ 18 callersMethodGetOrganizationalUnits
GetOrganizationalUnits returns zero or more organization units or divisions this identity is related to as long as this is public information. Certain
msp/msp.go:151
↓ 18 callersMethodGetPeers
GetPeers returns a list of peers with metadata as published by them
gossip/gossip/channel/channel.go:60
↓ 18 callersMethodGetPrivateData
(namespace, collection, key string)
core/ledger/kvledger/txmgmt/privacyenabledstate/db.go:33
↓ 18 callersMethodHandleChaincodeDeploy
HandleChaincodeDeploy is invoked when chaincode installed + defined becomes true. The expected usage are to creates all the necessary statedb structur
core/ledger/cceventmgmt/defs.go:36
↓ 18 callersMethodIsPullMsg
IsPullMsg returns whether this GossipMessage is a message that belongs to the pull mechanism
protos/gossip/extensions.go:151
↓ 18 callersMethodMarshalCommandResponseArgsForCall
(i int)
token/server/mock/marshaler.go:59
↓ 18 callersMethodMarshalCommandResponseCallCount
()
token/server/mock/marshaler.go:53
↓ 18 callersFunctionNewRequest
NewRequest creates a new request
discovery/client/client.go:34
↓ 18 callersFunctionNewWithParams
NewWithParams returns a new instance of the software-based BCCSP set at the passed security level, hash family and KeyStore.
bccsp/sw/new.go:39
↓ 18 callersMethodOrganization
Organization returns the information about the named Organization.
integration/nwo/network.go:1106
↓ 18 callersMethodRecvMsg
(msg interface{})
common/grpclogging/server.go:178
↓ 18 callersMethodServeHTTP
(resp http.ResponseWriter, req *http.Request)
common/flogging/httpadmin/spec.go:44
↓ 18 callersFunctionaddValue
(cg *cb.ConfigGroup, value channelconfig.ConfigValue, modPolicy string)
common/tools/configtxgen/encoder/encoder.go:57
↓ 18 callersFunctionbootPeer
(port int)
gossip/discovery/discovery_test.go:403
↓ 18 callersFunctioncomputeTestCombinedHash
(t *testing.T, hashes ...Hash)
core/ledger/kvledger/txmgmt/rwsetutil/query_results_helper_test.go:220
↓ 18 callersMethodcutBlockAndCommitWithPvtdata
cutBlockAndCommitWithPvtdata cuts the next block from the given 'txAndPvtdata' and commits the block (with pvt data) to the ledger This function retur
core/ledger/kvledger/tests/committer.go:34
↓ 18 callersMethodequals
(other comparable)
common/configtx/compare.go:23
↓ 18 callersFunctionisJSON
isJSON tests a string to determine if it can be parsed as valid JSON
core/chaincode/platforms/ccmetadata/validators.go:156
↓ 18 callersFunctionmockCrypto
()
orderer/common/multichannel/registrar_test.go:33
↓ 18 callersFunctionnewChannel
Returns a new channel for a given topic name and partition number.
orderer/consensus/kafka/channel.go:37
↓ 18 callersFunctionnewCountingDialer
()
orderer/common/cluster/deliver_test.go:64
↓ 18 callersFunctionpeerIdentity
(mspID string, i int)
discovery/client/client_test.go:858
↓ 18 callersMethodrecordInvocation
(key string, args []interface{})
core/endorser/mocks/support.go:1252
↓ 18 callersMethodrecordInvocation
(key string, args []interface{})
orderer/consensus/mocks/mock_consenter_support.go:1276
↓ 18 callersFunctionsetupLedgerAndValidatorWithV12Capabilities
(t *testing.T)
core/committer/txvalidator/validator_test.go:89
↓ 18 callersFunctionsetupLedgerAndValidatorWithV13Capabilities
(t *testing.T)
core/committer/txvalidator/validator_test.go:93
↓ 18 callersMethodshutdown
Shutting down all modules used
gossip/state/state_test.go:183
↓ 18 callersFunctionstateInfoMessage
(chaincodes ...*gossip.Chaincode)
discovery/client/client_test.go:896
↓ 18 callersFunctionvalidateIndexJSON
(indexDefinition map[string]interface{})
core/chaincode/platforms/ccmetadata/validators.go:161
↓ 17 callersMethodAccept
Accept returns a dedicated read-only channel for messages sent by other nodes that match a certain predicate. If passThrough is false, the messages ar
gossip/gossip/gossip.go:66
← previousnext →401–500 of 19,835, ranked by callers