├── .gitignore ├── .travis.yml ├── LICENSE.md ├── Makefile.md ├── README.md ├── SUMMARY.md ├── _images ├── blockchain_book.png └── donate.jpeg ├── bccsp ├── README.md ├── aesopts_go.md ├── bccsp_go.md ├── ecdsaopts_go.md ├── factory │ ├── README.md │ ├── factory_go.md │ ├── nopkcs11_go.md │ ├── opts_go.md │ ├── pkcs11_go.md │ ├── pkcs11factory_go.md │ ├── pluginfactory_go.md │ └── swfactory_go.md ├── hashopts_go.md ├── idemix │ ├── README.md │ ├── bccsp_go.md │ ├── bridge │ │ ├── README.md │ │ ├── credential_go.md │ │ ├── credrequest_go.md │ │ ├── issuer_go.md │ │ ├── math_go.md │ │ ├── nymsignaturescheme_go.md │ │ ├── rand_go.md │ │ ├── revocation_go.md │ │ ├── signaturescheme_go.md │ │ └── user_go.md │ └── handlers │ │ ├── README.md │ │ ├── cred_go.md │ │ ├── idemix_go.md │ │ ├── issuer_go.md │ │ ├── nym_go.md │ │ ├── nymsigner_go.md │ │ ├── revocation_go.md │ │ ├── signer_go.md │ │ └── user_go.md ├── idemixerrs_go.md ├── idemixopts_go.md ├── keystore_go.md ├── opts_go.md ├── pkcs11 │ ├── README.md │ ├── conf_go.md │ ├── ecdsa_go.md │ ├── ecdsakey_go.md │ ├── impl_go.md │ └── pkcs11_go.md ├── rsaopts_go.md ├── signer │ ├── README.md │ └── signer_go.md ├── sw │ ├── README.md │ ├── aes_go.md │ ├── aeskey_go.md │ ├── conf_go.md │ ├── dummyks_go.md │ ├── ecdsa_go.md │ ├── ecdsakey_go.md │ ├── fileks_go.md │ ├── hash_go.md │ ├── impl_go.md │ ├── inmemoryks_go.md │ ├── internals_go.md │ ├── keyderiv_go.md │ ├── keygen_go.md │ ├── keyimport_go.md │ ├── new_go.md │ ├── rsa_go.md │ └── rsakey_go.md └── utils │ ├── README.md │ ├── ecdsa_go.md │ ├── errs_go.md │ ├── io_go.md │ ├── keys_go.md │ ├── slice_go.md │ └── x509_go.md ├── book.json ├── cmd ├── README.md ├── common │ ├── README.md │ ├── cli_go.md │ ├── comm │ │ ├── README.md │ │ ├── client_go.md │ │ └── config_go.md │ ├── config_go.md │ └── signer │ │ ├── README.md │ │ └── signer_go.md └── discover │ ├── README.md │ └── main_go.md ├── common ├── README.md ├── attrmgr │ ├── README.md │ └── attrmgr_go.md ├── capabilities │ ├── README.md │ ├── application_go.md │ ├── capabilities_go.md │ ├── channel_go.md │ └── orderer_go.md ├── cauthdsl │ ├── README.md │ ├── cauthdsl_builder_go.md │ ├── cauthdsl_go.md │ ├── policy_go.md │ └── policyparser_go.md ├── chaincode │ ├── README.md │ └── metadata_go.md ├── channelconfig │ ├── README.md │ ├── acls_go.md │ ├── api_go.md │ ├── application_go.md │ ├── applicationorg_go.md │ ├── bundle_go.md │ ├── bundlesource_go.md │ ├── channel_go.md │ ├── consortium_go.md │ ├── consortiums_go.md │ ├── logsanitychecks_go.md │ ├── msp_go.md │ ├── orderer_go.md │ ├── organization_go.md │ ├── standardvalues_go.md │ └── util_go.md ├── config │ ├── README.md │ └── api_go.md ├── configtx │ ├── README.md │ ├── compare_go.md │ ├── configmap_go.md │ ├── configtx_go.md │ ├── update_go.md │ ├── util_go.md │ └── validator_go.md ├── crypto │ ├── README.md │ ├── expiration_go.md │ ├── random_go.md │ ├── signer_go.md │ └── tlsgen │ │ ├── README.md │ │ ├── ca_go.md │ │ └── key_go.md ├── deliver │ ├── README.md │ ├── acl_go.md │ ├── deliver_go.md │ └── metrics_go.md ├── diag │ ├── README.md │ └── goroutine_go.md ├── errors │ ├── README.md │ └── errors_go.md ├── flogging │ ├── README.md │ ├── core_go.md │ ├── fabenc │ │ ├── README.md │ │ ├── color_go.md │ │ ├── encoder_go.md │ │ └── formatter_go.md │ ├── global_go.md │ ├── httpadmin │ │ ├── README.md │ │ ├── fakes.md │ │ └── spec_go.md │ ├── legacy_go.md │ ├── levels_go.md │ ├── loggerlevels_go.md │ ├── logging_go.md │ ├── metrics │ │ ├── README.md │ │ └── observer_go.md │ └── zap_go.md ├── genesis │ ├── README.md │ └── genesis_go.md ├── graph │ ├── README.md │ ├── choose_go.md │ ├── graph_go.md │ ├── perm_go.md │ └── tree_go.md ├── grpclogging │ ├── README.md │ ├── context_go.md │ ├── fakes │ │ ├── README.md │ │ ├── echo_service_go.md │ │ └── leveler_go.md │ ├── fields_go.md │ └── server_go.md ├── grpcmetrics │ ├── README.md │ ├── fakes │ │ ├── README.md │ │ └── echo_service_go.md │ ├── interceptor_go.md │ └── metrics_go.md ├── ledger │ ├── README.md │ ├── blkstorage │ │ ├── README.md │ │ ├── blockstorage_go.md │ │ └── fsblkstorage.md │ ├── blockledger │ │ ├── README.md │ │ ├── file.md │ │ ├── json.md │ │ ├── ledger_go.md │ │ ├── ram.md │ │ └── util_go.md │ ├── ledger_interface_go.md │ └── util │ │ ├── README.md │ │ ├── ioutil_go.md │ │ ├── leveldbhelper.md │ │ ├── protobuf_util_go.md │ │ └── util_go.md ├── localmsp │ ├── README.md │ └── signer_go.md ├── metadata │ ├── README.md │ └── metadata_go.md ├── metrics │ ├── README.md │ ├── cmd │ │ ├── README.md │ │ └── gendoc.md │ ├── disabled │ │ ├── README.md │ │ └── provider_go.md │ ├── gendoc │ │ ├── README.md │ │ ├── options_go.md │ │ └── table_go.md │ ├── internal │ │ ├── README.md │ │ └── namer.md │ ├── metricsfakes │ │ ├── README.md │ │ ├── counter_go.md │ │ ├── gauge_go.md │ │ ├── histogram_go.md │ │ └── provider_go.md │ ├── prometheus │ │ ├── README.md │ │ └── provider_go.md │ ├── provider_go.md │ └── statsd │ │ ├── README.md │ │ ├── goruntime.md │ │ └── provider_go.md ├── policies │ ├── README.md │ ├── implicitmeta_go.md │ ├── implicitmeta_util_go.md │ ├── implicitmetaparser_go.md │ ├── inquire │ │ ├── README.md │ │ ├── compare_go.md │ │ ├── inquire_go.md │ │ └── merge_go.md │ ├── policy_go.md │ └── util_go.md ├── semaphore │ ├── README.md │ └── semaphore_go.md ├── tools │ ├── README.md │ ├── configtxgen │ │ ├── README.md │ │ ├── encoder.md │ │ ├── localconfig.md │ │ ├── main_go.md │ │ └── metadata.md │ ├── configtxlator │ │ ├── README.md │ │ ├── main_go.md │ │ ├── metadata.md │ │ ├── rest.md │ │ ├── sanitycheck.md │ │ └── update.md │ ├── cryptogen │ │ ├── README.md │ │ ├── ca.md │ │ ├── csp.md │ │ ├── main_go.md │ │ ├── metadata.md │ │ └── msp.md │ ├── idemixgen │ │ ├── README.md │ │ ├── idemixca.md │ │ ├── idemixgen_go.md │ │ └── metadata.md │ └── protolator │ │ ├── README.md │ │ ├── api_go.md │ │ ├── dynamic_go.md │ │ ├── json_go.md │ │ ├── nested_go.md │ │ ├── statically_opaque_go.md │ │ └── variably_opaque_go.md ├── util │ ├── README.md │ ├── net_go.md │ └── utils_go.md └── viperutil │ ├── README.md │ └── config_util_go.md ├── contribute.md ├── core ├── README.md ├── _images │ ├── chaincode_Handler_FSM.png │ ├── chaincode_msg.png │ ├── chaincode_shim_Handler_FSM.png │ ├── core_committer_LedgerCommitter_Commit.png │ ├── core_endorser_Endorser_ProcessProposal.png │ └── transaction_process.png ├── aclmgmt │ ├── README.md │ ├── aclmgmt_go.md │ ├── aclmgmtimpl_go.md │ ├── defaultaclprovider_go.md │ ├── resourceprovider_go.md │ └── resources │ │ ├── README.md │ │ └── resources_go.md ├── admin │ ├── README.md │ ├── admin_go.md │ └── validate_go.md ├── cclifecycle │ ├── README.md │ ├── lifecycle_go.md │ ├── subscription_go.md │ └── util_go.md ├── chaincode │ ├── README.md │ ├── accesscontrol │ │ ├── README.md │ │ ├── access_go.md │ │ ├── interceptor_go.md │ │ └── mapper_go.md │ ├── active_transactions_go.md │ ├── ccproviderimpl_go.md │ ├── chaincode_support_go.md │ ├── chaincodetest_yaml.md │ ├── config_go.md │ ├── container_runtime_go.md │ ├── handler_go.md │ ├── handler_registry_go.md │ ├── lib │ │ ├── README.md │ │ └── cid.md │ ├── lifecycle │ │ ├── README.md │ │ ├── lifecycle_go.md │ │ ├── scc_go.md │ │ └── serializer_go.md │ ├── lifecycle_go.md │ ├── pending_query_result_go.md │ ├── persistence │ │ ├── README.md │ │ ├── chaincode_package_go.md │ │ ├── package_provider_go.md │ │ └── persistence_go.md │ ├── platforms │ │ ├── README.md │ │ ├── car.md │ │ ├── ccmetadata.md │ │ ├── golang.md │ │ ├── java.md │ │ ├── node.md │ │ ├── platforms_go.md │ │ └── util.md │ ├── query_response_generator_go.md │ ├── runtime_launcher_go.md │ ├── shim │ │ ├── README.md │ │ ├── chaincode_go.md │ │ ├── ext.md │ │ ├── handler_go.md │ │ ├── inprocstream_go.md │ │ ├── interfaces_go.md │ │ ├── mockstub_go.md │ │ └── response_go.md │ ├── transaction_context_go.md │ └── transaction_contexts_go.md ├── comm │ ├── README.md │ ├── client_go.md │ ├── config_go.md │ ├── connection_go.md │ ├── creds_go.md │ ├── healthcheck_go.md │ ├── metrics_go.md │ ├── producer_go.md │ ├── server_go.md │ ├── serverstatshandler_go.md │ ├── throttle_go.md │ └── util_go.md ├── committer │ ├── README.md │ ├── committer_go.md │ ├── committer_impl_go.md │ └── txvalidator │ │ ├── README.md │ │ ├── plugin.md │ │ ├── router_go.md │ │ ├── v14.md │ │ └── v20.md ├── common │ ├── README.md │ ├── ccpackage │ │ ├── README.md │ │ └── ccpackage_go.md │ ├── ccprovider │ │ ├── README.md │ │ ├── cc_info_provider_go.md │ │ ├── cc_statedb_artifacts_provider_go.md │ │ ├── ccinfocache_go.md │ │ ├── ccprovider_go.md │ │ ├── cdspackage_go.md │ │ ├── common_go.md │ │ └── sigcdspackage_go.md │ ├── privdata │ │ ├── README.md │ │ ├── collection_go.md │ │ ├── simplecollection_go.md │ │ └── store_go.md │ ├── sysccprovider │ │ ├── README.md │ │ └── sysccprovider_go.md │ └── validation │ │ ├── README.md │ │ ├── msgvalidation_go.md │ │ └── statebased.md ├── config │ ├── README.md │ └── config_go.md ├── container │ ├── README.md │ ├── ccintf │ │ ├── README.md │ │ └── ccintf_go.md │ ├── controller_go.md │ ├── dockercontroller │ │ ├── README.md │ │ └── dockercontroller_go.md │ ├── inproccontroller │ │ ├── README.md │ │ ├── inproccontroller_go.md │ │ └── inprocstream_go.md │ └── util │ │ ├── README.md │ │ ├── dockerutil_go.md │ │ └── writer_go.md ├── deliverservice │ ├── README.md │ ├── blocksprovider │ │ ├── README.md │ │ └── blocksprovider_go.md │ ├── client_go.md │ ├── deliveryclient_go.md │ └── requester_go.md ├── dispatcher │ ├── README.md │ ├── dispatcher_go.md │ └── protobuf_go.md ├── endorser │ ├── README.md │ ├── endorser_go.md │ ├── metrics_go.md │ ├── plugin_endorser_go.md │ ├── pvtrwset_assembler_go.md │ ├── state_go.md │ └── support_go.md ├── handlers │ ├── README.md │ ├── auth │ │ ├── README.md │ │ ├── auth_go.md │ │ ├── filter.md │ │ └── plugin.md │ ├── decoration │ │ ├── README.md │ │ ├── decoration_go.md │ │ ├── decorator.md │ │ └── plugin.md │ ├── endorsement │ │ ├── README.md │ │ ├── api.md │ │ ├── builtin.md │ │ └── plugin.md │ ├── library │ │ ├── README.md │ │ ├── library_go.md │ │ └── registry_go.md │ └── validation │ │ ├── README.md │ │ ├── api.md │ │ ├── builtin.md │ │ └── token.md ├── ledger │ ├── README.md │ ├── cceventmgmt │ │ ├── README.md │ │ ├── defs_go.md │ │ ├── lsccstate_listener_go.md │ │ └── mgr_go.md │ ├── confighistory │ │ ├── README.md │ │ ├── db_helper_go.md │ │ └── mgr_go.md │ ├── customtx │ │ ├── README.md │ │ ├── custom_tx_processor_go.md │ │ ├── interface_go.md │ │ └── test_export_go.md │ ├── kvledger │ │ ├── README.md │ │ ├── bookkeeping.md │ │ ├── coll_elg_notifier_go.md │ │ ├── hashcheck_pvtdata_go.md │ │ ├── history.md │ │ ├── kv_ledger_go.md │ │ ├── kv_ledger_provider_go.md │ │ ├── metrics_go.md │ │ ├── recovery_go.md │ │ └── txmgmt.md │ ├── ledger_interface_go.md │ ├── ledgerconfig │ │ ├── README.md │ │ └── ledger_config_go.md │ ├── ledgermgmt │ │ ├── README.md │ │ ├── ledger_mgmt_go.md │ │ └── ledger_mgmt_test_exports_go.md │ ├── ledgerstorage │ │ ├── README.md │ │ └── store_go.md │ ├── pvtdatapolicy │ │ ├── README.md │ │ └── btlpolicy_go.md │ ├── pvtdatastorage │ │ ├── README.md │ │ ├── helper_go.md │ │ ├── kv_encoding_go.md │ │ ├── persistent_msgs.pb_go.md │ │ ├── persistent_msgs_helper_go.md │ │ ├── persistent_msgs_proto.md │ │ ├── store_go.md │ │ ├── store_impl_go.md │ │ ├── test_exports_go.md │ │ └── v11_go.md │ └── util │ │ ├── README.md │ │ ├── couchdb.md │ │ ├── txvalidationflags_go.md │ │ ├── uint64_encoding_go.md │ │ └── util_go.md ├── middleware │ ├── README.md │ ├── chain_go.md │ ├── fakes │ │ ├── README.md │ │ └── http_handler_go.md │ ├── request_id_go.md │ └── require_cert_go.md ├── operations │ ├── README.md │ ├── fakes │ │ ├── README.md │ │ ├── healthchecker_go.md │ │ └── logger_go.md │ ├── metrics_go.md │ ├── system_go.md │ └── tls_go.md ├── peer │ ├── README.md │ ├── config_go.md │ ├── configtx_processor_go.md │ ├── configtx_util_go.md │ ├── deliverevents_go.md │ ├── mock_helpers_go.md │ ├── peer_go.md │ ├── peer_impl_go.md │ └── support_go.md ├── policy │ ├── README.md │ └── policy_go.md ├── policyprovider │ ├── README.md │ └── provider_go.md ├── scc │ ├── README.md │ ├── cscc │ │ ├── README.md │ │ └── configure_go.md │ ├── importsysccs_go.md │ ├── loadsysccs_go.md │ ├── lscc │ │ ├── README.md │ │ ├── deployedcc_infoprovider_go.md │ │ ├── errors_go.md │ │ ├── lscc_go.md │ │ └── support_go.md │ ├── qscc │ │ ├── README.md │ │ └── query_go.md │ ├── register_go.md │ ├── register_pluginsenabled_go.md │ ├── sccproviderimpl_go.md │ └── sysccapi_go.md └── transientstore │ ├── README.md │ ├── store_go.md │ ├── store_helper_go.md │ └── test_exports_go.md ├── discovery ├── README.md ├── api_go.md ├── authcache_go.md ├── client │ ├── README.md │ ├── api_go.md │ ├── client_go.md │ ├── selection_go.md │ └── signer_go.md ├── cmd │ ├── README.md │ ├── cmd_go.md │ ├── config_go.md │ ├── endorsers_go.md │ ├── peers_go.md │ └── stub_go.md ├── endorsement │ ├── README.md │ ├── collection_go.md │ └── endorsement_go.md ├── service_go.md └── support │ ├── README.md │ ├── acl │ ├── README.md │ └── support_go.md │ ├── chaincode │ ├── README.md │ └── support_go.md │ ├── config │ ├── README.md │ └── support_go.md │ ├── gossip │ ├── README.md │ └── support_go.md │ └── support_go.md ├── docs ├── Makefile.md ├── README.md ├── custom_theme │ ├── README.md │ └── searchbox_html.md ├── requirements_txt.md ├── source │ ├── DCO1.1_txt.md │ ├── Gerrit │ │ └── README.md │ ├── README.md │ ├── Style-guides │ │ └── README.md │ ├── _static │ │ ├── README.md │ │ ├── css.md │ │ └── images.md │ ├── _templates │ │ ├── README.md │ │ ├── footer_html.md │ │ └── layout_html.md │ ├── commands │ │ └── README.md │ ├── conf_py.md │ ├── dev-setup │ │ ├── README.md │ │ └── headers_txt.md │ ├── diagrams │ │ ├── README.md │ │ └── diagrams_pptx.md │ ├── glossary │ │ ├── README.md │ │ └── diagrams_pptx.md │ ├── identity │ │ └── README.md │ ├── images │ │ ├── README.md │ │ └── SideDBTutorialImages_pptx.md │ ├── ledger │ │ └── README.md │ ├── mdtorst_sh.md │ ├── membership │ │ └── README.md │ ├── network │ │ └── README.md │ ├── peers │ │ └── README.md │ ├── private-data │ │ ├── PrivateDataConceptImages_pptx.md │ │ └── README.md │ └── requirements_txt.md └── wrappers │ └── README.md ├── examples ├── README.md ├── chaincode │ ├── README.md │ └── go │ │ ├── README.md │ │ ├── enccc_example.md │ │ ├── eventsender.md │ │ ├── example01.md │ │ ├── example02.md │ │ ├── example03.md │ │ ├── example04.md │ │ ├── example05.md │ │ ├── invokereturnsvalue.md │ │ ├── map.md │ │ ├── marbles02.md │ │ ├── passthru.md │ │ └── sleeper.md ├── cluster │ ├── Makefile.md │ ├── README.md │ ├── compose │ │ ├── README.md │ │ ├── compose-up.sh_in.md │ │ ├── configure.sh_in.md │ │ └── docker-compose.yaml_in.md │ ├── config │ │ ├── README.md │ │ ├── configtx_yaml.md │ │ ├── core_yaml.md │ │ ├── cryptogen_yaml.md │ │ ├── fabric-ca-server-config_yaml.md │ │ ├── fabric-tlsca-server-config_yaml.md │ │ └── orderer_yaml.md │ └── usage_txt.md ├── configtxupdate │ ├── README.md │ ├── bootstrap_batchsize │ │ ├── README.md │ │ └── script_sh.md │ ├── common_scripts │ │ ├── README.md │ │ └── common_sh.md │ ├── reconfig_batchsize │ │ ├── README.md │ │ └── script_sh.md │ └── reconfig_membership │ │ ├── README.md │ │ └── script_sh.md ├── events │ ├── README.md │ └── eventsclient │ │ ├── README.md │ │ └── eventsclient_go.md └── plugins │ ├── README.md │ ├── bccsp │ ├── README.md │ └── plugin_go.md │ └── scc │ ├── README.md │ └── plugin_go.md ├── gossip ├── README.md ├── api │ ├── README.md │ ├── channel_go.md │ ├── crypto_go.md │ └── subchannel_go.md ├── comm │ ├── README.md │ ├── ack_go.md │ ├── comm_go.md │ ├── comm_impl_go.md │ ├── conn_go.md │ ├── crypto_go.md │ ├── demux_go.md │ └── msg_go.md ├── common │ ├── README.md │ ├── cert_go.md │ └── common_go.md ├── discovery │ ├── README.md │ ├── discovery_go.md │ └── discovery_impl_go.md ├── election │ ├── README.md │ ├── adapter_go.md │ └── election_go.md ├── filter │ ├── README.md │ └── filter_go.md ├── gossip │ ├── README.md │ ├── algo │ │ ├── README.md │ │ └── pull_go.md │ ├── batcher_go.md │ ├── certstore_go.md │ ├── channel │ │ ├── README.md │ │ └── channel_go.md │ ├── chanstate_go.md │ ├── gossip_go.md │ ├── gossip_impl_go.md │ ├── msgstore │ │ ├── README.md │ │ └── msgs_go.md │ └── pull │ │ ├── README.md │ │ └── pullstore_go.md ├── identity │ ├── README.md │ └── identity_go.md ├── integration │ ├── README.md │ └── integration_go.md ├── privdata │ ├── README.md │ ├── common │ │ ├── README.md │ │ └── common_go.md │ ├── coordinator_go.md │ ├── dataretriever_go.md │ ├── distributor_go.md │ ├── pull_go.md │ ├── reconcile_go.md │ └── util_go.md ├── service │ ├── README.md │ ├── eventer_go.md │ └── gossip_service_go.md ├── state │ ├── README.md │ ├── payloads_buffer_go.md │ └── state_go.md └── util │ ├── README.md │ ├── logging_go.md │ ├── misc_go.md │ ├── msgs_go.md │ ├── privdata_go.md │ └── pubsub_go.md ├── gotools └── README.md ├── idemix ├── README.md ├── credential_go.md ├── credrequest_go.md ├── idemix.pb_go.md ├── issuerkey_go.md ├── nonrevocation-prover_go.md ├── nonrevocation-verifier_go.md ├── nymsignature_go.md ├── revocation_authority_go.md ├── signature_go.md ├── util_go.md └── weak-bb_go.md ├── images ├── README.md ├── ccenv │ ├── Dockerfile.md │ ├── README.md │ └── main_go.md ├── orderer │ ├── Dockerfile.md │ └── README.md ├── peer │ ├── Dockerfile.md │ └── README.md └── tools │ ├── Dockerfile.md │ └── README.md ├── integration ├── README.md ├── chaincode │ ├── README.md │ ├── keylevelep │ │ ├── README.md │ │ ├── chaincode_go.md │ │ └── cmd.md │ ├── marbles_private │ │ ├── README.md │ │ ├── chaincode_go.md │ │ └── cmd.md │ └── simple │ │ ├── README.md │ │ ├── chaincode_go.md │ │ └── cmd.md ├── discovery │ └── README.md ├── e2e │ └── README.md ├── helpers │ ├── README.md │ └── images_go.md ├── nwo │ ├── README.md │ ├── command_go.md │ ├── commands │ │ ├── README.md │ │ ├── configtxgen_go.md │ │ ├── cryptogen_go.md │ │ ├── discover_go.md │ │ └── peer_go.md │ ├── components_go.md │ ├── config_go.md │ ├── configblock_go.md │ ├── configtx_template_go.md │ ├── core_template_go.md │ ├── crypto_template_go.md │ ├── deploy_go.md │ ├── discover_go.md │ ├── fabricconfig │ │ ├── README.md │ │ ├── core_go.md │ │ └── orderer_go.md │ ├── network_go.md │ ├── orderer_template_go.md │ ├── solo_yaml.md │ ├── standard_networks_go.md │ └── templates_go.md ├── pluggable │ ├── README.md │ └── plugin_activation_go.md ├── pvtdata │ └── README.md ├── runner │ ├── README.md │ ├── couchdb_go.md │ ├── defaults_go.md │ ├── kafka_go.md │ └── zookeeper_go.md ├── sbe │ └── README.md └── token │ └── README.md ├── msp ├── README.md ├── cache │ ├── README.md │ ├── cache_go.md │ └── second_chance_go.md ├── cert_go.md ├── configbuilder_go.md ├── factory_go.md ├── idemix_roles_go.md ├── idemixmsp_go.md ├── identities_go.md ├── mgmt │ ├── README.md │ ├── deserializer_go.md │ ├── mgmt_go.md │ └── principal_go.md ├── msp_go.md ├── mspimpl_go.md ├── mspimplsetup_go.md ├── mspimplvalidate_go.md └── mspmgrimpl_go.md ├── orderer ├── README.md ├── _images │ └── orderer_common_server_Start.png ├── common │ ├── README.md │ ├── blockcutter │ │ ├── README.md │ │ ├── blockcutter_go.md │ │ └── metrics_go.md │ ├── bootstrap │ │ ├── README.md │ │ ├── bootstrap_go.md │ │ └── file.md │ ├── broadcast │ │ ├── README.md │ │ ├── broadcast_go.md │ │ └── metrics_go.md │ ├── cluster │ │ ├── README.md │ │ ├── comm_go.md │ │ ├── connections_go.md │ │ ├── deliver_go.md │ │ ├── replication_go.md │ │ ├── rpc_go.md │ │ ├── service_go.md │ │ └── util_go.md │ ├── localconfig │ │ ├── README.md │ │ └── config_go.md │ ├── metadata │ │ ├── README.md │ │ └── metadata_go.md │ ├── msgprocessor │ │ ├── README.md │ │ ├── expiration_go.md │ │ ├── filter_go.md │ │ ├── msgprocessor_go.md │ │ ├── sigfilter_go.md │ │ ├── sizefilter_go.md │ │ ├── standardchannel_go.md │ │ ├── systemchannel_go.md │ │ └── systemchannelfilter_go.md │ ├── multichannel │ │ ├── README.md │ │ ├── blockwriter_go.md │ │ ├── chainsupport_go.md │ │ └── registrar_go.md │ └── server │ │ ├── README.md │ │ ├── docker-compose_yml.md │ │ ├── main_go.md │ │ ├── onboarding_go.md │ │ ├── sched_go.md │ │ ├── server_go.md │ │ ├── signals_go.md │ │ ├── signals_windows_go.md │ │ └── util_go.md ├── consensus │ ├── README.md │ ├── consensus_go.md │ ├── kafka │ │ ├── README.md │ │ ├── chain_go.md │ │ ├── channel_go.md │ │ ├── config_go.md │ │ ├── consenter_go.md │ │ ├── logger_go.md │ │ ├── partitioner_go.md │ │ └── retry_go.md │ └── solo │ │ ├── README.md │ │ └── consensus_go.md ├── main_go.md ├── orderer.md └── sample_clients │ ├── README.md │ ├── broadcast_config │ ├── README.md │ ├── client_go.md │ └── newchain_go.md │ ├── broadcast_msg │ ├── README.md │ └── client_go.md │ └── deliver_stdout │ ├── README.md │ └── client_go.md ├── overview.md ├── peer ├── README.md ├── _images │ ├── channel_create.png │ ├── mspconfig.png │ ├── node_start.png │ ├── node_status.png │ ├── node_stop.png │ ├── peer_chaincode_install.png │ ├── peer_chaincode_instantiate.png │ ├── peer_node_start.png │ ├── proto-peer-chaincode.png │ └── signed_proposal.png ├── chaincode │ ├── README.md │ ├── api │ │ ├── README.md │ │ └── api_go.md │ ├── chaincode_go.md │ ├── common_go.md │ ├── install_go.md │ ├── instantiate_go.md │ ├── invoke_go.md │ ├── list_go.md │ ├── package_go.md │ ├── query_go.md │ ├── signpackage_go.md │ └── upgrade_go.md ├── channel │ ├── README.md │ ├── channel_go.md │ ├── create_go.md │ ├── fetch_go.md │ ├── getinfo_go.md │ ├── join_go.md │ ├── list_go.md │ ├── signconfigtx_go.md │ └── update_go.md ├── clilogging │ ├── README.md │ ├── common_go.md │ ├── getlevel_go.md │ ├── getlogspec_go.md │ ├── logging_go.md │ ├── revertlevels_go.md │ ├── setlevel_go.md │ └── setlogspec_go.md ├── common │ ├── README.md │ ├── api │ │ ├── README.md │ │ └── api_go.md │ ├── broadcastclient_go.md │ ├── common_go.md │ ├── deliverclient_go.md │ ├── mockclient_go.md │ ├── networkconfig_go.md │ ├── ordererclient_go.md │ ├── ordererenv_go.md │ ├── peerclient_go.md │ └── peerdeliverclient_go.md ├── gossip │ ├── README.md │ ├── mcs_go.md │ └── sa_go.md ├── main_go.md ├── node │ ├── README.md │ ├── node_go.md │ ├── signals_go.md │ ├── signals_windows_go.md │ ├── start_go.md │ └── status_go.md └── version │ ├── README.md │ └── version_go.md ├── process ├── README.md ├── _images │ ├── chaincode_Start.png │ ├── endorser_ProcessProposal.png │ ├── orderer_common_broadcast.png │ ├── orderer_common_deliver.png │ ├── orderer_common_server_Start.png │ ├── orderer_processMessagesToBlocks.png │ ├── orderer_processRegular.png │ ├── orderer_workflow.png │ └── peer_commit.png ├── anchor_update.md ├── cc_install.md ├── cc_instantiate.md ├── cc_invoke.md ├── cc_query.md ├── chaincode_start.md ├── channel_create.md ├── channel_join.md ├── orderer_broadcast.md ├── orderer_consume_msg.md ├── orderer_deliver.md ├── orderer_start.md ├── orderer_workflow.md ├── peer_callChaincode.md ├── peer_commit.md ├── peer_endorse.md └── peer_start.md ├── proposals ├── README.md └── r1 │ └── README.md ├── protos ├── README.md ├── _images │ ├── chaincodespec.png │ └── structure_of_Envelope.png ├── common │ ├── README.md │ ├── block_go.md │ ├── collection.pb_go.md │ ├── collection_proto.md │ ├── common.pb_go.md │ ├── common_go.md │ ├── common_proto.md │ ├── configtx.pb_go.md │ ├── configtx_go.md │ ├── configtx_proto.md │ ├── configuration.pb_go.md │ ├── configuration_go.md │ ├── configuration_proto.md │ ├── ledger.pb_go.md │ ├── ledger_proto.md │ ├── policies.pb_go.md │ ├── policies_go.md │ ├── policies_proto.md │ └── signed_data_go.md ├── discovery │ ├── README.md │ ├── extensions_go.md │ ├── protocol.pb_go.md │ └── protocol_proto.md ├── gossip │ ├── README.md │ ├── extensions_go.md │ ├── message.pb_go.md │ └── message_proto.md ├── idemix │ ├── README.md │ └── idemix_proto.md ├── ledger │ ├── README.md │ ├── queryresult │ │ ├── README.md │ │ ├── kv_query_result.pb_go.md │ │ └── kv_query_result_proto.md │ └── rwset │ │ ├── README.md │ │ ├── kvrwset.md │ │ ├── rwset.pb_go.md │ │ ├── rwset_go.md │ │ └── rwset_proto.md ├── msp │ ├── README.md │ ├── identities.pb_go.md │ ├── identities_proto.md │ ├── msp_config.pb_go.md │ ├── msp_config_go.md │ ├── msp_config_proto.md │ ├── msp_principal.pb_go.md │ ├── msp_principal_go.md │ └── msp_principal_proto.md ├── orderer │ ├── README.md │ ├── ab.pb_go.md │ ├── ab_proto.md │ ├── cluster.pb_go.md │ ├── cluster_proto.md │ ├── configuration.pb_go.md │ ├── configuration_go.md │ ├── configuration_proto.md │ ├── etcdraft │ │ ├── README.md │ │ ├── configuration.pb_go.md │ │ ├── configuration_go.md │ │ └── configuration_proto.md │ ├── kafka.pb_go.md │ └── kafka_proto.md ├── peer │ ├── README.md │ ├── admin.pb_go.md │ ├── admin_proto.md │ ├── chaincode.pb_go.md │ ├── chaincode_event.pb_go.md │ ├── chaincode_event_proto.md │ ├── chaincode_go.md │ ├── chaincode_proto.md │ ├── chaincode_shim.pb_go.md │ ├── chaincode_shim_proto.md │ ├── chaincodeunmarshall_go.md │ ├── configuration.pb_go.md │ ├── configuration_go.md │ ├── configuration_proto.md │ ├── events.pb_go.md │ ├── events_proto.md │ ├── lifecycle │ │ ├── README.md │ │ ├── db.pb_go.md │ │ ├── db_proto.md │ │ ├── lifecycle.pb_go.md │ │ └── lifecycle_proto.md │ ├── peer.pb_go.md │ ├── peer_proto.md │ ├── proposal.pb_go.md │ ├── proposal_go.md │ ├── proposal_proto.md │ ├── proposal_response.pb_go.md │ ├── proposal_response_go.md │ ├── proposal_response_proto.md │ ├── query.pb_go.md │ ├── query_proto.md │ ├── resources.pb_go.md │ ├── resources_proto.md │ ├── signed_cc_dep_spec.pb_go.md │ ├── signed_cc_dep_spec_proto.md │ ├── transaction.pb_go.md │ ├── transaction_go.md │ └── transaction_proto.md ├── token │ ├── README.md │ ├── expectations.pb_go.md │ ├── expectations_proto.md │ ├── prover.pb_go.md │ ├── prover_proto.md │ ├── transaction.pb_go.md │ └── transaction_proto.md ├── transientstore │ ├── README.md │ ├── transientstore.pb_go.md │ └── transientstore_proto.md └── utils │ ├── README.md │ ├── blockutils_go.md │ ├── commonutils_go.md │ ├── proputils_go.md │ └── txutils_go.md ├── release ├── README.md └── templates │ ├── README.md │ └── get-docker-images_in.md ├── release_notes ├── README.md ├── v1.0.0-rc1_txt.md ├── v1.0.0_txt.md ├── v1.0.1_txt.md ├── v1.0.2_txt.md ├── v1.0.3_txt.md ├── v1.1.0-alpha_txt.md ├── v1.1.0-preview_txt.md ├── v1.1.0-rc1_txt.md ├── v1.2.0-rc1_txt.md ├── v1.3.0-rc1_txt.md └── v1.4.0_txt.md ├── revision.md ├── sampleconfig ├── README.md ├── configtx_yaml.md ├── core_yaml.md ├── msp │ ├── README.md │ ├── admincerts │ │ ├── README.md │ │ └── admincert_pem.md │ ├── cacerts │ │ ├── README.md │ │ └── cacert_pem.md │ ├── config_yaml.md │ ├── keystore │ │ ├── README.md │ │ └── key_pem.md │ ├── signcerts │ │ ├── README.md │ │ └── peer_pem.md │ ├── tlscacerts │ │ ├── README.md │ │ └── tlsroot_pem.md │ └── tlsintermediatecerts │ │ ├── README.md │ │ └── tlsintermediate_pem.md └── orderer_yaml.md ├── scripts ├── README.md ├── bootstrap_sh.md ├── changelog_sh.md ├── check_deps_sh.md ├── check_license_sh.md ├── check_spelling_sh.md ├── check_trailingspaces_sh.md ├── compile_protos_sh.md ├── generateHelpDocs_sh.md ├── goListFiles_sh.md ├── golinter_sh.md ├── metrics_doc_sh.md ├── multiarch_sh.md ├── pull_build_artifacts_sh.md ├── run-integration-tests_sh.md └── run-unit-tests_sh.md ├── sdk ├── README.md └── node │ ├── Makefile.md │ ├── README.md │ ├── bin │ ├── README.md │ ├── main_js.md │ ├── run-unit-tests_sh.md │ └── test_json.md │ ├── index_js.md │ ├── lib │ ├── README.md │ ├── hash_js.md │ └── protos.md │ ├── makedoc_sh.md │ ├── package_json.md │ ├── src │ ├── README.md │ ├── crypto_ts.md │ ├── hfc_ts.md │ ├── sdk_util_ts.md │ └── stats_ts.md │ ├── test │ ├── README.md │ └── unit.md │ ├── tsconfig_json.md │ ├── typedoc-special.d_ts.md │ └── typings_json.md ├── token ├── README.md ├── client │ ├── README.md │ ├── client_go.md │ ├── config_go.md │ ├── deliver_client_go.md │ ├── grpc_go.md │ ├── orderer_client_go.md │ ├── prover_go.md │ └── tx_submitter_go.md ├── identity │ ├── README.md │ └── identity_go.md ├── identity_go.md ├── ledger │ ├── README.md │ └── ledger_go.md ├── server │ ├── README.md │ ├── accesscontrol_go.md │ ├── capability_checker_go.md │ ├── ledgermanager_go.md │ ├── manager_go.md │ ├── marshal_go.md │ ├── msp_go.md │ ├── prover_go.md │ └── tms_go.md ├── tms │ ├── README.md │ ├── manager │ │ ├── README.md │ │ ├── manager_go.md │ │ └── policy_go.md │ ├── plain │ │ ├── README.md │ │ ├── issuer_go.md │ │ ├── ledger_go.md │ │ ├── manager_go.md │ │ ├── pool_go.md │ │ ├── transactor_go.md │ │ └── verifier_go.md │ └── transactiondata_go.md └── transaction │ ├── README.md │ ├── marshalling_go.md │ ├── processor_go.md │ └── tms_go.md └── vagrant ├── README.md ├── Vagrantfile.md ├── docker_sh.md ├── essentials_sh.md ├── golang_sh.md ├── softhsm_sh.md ├── srcdir_sh.md └── user_sh.md /LICENSE.md: -------------------------------------------------------------------------------- 1 | # LICENSE 2 | -------------------------------------------------------------------------------- /Makefile.md: -------------------------------------------------------------------------------- 1 | # Makefile 2 | -------------------------------------------------------------------------------- /_images/blockchain_book.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeasy/hyperledger_code_fabric/2f6d00d2aab049cf7229bd512e6b8277ffa8d7ba/_images/blockchain_book.png -------------------------------------------------------------------------------- /_images/donate.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeasy/hyperledger_code_fabric/2f6d00d2aab049cf7229bd512e6b8277ffa8d7ba/_images/donate.jpeg -------------------------------------------------------------------------------- /bccsp/README.md: -------------------------------------------------------------------------------- 1 | # bccsp 2 | 区块链加密服务提供者(Blockchain Crypto Service Provider),提供一些密码学相关操作的实现,包括 Hash、签名、校验、加解密等。 3 | 4 | 实现了软件机制(sw)和硬件机制(pkcs11)。 5 | 6 | bccsp 主要支持 MSP 的相关调用。 -------------------------------------------------------------------------------- /bccsp/aesopts_go.md: -------------------------------------------------------------------------------- 1 | ## aesopts.go 2 | 3 | AES 算法相关选项结构。 4 | -------------------------------------------------------------------------------- /bccsp/ecdsaopts_go.md: -------------------------------------------------------------------------------- 1 | ## ecdsaopts.go 2 | 3 | ECDSA 算法相关选项结构。 4 | -------------------------------------------------------------------------------- /bccsp/factory/factory_go.md: -------------------------------------------------------------------------------- 1 | ### factory.go 2 | -------------------------------------------------------------------------------- /bccsp/factory/nopkcs11_go.md: -------------------------------------------------------------------------------- 1 | ### nopkcs11.go 2 | -------------------------------------------------------------------------------- /bccsp/factory/opts_go.md: -------------------------------------------------------------------------------- 1 | ### opts.go 2 | -------------------------------------------------------------------------------- /bccsp/factory/pkcs11_go.md: -------------------------------------------------------------------------------- 1 | ### pkcs11.go 2 | -------------------------------------------------------------------------------- /bccsp/factory/pkcs11factory_go.md: -------------------------------------------------------------------------------- 1 | ### pkcs11factory.go 2 | -------------------------------------------------------------------------------- /bccsp/factory/pluginfactory_go.md: -------------------------------------------------------------------------------- 1 | ### pluginfactory.go 2 | -------------------------------------------------------------------------------- /bccsp/factory/swfactory_go.md: -------------------------------------------------------------------------------- 1 | ### swfactory.go 2 | -------------------------------------------------------------------------------- /bccsp/hashopts_go.md: -------------------------------------------------------------------------------- 1 | ## hashopts.go 2 | 3 | Hash 算法(SHA)相关选项结构。 4 | -------------------------------------------------------------------------------- /bccsp/idemix/README.md: -------------------------------------------------------------------------------- 1 | ## idemix 包 2 | -------------------------------------------------------------------------------- /bccsp/idemix/bccsp_go.md: -------------------------------------------------------------------------------- 1 | ### bccsp.go 2 | -------------------------------------------------------------------------------- /bccsp/idemix/bridge/README.md: -------------------------------------------------------------------------------- 1 | ### bridge 包 2 | -------------------------------------------------------------------------------- /bccsp/idemix/bridge/credential_go.md: -------------------------------------------------------------------------------- 1 | #### credential.go 2 | -------------------------------------------------------------------------------- /bccsp/idemix/bridge/credrequest_go.md: -------------------------------------------------------------------------------- 1 | #### credrequest.go 2 | -------------------------------------------------------------------------------- /bccsp/idemix/bridge/issuer_go.md: -------------------------------------------------------------------------------- 1 | #### issuer.go 2 | -------------------------------------------------------------------------------- /bccsp/idemix/bridge/math_go.md: -------------------------------------------------------------------------------- 1 | #### math.go 2 | -------------------------------------------------------------------------------- /bccsp/idemix/bridge/nymsignaturescheme_go.md: -------------------------------------------------------------------------------- 1 | #### nymsignaturescheme.go 2 | -------------------------------------------------------------------------------- /bccsp/idemix/bridge/rand_go.md: -------------------------------------------------------------------------------- 1 | #### rand.go 2 | -------------------------------------------------------------------------------- /bccsp/idemix/bridge/revocation_go.md: -------------------------------------------------------------------------------- 1 | #### revocation.go 2 | -------------------------------------------------------------------------------- /bccsp/idemix/bridge/signaturescheme_go.md: -------------------------------------------------------------------------------- 1 | #### signaturescheme.go 2 | -------------------------------------------------------------------------------- /bccsp/idemix/bridge/user_go.md: -------------------------------------------------------------------------------- 1 | #### user.go 2 | -------------------------------------------------------------------------------- /bccsp/idemix/handlers/README.md: -------------------------------------------------------------------------------- 1 | ### handlers 包 2 | -------------------------------------------------------------------------------- /bccsp/idemix/handlers/cred_go.md: -------------------------------------------------------------------------------- 1 | #### cred.go 2 | -------------------------------------------------------------------------------- /bccsp/idemix/handlers/idemix_go.md: -------------------------------------------------------------------------------- 1 | #### idemix.go 2 | -------------------------------------------------------------------------------- /bccsp/idemix/handlers/issuer_go.md: -------------------------------------------------------------------------------- 1 | #### issuer.go 2 | -------------------------------------------------------------------------------- /bccsp/idemix/handlers/nym_go.md: -------------------------------------------------------------------------------- 1 | #### nym.go 2 | -------------------------------------------------------------------------------- /bccsp/idemix/handlers/nymsigner_go.md: -------------------------------------------------------------------------------- 1 | #### nymsigner.go 2 | -------------------------------------------------------------------------------- /bccsp/idemix/handlers/revocation_go.md: -------------------------------------------------------------------------------- 1 | #### revocation.go 2 | -------------------------------------------------------------------------------- /bccsp/idemix/handlers/signer_go.md: -------------------------------------------------------------------------------- 1 | #### signer.go 2 | -------------------------------------------------------------------------------- /bccsp/idemix/handlers/user_go.md: -------------------------------------------------------------------------------- 1 | #### user.go 2 | -------------------------------------------------------------------------------- /bccsp/idemixerrs_go.md: -------------------------------------------------------------------------------- 1 | ## idemixerrs.go 2 | -------------------------------------------------------------------------------- /bccsp/idemixopts_go.md: -------------------------------------------------------------------------------- 1 | ## idemixopts.go 2 | -------------------------------------------------------------------------------- /bccsp/opts_go.md: -------------------------------------------------------------------------------- 1 | ## opts.go 2 | 3 | 提供一些基础的密码学选项,包括常见算法名称、秘钥生成参数等。 4 | -------------------------------------------------------------------------------- /bccsp/pkcs11/README.md: -------------------------------------------------------------------------------- 1 | ## pkcs11 2 | 3 | 提供 PKCS11(公钥加密标准 PKCS的标准之一,提供硬件安全模块支持)标准的签名实现。 -------------------------------------------------------------------------------- /bccsp/pkcs11/conf_go.md: -------------------------------------------------------------------------------- 1 | ### conf.go 2 | -------------------------------------------------------------------------------- /bccsp/pkcs11/ecdsa_go.md: -------------------------------------------------------------------------------- 1 | ### ecdsa.go 2 | -------------------------------------------------------------------------------- /bccsp/pkcs11/ecdsakey_go.md: -------------------------------------------------------------------------------- 1 | ### ecdsakey.go 2 | -------------------------------------------------------------------------------- /bccsp/pkcs11/impl_go.md: -------------------------------------------------------------------------------- 1 | ### impl.go 2 | -------------------------------------------------------------------------------- /bccsp/pkcs11/pkcs11_go.md: -------------------------------------------------------------------------------- 1 | ### pkcs11.go 2 | -------------------------------------------------------------------------------- /bccsp/rsaopts_go.md: -------------------------------------------------------------------------------- 1 | ## rsaopts.go 2 | 3 | RSA 算法相关选项结构,包括RSA2048、RSA3072、RSA4096 算法秘钥生成选项等。 4 | -------------------------------------------------------------------------------- /bccsp/signer/README.md: -------------------------------------------------------------------------------- 1 | ## signer 2 | -------------------------------------------------------------------------------- /bccsp/signer/signer_go.md: -------------------------------------------------------------------------------- 1 | ### signer.go 2 | -------------------------------------------------------------------------------- /bccsp/sw/README.md: -------------------------------------------------------------------------------- 1 | ## sw 2 | -------------------------------------------------------------------------------- /bccsp/sw/aes_go.md: -------------------------------------------------------------------------------- 1 | ### aes.go 2 | -------------------------------------------------------------------------------- /bccsp/sw/aeskey_go.md: -------------------------------------------------------------------------------- 1 | ### aeskey.go 2 | -------------------------------------------------------------------------------- /bccsp/sw/conf_go.md: -------------------------------------------------------------------------------- 1 | ### conf.go 2 | -------------------------------------------------------------------------------- /bccsp/sw/dummyks_go.md: -------------------------------------------------------------------------------- 1 | ### dummyks.go 2 | -------------------------------------------------------------------------------- /bccsp/sw/ecdsa_go.md: -------------------------------------------------------------------------------- 1 | ### ecdsa.go 2 | -------------------------------------------------------------------------------- /bccsp/sw/ecdsakey_go.md: -------------------------------------------------------------------------------- 1 | ### ecdsakey.go 2 | -------------------------------------------------------------------------------- /bccsp/sw/fileks_go.md: -------------------------------------------------------------------------------- 1 | ### fileks.go 2 | -------------------------------------------------------------------------------- /bccsp/sw/hash_go.md: -------------------------------------------------------------------------------- 1 | ### hash.go 2 | -------------------------------------------------------------------------------- /bccsp/sw/impl_go.md: -------------------------------------------------------------------------------- 1 | ### impl.go 2 | -------------------------------------------------------------------------------- /bccsp/sw/inmemoryks_go.md: -------------------------------------------------------------------------------- 1 | ### inmemoryks.go 2 | -------------------------------------------------------------------------------- /bccsp/sw/internals_go.md: -------------------------------------------------------------------------------- 1 | ### internals.go 2 | -------------------------------------------------------------------------------- /bccsp/sw/keyderiv_go.md: -------------------------------------------------------------------------------- 1 | ### keyderiv.go 2 | -------------------------------------------------------------------------------- /bccsp/sw/keygen_go.md: -------------------------------------------------------------------------------- 1 | ### keygen.go 2 | -------------------------------------------------------------------------------- /bccsp/sw/keyimport_go.md: -------------------------------------------------------------------------------- 1 | ### keyimport.go 2 | -------------------------------------------------------------------------------- /bccsp/sw/new_go.md: -------------------------------------------------------------------------------- 1 | ### new.go 2 | -------------------------------------------------------------------------------- /bccsp/sw/rsa_go.md: -------------------------------------------------------------------------------- 1 | ### rsa.go 2 | -------------------------------------------------------------------------------- /bccsp/sw/rsakey_go.md: -------------------------------------------------------------------------------- 1 | ### rsakey.go 2 | -------------------------------------------------------------------------------- /bccsp/utils/README.md: -------------------------------------------------------------------------------- 1 | ## utils 2 | -------------------------------------------------------------------------------- /bccsp/utils/ecdsa_go.md: -------------------------------------------------------------------------------- 1 | ### ecdsa.go 2 | -------------------------------------------------------------------------------- /bccsp/utils/errs_go.md: -------------------------------------------------------------------------------- 1 | ### errs.go 2 | -------------------------------------------------------------------------------- /bccsp/utils/io_go.md: -------------------------------------------------------------------------------- 1 | ### io.go 2 | -------------------------------------------------------------------------------- /bccsp/utils/keys_go.md: -------------------------------------------------------------------------------- 1 | ### keys.go 2 | -------------------------------------------------------------------------------- /bccsp/utils/slice_go.md: -------------------------------------------------------------------------------- 1 | ### slice.go 2 | -------------------------------------------------------------------------------- /bccsp/utils/x509_go.md: -------------------------------------------------------------------------------- 1 | ### x509.go 2 | -------------------------------------------------------------------------------- /cmd/README.md: -------------------------------------------------------------------------------- 1 | # cmd 包 2 | 3 | 提供一些封装的 CLI 支持方法和结构。 4 | 5 | 目前主要是从命令行读取参数,存放到指定的配置文件。 6 | 7 | *注:命令行工具应该统一,后台直接用 go SDK 支持更高效。* -------------------------------------------------------------------------------- /cmd/common/README.md: -------------------------------------------------------------------------------- 1 | ## common 包 2 | -------------------------------------------------------------------------------- /cmd/common/cli_go.md: -------------------------------------------------------------------------------- 1 | ### cli.go 2 | -------------------------------------------------------------------------------- /cmd/common/comm/README.md: -------------------------------------------------------------------------------- 1 | ### comm 包 2 | -------------------------------------------------------------------------------- /cmd/common/comm/client_go.md: -------------------------------------------------------------------------------- 1 | #### client.go 2 | -------------------------------------------------------------------------------- /cmd/common/comm/config_go.md: -------------------------------------------------------------------------------- 1 | #### config.go 2 | -------------------------------------------------------------------------------- /cmd/common/config_go.md: -------------------------------------------------------------------------------- 1 | ### config.go 2 | -------------------------------------------------------------------------------- /cmd/common/signer/README.md: -------------------------------------------------------------------------------- 1 | ### signer 包 2 | -------------------------------------------------------------------------------- /cmd/common/signer/signer_go.md: -------------------------------------------------------------------------------- 1 | #### signer.go 2 | -------------------------------------------------------------------------------- /cmd/discover/README.md: -------------------------------------------------------------------------------- 1 | ## discover 包 2 | 3 | 支持 discover 命令。 -------------------------------------------------------------------------------- /cmd/discover/main_go.md: -------------------------------------------------------------------------------- 1 | ### main.go 2 | -------------------------------------------------------------------------------- /common/README.md: -------------------------------------------------------------------------------- 1 | # common 2 | 3 | 一些通用的功能模块。 4 | 5 | 定义相应的接口和结构。 -------------------------------------------------------------------------------- /common/attrmgr/README.md: -------------------------------------------------------------------------------- 1 | ## attrmgr 包 2 | 3 | x509.3 证书中的扩展项支持。 -------------------------------------------------------------------------------- /common/attrmgr/attrmgr_go.md: -------------------------------------------------------------------------------- 1 | ### attrmgr.go 2 | -------------------------------------------------------------------------------- /common/capabilities/README.md: -------------------------------------------------------------------------------- 1 | ## capabilities 包 2 | 通道的新特性支持。 3 | 4 | 主要是 1.1 及更新版本中引入的一些新特性,例如: 5 | 6 | * 私有数据(collections):通道内局部共享隐私数据,1.1 实验支持,1.2 正式支持; 7 | * 细粒度的背书策略(FAB-8812):针对修改不同的键值对指定不同策略,1.2 支持; 8 | * 新的链码生命周期管理:1.2 支持; 9 | * 资源树:1.1 实验支持,1.2 正式支持。 -------------------------------------------------------------------------------- /common/capabilities/application_go.md: -------------------------------------------------------------------------------- 1 | ### application.go 2 | -------------------------------------------------------------------------------- /common/capabilities/capabilities_go.md: -------------------------------------------------------------------------------- 1 | ### capabilities.go 2 | -------------------------------------------------------------------------------- /common/capabilities/channel_go.md: -------------------------------------------------------------------------------- 1 | ### channel.go 2 | -------------------------------------------------------------------------------- /common/capabilities/orderer_go.md: -------------------------------------------------------------------------------- 1 | ### orderer.go 2 | -------------------------------------------------------------------------------- /common/cauthdsl/cauthdsl_go.md: -------------------------------------------------------------------------------- 1 | ### cauthdsl.go 2 | 3 | 主要实现了 `func compile(policy *cb.SignaturePolicy, identities []*mb.MSPPrincipal, deserializer msp.IdentityDeserializer) (func([]*cb.SignedData, []bool) bool, error) ` 方法。 4 | 5 | 该方法根据传入的策略结构,返回一个函数 `func([]*cb.SignedData, []bool) bool, error`,作为策略 evaluate 方法。 -------------------------------------------------------------------------------- /common/cauthdsl/policyparser_go.md: -------------------------------------------------------------------------------- 1 | ### policyparser.go 2 | 主要提供了 `FromString(policy string) (*common.SignaturePolicyEnvelope, error) ` 方法,将字符串指定的策略生成 Policy 信封结构。 -------------------------------------------------------------------------------- /common/chaincode/README.md: -------------------------------------------------------------------------------- 1 | ## chaincode 包 2 | 链码的元数据管理。 3 | 4 | 1.2.0 之后,链码的生命周期管理将安装包和元数据解耦开,实现更灵活的管理。 -------------------------------------------------------------------------------- /common/channelconfig/README.md: -------------------------------------------------------------------------------- 1 | ## channelconfig 包 2 | 管理通道内的配置。定义了跟通道配置相关的结构。 3 | 4 | 一般包括 Consortiums、Application、Orderer 三个组。 -------------------------------------------------------------------------------- /common/channelconfig/acls_go.md: -------------------------------------------------------------------------------- 1 | ### acls.go 2 | -------------------------------------------------------------------------------- /common/channelconfig/api_go.md: -------------------------------------------------------------------------------- 1 | ### api.go 2 | 定义了很多通道、组织相关的接口。 -------------------------------------------------------------------------------- /common/channelconfig/application_go.md: -------------------------------------------------------------------------------- 1 | ### application.go 2 | -------------------------------------------------------------------------------- /common/channelconfig/applicationorg_go.md: -------------------------------------------------------------------------------- 1 | ### applicationorg.go 2 | -------------------------------------------------------------------------------- /common/channelconfig/bundle_go.md: -------------------------------------------------------------------------------- 1 | ### bundle.go 2 | -------------------------------------------------------------------------------- /common/channelconfig/bundlesource_go.md: -------------------------------------------------------------------------------- 1 | ### bundlesource.go 2 | -------------------------------------------------------------------------------- /common/channelconfig/channel_go.md: -------------------------------------------------------------------------------- 1 | ### channel.go 2 | -------------------------------------------------------------------------------- /common/channelconfig/consortium_go.md: -------------------------------------------------------------------------------- 1 | ### consortium.go 2 | -------------------------------------------------------------------------------- /common/channelconfig/consortiums_go.md: -------------------------------------------------------------------------------- 1 | ### consortiums.go 2 | -------------------------------------------------------------------------------- /common/channelconfig/logsanitychecks_go.md: -------------------------------------------------------------------------------- 1 | ### logsanitychecks.go 2 | -------------------------------------------------------------------------------- /common/channelconfig/msp_go.md: -------------------------------------------------------------------------------- 1 | ### msp.go 2 | -------------------------------------------------------------------------------- /common/channelconfig/orderer_go.md: -------------------------------------------------------------------------------- 1 | ### orderer.go 2 | -------------------------------------------------------------------------------- /common/channelconfig/organization_go.md: -------------------------------------------------------------------------------- 1 | ### organization.go 2 | -------------------------------------------------------------------------------- /common/channelconfig/standardvalues_go.md: -------------------------------------------------------------------------------- 1 | ### standardvalues.go 2 | -------------------------------------------------------------------------------- /common/channelconfig/util_go.md: -------------------------------------------------------------------------------- 1 | ### util.go 2 | -------------------------------------------------------------------------------- /common/config/README.md: -------------------------------------------------------------------------------- 1 | ## config 包 2 | 定义访问配置的接口。 -------------------------------------------------------------------------------- /common/config/api_go.md: -------------------------------------------------------------------------------- 1 | ### api.go 2 | -------------------------------------------------------------------------------- /common/configtx/README.md: -------------------------------------------------------------------------------- 1 | ## configtx 2 | 负责 config transaction(新建或更新)相关的数据结构和处理。 3 | 4 | 支持包括进行更新、校验等方法。 -------------------------------------------------------------------------------- /common/configtx/compare_go.md: -------------------------------------------------------------------------------- 1 | ### compare.go 2 | -------------------------------------------------------------------------------- /common/configtx/configmap_go.md: -------------------------------------------------------------------------------- 1 | ### configmap.go 2 | -------------------------------------------------------------------------------- /common/configtx/configtx_go.md: -------------------------------------------------------------------------------- 1 | ### configtx.go 2 | -------------------------------------------------------------------------------- /common/configtx/update_go.md: -------------------------------------------------------------------------------- 1 | ### update.go 2 | -------------------------------------------------------------------------------- /common/configtx/util_go.md: -------------------------------------------------------------------------------- 1 | ### util.go 2 | -------------------------------------------------------------------------------- /common/configtx/validator_go.md: -------------------------------------------------------------------------------- 1 | ### validator.go 2 | -------------------------------------------------------------------------------- /common/crypto/README.md: -------------------------------------------------------------------------------- 1 | ## crypto 2 | 3 | 主要定义了 LocalSigner、SignatureHeaderMaker、Signer、SignerSupport 等接口。 4 | 5 | 主要负责新建签名头。 -------------------------------------------------------------------------------- /common/crypto/expiration_go.md: -------------------------------------------------------------------------------- 1 | ### expiration.go 2 | -------------------------------------------------------------------------------- /common/crypto/random_go.md: -------------------------------------------------------------------------------- 1 | ### random.go 2 | -------------------------------------------------------------------------------- /common/crypto/signer_go.md: -------------------------------------------------------------------------------- 1 | ### signer.go 2 | -------------------------------------------------------------------------------- /common/crypto/tlsgen/README.md: -------------------------------------------------------------------------------- 1 | ### tlsgen 包 2 | -------------------------------------------------------------------------------- /common/crypto/tlsgen/ca_go.md: -------------------------------------------------------------------------------- 1 | #### ca.go 2 | -------------------------------------------------------------------------------- /common/crypto/tlsgen/key_go.md: -------------------------------------------------------------------------------- 1 | #### key.go 2 | -------------------------------------------------------------------------------- /common/deliver/README.md: -------------------------------------------------------------------------------- 1 | ## deliver 包 2 | 3 | 主要负责对 Deliver 请求的处理,被 Orderer 服务使用。 -------------------------------------------------------------------------------- /common/deliver/acl_go.md: -------------------------------------------------------------------------------- 1 | ### acl.go 2 | -------------------------------------------------------------------------------- /common/deliver/deliver_go.md: -------------------------------------------------------------------------------- 1 | ### deliver.go 2 | -------------------------------------------------------------------------------- /common/deliver/metrics_go.md: -------------------------------------------------------------------------------- 1 | ### metrics.go 2 | -------------------------------------------------------------------------------- /common/diag/README.md: -------------------------------------------------------------------------------- 1 | ## diag 包 2 | -------------------------------------------------------------------------------- /common/diag/goroutine_go.md: -------------------------------------------------------------------------------- 1 | ### goroutine.go 2 | -------------------------------------------------------------------------------- /common/errors/README.md: -------------------------------------------------------------------------------- 1 | ## errors 2 | 3 | 错误相关代码。 -------------------------------------------------------------------------------- /common/errors/errors_go.md: -------------------------------------------------------------------------------- 1 | ### errors.go 2 | -------------------------------------------------------------------------------- /common/flogging/README.md: -------------------------------------------------------------------------------- 1 | ## flogging 2 | 辅助日志模块。 -------------------------------------------------------------------------------- /common/flogging/core_go.md: -------------------------------------------------------------------------------- 1 | ### core.go 2 | -------------------------------------------------------------------------------- /common/flogging/fabenc/README.md: -------------------------------------------------------------------------------- 1 | ### fabenc 包 2 | -------------------------------------------------------------------------------- /common/flogging/fabenc/color_go.md: -------------------------------------------------------------------------------- 1 | #### color.go 2 | -------------------------------------------------------------------------------- /common/flogging/fabenc/encoder_go.md: -------------------------------------------------------------------------------- 1 | #### encoder.go 2 | -------------------------------------------------------------------------------- /common/flogging/fabenc/formatter_go.md: -------------------------------------------------------------------------------- 1 | #### formatter.go 2 | -------------------------------------------------------------------------------- /common/flogging/global_go.md: -------------------------------------------------------------------------------- 1 | ### global.go 2 | -------------------------------------------------------------------------------- /common/flogging/httpadmin/README.md: -------------------------------------------------------------------------------- 1 | ### httpadmin 包 2 | -------------------------------------------------------------------------------- /common/flogging/httpadmin/fakes.md: -------------------------------------------------------------------------------- 1 | #### fakes 包 2 | -------------------------------------------------------------------------------- /common/flogging/httpadmin/spec_go.md: -------------------------------------------------------------------------------- 1 | #### spec.go 2 | -------------------------------------------------------------------------------- /common/flogging/legacy_go.md: -------------------------------------------------------------------------------- 1 | ### legacy.go 2 | -------------------------------------------------------------------------------- /common/flogging/levels_go.md: -------------------------------------------------------------------------------- 1 | ### levels.go 2 | -------------------------------------------------------------------------------- /common/flogging/loggerlevels_go.md: -------------------------------------------------------------------------------- 1 | ### loggerlevels.go 2 | -------------------------------------------------------------------------------- /common/flogging/logging_go.md: -------------------------------------------------------------------------------- 1 | ### logging.go 2 | -------------------------------------------------------------------------------- /common/flogging/metrics/README.md: -------------------------------------------------------------------------------- 1 | ### metrics 包 2 | -------------------------------------------------------------------------------- /common/flogging/metrics/observer_go.md: -------------------------------------------------------------------------------- 1 | #### observer.go 2 | -------------------------------------------------------------------------------- /common/flogging/zap_go.md: -------------------------------------------------------------------------------- 1 | ### zap.go 2 | -------------------------------------------------------------------------------- /common/genesis/README.md: -------------------------------------------------------------------------------- 1 | ## genesis 2 | 3 | 提供初始区块的工厂接口和实现,并提供生成的方法。 -------------------------------------------------------------------------------- /common/genesis/genesis_go.md: -------------------------------------------------------------------------------- 1 | ### genesis.go 2 | -------------------------------------------------------------------------------- /common/graph/README.md: -------------------------------------------------------------------------------- 1 | ## graph 包 2 | 为正在实现的资源控制树提供拓扑支持。 -------------------------------------------------------------------------------- /common/graph/choose_go.md: -------------------------------------------------------------------------------- 1 | ### choose.go 2 | -------------------------------------------------------------------------------- /common/graph/graph_go.md: -------------------------------------------------------------------------------- 1 | ### graph.go 2 | -------------------------------------------------------------------------------- /common/graph/perm_go.md: -------------------------------------------------------------------------------- 1 | ### perm.go 2 | -------------------------------------------------------------------------------- /common/graph/tree_go.md: -------------------------------------------------------------------------------- 1 | ### tree.go 2 | -------------------------------------------------------------------------------- /common/grpclogging/README.md: -------------------------------------------------------------------------------- 1 | ## grpclogging 包 2 | -------------------------------------------------------------------------------- /common/grpclogging/context_go.md: -------------------------------------------------------------------------------- 1 | ### context.go 2 | -------------------------------------------------------------------------------- /common/grpclogging/fakes/README.md: -------------------------------------------------------------------------------- 1 | ### fakes 包 2 | -------------------------------------------------------------------------------- /common/grpclogging/fakes/echo_service_go.md: -------------------------------------------------------------------------------- 1 | #### echo_service.go 2 | -------------------------------------------------------------------------------- /common/grpclogging/fakes/leveler_go.md: -------------------------------------------------------------------------------- 1 | #### leveler.go 2 | -------------------------------------------------------------------------------- /common/grpclogging/fields_go.md: -------------------------------------------------------------------------------- 1 | ### fields.go 2 | -------------------------------------------------------------------------------- /common/grpclogging/server_go.md: -------------------------------------------------------------------------------- 1 | ### server.go 2 | -------------------------------------------------------------------------------- /common/grpcmetrics/README.md: -------------------------------------------------------------------------------- 1 | ## grpcmetrics 包 2 | -------------------------------------------------------------------------------- /common/grpcmetrics/fakes/README.md: -------------------------------------------------------------------------------- 1 | ### fakes 包 2 | -------------------------------------------------------------------------------- /common/grpcmetrics/fakes/echo_service_go.md: -------------------------------------------------------------------------------- 1 | #### echo_service.go 2 | -------------------------------------------------------------------------------- /common/grpcmetrics/interceptor_go.md: -------------------------------------------------------------------------------- 1 | ### interceptor.go 2 | -------------------------------------------------------------------------------- /common/grpcmetrics/metrics_go.md: -------------------------------------------------------------------------------- 1 | ### metrics.go 2 | -------------------------------------------------------------------------------- /common/ledger/README.md: -------------------------------------------------------------------------------- 1 | ## ledger 包 2 | 3 | 账本结构相关,提供对本地账本文件的操作和访问。 -------------------------------------------------------------------------------- /common/ledger/blkstorage/README.md: -------------------------------------------------------------------------------- 1 | ### blkstorage 包 2 | -------------------------------------------------------------------------------- /common/ledger/blkstorage/blockstorage_go.md: -------------------------------------------------------------------------------- 1 | #### blockstorage.go 2 | -------------------------------------------------------------------------------- /common/ledger/blockledger/README.md: -------------------------------------------------------------------------------- 1 | ### blockledger 包 2 | -------------------------------------------------------------------------------- /common/ledger/blockledger/file.md: -------------------------------------------------------------------------------- 1 | #### file 包 2 | -------------------------------------------------------------------------------- /common/ledger/blockledger/json.md: -------------------------------------------------------------------------------- 1 | #### json 包 2 | -------------------------------------------------------------------------------- /common/ledger/blockledger/ledger_go.md: -------------------------------------------------------------------------------- 1 | #### ledger.go 2 | -------------------------------------------------------------------------------- /common/ledger/blockledger/ram.md: -------------------------------------------------------------------------------- 1 | #### ram 包 2 | -------------------------------------------------------------------------------- /common/ledger/blockledger/util_go.md: -------------------------------------------------------------------------------- 1 | #### util.go 2 | -------------------------------------------------------------------------------- /common/ledger/ledger_interface_go.md: -------------------------------------------------------------------------------- 1 | ### ledger_interface.go 2 | -------------------------------------------------------------------------------- /common/ledger/util/README.md: -------------------------------------------------------------------------------- 1 | ### util 包 2 | -------------------------------------------------------------------------------- /common/ledger/util/ioutil_go.md: -------------------------------------------------------------------------------- 1 | #### ioutil.go 2 | -------------------------------------------------------------------------------- /common/ledger/util/leveldbhelper.md: -------------------------------------------------------------------------------- 1 | #### leveldbhelper 包 2 | -------------------------------------------------------------------------------- /common/ledger/util/protobuf_util_go.md: -------------------------------------------------------------------------------- 1 | #### protobuf_util.go 2 | -------------------------------------------------------------------------------- /common/ledger/util/util_go.md: -------------------------------------------------------------------------------- 1 | #### util.go 2 | -------------------------------------------------------------------------------- /common/localmsp/README.md: -------------------------------------------------------------------------------- 1 | ## localmsp 2 | 创建一个本地的 MSP 访问结构。 3 | 4 | 提供利用本地 MSP 来对消息签名和生成签名头部等方法。 -------------------------------------------------------------------------------- /common/localmsp/signer_go.md: -------------------------------------------------------------------------------- 1 | ### signer.go 2 | -------------------------------------------------------------------------------- /common/metadata/README.md: -------------------------------------------------------------------------------- 1 | ## metadata 2 | 编译相关的 metadata 默认值。 -------------------------------------------------------------------------------- /common/metrics/README.md: -------------------------------------------------------------------------------- 1 | ## metrics 包 2 | 3 | 提供对系统统计信息的一些支持。 -------------------------------------------------------------------------------- /common/metrics/cmd/README.md: -------------------------------------------------------------------------------- 1 | ### cmd 包 2 | -------------------------------------------------------------------------------- /common/metrics/cmd/gendoc.md: -------------------------------------------------------------------------------- 1 | #### gendoc 包 2 | -------------------------------------------------------------------------------- /common/metrics/disabled/README.md: -------------------------------------------------------------------------------- 1 | ### disabled 包 2 | -------------------------------------------------------------------------------- /common/metrics/disabled/provider_go.md: -------------------------------------------------------------------------------- 1 | #### provider.go 2 | -------------------------------------------------------------------------------- /common/metrics/gendoc/README.md: -------------------------------------------------------------------------------- 1 | ### gendoc 包 2 | -------------------------------------------------------------------------------- /common/metrics/gendoc/options_go.md: -------------------------------------------------------------------------------- 1 | #### options.go 2 | -------------------------------------------------------------------------------- /common/metrics/gendoc/table_go.md: -------------------------------------------------------------------------------- 1 | #### table.go 2 | -------------------------------------------------------------------------------- /common/metrics/internal/README.md: -------------------------------------------------------------------------------- 1 | ### internal 包 2 | -------------------------------------------------------------------------------- /common/metrics/internal/namer.md: -------------------------------------------------------------------------------- 1 | #### namer 包 2 | -------------------------------------------------------------------------------- /common/metrics/metricsfakes/README.md: -------------------------------------------------------------------------------- 1 | ### metricsfakes 包 2 | -------------------------------------------------------------------------------- /common/metrics/metricsfakes/counter_go.md: -------------------------------------------------------------------------------- 1 | #### counter.go 2 | -------------------------------------------------------------------------------- /common/metrics/metricsfakes/gauge_go.md: -------------------------------------------------------------------------------- 1 | #### gauge.go 2 | -------------------------------------------------------------------------------- /common/metrics/metricsfakes/histogram_go.md: -------------------------------------------------------------------------------- 1 | #### histogram.go 2 | -------------------------------------------------------------------------------- /common/metrics/metricsfakes/provider_go.md: -------------------------------------------------------------------------------- 1 | #### provider.go 2 | -------------------------------------------------------------------------------- /common/metrics/prometheus/README.md: -------------------------------------------------------------------------------- 1 | ### prometheus 包 2 | -------------------------------------------------------------------------------- /common/metrics/prometheus/provider_go.md: -------------------------------------------------------------------------------- 1 | #### provider.go 2 | -------------------------------------------------------------------------------- /common/metrics/provider_go.md: -------------------------------------------------------------------------------- 1 | ### provider.go 2 | -------------------------------------------------------------------------------- /common/metrics/statsd/README.md: -------------------------------------------------------------------------------- 1 | ### statsd 包 2 | -------------------------------------------------------------------------------- /common/metrics/statsd/goruntime.md: -------------------------------------------------------------------------------- 1 | #### goruntime 包 2 | -------------------------------------------------------------------------------- /common/metrics/statsd/provider_go.md: -------------------------------------------------------------------------------- 1 | #### provider.go 2 | -------------------------------------------------------------------------------- /common/policies/implicitmeta_go.md: -------------------------------------------------------------------------------- 1 | ### implicitmeta.go 2 | -------------------------------------------------------------------------------- /common/policies/implicitmeta_util_go.md: -------------------------------------------------------------------------------- 1 | ### implicitmeta_util.go 2 | -------------------------------------------------------------------------------- /common/policies/implicitmetaparser_go.md: -------------------------------------------------------------------------------- 1 | ### implicitmetaparser.go 2 | -------------------------------------------------------------------------------- /common/policies/inquire/README.md: -------------------------------------------------------------------------------- 1 | ### inquire 包 2 | -------------------------------------------------------------------------------- /common/policies/inquire/compare_go.md: -------------------------------------------------------------------------------- 1 | #### compare.go 2 | -------------------------------------------------------------------------------- /common/policies/inquire/inquire_go.md: -------------------------------------------------------------------------------- 1 | #### inquire.go 2 | -------------------------------------------------------------------------------- /common/policies/inquire/merge_go.md: -------------------------------------------------------------------------------- 1 | #### merge.go 2 | -------------------------------------------------------------------------------- /common/policies/util_go.md: -------------------------------------------------------------------------------- 1 | ### util.go 2 | -------------------------------------------------------------------------------- /common/semaphore/README.md: -------------------------------------------------------------------------------- 1 | ## semaphore 包 2 | -------------------------------------------------------------------------------- /common/semaphore/semaphore_go.md: -------------------------------------------------------------------------------- 1 | ### semaphore.go 2 | -------------------------------------------------------------------------------- /common/tools/README.md: -------------------------------------------------------------------------------- 1 | ## tools 2 | 3 | 几个有用的工具,包括 configtxgen、configtxlator、cryptogen、idemixgen 等。 -------------------------------------------------------------------------------- /common/tools/configtxgen/README.md: -------------------------------------------------------------------------------- 1 | ### configtxgen 2 | 3 | configtxgen 工具提供了跟配置交易相关的功能,包括生成创世区块、生成创建通道的交易、生成更新锚点配置的交易等。 4 | -------------------------------------------------------------------------------- /common/tools/configtxgen/encoder.md: -------------------------------------------------------------------------------- 1 | #### encoder 包 2 | -------------------------------------------------------------------------------- /common/tools/configtxgen/localconfig.md: -------------------------------------------------------------------------------- 1 | #### localconfig 2 | -------------------------------------------------------------------------------- /common/tools/configtxgen/metadata.md: -------------------------------------------------------------------------------- 1 | #### metadata 包 2 | -------------------------------------------------------------------------------- /common/tools/configtxlator/README.md: -------------------------------------------------------------------------------- 1 | ### configtxlator 2 | -------------------------------------------------------------------------------- /common/tools/configtxlator/main_go.md: -------------------------------------------------------------------------------- 1 | #### main.go 2 | -------------------------------------------------------------------------------- /common/tools/configtxlator/metadata.md: -------------------------------------------------------------------------------- 1 | #### metadata 2 | -------------------------------------------------------------------------------- /common/tools/configtxlator/rest.md: -------------------------------------------------------------------------------- 1 | #### rest 2 | -------------------------------------------------------------------------------- /common/tools/configtxlator/sanitycheck.md: -------------------------------------------------------------------------------- 1 | #### sanitycheck 2 | -------------------------------------------------------------------------------- /common/tools/configtxlator/update.md: -------------------------------------------------------------------------------- 1 | #### update 2 | -------------------------------------------------------------------------------- /common/tools/cryptogen/README.md: -------------------------------------------------------------------------------- 1 | ### cryptogen 2 | 3 | 在 Fabric 中,通过证书和密钥来管理身份,经常需要进行证书生成和配置操作。 4 | 5 | 使用 cryptogen 工具,可以快速根据配置自动生成所需要的密钥和证书文件,或者查看配置模板信息。 6 | 7 | 8 | 入口代码在 main.go。 9 | 10 | -------------------------------------------------------------------------------- /common/tools/cryptogen/ca.md: -------------------------------------------------------------------------------- 1 | #### ca 2 | -------------------------------------------------------------------------------- /common/tools/cryptogen/csp.md: -------------------------------------------------------------------------------- 1 | #### csp 2 | -------------------------------------------------------------------------------- /common/tools/cryptogen/metadata.md: -------------------------------------------------------------------------------- 1 | #### metadata 2 | -------------------------------------------------------------------------------- /common/tools/cryptogen/msp.md: -------------------------------------------------------------------------------- 1 | #### msp 2 | -------------------------------------------------------------------------------- /common/tools/idemixgen/README.md: -------------------------------------------------------------------------------- 1 | ### idemixgen 包 2 | -------------------------------------------------------------------------------- /common/tools/idemixgen/idemixca.md: -------------------------------------------------------------------------------- 1 | #### idemixca 包 2 | -------------------------------------------------------------------------------- /common/tools/idemixgen/idemixgen_go.md: -------------------------------------------------------------------------------- 1 | #### idemixgen.go 2 | -------------------------------------------------------------------------------- /common/tools/idemixgen/metadata.md: -------------------------------------------------------------------------------- 1 | #### metadata 包 2 | -------------------------------------------------------------------------------- /common/tools/protolator/README.md: -------------------------------------------------------------------------------- 1 | ### protolator 2 | -------------------------------------------------------------------------------- /common/tools/protolator/api_go.md: -------------------------------------------------------------------------------- 1 | #### api.go 2 | -------------------------------------------------------------------------------- /common/tools/protolator/dynamic_go.md: -------------------------------------------------------------------------------- 1 | #### dynamic.go 2 | -------------------------------------------------------------------------------- /common/tools/protolator/json_go.md: -------------------------------------------------------------------------------- 1 | #### json.go 2 | -------------------------------------------------------------------------------- /common/tools/protolator/nested_go.md: -------------------------------------------------------------------------------- 1 | #### nested.go 2 | -------------------------------------------------------------------------------- /common/tools/protolator/statically_opaque_go.md: -------------------------------------------------------------------------------- 1 | #### statically_opaque.go 2 | -------------------------------------------------------------------------------- /common/tools/protolator/variably_opaque_go.md: -------------------------------------------------------------------------------- 1 | #### variably_opaque.go 2 | -------------------------------------------------------------------------------- /common/util/README.md: -------------------------------------------------------------------------------- 1 | ## util 包 2 | 一些辅助方法,如计算 Hash、获取某个特定域。 -------------------------------------------------------------------------------- /common/util/net_go.md: -------------------------------------------------------------------------------- 1 | ### net.go 2 | -------------------------------------------------------------------------------- /common/util/utils_go.md: -------------------------------------------------------------------------------- 1 | ### utils.go 2 | -------------------------------------------------------------------------------- /common/viperutil/README.md: -------------------------------------------------------------------------------- 1 | ## viperutil 2 | 对 github.com/spf13/viper 包的增强,解析层级化的配置结构等。 -------------------------------------------------------------------------------- /common/viperutil/config_util_go.md: -------------------------------------------------------------------------------- 1 | ### config_util.go 2 | -------------------------------------------------------------------------------- /core/README.md: -------------------------------------------------------------------------------- 1 | # core 2 | 3 | 大部分核心实现代码都在本包下。其它包的代码封装上层接口,最终调用本包内代码。 4 | 5 | -------------------------------------------------------------------------------- /core/_images/chaincode_Handler_FSM.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeasy/hyperledger_code_fabric/2f6d00d2aab049cf7229bd512e6b8277ffa8d7ba/core/_images/chaincode_Handler_FSM.png -------------------------------------------------------------------------------- /core/_images/chaincode_msg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeasy/hyperledger_code_fabric/2f6d00d2aab049cf7229bd512e6b8277ffa8d7ba/core/_images/chaincode_msg.png -------------------------------------------------------------------------------- /core/_images/chaincode_shim_Handler_FSM.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeasy/hyperledger_code_fabric/2f6d00d2aab049cf7229bd512e6b8277ffa8d7ba/core/_images/chaincode_shim_Handler_FSM.png -------------------------------------------------------------------------------- /core/_images/core_committer_LedgerCommitter_Commit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeasy/hyperledger_code_fabric/2f6d00d2aab049cf7229bd512e6b8277ffa8d7ba/core/_images/core_committer_LedgerCommitter_Commit.png -------------------------------------------------------------------------------- /core/_images/core_endorser_Endorser_ProcessProposal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeasy/hyperledger_code_fabric/2f6d00d2aab049cf7229bd512e6b8277ffa8d7ba/core/_images/core_endorser_Endorser_ProcessProposal.png -------------------------------------------------------------------------------- /core/_images/transaction_process.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeasy/hyperledger_code_fabric/2f6d00d2aab049cf7229bd512e6b8277ffa8d7ba/core/_images/transaction_process.png -------------------------------------------------------------------------------- /core/aclmgmt/README.md: -------------------------------------------------------------------------------- 1 | ## aclmgmt 包 2 | -------------------------------------------------------------------------------- /core/aclmgmt/aclmgmt_go.md: -------------------------------------------------------------------------------- 1 | ### aclmgmt.go 2 | -------------------------------------------------------------------------------- /core/aclmgmt/aclmgmtimpl_go.md: -------------------------------------------------------------------------------- 1 | ### aclmgmtimpl.go 2 | -------------------------------------------------------------------------------- /core/aclmgmt/defaultaclprovider_go.md: -------------------------------------------------------------------------------- 1 | ### defaultaclprovider.go 2 | -------------------------------------------------------------------------------- /core/aclmgmt/resourceprovider_go.md: -------------------------------------------------------------------------------- 1 | ### resourceprovider.go 2 | -------------------------------------------------------------------------------- /core/aclmgmt/resources/README.md: -------------------------------------------------------------------------------- 1 | ### resources 包 2 | -------------------------------------------------------------------------------- /core/aclmgmt/resources/resources_go.md: -------------------------------------------------------------------------------- 1 | #### resources.go 2 | -------------------------------------------------------------------------------- /core/admin/README.md: -------------------------------------------------------------------------------- 1 | ## admin 包 2 | -------------------------------------------------------------------------------- /core/admin/admin_go.md: -------------------------------------------------------------------------------- 1 | ### admin.go 2 | -------------------------------------------------------------------------------- /core/admin/validate_go.md: -------------------------------------------------------------------------------- 1 | ### validate.go 2 | -------------------------------------------------------------------------------- /core/cclifecycle/README.md: -------------------------------------------------------------------------------- 1 | ## cclifecycle 包 2 | -------------------------------------------------------------------------------- /core/cclifecycle/lifecycle_go.md: -------------------------------------------------------------------------------- 1 | ### lifecycle.go 2 | -------------------------------------------------------------------------------- /core/cclifecycle/subscription_go.md: -------------------------------------------------------------------------------- 1 | ### subscription.go 2 | -------------------------------------------------------------------------------- /core/cclifecycle/util_go.md: -------------------------------------------------------------------------------- 1 | ### util.go 2 | -------------------------------------------------------------------------------- /core/chaincode/accesscontrol/README.md: -------------------------------------------------------------------------------- 1 | ### accesscontrol 包 2 | -------------------------------------------------------------------------------- /core/chaincode/accesscontrol/access_go.md: -------------------------------------------------------------------------------- 1 | #### access.go 2 | -------------------------------------------------------------------------------- /core/chaincode/accesscontrol/interceptor_go.md: -------------------------------------------------------------------------------- 1 | #### interceptor.go 2 | -------------------------------------------------------------------------------- /core/chaincode/accesscontrol/mapper_go.md: -------------------------------------------------------------------------------- 1 | #### mapper.go 2 | -------------------------------------------------------------------------------- /core/chaincode/active_transactions_go.md: -------------------------------------------------------------------------------- 1 | ### active_transactions.go 2 | -------------------------------------------------------------------------------- /core/chaincode/chaincodetest_yaml.md: -------------------------------------------------------------------------------- 1 | ### chaincodetest.yaml 2 | -------------------------------------------------------------------------------- /core/chaincode/config_go.md: -------------------------------------------------------------------------------- 1 | ### config.go 2 | -------------------------------------------------------------------------------- /core/chaincode/container_runtime_go.md: -------------------------------------------------------------------------------- 1 | ### container_runtime.go 2 | -------------------------------------------------------------------------------- /core/chaincode/handler_registry_go.md: -------------------------------------------------------------------------------- 1 | ### handler_registry.go 2 | -------------------------------------------------------------------------------- /core/chaincode/lib/README.md: -------------------------------------------------------------------------------- 1 | ### lib 包 2 | -------------------------------------------------------------------------------- /core/chaincode/lib/cid.md: -------------------------------------------------------------------------------- 1 | #### cid 包 2 | -------------------------------------------------------------------------------- /core/chaincode/lifecycle/README.md: -------------------------------------------------------------------------------- 1 | ### lifecycle 包 2 | -------------------------------------------------------------------------------- /core/chaincode/lifecycle/lifecycle_go.md: -------------------------------------------------------------------------------- 1 | #### lifecycle.go 2 | -------------------------------------------------------------------------------- /core/chaincode/lifecycle/scc_go.md: -------------------------------------------------------------------------------- 1 | #### scc.go 2 | -------------------------------------------------------------------------------- /core/chaincode/lifecycle/serializer_go.md: -------------------------------------------------------------------------------- 1 | #### serializer.go 2 | -------------------------------------------------------------------------------- /core/chaincode/lifecycle_go.md: -------------------------------------------------------------------------------- 1 | ### lifecycle.go 2 | -------------------------------------------------------------------------------- /core/chaincode/pending_query_result_go.md: -------------------------------------------------------------------------------- 1 | ### pending_query_result.go 2 | -------------------------------------------------------------------------------- /core/chaincode/persistence/README.md: -------------------------------------------------------------------------------- 1 | ### persistence 包 2 | -------------------------------------------------------------------------------- /core/chaincode/persistence/chaincode_package_go.md: -------------------------------------------------------------------------------- 1 | #### chaincode_package.go 2 | -------------------------------------------------------------------------------- /core/chaincode/persistence/package_provider_go.md: -------------------------------------------------------------------------------- 1 | #### package_provider.go 2 | -------------------------------------------------------------------------------- /core/chaincode/persistence/persistence_go.md: -------------------------------------------------------------------------------- 1 | #### persistence.go 2 | -------------------------------------------------------------------------------- /core/chaincode/platforms/car.md: -------------------------------------------------------------------------------- 1 | #### car 2 | 3 | car 是打包好的 chaincode 的一种格式,可以参考 [chaincodetool]()。 -------------------------------------------------------------------------------- /core/chaincode/platforms/ccmetadata.md: -------------------------------------------------------------------------------- 1 | #### ccmetadata 包 2 | -------------------------------------------------------------------------------- /core/chaincode/platforms/golang.md: -------------------------------------------------------------------------------- 1 | #### golang 2 | golang 格式的 chaincode。 -------------------------------------------------------------------------------- /core/chaincode/platforms/java.md: -------------------------------------------------------------------------------- 1 | #### java 2 | 3 | java 格式的 chaincode。 -------------------------------------------------------------------------------- /core/chaincode/platforms/platforms_go.md: -------------------------------------------------------------------------------- 1 | #### platforms.go 2 | 定义抽象的 platform 接口。 -------------------------------------------------------------------------------- /core/chaincode/platforms/util.md: -------------------------------------------------------------------------------- 1 | #### util 2 | -------------------------------------------------------------------------------- /core/chaincode/query_response_generator_go.md: -------------------------------------------------------------------------------- 1 | ### query_response_generator.go 2 | -------------------------------------------------------------------------------- /core/chaincode/runtime_launcher_go.md: -------------------------------------------------------------------------------- 1 | ### runtime_launcher.go 2 | -------------------------------------------------------------------------------- /core/chaincode/shim/README.md: -------------------------------------------------------------------------------- 1 | ### shim 2 | 3 | shim 包可以让 chaincode 代码跟 ledger 进行交互。 4 | 5 | 比较重要的 ChaincodeStub 结构,提供了用户 chaincode 代码跟 ledger 进行交互的一系列方法,例如 PutState 与 GetState 来写入和查询链上键值对的状态。 6 | 7 | 8 | 用户链码 --> ChaincodeStub --> Handler -----ChaincodeMessage -----> Peer -------------------------------------------------------------------------------- /core/chaincode/shim/ext.md: -------------------------------------------------------------------------------- 1 | #### ext 包 2 | -------------------------------------------------------------------------------- /core/chaincode/shim/inprocstream_go.md: -------------------------------------------------------------------------------- 1 | #### inprocstream.go 2 | -------------------------------------------------------------------------------- /core/chaincode/shim/interfaces_go.md: -------------------------------------------------------------------------------- 1 | #### interfaces.go 2 | -------------------------------------------------------------------------------- /core/chaincode/shim/mockstub_go.md: -------------------------------------------------------------------------------- 1 | #### mockstub.go 2 | -------------------------------------------------------------------------------- /core/chaincode/shim/response_go.md: -------------------------------------------------------------------------------- 1 | #### response.go 2 | -------------------------------------------------------------------------------- /core/chaincode/transaction_context_go.md: -------------------------------------------------------------------------------- 1 | ### transaction_context.go 2 | -------------------------------------------------------------------------------- /core/chaincode/transaction_contexts_go.md: -------------------------------------------------------------------------------- 1 | ### transaction_contexts.go 2 | -------------------------------------------------------------------------------- /core/comm/README.md: -------------------------------------------------------------------------------- 1 | ## comm 2 | 一些简单的常见函数。 -------------------------------------------------------------------------------- /core/comm/client_go.md: -------------------------------------------------------------------------------- 1 | ### client.go 2 | -------------------------------------------------------------------------------- /core/comm/config_go.md: -------------------------------------------------------------------------------- 1 | ### config.go 2 | cache 配置中的一些变量的值。 3 | 4 | -------------------------------------------------------------------------------- /core/comm/creds_go.md: -------------------------------------------------------------------------------- 1 | ### creds.go 2 | -------------------------------------------------------------------------------- /core/comm/healthcheck_go.md: -------------------------------------------------------------------------------- 1 | ### healthcheck.go 2 | -------------------------------------------------------------------------------- /core/comm/metrics_go.md: -------------------------------------------------------------------------------- 1 | ### metrics.go 2 | -------------------------------------------------------------------------------- /core/comm/producer_go.md: -------------------------------------------------------------------------------- 1 | ### producer.go 2 | -------------------------------------------------------------------------------- /core/comm/server_go.md: -------------------------------------------------------------------------------- 1 | ### server.go 2 | -------------------------------------------------------------------------------- /core/comm/serverstatshandler_go.md: -------------------------------------------------------------------------------- 1 | ### serverstatshandler.go 2 | -------------------------------------------------------------------------------- /core/comm/throttle_go.md: -------------------------------------------------------------------------------- 1 | ### throttle.go 2 | -------------------------------------------------------------------------------- /core/comm/util_go.md: -------------------------------------------------------------------------------- 1 | ### util.go 2 | -------------------------------------------------------------------------------- /core/committer/README.md: -------------------------------------------------------------------------------- 1 | ## committer 2 | 3 | Committer 角色接口和实现,实现上部分地方调用 core/peer 包中的方法。 4 | 5 | -------------------------------------------------------------------------------- /core/committer/txvalidator/README.md: -------------------------------------------------------------------------------- 1 | ### txvalidator 2 | 3 | 负责在 commit 阶段对区块和交易进行合法性检查。 -------------------------------------------------------------------------------- /core/committer/txvalidator/plugin.md: -------------------------------------------------------------------------------- 1 | #### plugin 包 2 | -------------------------------------------------------------------------------- /core/committer/txvalidator/router_go.md: -------------------------------------------------------------------------------- 1 | #### router.go 2 | -------------------------------------------------------------------------------- /core/committer/txvalidator/v14.md: -------------------------------------------------------------------------------- 1 | #### v14 包 2 | -------------------------------------------------------------------------------- /core/committer/txvalidator/v20.md: -------------------------------------------------------------------------------- 1 | #### v20 包 2 | -------------------------------------------------------------------------------- /core/common/README.md: -------------------------------------------------------------------------------- 1 | ## common 2 | -------------------------------------------------------------------------------- /core/common/ccpackage/README.md: -------------------------------------------------------------------------------- 1 | ### ccpackage 2 | -------------------------------------------------------------------------------- /core/common/ccpackage/ccpackage_go.md: -------------------------------------------------------------------------------- 1 | #### ccpackage.go 2 | -------------------------------------------------------------------------------- /core/common/ccprovider/README.md: -------------------------------------------------------------------------------- 1 | ### ccprovider 2 | -------------------------------------------------------------------------------- /core/common/ccprovider/cc_info_provider_go.md: -------------------------------------------------------------------------------- 1 | #### cc_info_provider.go 2 | -------------------------------------------------------------------------------- /core/common/ccprovider/cc_statedb_artifacts_provider_go.md: -------------------------------------------------------------------------------- 1 | #### cc_statedb_artifacts_provider.go 2 | -------------------------------------------------------------------------------- /core/common/ccprovider/ccinfocache_go.md: -------------------------------------------------------------------------------- 1 | #### ccinfocache.go 2 | -------------------------------------------------------------------------------- /core/common/ccprovider/ccprovider_go.md: -------------------------------------------------------------------------------- 1 | #### ccprovider.go 2 | -------------------------------------------------------------------------------- /core/common/ccprovider/cdspackage_go.md: -------------------------------------------------------------------------------- 1 | #### cdspackage.go 2 | -------------------------------------------------------------------------------- /core/common/ccprovider/common_go.md: -------------------------------------------------------------------------------- 1 | #### common.go 2 | -------------------------------------------------------------------------------- /core/common/ccprovider/sigcdspackage_go.md: -------------------------------------------------------------------------------- 1 | #### sigcdspackage.go 2 | -------------------------------------------------------------------------------- /core/common/privdata/README.md: -------------------------------------------------------------------------------- 1 | ### privdata 包 2 | -------------------------------------------------------------------------------- /core/common/privdata/collection_go.md: -------------------------------------------------------------------------------- 1 | #### collection.go 2 | -------------------------------------------------------------------------------- /core/common/privdata/simplecollection_go.md: -------------------------------------------------------------------------------- 1 | #### simplecollection.go 2 | -------------------------------------------------------------------------------- /core/common/privdata/store_go.md: -------------------------------------------------------------------------------- 1 | #### store.go 2 | -------------------------------------------------------------------------------- /core/common/sysccprovider/README.md: -------------------------------------------------------------------------------- 1 | ### sysccprovider 2 | -------------------------------------------------------------------------------- /core/common/sysccprovider/sysccprovider_go.md: -------------------------------------------------------------------------------- 1 | #### sysccprovider.go 2 | -------------------------------------------------------------------------------- /core/common/validation/README.md: -------------------------------------------------------------------------------- 1 | ### validation 2 | -------------------------------------------------------------------------------- /core/common/validation/msgvalidation_go.md: -------------------------------------------------------------------------------- 1 | #### msgvalidation.go 2 | -------------------------------------------------------------------------------- /core/common/validation/statebased.md: -------------------------------------------------------------------------------- 1 | #### statebased 包 2 | -------------------------------------------------------------------------------- /core/config/README.md: -------------------------------------------------------------------------------- 1 | ## config 2 | -------------------------------------------------------------------------------- /core/config/config_go.md: -------------------------------------------------------------------------------- 1 | ### config.go 2 | -------------------------------------------------------------------------------- /core/container/README.md: -------------------------------------------------------------------------------- 1 | ## container 2 | 容器操作相关的方法实现。 3 | 4 | chaincode 目前是运行在容器内的,这个包主要提供与之相关的操作。 -------------------------------------------------------------------------------- /core/container/ccintf/README.md: -------------------------------------------------------------------------------- 1 | ### ccintf 2 | 定义 chaincode 和 peer 之间进行通信的接口,目前只有 chaincode 裸跑的时候才被使用。 -------------------------------------------------------------------------------- /core/container/ccintf/ccintf_go.md: -------------------------------------------------------------------------------- 1 | #### ccintf.go 2 | 3 | 比较重要的是 4 | 5 | ```go 6 | //CCID encapsulates chaincode ID 7 | type CCID struct { 8 | ChaincodeSpec *pb.ChaincodeSpec 9 | NetworkID string 10 | PeerID string 11 | } 12 | ``` -------------------------------------------------------------------------------- /core/container/controller_go.md: -------------------------------------------------------------------------------- 1 | ### controller.go 2 | 抽象出来的 VM 控制器,目前支持 Docker 和 系统运行,将来可以支持更多类型的容器。 -------------------------------------------------------------------------------- /core/container/dockercontroller/README.md: -------------------------------------------------------------------------------- 1 | ### dockercontroller 2 | Docker 相关的操作。 -------------------------------------------------------------------------------- /core/container/inproccontroller/README.md: -------------------------------------------------------------------------------- 1 | ### inproccontroller 2 | chaincode 直接裸跑在主机上时候的一些操作。 -------------------------------------------------------------------------------- /core/container/inproccontroller/inproccontroller_go.md: -------------------------------------------------------------------------------- 1 | #### inproccontroller.go 2 | -------------------------------------------------------------------------------- /core/container/inproccontroller/inprocstream_go.md: -------------------------------------------------------------------------------- 1 | #### inprocstream.go 2 | -------------------------------------------------------------------------------- /core/container/util/README.md: -------------------------------------------------------------------------------- 1 | ### util 2 | 一些辅助方法。 -------------------------------------------------------------------------------- /core/container/util/dockerutil_go.md: -------------------------------------------------------------------------------- 1 | #### dockerutil.go 2 | 从配置中读取信息,创建一个 docker client 等。 -------------------------------------------------------------------------------- /core/container/util/writer_go.md: -------------------------------------------------------------------------------- 1 | #### writer.go 2 | 将目录、包、流等的内容写到 tar 包中。 -------------------------------------------------------------------------------- /core/deliverservice/README.md: -------------------------------------------------------------------------------- 1 | ## deliverservice 2 | -------------------------------------------------------------------------------- /core/deliverservice/blocksprovider/README.md: -------------------------------------------------------------------------------- 1 | ### blocksprovider 2 | -------------------------------------------------------------------------------- /core/deliverservice/blocksprovider/blocksprovider_go.md: -------------------------------------------------------------------------------- 1 | #### blocksprovider.go 2 | -------------------------------------------------------------------------------- /core/deliverservice/client_go.md: -------------------------------------------------------------------------------- 1 | ### client.go 2 | -------------------------------------------------------------------------------- /core/deliverservice/deliveryclient_go.md: -------------------------------------------------------------------------------- 1 | ### deliveryclient.go 2 | -------------------------------------------------------------------------------- /core/deliverservice/requester_go.md: -------------------------------------------------------------------------------- 1 | ### requester.go 2 | -------------------------------------------------------------------------------- /core/dispatcher/README.md: -------------------------------------------------------------------------------- 1 | ## dispatcher 包 2 | -------------------------------------------------------------------------------- /core/dispatcher/dispatcher_go.md: -------------------------------------------------------------------------------- 1 | ### dispatcher.go 2 | -------------------------------------------------------------------------------- /core/dispatcher/protobuf_go.md: -------------------------------------------------------------------------------- 1 | ### protobuf.go 2 | -------------------------------------------------------------------------------- /core/endorser/README.md: -------------------------------------------------------------------------------- 1 | ## endorser 2 | 3 | Endorser 角色接口,实现上部分地方调用 peer 下面的方法。 4 | -------------------------------------------------------------------------------- /core/endorser/metrics_go.md: -------------------------------------------------------------------------------- 1 | ### metrics.go 2 | -------------------------------------------------------------------------------- /core/endorser/plugin_endorser_go.md: -------------------------------------------------------------------------------- 1 | ### plugin_endorser.go 2 | -------------------------------------------------------------------------------- /core/endorser/pvtrwset_assembler_go.md: -------------------------------------------------------------------------------- 1 | ### pvtrwset_assembler.go 2 | -------------------------------------------------------------------------------- /core/endorser/state_go.md: -------------------------------------------------------------------------------- 1 | ### state.go 2 | -------------------------------------------------------------------------------- /core/handlers/README.md: -------------------------------------------------------------------------------- 1 | ## handlers 包 2 | -------------------------------------------------------------------------------- /core/handlers/auth/README.md: -------------------------------------------------------------------------------- 1 | ### auth 包 2 | -------------------------------------------------------------------------------- /core/handlers/auth/auth_go.md: -------------------------------------------------------------------------------- 1 | #### auth.go 2 | -------------------------------------------------------------------------------- /core/handlers/auth/filter.md: -------------------------------------------------------------------------------- 1 | #### filter 包 2 | -------------------------------------------------------------------------------- /core/handlers/auth/plugin.md: -------------------------------------------------------------------------------- 1 | #### plugin 包 2 | -------------------------------------------------------------------------------- /core/handlers/decoration/README.md: -------------------------------------------------------------------------------- 1 | ### decoration 包 2 | -------------------------------------------------------------------------------- /core/handlers/decoration/decoration_go.md: -------------------------------------------------------------------------------- 1 | #### decoration.go 2 | -------------------------------------------------------------------------------- /core/handlers/decoration/decorator.md: -------------------------------------------------------------------------------- 1 | #### decorator 包 2 | -------------------------------------------------------------------------------- /core/handlers/decoration/plugin.md: -------------------------------------------------------------------------------- 1 | #### plugin 包 2 | -------------------------------------------------------------------------------- /core/handlers/endorsement/README.md: -------------------------------------------------------------------------------- 1 | ### endorsement 包 2 | -------------------------------------------------------------------------------- /core/handlers/endorsement/api.md: -------------------------------------------------------------------------------- 1 | #### api 包 2 | -------------------------------------------------------------------------------- /core/handlers/endorsement/builtin.md: -------------------------------------------------------------------------------- 1 | #### builtin 包 2 | -------------------------------------------------------------------------------- /core/handlers/endorsement/plugin.md: -------------------------------------------------------------------------------- 1 | #### plugin 包 2 | -------------------------------------------------------------------------------- /core/handlers/library/README.md: -------------------------------------------------------------------------------- 1 | ### library 包 2 | -------------------------------------------------------------------------------- /core/handlers/library/library_go.md: -------------------------------------------------------------------------------- 1 | #### library.go 2 | -------------------------------------------------------------------------------- /core/handlers/library/registry_go.md: -------------------------------------------------------------------------------- 1 | #### registry.go 2 | -------------------------------------------------------------------------------- /core/handlers/validation/README.md: -------------------------------------------------------------------------------- 1 | ### validation 包 2 | -------------------------------------------------------------------------------- /core/handlers/validation/api.md: -------------------------------------------------------------------------------- 1 | #### api 包 2 | -------------------------------------------------------------------------------- /core/handlers/validation/builtin.md: -------------------------------------------------------------------------------- 1 | #### builtin 包 2 | -------------------------------------------------------------------------------- /core/handlers/validation/token.md: -------------------------------------------------------------------------------- 1 | #### token 包 2 | -------------------------------------------------------------------------------- /core/ledger/README.md: -------------------------------------------------------------------------------- 1 | ## ledger 2 | 3 | 账本的实现,包括区块链(blockchain)和世界状态(world state)。 4 | 5 | -------------------------------------------------------------------------------- /core/ledger/cceventmgmt/README.md: -------------------------------------------------------------------------------- 1 | ### cceventmgmt 包 2 | -------------------------------------------------------------------------------- /core/ledger/cceventmgmt/defs_go.md: -------------------------------------------------------------------------------- 1 | #### defs.go 2 | -------------------------------------------------------------------------------- /core/ledger/cceventmgmt/lsccstate_listener_go.md: -------------------------------------------------------------------------------- 1 | #### lsccstate_listener.go 2 | -------------------------------------------------------------------------------- /core/ledger/cceventmgmt/mgr_go.md: -------------------------------------------------------------------------------- 1 | #### mgr.go 2 | -------------------------------------------------------------------------------- /core/ledger/confighistory/README.md: -------------------------------------------------------------------------------- 1 | ### confighistory 包 2 | -------------------------------------------------------------------------------- /core/ledger/confighistory/db_helper_go.md: -------------------------------------------------------------------------------- 1 | #### db_helper.go 2 | -------------------------------------------------------------------------------- /core/ledger/confighistory/mgr_go.md: -------------------------------------------------------------------------------- 1 | #### mgr.go 2 | -------------------------------------------------------------------------------- /core/ledger/customtx/README.md: -------------------------------------------------------------------------------- 1 | ### customtx 包 2 | -------------------------------------------------------------------------------- /core/ledger/customtx/custom_tx_processor_go.md: -------------------------------------------------------------------------------- 1 | #### custom_tx_processor.go 2 | -------------------------------------------------------------------------------- /core/ledger/customtx/interface_go.md: -------------------------------------------------------------------------------- 1 | #### interface.go 2 | -------------------------------------------------------------------------------- /core/ledger/customtx/test_export_go.md: -------------------------------------------------------------------------------- 1 | #### test_export.go 2 | -------------------------------------------------------------------------------- /core/ledger/kvledger/README.md: -------------------------------------------------------------------------------- 1 | ### kvledger 2 | -------------------------------------------------------------------------------- /core/ledger/kvledger/bookkeeping.md: -------------------------------------------------------------------------------- 1 | #### bookkeeping 包 2 | -------------------------------------------------------------------------------- /core/ledger/kvledger/coll_elg_notifier_go.md: -------------------------------------------------------------------------------- 1 | #### coll_elg_notifier.go 2 | -------------------------------------------------------------------------------- /core/ledger/kvledger/hashcheck_pvtdata_go.md: -------------------------------------------------------------------------------- 1 | #### hashcheck_pvtdata.go 2 | -------------------------------------------------------------------------------- /core/ledger/kvledger/history.md: -------------------------------------------------------------------------------- 1 | #### history 2 | -------------------------------------------------------------------------------- /core/ledger/kvledger/kv_ledger_provider_go.md: -------------------------------------------------------------------------------- 1 | #### kv_ledger_provider.go 2 | -------------------------------------------------------------------------------- /core/ledger/kvledger/metrics_go.md: -------------------------------------------------------------------------------- 1 | #### metrics.go 2 | -------------------------------------------------------------------------------- /core/ledger/kvledger/recovery_go.md: -------------------------------------------------------------------------------- 1 | #### recovery.go 2 | -------------------------------------------------------------------------------- /core/ledger/kvledger/txmgmt.md: -------------------------------------------------------------------------------- 1 | #### txmgmt 包 2 | -------------------------------------------------------------------------------- /core/ledger/ledgerconfig/README.md: -------------------------------------------------------------------------------- 1 | ### ledgerconfig 2 | -------------------------------------------------------------------------------- /core/ledger/ledgerconfig/ledger_config_go.md: -------------------------------------------------------------------------------- 1 | #### ledger_config.go 2 | -------------------------------------------------------------------------------- /core/ledger/ledgermgmt/README.md: -------------------------------------------------------------------------------- 1 | ### ledgermgmt 2 | -------------------------------------------------------------------------------- /core/ledger/ledgermgmt/ledger_mgmt_go.md: -------------------------------------------------------------------------------- 1 | #### ledger_mgmt.go 2 | -------------------------------------------------------------------------------- /core/ledger/ledgermgmt/ledger_mgmt_test_exports_go.md: -------------------------------------------------------------------------------- 1 | #### ledger_mgmt_test_exports.go 2 | -------------------------------------------------------------------------------- /core/ledger/ledgerstorage/README.md: -------------------------------------------------------------------------------- 1 | ### ledgerstorage 包 2 | -------------------------------------------------------------------------------- /core/ledger/ledgerstorage/store_go.md: -------------------------------------------------------------------------------- 1 | #### store.go 2 | -------------------------------------------------------------------------------- /core/ledger/pvtdatapolicy/README.md: -------------------------------------------------------------------------------- 1 | ### pvtdatapolicy 包 2 | -------------------------------------------------------------------------------- /core/ledger/pvtdatapolicy/btlpolicy_go.md: -------------------------------------------------------------------------------- 1 | #### btlpolicy.go 2 | -------------------------------------------------------------------------------- /core/ledger/pvtdatastorage/README.md: -------------------------------------------------------------------------------- 1 | ### pvtdatastorage 包 2 | -------------------------------------------------------------------------------- /core/ledger/pvtdatastorage/helper_go.md: -------------------------------------------------------------------------------- 1 | #### helper.go 2 | -------------------------------------------------------------------------------- /core/ledger/pvtdatastorage/kv_encoding_go.md: -------------------------------------------------------------------------------- 1 | #### kv_encoding.go 2 | -------------------------------------------------------------------------------- /core/ledger/pvtdatastorage/persistent_msgs.pb_go.md: -------------------------------------------------------------------------------- 1 | #### persistent_msgs.pb.go 2 | -------------------------------------------------------------------------------- /core/ledger/pvtdatastorage/persistent_msgs_helper_go.md: -------------------------------------------------------------------------------- 1 | #### persistent_msgs_helper.go 2 | -------------------------------------------------------------------------------- /core/ledger/pvtdatastorage/persistent_msgs_proto.md: -------------------------------------------------------------------------------- 1 | #### persistent_msgs.proto 2 | -------------------------------------------------------------------------------- /core/ledger/pvtdatastorage/test_exports_go.md: -------------------------------------------------------------------------------- 1 | #### test_exports.go 2 | -------------------------------------------------------------------------------- /core/ledger/pvtdatastorage/v11_go.md: -------------------------------------------------------------------------------- 1 | #### v11.go 2 | -------------------------------------------------------------------------------- /core/ledger/util/README.md: -------------------------------------------------------------------------------- 1 | ### util 2 | -------------------------------------------------------------------------------- /core/ledger/util/couchdb.md: -------------------------------------------------------------------------------- 1 | #### couchdb 2 | -------------------------------------------------------------------------------- /core/ledger/util/txvalidationflags_go.md: -------------------------------------------------------------------------------- 1 | #### txvalidationflags.go 2 | -------------------------------------------------------------------------------- /core/ledger/util/uint64_encoding_go.md: -------------------------------------------------------------------------------- 1 | #### uint64_encoding.go 2 | -------------------------------------------------------------------------------- /core/ledger/util/util_go.md: -------------------------------------------------------------------------------- 1 | #### util.go 2 | 3 | 辅助函数。 -------------------------------------------------------------------------------- /core/middleware/README.md: -------------------------------------------------------------------------------- 1 | ## middleware 包 2 | -------------------------------------------------------------------------------- /core/middleware/chain_go.md: -------------------------------------------------------------------------------- 1 | ### chain.go 2 | -------------------------------------------------------------------------------- /core/middleware/fakes/README.md: -------------------------------------------------------------------------------- 1 | ### fakes 包 2 | -------------------------------------------------------------------------------- /core/middleware/fakes/http_handler_go.md: -------------------------------------------------------------------------------- 1 | #### http_handler.go 2 | -------------------------------------------------------------------------------- /core/middleware/request_id_go.md: -------------------------------------------------------------------------------- 1 | ### request_id.go 2 | -------------------------------------------------------------------------------- /core/middleware/require_cert_go.md: -------------------------------------------------------------------------------- 1 | ### require_cert.go 2 | -------------------------------------------------------------------------------- /core/operations/README.md: -------------------------------------------------------------------------------- 1 | ## operations 包 2 | -------------------------------------------------------------------------------- /core/operations/fakes/README.md: -------------------------------------------------------------------------------- 1 | ### fakes 包 2 | -------------------------------------------------------------------------------- /core/operations/fakes/healthchecker_go.md: -------------------------------------------------------------------------------- 1 | #### healthchecker.go 2 | -------------------------------------------------------------------------------- /core/operations/fakes/logger_go.md: -------------------------------------------------------------------------------- 1 | #### logger.go 2 | -------------------------------------------------------------------------------- /core/operations/metrics_go.md: -------------------------------------------------------------------------------- 1 | ### metrics.go 2 | -------------------------------------------------------------------------------- /core/operations/system_go.md: -------------------------------------------------------------------------------- 1 | ### system.go 2 | -------------------------------------------------------------------------------- /core/operations/tls_go.md: -------------------------------------------------------------------------------- 1 | ### tls.go 2 | -------------------------------------------------------------------------------- /core/peer/README.md: -------------------------------------------------------------------------------- 1 | ## peer 2 | 3 | 构成一个 fabric peer 的核心实现。 4 | 5 | 主要包括: 6 | 7 | * peer 包:负责定义一个 peer 节点具有的各种行为。 8 | * handler 包:处理 peer 收到的各种消息,十分关键。 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /core/peer/mock_helpers_go.md: -------------------------------------------------------------------------------- 1 | ### mock_helpers.go 2 | -------------------------------------------------------------------------------- /core/peer/peer_impl_go.md: -------------------------------------------------------------------------------- 1 | ### peer_impl.go 2 | -------------------------------------------------------------------------------- /core/policy/README.md: -------------------------------------------------------------------------------- 1 | ## policy 2 | -------------------------------------------------------------------------------- /core/policy/policy_go.md: -------------------------------------------------------------------------------- 1 | ### policy.go 2 | -------------------------------------------------------------------------------- /core/policyprovider/README.md: -------------------------------------------------------------------------------- 1 | ## policyprovider 2 | -------------------------------------------------------------------------------- /core/policyprovider/provider_go.md: -------------------------------------------------------------------------------- 1 | ### provider.go 2 | -------------------------------------------------------------------------------- /core/scc/README.md: -------------------------------------------------------------------------------- 1 | ## scc 2 | 3 | System Chaincode 4 | 5 | 已更新escc、lscc和vscc。 6 | -------------------------------------------------------------------------------- /core/scc/cscc/README.md: -------------------------------------------------------------------------------- 1 | ### cscc 2 | -------------------------------------------------------------------------------- /core/scc/cscc/configure_go.md: -------------------------------------------------------------------------------- 1 | #### configure.go 2 | -------------------------------------------------------------------------------- /core/scc/importsysccs_go.md: -------------------------------------------------------------------------------- 1 | ### importsysccs.go 2 | -------------------------------------------------------------------------------- /core/scc/loadsysccs_go.md: -------------------------------------------------------------------------------- 1 | ### loadsysccs.go 2 | -------------------------------------------------------------------------------- /core/scc/lscc/README.md: -------------------------------------------------------------------------------- 1 | ### lccc 2 | 3 | Lifecycle System Chaincode。 4 | 5 | 负责Chaincode的安装、部署、更新、查询等操作。 6 | 7 | 进一步的分析请查阅`lscc_go.md`。 8 | -------------------------------------------------------------------------------- /core/scc/lscc/deployedcc_infoprovider_go.md: -------------------------------------------------------------------------------- 1 | #### deployedcc_infoprovider.go 2 | -------------------------------------------------------------------------------- /core/scc/lscc/errors_go.md: -------------------------------------------------------------------------------- 1 | #### errors.go 2 | -------------------------------------------------------------------------------- /core/scc/lscc/support_go.md: -------------------------------------------------------------------------------- 1 | #### support.go 2 | -------------------------------------------------------------------------------- /core/scc/qscc/README.md: -------------------------------------------------------------------------------- 1 | ### qscc 2 | -------------------------------------------------------------------------------- /core/scc/qscc/query_go.md: -------------------------------------------------------------------------------- 1 | #### query.go 2 | -------------------------------------------------------------------------------- /core/scc/register_go.md: -------------------------------------------------------------------------------- 1 | ### register.go 2 | -------------------------------------------------------------------------------- /core/scc/register_pluginsenabled_go.md: -------------------------------------------------------------------------------- 1 | ### register_pluginsenabled.go 2 | -------------------------------------------------------------------------------- /core/scc/sccproviderimpl_go.md: -------------------------------------------------------------------------------- 1 | ### sccproviderimpl.go 2 | -------------------------------------------------------------------------------- /core/scc/sysccapi_go.md: -------------------------------------------------------------------------------- 1 | ### sysccapi.go 2 | -------------------------------------------------------------------------------- /core/transientstore/README.md: -------------------------------------------------------------------------------- 1 | ## transientstore 包 2 | -------------------------------------------------------------------------------- /core/transientstore/store_go.md: -------------------------------------------------------------------------------- 1 | ### store.go 2 | -------------------------------------------------------------------------------- /core/transientstore/store_helper_go.md: -------------------------------------------------------------------------------- 1 | ### store_helper.go 2 | -------------------------------------------------------------------------------- /core/transientstore/test_exports_go.md: -------------------------------------------------------------------------------- 1 | ### test_exports.go 2 | -------------------------------------------------------------------------------- /discovery/README.md: -------------------------------------------------------------------------------- 1 | # discovery 包 2 | -------------------------------------------------------------------------------- /discovery/api_go.md: -------------------------------------------------------------------------------- 1 | ## api.go 2 | -------------------------------------------------------------------------------- /discovery/authcache_go.md: -------------------------------------------------------------------------------- 1 | ## authcache.go 2 | -------------------------------------------------------------------------------- /discovery/client/README.md: -------------------------------------------------------------------------------- 1 | ## client 包 2 | -------------------------------------------------------------------------------- /discovery/client/api_go.md: -------------------------------------------------------------------------------- 1 | ### api.go 2 | -------------------------------------------------------------------------------- /discovery/client/client_go.md: -------------------------------------------------------------------------------- 1 | ### client.go 2 | -------------------------------------------------------------------------------- /discovery/client/selection_go.md: -------------------------------------------------------------------------------- 1 | ### selection.go 2 | -------------------------------------------------------------------------------- /discovery/client/signer_go.md: -------------------------------------------------------------------------------- 1 | ### signer.go 2 | -------------------------------------------------------------------------------- /discovery/cmd/README.md: -------------------------------------------------------------------------------- 1 | ## cmd 包 2 | -------------------------------------------------------------------------------- /discovery/cmd/cmd_go.md: -------------------------------------------------------------------------------- 1 | ### cmd.go 2 | -------------------------------------------------------------------------------- /discovery/cmd/config_go.md: -------------------------------------------------------------------------------- 1 | ### config.go 2 | -------------------------------------------------------------------------------- /discovery/cmd/endorsers_go.md: -------------------------------------------------------------------------------- 1 | ### endorsers.go 2 | -------------------------------------------------------------------------------- /discovery/cmd/peers_go.md: -------------------------------------------------------------------------------- 1 | ### peers.go 2 | -------------------------------------------------------------------------------- /discovery/cmd/stub_go.md: -------------------------------------------------------------------------------- 1 | ### stub.go 2 | -------------------------------------------------------------------------------- /discovery/endorsement/README.md: -------------------------------------------------------------------------------- 1 | ## endorsement 包 2 | -------------------------------------------------------------------------------- /discovery/endorsement/collection_go.md: -------------------------------------------------------------------------------- 1 | ### collection.go 2 | -------------------------------------------------------------------------------- /discovery/endorsement/endorsement_go.md: -------------------------------------------------------------------------------- 1 | ### endorsement.go 2 | -------------------------------------------------------------------------------- /discovery/service_go.md: -------------------------------------------------------------------------------- 1 | ## service.go 2 | -------------------------------------------------------------------------------- /discovery/support/README.md: -------------------------------------------------------------------------------- 1 | ## support 包 2 | -------------------------------------------------------------------------------- /discovery/support/acl/README.md: -------------------------------------------------------------------------------- 1 | ### acl 包 2 | -------------------------------------------------------------------------------- /discovery/support/acl/support_go.md: -------------------------------------------------------------------------------- 1 | #### support.go 2 | -------------------------------------------------------------------------------- /discovery/support/chaincode/README.md: -------------------------------------------------------------------------------- 1 | ### chaincode 包 2 | -------------------------------------------------------------------------------- /discovery/support/chaincode/support_go.md: -------------------------------------------------------------------------------- 1 | #### support.go 2 | -------------------------------------------------------------------------------- /discovery/support/config/README.md: -------------------------------------------------------------------------------- 1 | ### config 包 2 | -------------------------------------------------------------------------------- /discovery/support/config/support_go.md: -------------------------------------------------------------------------------- 1 | #### support.go 2 | -------------------------------------------------------------------------------- /discovery/support/gossip/README.md: -------------------------------------------------------------------------------- 1 | ### gossip 包 2 | -------------------------------------------------------------------------------- /discovery/support/gossip/support_go.md: -------------------------------------------------------------------------------- 1 | #### support.go 2 | -------------------------------------------------------------------------------- /discovery/support/support_go.md: -------------------------------------------------------------------------------- 1 | ### support.go 2 | -------------------------------------------------------------------------------- /docs/Makefile.md: -------------------------------------------------------------------------------- 1 | ## Makefile 2 | -------------------------------------------------------------------------------- /docs/README.md: -------------------------------------------------------------------------------- 1 | # docs 2 | 项目相关的所有文档。 -------------------------------------------------------------------------------- /docs/custom_theme/README.md: -------------------------------------------------------------------------------- 1 | ## custom_theme 2 | -------------------------------------------------------------------------------- /docs/custom_theme/searchbox_html.md: -------------------------------------------------------------------------------- 1 | ### searchbox.html 2 | -------------------------------------------------------------------------------- /docs/requirements_txt.md: -------------------------------------------------------------------------------- 1 | ## requirements.txt 2 | -------------------------------------------------------------------------------- /docs/source/DCO1.1_txt.md: -------------------------------------------------------------------------------- 1 | ### DCO1.1.txt 2 | -------------------------------------------------------------------------------- /docs/source/Gerrit/README.md: -------------------------------------------------------------------------------- 1 | ### Gerrit 2 | -------------------------------------------------------------------------------- /docs/source/README.md: -------------------------------------------------------------------------------- 1 | ## source 2 | -------------------------------------------------------------------------------- /docs/source/Style-guides/README.md: -------------------------------------------------------------------------------- 1 | ### Style-guides 2 | -------------------------------------------------------------------------------- /docs/source/_static/README.md: -------------------------------------------------------------------------------- 1 | ### _static 2 | -------------------------------------------------------------------------------- /docs/source/_static/css.md: -------------------------------------------------------------------------------- 1 | #### css 2 | -------------------------------------------------------------------------------- /docs/source/_static/images.md: -------------------------------------------------------------------------------- 1 | #### images 包 2 | -------------------------------------------------------------------------------- /docs/source/_templates/README.md: -------------------------------------------------------------------------------- 1 | ### _templates 2 | -------------------------------------------------------------------------------- /docs/source/_templates/footer_html.md: -------------------------------------------------------------------------------- 1 | #### footer.html 2 | -------------------------------------------------------------------------------- /docs/source/_templates/layout_html.md: -------------------------------------------------------------------------------- 1 | #### layout.html 2 | -------------------------------------------------------------------------------- /docs/source/commands/README.md: -------------------------------------------------------------------------------- 1 | ### commands 包 2 | -------------------------------------------------------------------------------- /docs/source/conf_py.md: -------------------------------------------------------------------------------- 1 | ### conf.py 2 | -------------------------------------------------------------------------------- /docs/source/dev-setup/README.md: -------------------------------------------------------------------------------- 1 | ### dev-setup 2 | -------------------------------------------------------------------------------- /docs/source/dev-setup/headers_txt.md: -------------------------------------------------------------------------------- 1 | #### headers.txt 2 | -------------------------------------------------------------------------------- /docs/source/diagrams/README.md: -------------------------------------------------------------------------------- 1 | ### diagrams 包 2 | -------------------------------------------------------------------------------- /docs/source/diagrams/diagrams_pptx.md: -------------------------------------------------------------------------------- 1 | #### diagrams.pptx 2 | -------------------------------------------------------------------------------- /docs/source/glossary/README.md: -------------------------------------------------------------------------------- 1 | ### glossary 包 2 | -------------------------------------------------------------------------------- /docs/source/glossary/diagrams_pptx.md: -------------------------------------------------------------------------------- 1 | #### diagrams.pptx 2 | -------------------------------------------------------------------------------- /docs/source/identity/README.md: -------------------------------------------------------------------------------- 1 | ### identity 包 2 | -------------------------------------------------------------------------------- /docs/source/images/README.md: -------------------------------------------------------------------------------- 1 | ### images 2 | -------------------------------------------------------------------------------- /docs/source/images/SideDBTutorialImages_pptx.md: -------------------------------------------------------------------------------- 1 | #### SideDBTutorialImages.pptx 2 | -------------------------------------------------------------------------------- /docs/source/ledger/README.md: -------------------------------------------------------------------------------- 1 | ### ledger 包 2 | -------------------------------------------------------------------------------- /docs/source/mdtorst_sh.md: -------------------------------------------------------------------------------- 1 | ### mdtorst.sh 2 | -------------------------------------------------------------------------------- /docs/source/membership/README.md: -------------------------------------------------------------------------------- 1 | ### membership 包 2 | -------------------------------------------------------------------------------- /docs/source/network/README.md: -------------------------------------------------------------------------------- 1 | ### network 包 2 | -------------------------------------------------------------------------------- /docs/source/peers/README.md: -------------------------------------------------------------------------------- 1 | ### peers 包 2 | -------------------------------------------------------------------------------- /docs/source/private-data/PrivateDataConceptImages_pptx.md: -------------------------------------------------------------------------------- 1 | #### PrivateDataConceptImages.pptx 2 | -------------------------------------------------------------------------------- /docs/source/private-data/README.md: -------------------------------------------------------------------------------- 1 | ### private-data 包 2 | -------------------------------------------------------------------------------- /docs/source/requirements_txt.md: -------------------------------------------------------------------------------- 1 | ### requirements.txt 2 | -------------------------------------------------------------------------------- /docs/wrappers/README.md: -------------------------------------------------------------------------------- 1 | ## wrappers 包 2 | -------------------------------------------------------------------------------- /examples/README.md: -------------------------------------------------------------------------------- 1 | # examples 2 | 示例文件,包括一些 chaincode 示例和监听事件的示例。 -------------------------------------------------------------------------------- /examples/chaincode/README.md: -------------------------------------------------------------------------------- 1 | ## chaincode 2 | -------------------------------------------------------------------------------- /examples/chaincode/go/README.md: -------------------------------------------------------------------------------- 1 | ### go 2 | -------------------------------------------------------------------------------- /examples/chaincode/go/enccc_example.md: -------------------------------------------------------------------------------- 1 | #### enccc_example 包 2 | -------------------------------------------------------------------------------- /examples/chaincode/go/eventsender.md: -------------------------------------------------------------------------------- 1 | #### eventsender 2 | -------------------------------------------------------------------------------- /examples/chaincode/go/example01.md: -------------------------------------------------------------------------------- 1 | #### example01 包 2 | -------------------------------------------------------------------------------- /examples/chaincode/go/example02.md: -------------------------------------------------------------------------------- 1 | #### example02 包 2 | -------------------------------------------------------------------------------- /examples/chaincode/go/example03.md: -------------------------------------------------------------------------------- 1 | #### example03 包 2 | -------------------------------------------------------------------------------- /examples/chaincode/go/example04.md: -------------------------------------------------------------------------------- 1 | #### example04 包 2 | -------------------------------------------------------------------------------- /examples/chaincode/go/example05.md: -------------------------------------------------------------------------------- 1 | #### example05 包 2 | -------------------------------------------------------------------------------- /examples/chaincode/go/invokereturnsvalue.md: -------------------------------------------------------------------------------- 1 | #### invokereturnsvalue 2 | -------------------------------------------------------------------------------- /examples/chaincode/go/map.md: -------------------------------------------------------------------------------- 1 | #### map 2 | -------------------------------------------------------------------------------- /examples/chaincode/go/marbles02.md: -------------------------------------------------------------------------------- 1 | #### marbles02 2 | -------------------------------------------------------------------------------- /examples/chaincode/go/passthru.md: -------------------------------------------------------------------------------- 1 | #### passthru 2 | -------------------------------------------------------------------------------- /examples/chaincode/go/sleeper.md: -------------------------------------------------------------------------------- 1 | #### sleeper 2 | -------------------------------------------------------------------------------- /examples/cluster/Makefile.md: -------------------------------------------------------------------------------- 1 | ### Makefile 2 | -------------------------------------------------------------------------------- /examples/cluster/README.md: -------------------------------------------------------------------------------- 1 | ## cluster 2 | -------------------------------------------------------------------------------- /examples/cluster/compose/README.md: -------------------------------------------------------------------------------- 1 | ### compose 2 | -------------------------------------------------------------------------------- /examples/cluster/compose/compose-up.sh_in.md: -------------------------------------------------------------------------------- 1 | #### compose-up.sh.in 2 | -------------------------------------------------------------------------------- /examples/cluster/compose/configure.sh_in.md: -------------------------------------------------------------------------------- 1 | #### configure.sh.in 2 | -------------------------------------------------------------------------------- /examples/cluster/compose/docker-compose.yaml_in.md: -------------------------------------------------------------------------------- 1 | #### docker-compose.yaml.in 2 | -------------------------------------------------------------------------------- /examples/cluster/config/README.md: -------------------------------------------------------------------------------- 1 | ### config 2 | -------------------------------------------------------------------------------- /examples/cluster/config/configtx_yaml.md: -------------------------------------------------------------------------------- 1 | #### configtx.yaml 2 | -------------------------------------------------------------------------------- /examples/cluster/config/core_yaml.md: -------------------------------------------------------------------------------- 1 | #### core.yaml 2 | -------------------------------------------------------------------------------- /examples/cluster/config/cryptogen_yaml.md: -------------------------------------------------------------------------------- 1 | #### cryptogen.yaml 2 | -------------------------------------------------------------------------------- /examples/cluster/config/fabric-ca-server-config_yaml.md: -------------------------------------------------------------------------------- 1 | #### fabric-ca-server-config.yaml 2 | -------------------------------------------------------------------------------- /examples/cluster/config/fabric-tlsca-server-config_yaml.md: -------------------------------------------------------------------------------- 1 | #### fabric-tlsca-server-config.yaml 2 | -------------------------------------------------------------------------------- /examples/cluster/config/orderer_yaml.md: -------------------------------------------------------------------------------- 1 | #### orderer.yaml 2 | -------------------------------------------------------------------------------- /examples/cluster/usage_txt.md: -------------------------------------------------------------------------------- 1 | ### usage.txt 2 | -------------------------------------------------------------------------------- /examples/configtxupdate/README.md: -------------------------------------------------------------------------------- 1 | ## configtxupdate 2 | -------------------------------------------------------------------------------- /examples/configtxupdate/bootstrap_batchsize/README.md: -------------------------------------------------------------------------------- 1 | ### bootstrap_batchsize 2 | -------------------------------------------------------------------------------- /examples/configtxupdate/bootstrap_batchsize/script_sh.md: -------------------------------------------------------------------------------- 1 | #### script.sh 2 | -------------------------------------------------------------------------------- /examples/configtxupdate/common_scripts/README.md: -------------------------------------------------------------------------------- 1 | ### common_scripts 2 | -------------------------------------------------------------------------------- /examples/configtxupdate/common_scripts/common_sh.md: -------------------------------------------------------------------------------- 1 | #### common.sh 2 | -------------------------------------------------------------------------------- /examples/configtxupdate/reconfig_batchsize/README.md: -------------------------------------------------------------------------------- 1 | ### reconfig_batchsize 2 | -------------------------------------------------------------------------------- /examples/configtxupdate/reconfig_batchsize/script_sh.md: -------------------------------------------------------------------------------- 1 | #### script.sh 2 | -------------------------------------------------------------------------------- /examples/configtxupdate/reconfig_membership/README.md: -------------------------------------------------------------------------------- 1 | ### reconfig_membership 2 | -------------------------------------------------------------------------------- /examples/configtxupdate/reconfig_membership/script_sh.md: -------------------------------------------------------------------------------- 1 | #### script.sh 2 | -------------------------------------------------------------------------------- /examples/events/README.md: -------------------------------------------------------------------------------- 1 | ## events 2 | -------------------------------------------------------------------------------- /examples/events/eventsclient/README.md: -------------------------------------------------------------------------------- 1 | ### eventsclient 包 2 | -------------------------------------------------------------------------------- /examples/events/eventsclient/eventsclient_go.md: -------------------------------------------------------------------------------- 1 | #### eventsclient.go 2 | -------------------------------------------------------------------------------- /examples/plugins/README.md: -------------------------------------------------------------------------------- 1 | ## plugins 包 2 | -------------------------------------------------------------------------------- /examples/plugins/bccsp/README.md: -------------------------------------------------------------------------------- 1 | ### bccsp 包 2 | -------------------------------------------------------------------------------- /examples/plugins/bccsp/plugin_go.md: -------------------------------------------------------------------------------- 1 | #### plugin.go 2 | -------------------------------------------------------------------------------- /examples/plugins/scc/README.md: -------------------------------------------------------------------------------- 1 | ### scc 包 2 | -------------------------------------------------------------------------------- /examples/plugins/scc/plugin_go.md: -------------------------------------------------------------------------------- 1 | #### plugin.go 2 | -------------------------------------------------------------------------------- /gossip/README.md: -------------------------------------------------------------------------------- 1 | # gossip 2 | -------------------------------------------------------------------------------- /gossip/api/README.md: -------------------------------------------------------------------------------- 1 | ## api 2 | -------------------------------------------------------------------------------- /gossip/api/channel_go.md: -------------------------------------------------------------------------------- 1 | ### channel.go 2 | -------------------------------------------------------------------------------- /gossip/api/crypto_go.md: -------------------------------------------------------------------------------- 1 | ### crypto.go 2 | -------------------------------------------------------------------------------- /gossip/api/subchannel_go.md: -------------------------------------------------------------------------------- 1 | ### subchannel.go 2 | -------------------------------------------------------------------------------- /gossip/comm/README.md: -------------------------------------------------------------------------------- 1 | ## comm 2 | -------------------------------------------------------------------------------- /gossip/comm/ack_go.md: -------------------------------------------------------------------------------- 1 | ### ack.go 2 | -------------------------------------------------------------------------------- /gossip/comm/comm_go.md: -------------------------------------------------------------------------------- 1 | ### comm.go 2 | -------------------------------------------------------------------------------- /gossip/comm/comm_impl_go.md: -------------------------------------------------------------------------------- 1 | ### comm_impl.go 2 | -------------------------------------------------------------------------------- /gossip/comm/conn_go.md: -------------------------------------------------------------------------------- 1 | ### conn.go 2 | -------------------------------------------------------------------------------- /gossip/comm/crypto_go.md: -------------------------------------------------------------------------------- 1 | ### crypto.go 2 | -------------------------------------------------------------------------------- /gossip/comm/demux_go.md: -------------------------------------------------------------------------------- 1 | ### demux.go 2 | -------------------------------------------------------------------------------- /gossip/comm/msg_go.md: -------------------------------------------------------------------------------- 1 | ### msg.go 2 | -------------------------------------------------------------------------------- /gossip/common/README.md: -------------------------------------------------------------------------------- 1 | ## common 2 | -------------------------------------------------------------------------------- /gossip/common/cert_go.md: -------------------------------------------------------------------------------- 1 | ### cert.go 2 | -------------------------------------------------------------------------------- /gossip/common/common_go.md: -------------------------------------------------------------------------------- 1 | ### common.go 2 | -------------------------------------------------------------------------------- /gossip/discovery/README.md: -------------------------------------------------------------------------------- 1 | ## discovery 2 | -------------------------------------------------------------------------------- /gossip/discovery/discovery_go.md: -------------------------------------------------------------------------------- 1 | ### discovery.go 2 | -------------------------------------------------------------------------------- /gossip/discovery/discovery_impl_go.md: -------------------------------------------------------------------------------- 1 | ### discovery_impl.go 2 | -------------------------------------------------------------------------------- /gossip/election/README.md: -------------------------------------------------------------------------------- 1 | ## election 2 | -------------------------------------------------------------------------------- /gossip/election/adapter_go.md: -------------------------------------------------------------------------------- 1 | ### adapter.go 2 | -------------------------------------------------------------------------------- /gossip/election/election_go.md: -------------------------------------------------------------------------------- 1 | ### election.go 2 | -------------------------------------------------------------------------------- /gossip/filter/README.md: -------------------------------------------------------------------------------- 1 | ## filter 2 | -------------------------------------------------------------------------------- /gossip/filter/filter_go.md: -------------------------------------------------------------------------------- 1 | ### filter.go 2 | -------------------------------------------------------------------------------- /gossip/gossip/README.md: -------------------------------------------------------------------------------- 1 | ## gossip 2 | -------------------------------------------------------------------------------- /gossip/gossip/algo/README.md: -------------------------------------------------------------------------------- 1 | ### algo 2 | -------------------------------------------------------------------------------- /gossip/gossip/algo/pull_go.md: -------------------------------------------------------------------------------- 1 | #### pull.go 2 | -------------------------------------------------------------------------------- /gossip/gossip/batcher_go.md: -------------------------------------------------------------------------------- 1 | ### batcher.go 2 | -------------------------------------------------------------------------------- /gossip/gossip/certstore_go.md: -------------------------------------------------------------------------------- 1 | ### certstore.go 2 | -------------------------------------------------------------------------------- /gossip/gossip/channel/README.md: -------------------------------------------------------------------------------- 1 | ### channel 2 | -------------------------------------------------------------------------------- /gossip/gossip/channel/channel_go.md: -------------------------------------------------------------------------------- 1 | #### channel.go 2 | -------------------------------------------------------------------------------- /gossip/gossip/chanstate_go.md: -------------------------------------------------------------------------------- 1 | ### chanstate.go 2 | -------------------------------------------------------------------------------- /gossip/gossip/gossip_go.md: -------------------------------------------------------------------------------- 1 | ### gossip.go 2 | -------------------------------------------------------------------------------- /gossip/gossip/gossip_impl_go.md: -------------------------------------------------------------------------------- 1 | ### gossip_impl.go 2 | -------------------------------------------------------------------------------- /gossip/gossip/msgstore/README.md: -------------------------------------------------------------------------------- 1 | ### msgstore 2 | -------------------------------------------------------------------------------- /gossip/gossip/msgstore/msgs_go.md: -------------------------------------------------------------------------------- 1 | #### msgs.go 2 | -------------------------------------------------------------------------------- /gossip/gossip/pull/README.md: -------------------------------------------------------------------------------- 1 | ### pull 2 | -------------------------------------------------------------------------------- /gossip/gossip/pull/pullstore_go.md: -------------------------------------------------------------------------------- 1 | #### pullstore.go 2 | -------------------------------------------------------------------------------- /gossip/identity/README.md: -------------------------------------------------------------------------------- 1 | ## identity 2 | -------------------------------------------------------------------------------- /gossip/identity/identity_go.md: -------------------------------------------------------------------------------- 1 | ### identity.go 2 | -------------------------------------------------------------------------------- /gossip/integration/README.md: -------------------------------------------------------------------------------- 1 | ## integration 2 | -------------------------------------------------------------------------------- /gossip/integration/integration_go.md: -------------------------------------------------------------------------------- 1 | ### integration.go 2 | -------------------------------------------------------------------------------- /gossip/privdata/README.md: -------------------------------------------------------------------------------- 1 | ## privdata 包 2 | -------------------------------------------------------------------------------- /gossip/privdata/common/README.md: -------------------------------------------------------------------------------- 1 | ### common 包 2 | -------------------------------------------------------------------------------- /gossip/privdata/common/common_go.md: -------------------------------------------------------------------------------- 1 | #### common.go 2 | -------------------------------------------------------------------------------- /gossip/privdata/coordinator_go.md: -------------------------------------------------------------------------------- 1 | ### coordinator.go 2 | -------------------------------------------------------------------------------- /gossip/privdata/dataretriever_go.md: -------------------------------------------------------------------------------- 1 | ### dataretriever.go 2 | -------------------------------------------------------------------------------- /gossip/privdata/distributor_go.md: -------------------------------------------------------------------------------- 1 | ### distributor.go 2 | -------------------------------------------------------------------------------- /gossip/privdata/pull_go.md: -------------------------------------------------------------------------------- 1 | ### pull.go 2 | -------------------------------------------------------------------------------- /gossip/privdata/reconcile_go.md: -------------------------------------------------------------------------------- 1 | ### reconcile.go 2 | -------------------------------------------------------------------------------- /gossip/privdata/util_go.md: -------------------------------------------------------------------------------- 1 | ### util.go 2 | -------------------------------------------------------------------------------- /gossip/service/README.md: -------------------------------------------------------------------------------- 1 | ## service 2 | -------------------------------------------------------------------------------- /gossip/service/eventer_go.md: -------------------------------------------------------------------------------- 1 | ### eventer.go 2 | -------------------------------------------------------------------------------- /gossip/service/gossip_service_go.md: -------------------------------------------------------------------------------- 1 | ### gossip_service.go 2 | -------------------------------------------------------------------------------- /gossip/state/README.md: -------------------------------------------------------------------------------- 1 | ## state 2 | -------------------------------------------------------------------------------- /gossip/state/payloads_buffer_go.md: -------------------------------------------------------------------------------- 1 | ### payloads_buffer.go 2 | -------------------------------------------------------------------------------- /gossip/state/state_go.md: -------------------------------------------------------------------------------- 1 | ### state.go 2 | -------------------------------------------------------------------------------- /gossip/util/README.md: -------------------------------------------------------------------------------- 1 | ## util 2 | -------------------------------------------------------------------------------- /gossip/util/logging_go.md: -------------------------------------------------------------------------------- 1 | ### logging.go 2 | -------------------------------------------------------------------------------- /gossip/util/misc_go.md: -------------------------------------------------------------------------------- 1 | ### misc.go 2 | -------------------------------------------------------------------------------- /gossip/util/msgs_go.md: -------------------------------------------------------------------------------- 1 | ### msgs.go 2 | -------------------------------------------------------------------------------- /gossip/util/privdata_go.md: -------------------------------------------------------------------------------- 1 | ### privdata.go 2 | -------------------------------------------------------------------------------- /gossip/util/pubsub_go.md: -------------------------------------------------------------------------------- 1 | ### pubsub.go 2 | -------------------------------------------------------------------------------- /idemix/README.md: -------------------------------------------------------------------------------- 1 | # idemix 包 2 | -------------------------------------------------------------------------------- /idemix/credential_go.md: -------------------------------------------------------------------------------- 1 | ## credential.go 2 | -------------------------------------------------------------------------------- /idemix/credrequest_go.md: -------------------------------------------------------------------------------- 1 | ## credrequest.go 2 | -------------------------------------------------------------------------------- /idemix/idemix.pb_go.md: -------------------------------------------------------------------------------- 1 | ## idemix.pb.go 2 | -------------------------------------------------------------------------------- /idemix/issuerkey_go.md: -------------------------------------------------------------------------------- 1 | ## issuerkey.go 2 | -------------------------------------------------------------------------------- /idemix/nonrevocation-prover_go.md: -------------------------------------------------------------------------------- 1 | ## nonrevocation-prover.go 2 | -------------------------------------------------------------------------------- /idemix/nonrevocation-verifier_go.md: -------------------------------------------------------------------------------- 1 | ## nonrevocation-verifier.go 2 | -------------------------------------------------------------------------------- /idemix/nymsignature_go.md: -------------------------------------------------------------------------------- 1 | ## nymsignature.go 2 | -------------------------------------------------------------------------------- /idemix/revocation_authority_go.md: -------------------------------------------------------------------------------- 1 | ## revocation_authority.go 2 | -------------------------------------------------------------------------------- /idemix/signature_go.md: -------------------------------------------------------------------------------- 1 | ## signature.go 2 | -------------------------------------------------------------------------------- /idemix/util_go.md: -------------------------------------------------------------------------------- 1 | ## util.go 2 | -------------------------------------------------------------------------------- /idemix/weak-bb_go.md: -------------------------------------------------------------------------------- 1 | ## weak-bb.go 2 | -------------------------------------------------------------------------------- /images/ccenv/Dockerfile.md: -------------------------------------------------------------------------------- 1 | ### Dockerfile 2 | -------------------------------------------------------------------------------- /images/ccenv/README.md: -------------------------------------------------------------------------------- 1 | ## ccenv 2 | 3 | 生成 chaincode 运行的环境镜像。 4 | 5 | 包括 Dockerfile.in 文件,内容为: 6 | 7 | ```sh 8 | FROM hyperledger/fabric-baseimage:_BASE_TAG_ 9 | COPY payload/chaintool payload/protoc-gen-go /usr/local/bin/ 10 | ADD payload/goshim.tar.bz2 $GOPATH/src/ 11 | ``` 12 | -------------------------------------------------------------------------------- /images/ccenv/main_go.md: -------------------------------------------------------------------------------- 1 | ### main.go 2 | -------------------------------------------------------------------------------- /images/orderer/Dockerfile.md: -------------------------------------------------------------------------------- 1 | ### Dockerfile 2 | -------------------------------------------------------------------------------- /images/peer/Dockerfile.md: -------------------------------------------------------------------------------- 1 | ### Dockerfile 2 | -------------------------------------------------------------------------------- /images/tools/Dockerfile.md: -------------------------------------------------------------------------------- 1 | ### Dockerfile 2 | -------------------------------------------------------------------------------- /images/tools/README.md: -------------------------------------------------------------------------------- 1 | ## tools 2 | -------------------------------------------------------------------------------- /integration/README.md: -------------------------------------------------------------------------------- 1 | # integration 包 2 | -------------------------------------------------------------------------------- /integration/chaincode/README.md: -------------------------------------------------------------------------------- 1 | ## chaincode 包 2 | -------------------------------------------------------------------------------- /integration/chaincode/keylevelep/README.md: -------------------------------------------------------------------------------- 1 | ### keylevelep 包 2 | -------------------------------------------------------------------------------- /integration/chaincode/keylevelep/chaincode_go.md: -------------------------------------------------------------------------------- 1 | #### chaincode.go 2 | -------------------------------------------------------------------------------- /integration/chaincode/keylevelep/cmd.md: -------------------------------------------------------------------------------- 1 | #### cmd 包 2 | -------------------------------------------------------------------------------- /integration/chaincode/marbles_private/README.md: -------------------------------------------------------------------------------- 1 | ### marbles_private 包 2 | -------------------------------------------------------------------------------- /integration/chaincode/marbles_private/chaincode_go.md: -------------------------------------------------------------------------------- 1 | #### chaincode.go 2 | -------------------------------------------------------------------------------- /integration/chaincode/marbles_private/cmd.md: -------------------------------------------------------------------------------- 1 | #### cmd 包 2 | -------------------------------------------------------------------------------- /integration/chaincode/simple/README.md: -------------------------------------------------------------------------------- 1 | ### simple 包 2 | -------------------------------------------------------------------------------- /integration/chaincode/simple/chaincode_go.md: -------------------------------------------------------------------------------- 1 | #### chaincode.go 2 | -------------------------------------------------------------------------------- /integration/chaincode/simple/cmd.md: -------------------------------------------------------------------------------- 1 | #### cmd 包 2 | -------------------------------------------------------------------------------- /integration/discovery/README.md: -------------------------------------------------------------------------------- 1 | ## discovery 包 2 | -------------------------------------------------------------------------------- /integration/e2e/README.md: -------------------------------------------------------------------------------- 1 | ## e2e 包 2 | -------------------------------------------------------------------------------- /integration/helpers/README.md: -------------------------------------------------------------------------------- 1 | ## helpers 包 2 | -------------------------------------------------------------------------------- /integration/helpers/images_go.md: -------------------------------------------------------------------------------- 1 | ### images.go 2 | -------------------------------------------------------------------------------- /integration/nwo/README.md: -------------------------------------------------------------------------------- 1 | ## nwo 包 2 | -------------------------------------------------------------------------------- /integration/nwo/command_go.md: -------------------------------------------------------------------------------- 1 | ### command.go 2 | -------------------------------------------------------------------------------- /integration/nwo/commands/README.md: -------------------------------------------------------------------------------- 1 | ### commands 包 2 | -------------------------------------------------------------------------------- /integration/nwo/commands/configtxgen_go.md: -------------------------------------------------------------------------------- 1 | #### configtxgen.go 2 | -------------------------------------------------------------------------------- /integration/nwo/commands/cryptogen_go.md: -------------------------------------------------------------------------------- 1 | #### cryptogen.go 2 | -------------------------------------------------------------------------------- /integration/nwo/commands/discover_go.md: -------------------------------------------------------------------------------- 1 | #### discover.go 2 | -------------------------------------------------------------------------------- /integration/nwo/commands/peer_go.md: -------------------------------------------------------------------------------- 1 | #### peer.go 2 | -------------------------------------------------------------------------------- /integration/nwo/components_go.md: -------------------------------------------------------------------------------- 1 | ### components.go 2 | -------------------------------------------------------------------------------- /integration/nwo/config_go.md: -------------------------------------------------------------------------------- 1 | ### config.go 2 | -------------------------------------------------------------------------------- /integration/nwo/configblock_go.md: -------------------------------------------------------------------------------- 1 | ### configblock.go 2 | -------------------------------------------------------------------------------- /integration/nwo/configtx_template_go.md: -------------------------------------------------------------------------------- 1 | ### configtx_template.go 2 | -------------------------------------------------------------------------------- /integration/nwo/core_template_go.md: -------------------------------------------------------------------------------- 1 | ### core_template.go 2 | -------------------------------------------------------------------------------- /integration/nwo/crypto_template_go.md: -------------------------------------------------------------------------------- 1 | ### crypto_template.go 2 | -------------------------------------------------------------------------------- /integration/nwo/deploy_go.md: -------------------------------------------------------------------------------- 1 | ### deploy.go 2 | -------------------------------------------------------------------------------- /integration/nwo/discover_go.md: -------------------------------------------------------------------------------- 1 | ### discover.go 2 | -------------------------------------------------------------------------------- /integration/nwo/fabricconfig/README.md: -------------------------------------------------------------------------------- 1 | ### fabricconfig 包 2 | -------------------------------------------------------------------------------- /integration/nwo/fabricconfig/core_go.md: -------------------------------------------------------------------------------- 1 | #### core.go 2 | -------------------------------------------------------------------------------- /integration/nwo/fabricconfig/orderer_go.md: -------------------------------------------------------------------------------- 1 | #### orderer.go 2 | -------------------------------------------------------------------------------- /integration/nwo/network_go.md: -------------------------------------------------------------------------------- 1 | ### network.go 2 | -------------------------------------------------------------------------------- /integration/nwo/orderer_template_go.md: -------------------------------------------------------------------------------- 1 | ### orderer_template.go 2 | -------------------------------------------------------------------------------- /integration/nwo/solo_yaml.md: -------------------------------------------------------------------------------- 1 | ### solo.yaml 2 | -------------------------------------------------------------------------------- /integration/nwo/standard_networks_go.md: -------------------------------------------------------------------------------- 1 | ### standard_networks.go 2 | -------------------------------------------------------------------------------- /integration/nwo/templates_go.md: -------------------------------------------------------------------------------- 1 | ### templates.go 2 | -------------------------------------------------------------------------------- /integration/pluggable/README.md: -------------------------------------------------------------------------------- 1 | ## pluggable 包 2 | -------------------------------------------------------------------------------- /integration/pluggable/plugin_activation_go.md: -------------------------------------------------------------------------------- 1 | ### plugin_activation.go 2 | -------------------------------------------------------------------------------- /integration/pvtdata/README.md: -------------------------------------------------------------------------------- 1 | ## pvtdata 包 2 | -------------------------------------------------------------------------------- /integration/runner/README.md: -------------------------------------------------------------------------------- 1 | ## runner 包 2 | -------------------------------------------------------------------------------- /integration/runner/couchdb_go.md: -------------------------------------------------------------------------------- 1 | ### couchdb.go 2 | -------------------------------------------------------------------------------- /integration/runner/defaults_go.md: -------------------------------------------------------------------------------- 1 | ### defaults.go 2 | -------------------------------------------------------------------------------- /integration/runner/kafka_go.md: -------------------------------------------------------------------------------- 1 | ### kafka.go 2 | -------------------------------------------------------------------------------- /integration/runner/zookeeper_go.md: -------------------------------------------------------------------------------- 1 | ### zookeeper.go 2 | -------------------------------------------------------------------------------- /integration/sbe/README.md: -------------------------------------------------------------------------------- 1 | ## sbe 包 2 | -------------------------------------------------------------------------------- /integration/token/README.md: -------------------------------------------------------------------------------- 1 | ## token 包 2 | -------------------------------------------------------------------------------- /msp/README.md: -------------------------------------------------------------------------------- 1 | # msp 2 | 3 | 成员服务提供者(Member Service Provider),提供一组认证相关的密码学机制和协议,用来负责对网络提供证书分发、校验,身份认证管理等。 4 | 5 | 通常情况下,一个组织可以作为一个 MSP,负责对旗下所有成员的管理。 6 | 7 | 该包下面的 `sampleconfig` 目录中提供了样例配置文件,主要包括各个证书。 -------------------------------------------------------------------------------- /msp/cache/README.md: -------------------------------------------------------------------------------- 1 | ## cache 包 2 | -------------------------------------------------------------------------------- /msp/cache/cache_go.md: -------------------------------------------------------------------------------- 1 | ### cache.go 2 | -------------------------------------------------------------------------------- /msp/cache/second_chance_go.md: -------------------------------------------------------------------------------- 1 | ### second_chance.go 2 | -------------------------------------------------------------------------------- /msp/cert_go.md: -------------------------------------------------------------------------------- 1 | ## cert.go 2 | -------------------------------------------------------------------------------- /msp/configbuilder_go.md: -------------------------------------------------------------------------------- 1 | ## configbuilder.go 2 | -------------------------------------------------------------------------------- /msp/factory_go.md: -------------------------------------------------------------------------------- 1 | ## factory.go 2 | -------------------------------------------------------------------------------- /msp/idemix_roles_go.md: -------------------------------------------------------------------------------- 1 | ## idemix_roles.go 2 | -------------------------------------------------------------------------------- /msp/idemixmsp_go.md: -------------------------------------------------------------------------------- 1 | ## idemixmsp.go 2 | -------------------------------------------------------------------------------- /msp/mgmt/README.md: -------------------------------------------------------------------------------- 1 | ## mgmt 2 | -------------------------------------------------------------------------------- /msp/mgmt/deserializer_go.md: -------------------------------------------------------------------------------- 1 | ### deserializer.go 2 | -------------------------------------------------------------------------------- /msp/mgmt/mgmt_go.md: -------------------------------------------------------------------------------- 1 | ### mgmt.go 2 | -------------------------------------------------------------------------------- /msp/mgmt/principal_go.md: -------------------------------------------------------------------------------- 1 | ### principal.go 2 | -------------------------------------------------------------------------------- /msp/msp_go.md: -------------------------------------------------------------------------------- 1 | ## msp.go 2 | 3 | 定义了一些基础功能接口,包括 4 | 5 | * MSPManager:管理 MSP 6 | * MSP:服务提供者的抽象,提供签名、校验等功能。 7 | * Identity:跟证书相关的操作,包括获取内容,校验内容等。 8 | * SigningIdentity:继承自 Identity,进一步支持签名功能。 9 | -------------------------------------------------------------------------------- /msp/mspimplsetup_go.md: -------------------------------------------------------------------------------- 1 | ## mspimplsetup.go 2 | -------------------------------------------------------------------------------- /msp/mspimplvalidate_go.md: -------------------------------------------------------------------------------- 1 | ## mspimplvalidate.go 2 | -------------------------------------------------------------------------------- /msp/mspmgrimpl_go.md: -------------------------------------------------------------------------------- 1 | ## mspmgrimpl.go 2 | -------------------------------------------------------------------------------- /orderer/_images/orderer_common_server_Start.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeasy/hyperledger_code_fabric/2f6d00d2aab049cf7229bd512e6b8277ffa8d7ba/orderer/_images/orderer_common_server_Start.png -------------------------------------------------------------------------------- /orderer/common/README.md: -------------------------------------------------------------------------------- 1 | ## common 2 | 3 | 通用函数。 -------------------------------------------------------------------------------- /orderer/common/blockcutter/README.md: -------------------------------------------------------------------------------- 1 | ### blockcutter 2 | 将一批消息分为区块。 -------------------------------------------------------------------------------- /orderer/common/blockcutter/metrics_go.md: -------------------------------------------------------------------------------- 1 | #### metrics.go 2 | -------------------------------------------------------------------------------- /orderer/common/bootstrap/README.md: -------------------------------------------------------------------------------- 1 | ### bootstrap 2 | 全新启动时候读取初始区块。 -------------------------------------------------------------------------------- /orderer/common/bootstrap/file.md: -------------------------------------------------------------------------------- 1 | #### file 2 | -------------------------------------------------------------------------------- /orderer/common/broadcast/README.md: -------------------------------------------------------------------------------- 1 | ### broadcast 2 | 3 | 负责响应 Broadcast 请求的入口。 -------------------------------------------------------------------------------- /orderer/common/broadcast/metrics_go.md: -------------------------------------------------------------------------------- 1 | #### metrics.go 2 | -------------------------------------------------------------------------------- /orderer/common/cluster/README.md: -------------------------------------------------------------------------------- 1 | ### cluster 包 2 | -------------------------------------------------------------------------------- /orderer/common/cluster/comm_go.md: -------------------------------------------------------------------------------- 1 | #### comm.go 2 | -------------------------------------------------------------------------------- /orderer/common/cluster/connections_go.md: -------------------------------------------------------------------------------- 1 | #### connections.go 2 | -------------------------------------------------------------------------------- /orderer/common/cluster/deliver_go.md: -------------------------------------------------------------------------------- 1 | #### deliver.go 2 | -------------------------------------------------------------------------------- /orderer/common/cluster/replication_go.md: -------------------------------------------------------------------------------- 1 | #### replication.go 2 | -------------------------------------------------------------------------------- /orderer/common/cluster/rpc_go.md: -------------------------------------------------------------------------------- 1 | #### rpc.go 2 | -------------------------------------------------------------------------------- /orderer/common/cluster/service_go.md: -------------------------------------------------------------------------------- 1 | #### service.go 2 | -------------------------------------------------------------------------------- /orderer/common/cluster/util_go.md: -------------------------------------------------------------------------------- 1 | #### util.go 2 | -------------------------------------------------------------------------------- /orderer/common/localconfig/README.md: -------------------------------------------------------------------------------- 1 | ### localconfig 包 2 | 3 | 管理 Orderer 相关的配置 -------------------------------------------------------------------------------- /orderer/common/metadata/README.md: -------------------------------------------------------------------------------- 1 | ### metadata 包 2 | -------------------------------------------------------------------------------- /orderer/common/metadata/metadata_go.md: -------------------------------------------------------------------------------- 1 | #### metadata.go 2 | -------------------------------------------------------------------------------- /orderer/common/msgprocessor/README.md: -------------------------------------------------------------------------------- 1 | ### msgprocessor 包 2 | 3 | 负责对 Kafka 排序后消息的处理。 -------------------------------------------------------------------------------- /orderer/common/msgprocessor/expiration_go.md: -------------------------------------------------------------------------------- 1 | #### expiration.go 2 | 3 | 判断消息是否过期的过滤器。 4 | 5 | ``` 6 | type expirationRejectRule struct { 7 | filterSupport resources 8 | } 9 | ``` 10 | 11 | #### Apply 12 | 13 | 从消息envelope中取出identity,判断identity标识是否过期。 14 | 15 | -------------------------------------------------------------------------------- /orderer/common/multichannel/README.md: -------------------------------------------------------------------------------- 1 | ### multichannel 包 2 | -------------------------------------------------------------------------------- /orderer/common/server/README.md: -------------------------------------------------------------------------------- 1 | ### server 包 2 | 启动 Orderer 服务的入口。 -------------------------------------------------------------------------------- /orderer/common/server/docker-compose_yml.md: -------------------------------------------------------------------------------- 1 | #### docker-compose.yml 2 | -------------------------------------------------------------------------------- /orderer/common/server/onboarding_go.md: -------------------------------------------------------------------------------- 1 | #### onboarding.go 2 | -------------------------------------------------------------------------------- /orderer/common/server/sched_go.md: -------------------------------------------------------------------------------- 1 | #### sched.go 2 | -------------------------------------------------------------------------------- /orderer/common/server/signals_go.md: -------------------------------------------------------------------------------- 1 | #### signals.go 2 | -------------------------------------------------------------------------------- /orderer/common/server/signals_windows_go.md: -------------------------------------------------------------------------------- 1 | #### signals_windows.go 2 | -------------------------------------------------------------------------------- /orderer/consensus/README.md: -------------------------------------------------------------------------------- 1 | ## consensus 包 2 | 跟共识相关的模块,包括 Solo 和 Kafka 两种模式。 -------------------------------------------------------------------------------- /orderer/consensus/consensus_go.md: -------------------------------------------------------------------------------- 1 | ### consensus.go 2 | 共识器的接口。 3 | 4 | ```golang 5 | type Consenter interface { 6 | HandleChain(support ConsenterSupport, metadata *cb.Metadata) (Chain, error) 7 | } 8 | ``` 9 | 10 | 初始化一个静态的链结构,如 ordererconsensus.kafka.chainImpl 结构。 -------------------------------------------------------------------------------- /orderer/consensus/kafka/README.md: -------------------------------------------------------------------------------- 1 | ### kafka 包 2 | 3 | 跟 Kafka 集群打交道的接口。 4 | -------------------------------------------------------------------------------- /orderer/consensus/kafka/chain_go.md: -------------------------------------------------------------------------------- 1 | #### chain.go 2 | 一条 Kafka 模式下的链结构。 -------------------------------------------------------------------------------- /orderer/consensus/kafka/channel_go.md: -------------------------------------------------------------------------------- 1 | #### channel.go 2 | 3 | kafka 中对应的分区。 -------------------------------------------------------------------------------- /orderer/consensus/kafka/config_go.md: -------------------------------------------------------------------------------- 1 | #### config.go 2 | kafka 相关配置 -------------------------------------------------------------------------------- /orderer/consensus/kafka/consenter_go.md: -------------------------------------------------------------------------------- 1 | #### consenter.go 2 | 实现共识器(Consenter)接口。 3 | 4 | HandleChain 方法返回一条使用 Kafka 排序的链结构。 -------------------------------------------------------------------------------- /orderer/consensus/kafka/logger_go.md: -------------------------------------------------------------------------------- 1 | #### logger.go 2 | -------------------------------------------------------------------------------- /orderer/consensus/kafka/partitioner_go.md: -------------------------------------------------------------------------------- 1 | #### partitioner.go 2 | 供测试使用,实现静态的分区。 -------------------------------------------------------------------------------- /orderer/consensus/kafka/retry_go.md: -------------------------------------------------------------------------------- 1 | #### retry.go 2 | 实现重试逻辑。 -------------------------------------------------------------------------------- /orderer/consensus/solo/README.md: -------------------------------------------------------------------------------- 1 | ### solo 包 2 | -------------------------------------------------------------------------------- /orderer/consensus/solo/consensus_go.md: -------------------------------------------------------------------------------- 1 | #### consensus.go 2 | -------------------------------------------------------------------------------- /orderer/main_go.md: -------------------------------------------------------------------------------- 1 | ## main.go 2 | 主入口文件。 3 | 4 | 调用 `orderer.common.server` 包中的 `Main()` 方法。 5 | 6 | ```go 7 | func main() { 8 | server.Main() 9 | } 10 | ``` -------------------------------------------------------------------------------- /orderer/orderer.md: -------------------------------------------------------------------------------- 1 | ## orderer 2 | -------------------------------------------------------------------------------- /orderer/sample_clients/README.md: -------------------------------------------------------------------------------- 1 | ## sample_clients 2 | -------------------------------------------------------------------------------- /orderer/sample_clients/broadcast_config/README.md: -------------------------------------------------------------------------------- 1 | ### broadcast_config 2 | -------------------------------------------------------------------------------- /orderer/sample_clients/broadcast_config/client_go.md: -------------------------------------------------------------------------------- 1 | #### client.go 2 | -------------------------------------------------------------------------------- /orderer/sample_clients/broadcast_config/newchain_go.md: -------------------------------------------------------------------------------- 1 | #### newchain.go 2 | -------------------------------------------------------------------------------- /orderer/sample_clients/broadcast_msg/README.md: -------------------------------------------------------------------------------- 1 | ### broadcast_msg 包 2 | -------------------------------------------------------------------------------- /orderer/sample_clients/broadcast_msg/client_go.md: -------------------------------------------------------------------------------- 1 | #### client.go 2 | -------------------------------------------------------------------------------- /orderer/sample_clients/deliver_stdout/README.md: -------------------------------------------------------------------------------- 1 | ### deliver_stdout 2 | -------------------------------------------------------------------------------- /orderer/sample_clients/deliver_stdout/client_go.md: -------------------------------------------------------------------------------- 1 | #### client.go 2 | -------------------------------------------------------------------------------- /peer/_images/channel_create.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeasy/hyperledger_code_fabric/2f6d00d2aab049cf7229bd512e6b8277ffa8d7ba/peer/_images/channel_create.png -------------------------------------------------------------------------------- /peer/_images/mspconfig.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeasy/hyperledger_code_fabric/2f6d00d2aab049cf7229bd512e6b8277ffa8d7ba/peer/_images/mspconfig.png -------------------------------------------------------------------------------- /peer/_images/node_start.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeasy/hyperledger_code_fabric/2f6d00d2aab049cf7229bd512e6b8277ffa8d7ba/peer/_images/node_start.png -------------------------------------------------------------------------------- /peer/_images/node_status.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeasy/hyperledger_code_fabric/2f6d00d2aab049cf7229bd512e6b8277ffa8d7ba/peer/_images/node_status.png -------------------------------------------------------------------------------- /peer/_images/node_stop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeasy/hyperledger_code_fabric/2f6d00d2aab049cf7229bd512e6b8277ffa8d7ba/peer/_images/node_stop.png -------------------------------------------------------------------------------- /peer/_images/peer_chaincode_install.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeasy/hyperledger_code_fabric/2f6d00d2aab049cf7229bd512e6b8277ffa8d7ba/peer/_images/peer_chaincode_install.png -------------------------------------------------------------------------------- /peer/_images/peer_chaincode_instantiate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeasy/hyperledger_code_fabric/2f6d00d2aab049cf7229bd512e6b8277ffa8d7ba/peer/_images/peer_chaincode_instantiate.png -------------------------------------------------------------------------------- /peer/_images/peer_node_start.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeasy/hyperledger_code_fabric/2f6d00d2aab049cf7229bd512e6b8277ffa8d7ba/peer/_images/peer_node_start.png -------------------------------------------------------------------------------- /peer/_images/proto-peer-chaincode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeasy/hyperledger_code_fabric/2f6d00d2aab049cf7229bd512e6b8277ffa8d7ba/peer/_images/proto-peer-chaincode.png -------------------------------------------------------------------------------- /peer/_images/signed_proposal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeasy/hyperledger_code_fabric/2f6d00d2aab049cf7229bd512e6b8277ffa8d7ba/peer/_images/signed_proposal.png -------------------------------------------------------------------------------- /peer/chaincode/api/README.md: -------------------------------------------------------------------------------- 1 | ### api 包 2 | -------------------------------------------------------------------------------- /peer/chaincode/api/api_go.md: -------------------------------------------------------------------------------- 1 | #### api.go 2 | -------------------------------------------------------------------------------- /peer/channel/fetch_go.md: -------------------------------------------------------------------------------- 1 | ### fetch.go 2 | -------------------------------------------------------------------------------- /peer/clilogging/README.md: -------------------------------------------------------------------------------- 1 | ## clilogging 2 | -------------------------------------------------------------------------------- /peer/clilogging/common_go.md: -------------------------------------------------------------------------------- 1 | ### common.go 2 | 3 | clilogging通用函数。 4 | 5 | #### InitCmdFactory 6 | 7 | 初始化命令工厂LoggingCmdFactory,关键是初始化了一个adminClient,其实就是一个与peer进行grpc通信的client。 8 | 9 | #### checkLoggingCmdParams 10 | 11 | 校验log cmd的参数。 12 | 13 | -------------------------------------------------------------------------------- /peer/clilogging/getlevel_go.md: -------------------------------------------------------------------------------- 1 | ### getlevel.go 2 | 3 | `peer logging getlevel`命令的入口。如peer `logging getlevel`<module> 4 | 5 | 命令处理函数是getLevel,首先通过 InitCmdFactory 进行初始化,然后向peer查询。 6 | 7 | * 使用grpc client AdminClient.GetModuleLogLevel向peer查询模块log等级 8 | 9 | 将查询到的logResponse输出到logger。 10 | 11 | -------------------------------------------------------------------------------- /peer/clilogging/getlogspec_go.md: -------------------------------------------------------------------------------- 1 | ### getlogspec.go 2 | -------------------------------------------------------------------------------- /peer/clilogging/revertlevels_go.md: -------------------------------------------------------------------------------- 1 | ### revertlevels.go 2 | 3 | `peer logging`revertlevels命令的入口。 4 | 5 | 命令处理函数是revertLevels,首先通过 InitCmdFactory 进行初始化,然后使用grpc调用peer功能。 6 | 7 | * 使用grpc client AdminClient.RevertLogLevels向peer请求恢复到上一次启动前log等级 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /peer/clilogging/setlogspec_go.md: -------------------------------------------------------------------------------- 1 | ### setlogspec.go 2 | -------------------------------------------------------------------------------- /peer/common/README.md: -------------------------------------------------------------------------------- 1 | ## common 2 | -------------------------------------------------------------------------------- /peer/common/api/README.md: -------------------------------------------------------------------------------- 1 | ### api 包 2 | -------------------------------------------------------------------------------- /peer/common/api/api_go.md: -------------------------------------------------------------------------------- 1 | #### api.go 2 | -------------------------------------------------------------------------------- /peer/common/deliverclient_go.md: -------------------------------------------------------------------------------- 1 | ### deliverclient.go 2 | -------------------------------------------------------------------------------- /peer/common/mockclient_go.md: -------------------------------------------------------------------------------- 1 | ### mockclient.go 2 | 3 | 测试相关代码,mock了各种与orderer和endorser通信client。 4 | 5 | -------------------------------------------------------------------------------- /peer/common/networkconfig_go.md: -------------------------------------------------------------------------------- 1 | ### networkconfig.go 2 | -------------------------------------------------------------------------------- /peer/common/ordererenv_go.md: -------------------------------------------------------------------------------- 1 | ### ordererenv.go 2 | 3 | orderer参数配置 4 | 5 | #### SetOrdererEnv 6 | 7 | 将cli命令里传入的参数配置到全局的viper环境配置里面。 8 | 9 | #### AddOrdererFlags 10 | 11 | 为orderer命令相关的参数配置对应的命令标志。 12 | 13 | -------------------------------------------------------------------------------- /peer/common/peerdeliverclient_go.md: -------------------------------------------------------------------------------- 1 | ### peerdeliverclient.go 2 | -------------------------------------------------------------------------------- /peer/gossip/README.md: -------------------------------------------------------------------------------- 1 | ## gossip 2 | -------------------------------------------------------------------------------- /peer/node/node_go.md: -------------------------------------------------------------------------------- 1 | ### node.go 2 | 3 | node 子命令进一步支持 start、status 等子命令。 4 | 5 | ```golang 6 | // Cmd returns the cobra command for Node 7 | func Cmd() *cobra.Command { 8 | nodeCmd.AddCommand(startCmd()) 9 | nodeCmd.AddCommand(statusCmd()) 10 | 11 | return nodeCmd 12 | } 13 | ``` 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /peer/node/signals_go.md: -------------------------------------------------------------------------------- 1 | ### signals.go 2 | -------------------------------------------------------------------------------- /peer/node/signals_windows_go.md: -------------------------------------------------------------------------------- 1 | ### signals_windows.go 2 | -------------------------------------------------------------------------------- /peer/version/README.md: -------------------------------------------------------------------------------- 1 | ## version 2 | -------------------------------------------------------------------------------- /peer/version/version_go.md: -------------------------------------------------------------------------------- 1 | ### version.go 2 | 3 | `peer version` 子命令的入口。 4 | 5 | 调用GetInfo获得并输出版本信息。 6 | 7 | -------------------------------------------------------------------------------- /process/README.md: -------------------------------------------------------------------------------- 1 | # 核心过程 2 | 3 | 总结一些核心的过程。 -------------------------------------------------------------------------------- /process/_images/chaincode_Start.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeasy/hyperledger_code_fabric/2f6d00d2aab049cf7229bd512e6b8277ffa8d7ba/process/_images/chaincode_Start.png -------------------------------------------------------------------------------- /process/_images/endorser_ProcessProposal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeasy/hyperledger_code_fabric/2f6d00d2aab049cf7229bd512e6b8277ffa8d7ba/process/_images/endorser_ProcessProposal.png -------------------------------------------------------------------------------- /process/_images/orderer_common_broadcast.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeasy/hyperledger_code_fabric/2f6d00d2aab049cf7229bd512e6b8277ffa8d7ba/process/_images/orderer_common_broadcast.png -------------------------------------------------------------------------------- /process/_images/orderer_common_deliver.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeasy/hyperledger_code_fabric/2f6d00d2aab049cf7229bd512e6b8277ffa8d7ba/process/_images/orderer_common_deliver.png -------------------------------------------------------------------------------- /process/_images/orderer_common_server_Start.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeasy/hyperledger_code_fabric/2f6d00d2aab049cf7229bd512e6b8277ffa8d7ba/process/_images/orderer_common_server_Start.png -------------------------------------------------------------------------------- /process/_images/orderer_processMessagesToBlocks.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeasy/hyperledger_code_fabric/2f6d00d2aab049cf7229bd512e6b8277ffa8d7ba/process/_images/orderer_processMessagesToBlocks.png -------------------------------------------------------------------------------- /process/_images/orderer_processRegular.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeasy/hyperledger_code_fabric/2f6d00d2aab049cf7229bd512e6b8277ffa8d7ba/process/_images/orderer_processRegular.png -------------------------------------------------------------------------------- /process/_images/orderer_workflow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeasy/hyperledger_code_fabric/2f6d00d2aab049cf7229bd512e6b8277ffa8d7ba/process/_images/orderer_workflow.png -------------------------------------------------------------------------------- /process/_images/peer_commit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeasy/hyperledger_code_fabric/2f6d00d2aab049cf7229bd512e6b8277ffa8d7ba/process/_images/peer_commit.png -------------------------------------------------------------------------------- /process/anchor_update.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeasy/hyperledger_code_fabric/2f6d00d2aab049cf7229bd512e6b8277ffa8d7ba/process/anchor_update.md -------------------------------------------------------------------------------- /process/cc_query.md: -------------------------------------------------------------------------------- 1 | ## 链码查询 2 | 3 | 主要过程如下。 4 | 5 | * 根据传入的各种参数,最终构造签名提案,通过 endorserClient 发送给指定的 Peer。 6 | * 成功的话,获取到 ProposalResponse,打印出 proposalResp.Response.Payload 内容。 7 | 8 | 需要注意 invoke 和 query 的区别,query 不需要创建 SignedTx 发送到 Orderer,而且会返回查询的结果。 -------------------------------------------------------------------------------- /process/peer_start.md: -------------------------------------------------------------------------------- 1 | ## Peer 节点启动 2 | 3 | -------------------------------------------------------------------------------- /proposals/README.md: -------------------------------------------------------------------------------- 1 | # proposals 2 | -------------------------------------------------------------------------------- /proposals/r1/README.md: -------------------------------------------------------------------------------- 1 | ## r1 2 | -------------------------------------------------------------------------------- /protos/_images/chaincodespec.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeasy/hyperledger_code_fabric/2f6d00d2aab049cf7229bd512e6b8277ffa8d7ba/protos/_images/chaincodespec.png -------------------------------------------------------------------------------- /protos/_images/structure_of_Envelope.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yeasy/hyperledger_code_fabric/2f6d00d2aab049cf7229bd512e6b8277ffa8d7ba/protos/_images/structure_of_Envelope.png -------------------------------------------------------------------------------- /protos/common/README.md: -------------------------------------------------------------------------------- 1 | ## common 2 | -------------------------------------------------------------------------------- /protos/common/block_go.md: -------------------------------------------------------------------------------- 1 | ### block.go 2 | -------------------------------------------------------------------------------- /protos/common/collection.pb_go.md: -------------------------------------------------------------------------------- 1 | ### collection.pb.go 2 | -------------------------------------------------------------------------------- /protos/common/collection_proto.md: -------------------------------------------------------------------------------- 1 | ### collection.proto 2 | -------------------------------------------------------------------------------- /protos/common/common.pb_go.md: -------------------------------------------------------------------------------- 1 | ### common.pb.go 2 | -------------------------------------------------------------------------------- /protos/common/common_go.md: -------------------------------------------------------------------------------- 1 | ### common.go 2 | -------------------------------------------------------------------------------- /protos/common/common_proto.md: -------------------------------------------------------------------------------- 1 | ### common.proto 2 | -------------------------------------------------------------------------------- /protos/common/configtx.pb_go.md: -------------------------------------------------------------------------------- 1 | ### configtx.pb.go 2 | -------------------------------------------------------------------------------- /protos/common/configtx_go.md: -------------------------------------------------------------------------------- 1 | ### configtx.go 2 | -------------------------------------------------------------------------------- /protos/common/configtx_proto.md: -------------------------------------------------------------------------------- 1 | ### configtx.proto 2 | -------------------------------------------------------------------------------- /protos/common/configuration.pb_go.md: -------------------------------------------------------------------------------- 1 | ### configuration.pb.go 2 | -------------------------------------------------------------------------------- /protos/common/configuration_go.md: -------------------------------------------------------------------------------- 1 | ### configuration.go 2 | -------------------------------------------------------------------------------- /protos/common/configuration_proto.md: -------------------------------------------------------------------------------- 1 | ### configuration.proto 2 | -------------------------------------------------------------------------------- /protos/common/ledger.pb_go.md: -------------------------------------------------------------------------------- 1 | ### ledger.pb.go 2 | -------------------------------------------------------------------------------- /protos/common/ledger_proto.md: -------------------------------------------------------------------------------- 1 | ### ledger.proto 2 | -------------------------------------------------------------------------------- /protos/common/policies.pb_go.md: -------------------------------------------------------------------------------- 1 | ### policies.pb.go 2 | -------------------------------------------------------------------------------- /protos/common/policies_go.md: -------------------------------------------------------------------------------- 1 | ### policies.go 2 | -------------------------------------------------------------------------------- /protos/common/policies_proto.md: -------------------------------------------------------------------------------- 1 | ### policies.proto 2 | -------------------------------------------------------------------------------- /protos/common/signed_data_go.md: -------------------------------------------------------------------------------- 1 | ### signed_data.go 2 | -------------------------------------------------------------------------------- /protos/discovery/README.md: -------------------------------------------------------------------------------- 1 | ## discovery 包 2 | -------------------------------------------------------------------------------- /protos/discovery/extensions_go.md: -------------------------------------------------------------------------------- 1 | ### extensions.go 2 | -------------------------------------------------------------------------------- /protos/discovery/protocol.pb_go.md: -------------------------------------------------------------------------------- 1 | ### protocol.pb.go 2 | -------------------------------------------------------------------------------- /protos/discovery/protocol_proto.md: -------------------------------------------------------------------------------- 1 | ### protocol.proto 2 | -------------------------------------------------------------------------------- /protos/gossip/README.md: -------------------------------------------------------------------------------- 1 | ## gossip 2 | -------------------------------------------------------------------------------- /protos/gossip/extensions_go.md: -------------------------------------------------------------------------------- 1 | ### extensions.go 2 | -------------------------------------------------------------------------------- /protos/gossip/message.pb_go.md: -------------------------------------------------------------------------------- 1 | ### message.pb.go 2 | -------------------------------------------------------------------------------- /protos/gossip/message_proto.md: -------------------------------------------------------------------------------- 1 | ### message.proto 2 | -------------------------------------------------------------------------------- /protos/idemix/README.md: -------------------------------------------------------------------------------- 1 | ## idemix 包 2 | -------------------------------------------------------------------------------- /protos/idemix/idemix_proto.md: -------------------------------------------------------------------------------- 1 | ### idemix.proto 2 | -------------------------------------------------------------------------------- /protos/ledger/README.md: -------------------------------------------------------------------------------- 1 | ## ledger 2 | -------------------------------------------------------------------------------- /protos/ledger/queryresult/README.md: -------------------------------------------------------------------------------- 1 | ### queryresult 2 | -------------------------------------------------------------------------------- /protos/ledger/queryresult/kv_query_result.pb_go.md: -------------------------------------------------------------------------------- 1 | #### kv_query_result.pb.go 2 | -------------------------------------------------------------------------------- /protos/ledger/queryresult/kv_query_result_proto.md: -------------------------------------------------------------------------------- 1 | #### kv_query_result.proto 2 | -------------------------------------------------------------------------------- /protos/ledger/rwset/README.md: -------------------------------------------------------------------------------- 1 | ### rwset 2 | -------------------------------------------------------------------------------- /protos/ledger/rwset/kvrwset.md: -------------------------------------------------------------------------------- 1 | #### kvrwset 2 | -------------------------------------------------------------------------------- /protos/ledger/rwset/rwset.pb_go.md: -------------------------------------------------------------------------------- 1 | #### rwset.pb.go 2 | -------------------------------------------------------------------------------- /protos/ledger/rwset/rwset_go.md: -------------------------------------------------------------------------------- 1 | #### rwset.go 2 | -------------------------------------------------------------------------------- /protos/ledger/rwset/rwset_proto.md: -------------------------------------------------------------------------------- 1 | #### rwset.proto 2 | -------------------------------------------------------------------------------- /protos/msp/README.md: -------------------------------------------------------------------------------- 1 | ## msp 2 | -------------------------------------------------------------------------------- /protos/msp/identities.pb_go.md: -------------------------------------------------------------------------------- 1 | ### identities.pb.go 2 | -------------------------------------------------------------------------------- /protos/msp/identities_proto.md: -------------------------------------------------------------------------------- 1 | ### identities.proto 2 | -------------------------------------------------------------------------------- /protos/msp/msp_config.pb_go.md: -------------------------------------------------------------------------------- 1 | ### msp_config.pb.go 2 | -------------------------------------------------------------------------------- /protos/msp/msp_config_go.md: -------------------------------------------------------------------------------- 1 | ### msp_config.go 2 | -------------------------------------------------------------------------------- /protos/msp/msp_config_proto.md: -------------------------------------------------------------------------------- 1 | ### msp_config.proto 2 | -------------------------------------------------------------------------------- /protos/msp/msp_principal.pb_go.md: -------------------------------------------------------------------------------- 1 | ### msp_principal.pb.go 2 | -------------------------------------------------------------------------------- /protos/msp/msp_principal_go.md: -------------------------------------------------------------------------------- 1 | ### msp_principal.go 2 | -------------------------------------------------------------------------------- /protos/msp/msp_principal_proto.md: -------------------------------------------------------------------------------- 1 | ### msp_principal.proto 2 | -------------------------------------------------------------------------------- /protos/orderer/README.md: -------------------------------------------------------------------------------- 1 | ## orderer 2 | -------------------------------------------------------------------------------- /protos/orderer/ab.pb_go.md: -------------------------------------------------------------------------------- 1 | ### ab.pb.go 2 | -------------------------------------------------------------------------------- /protos/orderer/ab_proto.md: -------------------------------------------------------------------------------- 1 | ### ab.proto 2 | -------------------------------------------------------------------------------- /protos/orderer/cluster.pb_go.md: -------------------------------------------------------------------------------- 1 | ### cluster.pb.go 2 | -------------------------------------------------------------------------------- /protos/orderer/cluster_proto.md: -------------------------------------------------------------------------------- 1 | ### cluster.proto 2 | -------------------------------------------------------------------------------- /protos/orderer/configuration.pb_go.md: -------------------------------------------------------------------------------- 1 | ### configuration.pb.go 2 | -------------------------------------------------------------------------------- /protos/orderer/configuration_go.md: -------------------------------------------------------------------------------- 1 | ### configuration.go 2 | -------------------------------------------------------------------------------- /protos/orderer/configuration_proto.md: -------------------------------------------------------------------------------- 1 | ### configuration.proto 2 | -------------------------------------------------------------------------------- /protos/orderer/etcdraft/README.md: -------------------------------------------------------------------------------- 1 | ### etcdraft 包 2 | -------------------------------------------------------------------------------- /protos/orderer/etcdraft/configuration.pb_go.md: -------------------------------------------------------------------------------- 1 | #### configuration.pb.go 2 | -------------------------------------------------------------------------------- /protos/orderer/etcdraft/configuration_go.md: -------------------------------------------------------------------------------- 1 | #### configuration.go 2 | -------------------------------------------------------------------------------- /protos/orderer/etcdraft/configuration_proto.md: -------------------------------------------------------------------------------- 1 | #### configuration.proto 2 | -------------------------------------------------------------------------------- /protos/orderer/kafka.pb_go.md: -------------------------------------------------------------------------------- 1 | ### kafka.pb.go 2 | -------------------------------------------------------------------------------- /protos/orderer/kafka_proto.md: -------------------------------------------------------------------------------- 1 | ### kafka.proto 2 | -------------------------------------------------------------------------------- /protos/peer/README.md: -------------------------------------------------------------------------------- 1 | ## peer 2 | -------------------------------------------------------------------------------- /protos/peer/admin.pb_go.md: -------------------------------------------------------------------------------- 1 | ### admin.pb.go 2 | -------------------------------------------------------------------------------- /protos/peer/admin_proto.md: -------------------------------------------------------------------------------- 1 | ### admin.proto 2 | -------------------------------------------------------------------------------- /protos/peer/chaincode.pb_go.md: -------------------------------------------------------------------------------- 1 | ### chaincode.pb.go 2 | -------------------------------------------------------------------------------- /protos/peer/chaincode_event.pb_go.md: -------------------------------------------------------------------------------- 1 | ### chaincode_event.pb.go 2 | -------------------------------------------------------------------------------- /protos/peer/chaincode_event_proto.md: -------------------------------------------------------------------------------- 1 | ### chaincode_event.proto 2 | -------------------------------------------------------------------------------- /protos/peer/chaincode_go.md: -------------------------------------------------------------------------------- 1 | ### chaincode.go 2 | -------------------------------------------------------------------------------- /protos/peer/chaincode_proto.md: -------------------------------------------------------------------------------- 1 | ### chaincode.proto 2 | -------------------------------------------------------------------------------- /protos/peer/chaincode_shim.pb_go.md: -------------------------------------------------------------------------------- 1 | ### chaincode_shim.pb.go 2 | -------------------------------------------------------------------------------- /protos/peer/chaincode_shim_proto.md: -------------------------------------------------------------------------------- 1 | ### chaincode_shim.proto 2 | -------------------------------------------------------------------------------- /protos/peer/chaincodeunmarshall_go.md: -------------------------------------------------------------------------------- 1 | ### chaincodeunmarshall.go 2 | -------------------------------------------------------------------------------- /protos/peer/configuration.pb_go.md: -------------------------------------------------------------------------------- 1 | ### configuration.pb.go 2 | -------------------------------------------------------------------------------- /protos/peer/configuration_go.md: -------------------------------------------------------------------------------- 1 | ### configuration.go 2 | -------------------------------------------------------------------------------- /protos/peer/configuration_proto.md: -------------------------------------------------------------------------------- 1 | ### configuration.proto 2 | -------------------------------------------------------------------------------- /protos/peer/events.pb_go.md: -------------------------------------------------------------------------------- 1 | ### events.pb.go 2 | -------------------------------------------------------------------------------- /protos/peer/events_proto.md: -------------------------------------------------------------------------------- 1 | ### events.proto 2 | -------------------------------------------------------------------------------- /protos/peer/lifecycle/README.md: -------------------------------------------------------------------------------- 1 | ### lifecycle 包 2 | -------------------------------------------------------------------------------- /protos/peer/lifecycle/db.pb_go.md: -------------------------------------------------------------------------------- 1 | #### db.pb.go 2 | -------------------------------------------------------------------------------- /protos/peer/lifecycle/db_proto.md: -------------------------------------------------------------------------------- 1 | #### db.proto 2 | -------------------------------------------------------------------------------- /protos/peer/lifecycle/lifecycle.pb_go.md: -------------------------------------------------------------------------------- 1 | #### lifecycle.pb.go 2 | -------------------------------------------------------------------------------- /protos/peer/lifecycle/lifecycle_proto.md: -------------------------------------------------------------------------------- 1 | #### lifecycle.proto 2 | -------------------------------------------------------------------------------- /protos/peer/peer.pb_go.md: -------------------------------------------------------------------------------- 1 | ### peer.pb.go 2 | -------------------------------------------------------------------------------- /protos/peer/peer_proto.md: -------------------------------------------------------------------------------- 1 | ### peer.proto 2 | -------------------------------------------------------------------------------- /protos/peer/proposal.pb_go.md: -------------------------------------------------------------------------------- 1 | ### proposal.pb.go 2 | -------------------------------------------------------------------------------- /protos/peer/proposal_go.md: -------------------------------------------------------------------------------- 1 | ### proposal.go 2 | -------------------------------------------------------------------------------- /protos/peer/proposal_proto.md: -------------------------------------------------------------------------------- 1 | ### proposal.proto 2 | -------------------------------------------------------------------------------- /protos/peer/proposal_response.pb_go.md: -------------------------------------------------------------------------------- 1 | ### proposal_response.pb.go 2 | -------------------------------------------------------------------------------- /protos/peer/proposal_response_go.md: -------------------------------------------------------------------------------- 1 | ### proposal_response.go 2 | -------------------------------------------------------------------------------- /protos/peer/proposal_response_proto.md: -------------------------------------------------------------------------------- 1 | ### proposal_response.proto 2 | -------------------------------------------------------------------------------- /protos/peer/query.pb_go.md: -------------------------------------------------------------------------------- 1 | ### query.pb.go 2 | -------------------------------------------------------------------------------- /protos/peer/query_proto.md: -------------------------------------------------------------------------------- 1 | ### query.proto 2 | -------------------------------------------------------------------------------- /protos/peer/resources.pb_go.md: -------------------------------------------------------------------------------- 1 | ### resources.pb.go 2 | -------------------------------------------------------------------------------- /protos/peer/resources_proto.md: -------------------------------------------------------------------------------- 1 | ### resources.proto 2 | -------------------------------------------------------------------------------- /protos/peer/signed_cc_dep_spec.pb_go.md: -------------------------------------------------------------------------------- 1 | ### signed_cc_dep_spec.pb.go 2 | -------------------------------------------------------------------------------- /protos/peer/signed_cc_dep_spec_proto.md: -------------------------------------------------------------------------------- 1 | ### signed_cc_dep_spec.proto 2 | -------------------------------------------------------------------------------- /protos/peer/transaction.pb_go.md: -------------------------------------------------------------------------------- 1 | ### transaction.pb.go 2 | -------------------------------------------------------------------------------- /protos/peer/transaction_go.md: -------------------------------------------------------------------------------- 1 | ### transaction.go 2 | -------------------------------------------------------------------------------- /protos/peer/transaction_proto.md: -------------------------------------------------------------------------------- 1 | ### transaction.proto 2 | -------------------------------------------------------------------------------- /protos/token/README.md: -------------------------------------------------------------------------------- 1 | ## token 包 2 | -------------------------------------------------------------------------------- /protos/token/expectations.pb_go.md: -------------------------------------------------------------------------------- 1 | ### expectations.pb.go 2 | -------------------------------------------------------------------------------- /protos/token/expectations_proto.md: -------------------------------------------------------------------------------- 1 | ### expectations.proto 2 | -------------------------------------------------------------------------------- /protos/token/prover.pb_go.md: -------------------------------------------------------------------------------- 1 | ### prover.pb.go 2 | -------------------------------------------------------------------------------- /protos/token/prover_proto.md: -------------------------------------------------------------------------------- 1 | ### prover.proto 2 | -------------------------------------------------------------------------------- /protos/token/transaction.pb_go.md: -------------------------------------------------------------------------------- 1 | ### transaction.pb.go 2 | -------------------------------------------------------------------------------- /protos/token/transaction_proto.md: -------------------------------------------------------------------------------- 1 | ### transaction.proto 2 | -------------------------------------------------------------------------------- /protos/transientstore/README.md: -------------------------------------------------------------------------------- 1 | ## transientstore 包 2 | -------------------------------------------------------------------------------- /protos/transientstore/transientstore.pb_go.md: -------------------------------------------------------------------------------- 1 | ### transientstore.pb.go 2 | -------------------------------------------------------------------------------- /protos/transientstore/transientstore_proto.md: -------------------------------------------------------------------------------- 1 | ### transientstore.proto 2 | -------------------------------------------------------------------------------- /protos/utils/README.md: -------------------------------------------------------------------------------- 1 | ## utils 2 | 3 | 包含了基本的数据结构的使用(可以理解为数据的编码和解码) 4 | 使用的是`github.com/golang/protobuf/proto`下的`Marshal()`和`Unmarshal()`方法 5 | -------------------------------------------------------------------------------- /protos/utils/blockutils_go.md: -------------------------------------------------------------------------------- 1 | ### blockutils.go 2 | -------------------------------------------------------------------------------- /protos/utils/proputils_go.md: -------------------------------------------------------------------------------- 1 | ### proputils.go 2 | 3 | 4 | #### CreateChaincodeProposal 5 | 6 | * 节点身份证书序列化后与随机数计算出交易ID。 7 | * 构建ChaincodeHeaderExtension(含有ChaincodeID)。 8 | * 构建ChaincodeProposalPayload(含有ChaincodeSpec)。 9 | * 获取事件戳。 10 | * 构建Header。 11 | * 返回Proposal。 12 | -------------------------------------------------------------------------------- /release/README.md: -------------------------------------------------------------------------------- 1 | # release 2 | -------------------------------------------------------------------------------- /release/templates/README.md: -------------------------------------------------------------------------------- 1 | ## templates 2 | -------------------------------------------------------------------------------- /release/templates/get-docker-images_in.md: -------------------------------------------------------------------------------- 1 | ### get-docker-images.in 2 | -------------------------------------------------------------------------------- /release_notes/README.md: -------------------------------------------------------------------------------- 1 | # release_notes 2 | -------------------------------------------------------------------------------- /release_notes/v1.0.0-rc1_txt.md: -------------------------------------------------------------------------------- 1 | ## v1.0.0-rc1.txt 2 | -------------------------------------------------------------------------------- /release_notes/v1.0.0_txt.md: -------------------------------------------------------------------------------- 1 | ## v1.0.0.txt 2 | -------------------------------------------------------------------------------- /release_notes/v1.0.1_txt.md: -------------------------------------------------------------------------------- 1 | ## v1.0.1.txt 2 | -------------------------------------------------------------------------------- /release_notes/v1.0.2_txt.md: -------------------------------------------------------------------------------- 1 | ## v1.0.2.txt 2 | -------------------------------------------------------------------------------- /release_notes/v1.0.3_txt.md: -------------------------------------------------------------------------------- 1 | ## v1.0.3.txt 2 | -------------------------------------------------------------------------------- /release_notes/v1.1.0-alpha_txt.md: -------------------------------------------------------------------------------- 1 | ## v1.1.0-alpha.txt 2 | -------------------------------------------------------------------------------- /release_notes/v1.1.0-preview_txt.md: -------------------------------------------------------------------------------- 1 | ## v1.1.0-preview.txt 2 | -------------------------------------------------------------------------------- /release_notes/v1.1.0-rc1_txt.md: -------------------------------------------------------------------------------- 1 | ## v1.1.0-rc1.txt 2 | -------------------------------------------------------------------------------- /release_notes/v1.2.0-rc1_txt.md: -------------------------------------------------------------------------------- 1 | ## v1.2.0-rc1.txt 2 | -------------------------------------------------------------------------------- /release_notes/v1.3.0-rc1_txt.md: -------------------------------------------------------------------------------- 1 | ## v1.3.0-rc1.txt 2 | -------------------------------------------------------------------------------- /release_notes/v1.4.0_txt.md: -------------------------------------------------------------------------------- 1 | ## v1.4.0.txt 2 | -------------------------------------------------------------------------------- /sampleconfig/configtx_yaml.md: -------------------------------------------------------------------------------- 1 | ## configtx.yaml 2 | -------------------------------------------------------------------------------- /sampleconfig/core_yaml.md: -------------------------------------------------------------------------------- 1 | ## core.yaml 2 | peer 节点相关的样例配置。 -------------------------------------------------------------------------------- /sampleconfig/msp/README.md: -------------------------------------------------------------------------------- 1 | ## msp 2 | -------------------------------------------------------------------------------- /sampleconfig/msp/admincerts/README.md: -------------------------------------------------------------------------------- 1 | ### admincerts 2 | -------------------------------------------------------------------------------- /sampleconfig/msp/admincerts/admincert_pem.md: -------------------------------------------------------------------------------- 1 | #### admincert.pem 2 | -------------------------------------------------------------------------------- /sampleconfig/msp/cacerts/README.md: -------------------------------------------------------------------------------- 1 | ### cacerts 2 | -------------------------------------------------------------------------------- /sampleconfig/msp/cacerts/cacert_pem.md: -------------------------------------------------------------------------------- 1 | #### cacert.pem 2 | -------------------------------------------------------------------------------- /sampleconfig/msp/config_yaml.md: -------------------------------------------------------------------------------- 1 | ### config.yaml 2 | -------------------------------------------------------------------------------- /sampleconfig/msp/keystore/README.md: -------------------------------------------------------------------------------- 1 | ### keystore 2 | -------------------------------------------------------------------------------- /sampleconfig/msp/keystore/key_pem.md: -------------------------------------------------------------------------------- 1 | #### key.pem 2 | -------------------------------------------------------------------------------- /sampleconfig/msp/signcerts/README.md: -------------------------------------------------------------------------------- 1 | ### signcerts 2 | -------------------------------------------------------------------------------- /sampleconfig/msp/signcerts/peer_pem.md: -------------------------------------------------------------------------------- 1 | #### peer.pem 2 | -------------------------------------------------------------------------------- /sampleconfig/msp/tlscacerts/README.md: -------------------------------------------------------------------------------- 1 | ### tlscacerts 2 | -------------------------------------------------------------------------------- /sampleconfig/msp/tlscacerts/tlsroot_pem.md: -------------------------------------------------------------------------------- 1 | #### tlsroot.pem 2 | -------------------------------------------------------------------------------- /sampleconfig/msp/tlsintermediatecerts/README.md: -------------------------------------------------------------------------------- 1 | ### tlsintermediatecerts 包 2 | -------------------------------------------------------------------------------- /sampleconfig/msp/tlsintermediatecerts/tlsintermediate_pem.md: -------------------------------------------------------------------------------- 1 | #### tlsintermediate.pem 2 | -------------------------------------------------------------------------------- /sampleconfig/orderer_yaml.md: -------------------------------------------------------------------------------- 1 | ## orderer.yaml 2 | -------------------------------------------------------------------------------- /scripts/README.md: -------------------------------------------------------------------------------- 1 | # scripts 2 | 一些辅助脚本,多数为外部 Makefile 调用。 -------------------------------------------------------------------------------- /scripts/bootstrap_sh.md: -------------------------------------------------------------------------------- 1 | ## bootstrap.sh 2 | -------------------------------------------------------------------------------- /scripts/changelog_sh.md: -------------------------------------------------------------------------------- 1 | ## changelog.sh 2 | -------------------------------------------------------------------------------- /scripts/check_deps_sh.md: -------------------------------------------------------------------------------- 1 | ## check_deps.sh 2 | -------------------------------------------------------------------------------- /scripts/check_license_sh.md: -------------------------------------------------------------------------------- 1 | ## check_license.sh 2 | -------------------------------------------------------------------------------- /scripts/check_spelling_sh.md: -------------------------------------------------------------------------------- 1 | ## check_spelling.sh 2 | -------------------------------------------------------------------------------- /scripts/check_trailingspaces_sh.md: -------------------------------------------------------------------------------- 1 | ## check_trailingspaces.sh 2 | -------------------------------------------------------------------------------- /scripts/compile_protos_sh.md: -------------------------------------------------------------------------------- 1 | ## compile_protos.sh 2 | 3 | 找到所有的 `.proto` 文件,编译生成支持 grpc 的 `.go` 文件。 4 | -------------------------------------------------------------------------------- /scripts/generateHelpDocs_sh.md: -------------------------------------------------------------------------------- 1 | ## generateHelpDocs.sh 2 | -------------------------------------------------------------------------------- /scripts/goListFiles_sh.md: -------------------------------------------------------------------------------- 1 | ## goListFiles.sh 2 | 3 | 列出所有的包,检查导入路径存在情况。 4 | -------------------------------------------------------------------------------- /scripts/golinter_sh.md: -------------------------------------------------------------------------------- 1 | ## golinter.sh 2 | 3 | 进行语法检查等,目前主要用 goimports 来检查引入包的语法格式。 4 | -------------------------------------------------------------------------------- /scripts/metrics_doc_sh.md: -------------------------------------------------------------------------------- 1 | ## metrics_doc.sh 2 | -------------------------------------------------------------------------------- /scripts/multiarch_sh.md: -------------------------------------------------------------------------------- 1 | ## multiarch.sh 2 | -------------------------------------------------------------------------------- /scripts/pull_build_artifacts_sh.md: -------------------------------------------------------------------------------- 1 | ## pull_build_artifacts.sh 2 | -------------------------------------------------------------------------------- /scripts/run-integration-tests_sh.md: -------------------------------------------------------------------------------- 1 | ## run-integration-tests.sh 2 | -------------------------------------------------------------------------------- /scripts/run-unit-tests_sh.md: -------------------------------------------------------------------------------- 1 | ## run-unit-tests.sh 2 | -------------------------------------------------------------------------------- /sdk/README.md: -------------------------------------------------------------------------------- 1 | # sdk 2 | 封装客户端功能的 SDK。 3 | 4 | 目前主要包括 Node.js 实现。 -------------------------------------------------------------------------------- /sdk/node/Makefile.md: -------------------------------------------------------------------------------- 1 | ### Makefile 2 | -------------------------------------------------------------------------------- /sdk/node/README.md: -------------------------------------------------------------------------------- 1 | ## node 2 | -------------------------------------------------------------------------------- /sdk/node/bin/README.md: -------------------------------------------------------------------------------- 1 | ### bin 2 | -------------------------------------------------------------------------------- /sdk/node/bin/main_js.md: -------------------------------------------------------------------------------- 1 | #### main.js 2 | -------------------------------------------------------------------------------- /sdk/node/bin/run-unit-tests_sh.md: -------------------------------------------------------------------------------- 1 | #### run-unit-tests.sh 2 | -------------------------------------------------------------------------------- /sdk/node/bin/test_json.md: -------------------------------------------------------------------------------- 1 | #### test.json 2 | -------------------------------------------------------------------------------- /sdk/node/index_js.md: -------------------------------------------------------------------------------- 1 | ### index.js 2 | -------------------------------------------------------------------------------- /sdk/node/lib/README.md: -------------------------------------------------------------------------------- 1 | ### lib 2 | -------------------------------------------------------------------------------- /sdk/node/lib/hash_js.md: -------------------------------------------------------------------------------- 1 | #### hash.js 2 | -------------------------------------------------------------------------------- /sdk/node/lib/protos.md: -------------------------------------------------------------------------------- 1 | #### protos 2 | -------------------------------------------------------------------------------- /sdk/node/makedoc_sh.md: -------------------------------------------------------------------------------- 1 | ### makedoc.sh 2 | -------------------------------------------------------------------------------- /sdk/node/package_json.md: -------------------------------------------------------------------------------- 1 | ### package.json 2 | -------------------------------------------------------------------------------- /sdk/node/src/README.md: -------------------------------------------------------------------------------- 1 | ### src 2 | -------------------------------------------------------------------------------- /sdk/node/src/crypto_ts.md: -------------------------------------------------------------------------------- 1 | #### crypto.ts 2 | -------------------------------------------------------------------------------- /sdk/node/src/hfc_ts.md: -------------------------------------------------------------------------------- 1 | #### hfc.ts 2 | -------------------------------------------------------------------------------- /sdk/node/src/sdk_util_ts.md: -------------------------------------------------------------------------------- 1 | #### sdk_util.ts 2 | -------------------------------------------------------------------------------- /sdk/node/src/stats_ts.md: -------------------------------------------------------------------------------- 1 | #### stats.ts 2 | -------------------------------------------------------------------------------- /sdk/node/test/README.md: -------------------------------------------------------------------------------- 1 | ### test 2 | -------------------------------------------------------------------------------- /sdk/node/test/unit.md: -------------------------------------------------------------------------------- 1 | #### unit 2 | -------------------------------------------------------------------------------- /sdk/node/tsconfig_json.md: -------------------------------------------------------------------------------- 1 | ### tsconfig.json 2 | -------------------------------------------------------------------------------- /sdk/node/typedoc-special.d_ts.md: -------------------------------------------------------------------------------- 1 | ### typedoc-special.d.ts 2 | -------------------------------------------------------------------------------- /sdk/node/typings_json.md: -------------------------------------------------------------------------------- 1 | ### typings.json 2 | -------------------------------------------------------------------------------- /token/README.md: -------------------------------------------------------------------------------- 1 | # token 包 2 | -------------------------------------------------------------------------------- /token/client/README.md: -------------------------------------------------------------------------------- 1 | ## client 包 2 | -------------------------------------------------------------------------------- /token/client/client_go.md: -------------------------------------------------------------------------------- 1 | ### client.go 2 | -------------------------------------------------------------------------------- /token/client/config_go.md: -------------------------------------------------------------------------------- 1 | ### config.go 2 | -------------------------------------------------------------------------------- /token/client/deliver_client_go.md: -------------------------------------------------------------------------------- 1 | ### deliver_client.go 2 | -------------------------------------------------------------------------------- /token/client/grpc_go.md: -------------------------------------------------------------------------------- 1 | ### grpc.go 2 | -------------------------------------------------------------------------------- /token/client/orderer_client_go.md: -------------------------------------------------------------------------------- 1 | ### orderer_client.go 2 | -------------------------------------------------------------------------------- /token/client/prover_go.md: -------------------------------------------------------------------------------- 1 | ### prover.go 2 | -------------------------------------------------------------------------------- /token/client/tx_submitter_go.md: -------------------------------------------------------------------------------- 1 | ### tx_submitter.go 2 | -------------------------------------------------------------------------------- /token/identity/README.md: -------------------------------------------------------------------------------- 1 | ## identity 包 2 | -------------------------------------------------------------------------------- /token/identity/identity_go.md: -------------------------------------------------------------------------------- 1 | ### identity.go 2 | -------------------------------------------------------------------------------- /token/identity_go.md: -------------------------------------------------------------------------------- 1 | ## identity.go 2 | -------------------------------------------------------------------------------- /token/ledger/README.md: -------------------------------------------------------------------------------- 1 | ## ledger 包 2 | -------------------------------------------------------------------------------- /token/ledger/ledger_go.md: -------------------------------------------------------------------------------- 1 | ### ledger.go 2 | -------------------------------------------------------------------------------- /token/server/README.md: -------------------------------------------------------------------------------- 1 | ## server 包 2 | -------------------------------------------------------------------------------- /token/server/accesscontrol_go.md: -------------------------------------------------------------------------------- 1 | ### accesscontrol.go 2 | -------------------------------------------------------------------------------- /token/server/capability_checker_go.md: -------------------------------------------------------------------------------- 1 | ### capability_checker.go 2 | -------------------------------------------------------------------------------- /token/server/ledgermanager_go.md: -------------------------------------------------------------------------------- 1 | ### ledgermanager.go 2 | -------------------------------------------------------------------------------- /token/server/manager_go.md: -------------------------------------------------------------------------------- 1 | ### manager.go 2 | -------------------------------------------------------------------------------- /token/server/marshal_go.md: -------------------------------------------------------------------------------- 1 | ### marshal.go 2 | -------------------------------------------------------------------------------- /token/server/msp_go.md: -------------------------------------------------------------------------------- 1 | ### msp.go 2 | -------------------------------------------------------------------------------- /token/server/prover_go.md: -------------------------------------------------------------------------------- 1 | ### prover.go 2 | -------------------------------------------------------------------------------- /token/server/tms_go.md: -------------------------------------------------------------------------------- 1 | ### tms.go 2 | -------------------------------------------------------------------------------- /token/tms/README.md: -------------------------------------------------------------------------------- 1 | ## tms 包 2 | -------------------------------------------------------------------------------- /token/tms/manager/README.md: -------------------------------------------------------------------------------- 1 | ### manager 包 2 | -------------------------------------------------------------------------------- /token/tms/manager/manager_go.md: -------------------------------------------------------------------------------- 1 | #### manager.go 2 | -------------------------------------------------------------------------------- /token/tms/manager/policy_go.md: -------------------------------------------------------------------------------- 1 | #### policy.go 2 | -------------------------------------------------------------------------------- /token/tms/plain/README.md: -------------------------------------------------------------------------------- 1 | ### plain 包 2 | -------------------------------------------------------------------------------- /token/tms/plain/issuer_go.md: -------------------------------------------------------------------------------- 1 | #### issuer.go 2 | -------------------------------------------------------------------------------- /token/tms/plain/ledger_go.md: -------------------------------------------------------------------------------- 1 | #### ledger.go 2 | -------------------------------------------------------------------------------- /token/tms/plain/manager_go.md: -------------------------------------------------------------------------------- 1 | #### manager.go 2 | -------------------------------------------------------------------------------- /token/tms/plain/pool_go.md: -------------------------------------------------------------------------------- 1 | #### pool.go 2 | -------------------------------------------------------------------------------- /token/tms/plain/transactor_go.md: -------------------------------------------------------------------------------- 1 | #### transactor.go 2 | -------------------------------------------------------------------------------- /token/tms/plain/verifier_go.md: -------------------------------------------------------------------------------- 1 | #### verifier.go 2 | -------------------------------------------------------------------------------- /token/tms/transactiondata_go.md: -------------------------------------------------------------------------------- 1 | ### transactiondata.go 2 | -------------------------------------------------------------------------------- /token/transaction/README.md: -------------------------------------------------------------------------------- 1 | ## transaction 包 2 | -------------------------------------------------------------------------------- /token/transaction/marshalling_go.md: -------------------------------------------------------------------------------- 1 | ### marshalling.go 2 | -------------------------------------------------------------------------------- /token/transaction/processor_go.md: -------------------------------------------------------------------------------- 1 | ### processor.go 2 | -------------------------------------------------------------------------------- /token/transaction/tms_go.md: -------------------------------------------------------------------------------- 1 | ### tms.go 2 | -------------------------------------------------------------------------------- /vagrant/README.md: -------------------------------------------------------------------------------- 1 | # vagrant 包 2 | -------------------------------------------------------------------------------- /vagrant/Vagrantfile.md: -------------------------------------------------------------------------------- 1 | ## Vagrantfile 2 | -------------------------------------------------------------------------------- /vagrant/docker_sh.md: -------------------------------------------------------------------------------- 1 | ## docker.sh 2 | -------------------------------------------------------------------------------- /vagrant/essentials_sh.md: -------------------------------------------------------------------------------- 1 | ## essentials.sh 2 | -------------------------------------------------------------------------------- /vagrant/golang_sh.md: -------------------------------------------------------------------------------- 1 | ## golang.sh 2 | -------------------------------------------------------------------------------- /vagrant/softhsm_sh.md: -------------------------------------------------------------------------------- 1 | ## softhsm.sh 2 | -------------------------------------------------------------------------------- /vagrant/srcdir_sh.md: -------------------------------------------------------------------------------- 1 | ## srcdir.sh 2 | -------------------------------------------------------------------------------- /vagrant/user_sh.md: -------------------------------------------------------------------------------- 1 | ## user.sh 2 | --------------------------------------------------------------------------------