Introduction to Fabric overall project structure
The version is lower, it is recommended to read the higher version manual.
bccsp
: Provides the implementation of encryption standards and algorithms, and provides unified encryption, signature, and verification services for the entire project.
common
: The common module provides common functions and some common code implementations, including logs, errors, toolkits, etc., mainly including the overall functional code of the project.
core
: The core module is the core code module of the Fabric project, including code implementation of core functions such as permission control, chaincode module, committer, endorser, ledger, policy, etc.
discovery
: This module is designed to provide service discovery functions for client programs.
docs
: This module is a component of online documentation based on Python's sphinx.
events
: This module provides the function of event subscription for the client.
examples
: Provide relevant operating cases for the entire project.
gossip
: It is a module for information dissemination for Fabric to reach final consistency between nodes.
msp
: The msp module provides unified member services for Fabric.
orderer
: Perform global transaction sorting and block segmentation, and push to peers.
peer
: Contains the entry code of the peer node and the command line operation related functions.
proposals
: Store related proposals.
protos
: Store Protocol buffer messages.
release_notes
: The changelog of each version.
sampleconfig
: Related sample configuration files.
scripts
: Used to store related script files.
unit-test
: Contains the testenv image, which can be used for unit testing.
vendor
: Golang's third-party package manager.
Makefile
: Used to compile Fabric.