Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dddengyunjie/fabric
/ functions
Functions
19,835 in github.com/dddengyunjie/fabric
⨍
Functions
19,835
◇
Types & classes
3,362
↓ 2,773 callers
Method
Error
(args ...interface{})
gossip/util/logging.go:40
↓ 2,529 callers
Method
Equal
(other digests)
gossip/privdata/coordinator_test.go:219
↓ 2,157 callers
Method
Errorf
(template string, args ...interface{})
common/diag/goroutine.go:16
↓ 1,433 callers
Method
New
()
core/chaincode/handler.go:107
↓ 1,286 callers
Method
Fatalf
(format string, args ...interface{})
gossip/util/logging.go:43
↓ 997 callers
Method
Return
(returnArguments ...interface{})
gossip/privdata/coordinator_test.go:253
↓ 937 callers
Method
Marshal
(msg proto.Message)
core/chaincode/lifecycle/protobuf.go:17
↓ 847 callers
Method
Debugf
(format string, args ...interface{})
gossip/util/logging.go:39
↓ 828 callers
Method
Unmarshal
(marshaled []byte, msg proto.Message)
core/chaincode/lifecycle/protobuf.go:18
↓ 693 callers
Method
On
(methodName string, arguments ...interface{})
gossip/election/election_test.go:65
↓ 526 callers
Method
True
True returns nil if the value of attribute 'name' is true; otherwise, an appropriate error is returned.
common/attrmgr/attrmgr.go:165
↓ 516 callers
Method
Fatal
(args ...interface{})
gossip/util/logging.go:42
↓ 437 callers
Method
String
()
protos/gossip/message_test.go:29
↓ 415 callers
Method
Get
Get returns the identity of a given pkiID, or error if such an identity isn't found
gossip/identity/identity.go:35
↓ 389 callers
Method
Contains
Contains returns true if the named attribute is found
common/attrmgr/attrmgr.go:152
↓ 385 callers
Method
Size
Size returns the amount of pending messages to be emitted
gossip/gossip/batcher.go:30
↓ 353 callers
Method
Set
TODO: consider removing Set is used to update the current value associted with a Gauge.
common/metrics/provider.go:74
↓ 342 callers
Method
Get
(chainID, txID string)
core/chaincode/handler.go:70
↓ 323 callers
Method
Wrap
(srv pb.ChaincodeSupportServer)
core/chaincode/accesscontrol/access.go:35
↓ 307 callers
Method
Run
Run runs the PeriodicCheck
orderer/consensus/etcdraft/util.go:536
↓ 307 callers
Method
True
True returns nil if the value of attribute 'name' is true; otherwise, an appropriate error is returned.
core/chaincode/shim/ext/attrmgr/attrmgr.go:215
↓ 294 callers
Method
On
On overrider the mock method for convenience
core/aclmgmt/mocks/mocks.go:38
↓ 274 callers
Method
Equal
Equal verifies whether the give MerkleSummary is equals to this
protos/ledger/rwset/kvrwset/helper.go:38
↓ 272 callers
Method
Debug
(args ...interface{})
gossip/util/logging.go:38
↓ 258 callers
Method
Put
Put adds a key with value only. The metadata is assumed to be nil
core/ledger/kvledger/txmgmt/statedb/statedb.go:162
↓ 233 callers
Method
Run
Run makes the CLI process the arguments and executes the command(s) with the flag(s)
cmd/common/cli.go:62
↓ 226 callers
Method
Printf
(format string, args ...interface{})
orderer/consensus/kafka/logger.go:73
↓ 224 callers
Method
Warningf
(format string, args ...interface{})
gossip/util/logging.go:49
↓ 221 callers
Method
Infof
(template string, args ...interface{})
common/diag/goroutine.go:15
↓ 191 callers
Method
Panicf
(format string, args ...interface{})
gossip/util/logging.go:47
↓ 191 callers
Method
ReadFile
(string)
core/chaincode/persistence/persistence.go:30
↓ 188 callers
Method
Run
(signals <-chan os.Signal, ready chan<- struct{})
core/operations/system.go:93
↓ 182 callers
Method
Wait
(ccid ccintf.CCID)
core/container/controller.go:33
↓ 169 callers
Method
On
(methodName string, arguments ...interface{})
gossip/privdata/coordinator_test.go:265
↓ 162 callers
Method
RemoveAll
RemoveAll removes all ccs
common/mocks/peer/mockpeerccsupport.go:74
↓ 160 callers
Method
Fail
()
core/deliverservice/mocks/orderer.go:57
↓ 159 callers
Method
Run
Run receives and sends indefinitely
common/mocks/peer/mockccstream.go:146
↓ 158 callers
Method
topic
()
orderer/consensus/kafka/channel.go:26
↓ 155 callers
Method
Put
Put associates an identity to its given pkiID, and returns an error in case the given pkiID doesn't match the identity
gossip/identity/identity.go:31
↓ 154 callers
Method
Add
(channelID, txID string)
core/chaincode/handler.go:63
↓ 151 callers
Method
Len
()
core/ledger/util/util.go:70
↓ 151 callers
Method
Println
(args ...interface{})
orderer/consensus/kafka/logger.go:77
↓ 147 callers
Method
Add
Add increments a Gauge value.
common/metrics/provider.go:71
↓ 143 callers
Method
Warning
(args ...interface{})
gossip/util/logging.go:48
↓ 142 callers
Method
New
()
common/ledger/blockledger/blackbox_test.go:25
↓ 139 callers
Method
Contains
Contains returns true if the named attribute is found
core/chaincode/shim/ext/attrmgr/attrmgr.go:202
↓ 138 callers
Method
Log
(keyvals ...interface{})
core/operations/system.go:248
↓ 137 callers
Method
Done
Done releases any resources held by this transactor
token/server/tms.go:56
↓ 130 callers
Method
Sign
Sign issues a new credential, which is the last step of the interactive issuance protocol All attribute values are added by the issuer at this step an
bccsp/idemix/handlers/idemix.go:91
↓ 128 callers
Method
Addr
()
core/operations/system.go:244
↓ 123 callers
Method
ChainID
ChainID returns the chainID for this channel
gossip/service/eventer.go:19
↓ 123 callers
Method
Write
(name string, payload []byte, tw *tar.Writer)
core/chaincode/platforms/platforms.go:43
↓ 121 callers
Method
SetState
SetState sets the given value for the given namespace and key. For a chaincode, the namespace corresponds to the chaincodeId
core/ledger/ledger_interface.go:183
↓ 120 callers
Method
Next
Next returns the next EndorserPvtSimulationResults from the RWSetScanner. It may return nil, nil when it has no further data, and also may return an e
core/transientstore/store.go:45
↓ 119 callers
Method
Reset
()
protos/gossip/message_test.go:28
↓ 116 callers
Method
Info
(args ...interface{})
gossip/util/logging.go:44
↓ 111 callers
Method
With
With is used to provide label values when recording a Gauge value. This must be used to provide values for all LabelNames provided to GaugeOpts.
common/metrics/provider.go:68
↓ 109 callers
Method
Close
Closes committing service
core/committer/committer.go:64
↓ 106 callers
Method
Add
Add adds a message to be batched
gossip/gossip/batcher.go:24
↓ 106 callers
Method
Stop
Stop stops the module
gossip/comm/comm.go:51
↓ 103 callers
Method
Peer
Peer returns the information about the named Peer in the named organization.
integration/nwo/network.go:1073
↓ 101 callers
Method
KeyGen
KeyGen generates a key using opts.
bccsp/sw/internals.go:29
↓ 100 callers
Method
Execute
Execute - execute proposal, return original response of chaincode
core/endorser/endorser.go:65
↓ 98 callers
Method
Bytes
Bytes returns the bytes of the SerializedPolicy
core/handlers/validation/api/policies/policies.go:28
↓ 98 callers
Function
shorttxid
(txid string)
core/chaincode/shim/handler.go:57
↓ 97 callers
Method
ChainID
ChainID returns the channel ID this support is associated with.
orderer/consensus/consensus.go:109
↓ 96 callers
Method
Equal
(other testPeer)
discovery/test/integration_test.go:656
↓ 95 callers
Method
Order
Order accepts a message which has been processed at a given configSeq. If the configSeq advances, it is the responsibility of the consenter to revalid
orderer/consensus/consensus.go:40
↓ 95 callers
Function
cleanup
(path string)
common/ledger/util/ioutil_test.go:116
↓ 94 callers
Method
WithArgsForCall
(int)
orderer/consensus/etcdraft/chain_test.go:218
↓ 93 callers
Method
Close
Close closes the db
core/ledger/kvledger/txmgmt/statedb/statedb.go:73
↓ 92 callers
Method
Load
(hash []byte)
core/chaincode/persistence/package_provider.go:22
↓ 91 callers
Method
Invoke
(txParams *ccprovider.TransactionParams, cccid *ccprovider.CCContext, spec *pb.ChaincodeInput)
core/chaincode/handler.go:52
↓ 89 callers
Method
GetGossipMessage
GetGossipMessage returns the underlying GossipMessage
protos/gossip/extensions.go:324
↓ 89 callers
Method
Verify
Verify cryptographically verifies the credential by verifying the signature on the attribute values and user's secret key
bccsp/idemix/handlers/idemix.go:95
↓ 88 callers
Method
GetDefaultSigningIdentity
GetDefaultSigningIdentity returns the default signing identity
msp/msp.go:81
↓ 87 callers
Method
HandleMessage
HandleMessage processes a message sent by a remote peer
gossip/gossip/channel/channel.go:85
↓ 85 callers
Method
Start
(ccid ccintf.CCID, args []string, env []string, filesToUpload map[string][]byte, builder Builder)
core/container/controller.go:31
↓ 83 callers
Method
partition
()
orderer/consensus/kafka/channel.go:27
↓ 82 callers
Method
SKI
SKI returns the subject key identifier of this key.
bccsp/bccsp.go:32
↓ 79 callers
Method
NewTxSimulator
(txid string)
core/ledger/kvledger/txmgmt/txmgr/txmgr.go:29
↓ 78 callers
Method
Cleanup
()
core/ledger/kvledger/txmgmt/privacyenabledstate/test_exports.go:30
↓ 78 callers
Method
WriteFile
(string, []byte, os.FileMode)
core/chaincode/persistence/persistence.go:33
↓ 77 callers
Method
Validate
Validate determines whether the transaction on the specified channel at the specified height is valid according to its chaincode-level endorsement pol
core/handlers/validation/builtin/v13/validator.go:33
↓ 76 callers
Method
Ready
(cname string)
core/chaincode/handler.go:45
↓ 75 callers
Method
Close
()
core/ledger/confighistory/mgr.go:31
↓ 75 callers
Method
NoopSign
NoopSign creates a SignedGossipMessage with a nil signature
protos/gossip/extensions.go:392
↓ 75 callers
Method
cleanup
()
core/ledger/kvledger/txmgmt/txmgr/lockbasedtxmgr/pkg_test.go:44
↓ 74 callers
Method
Name
Name returns the name this org is referred to in config
common/channelconfig/api.go:23
↓ 73 callers
Method
Done
()
core/chaincode/mock/tx_simulator.go:611
↓ 71 callers
Method
enqueueResponse
(seq uint64)
orderer/common/cluster/deliver_test.go:242
↓ 70 callers
Method
Bytes
Bytes returns the byte representation of this key
bccsp/idemix/handlers/idemix.go:49
↓ 70 callers
Method
MockInvokeWithSignedProposal
Invoke this chaincode, also starts and ends a transaction.
core/chaincode/shim/mockstub.go:149
↓ 69 callers
Method
Compare
Compare compares between 2 peers and returns their relative scores
discovery/client/selection.go:38
↓ 69 callers
Method
Debug
(...interface{})
orderer/consensus/kafka/logger.go:61
↓ 69 callers
Method
Listen
Listen blocks until a publish was made to the subscription, or an error if the subscription's TTL passed
gossip/util/pubsub.go:37
↓ 68 callers
Function
signedGossipMessage
(channelID string, tag GossipMessage_Tag, content isGossipMessage_Content)
protos/gossip/extensions_test.go:853
↓ 67 callers
Method
GetAliveMsg
()
protos/gossip/message.pb.go:530
↓ 67 callers
Method
GetTxSimulationResults
GetTxSimulationResults encapsulates the results of the transaction simulation. This should contain enough detail for - The update in the state that wo
core/ledger/ledger_interface.go:214
↓ 65 callers
Method
Hash
Hash returns the hash of the chaincode.
core/common/ccprovider/ccprovider.go:404
next →
1–100 of 19,835, ranked by callers