MCPcopy Index your code
hub / github.com/dddengyunjie/fabric

github.com/dddengyunjie/fabric @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
23,197 symbols 85,041 edges 1,778 files 6,745 documented · 29% updated 4y ago★ 618 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…

Extension points exported contracts — how you extend this code

ReceivedMessage (Interface)
ReceivedMessage is a GossipMessage wrapper that enables the user to send a message to the origin from which the Received [8 …
protos/gossip/extensions.go
Deliver (Interface)
go:generate counterfeiter -o ../mock/deliver.go -fake-name Deliver . Deliver Deliver defines the interface for deliverin [7 …
peer/chaincode/api/api.go
ChaincodeStream (Interface)
ChaincodeStream interface for stream between Peer and chaincode instance. [38 implementers]
core/container/ccintf/ccintf.go
QueryExecutorCreator (Interface)
go:generate mockery -dir . -name QueryExecutorCreator -case underscore -output mocks/ QueryExecutorCreator creates new q [7 …
core/committer/txvalidator/plugin_validator.go
Query (Interface)
go:generate mockery -dir . -name Query -case underscore -output mocks/ Query queries the state [10 implementers]
core/cclifecycle/lifecycle.go
Registrar (Interface)
Registrar provides a way for system chaincodes to be registered [9 implementers]
core/scc/sysccapi.go
ACLProvider (Interface)
An ACLProvider performs access control checks when invoking chaincode. [11 implementers]
core/chaincode/handler.go
PluginFactory (Interface)
PluginFactory creates a new instance of a Plugin [11 implementers]
core/handlers/endorsement/api/endorsement.go

Core symbols most depended-on inside this repo

Error
called by 2773
gossip/util/logging.go
Errorf
called by 2157
common/diag/goroutine.go
New
called by 1433
core/chaincode/handler.go
Fatalf
called by 1286
gossip/util/logging.go
Marshal
called by 937
core/chaincode/lifecycle/protobuf.go
Debugf
called by 847
gossip/util/logging.go
Unmarshal
called by 828
core/chaincode/lifecycle/protobuf.go
True
called by 526
common/attrmgr/attrmgr.go

Shape

Method 13,965
Function 5,870
Struct 2,398
Interface 658
TypeAlias 190
FuncType 114
Class 2

Languages

Go100%
Java1%
Python1%

Modules by API surface

protos/gossip/message.pb.go531 symbols
protos/discovery/protocol.pb.go297 symbols
protos/token/prover.pb.go275 symbols
protos/peer/chaincode_shim.pb.go236 symbols
core/scc/lscc/mock/chaincode_stub.go207 symbols
core/chaincode/lifecycle/mock/chaincode_stub.go207 symbols
protos/ledger/rwset/kvrwset/kv_rwset.pb.go176 symbols
protos/common/common.pb.go171 symbols
idemix/idemix.pb.go156 symbols
core/chaincode/mock/tx_simulator.go155 symbols
protos/orderer/ab.pb.go146 symbols
core/committer/txvalidator/validator_test.go142 symbols

For agents

$ claude mcp add fabric \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page