├── protos ├── .protoroot └── ledger │ └── rwset │ ├── tests │ ├── rwsetV1ProtoBytes │ └── .gitattributes │ └── kvrwset │ └── tests │ ├── .gitattributes │ └── kvrwsetV1ProtoBytes ├── docs ├── .gitignore ├── source │ ├── developapps │ │ ├── apis.md │ │ ├── diagrams.pptx │ │ ├── develop.diagram.1.png │ │ ├── develop.diagram.10.png │ │ ├── develop.diagram.11.png │ │ ├── develop.diagram.12.png │ │ ├── develop.diagram.13.png │ │ ├── develop.diagram.2.png │ │ ├── develop.diagram.20.png │ │ ├── develop.diagram.21.png │ │ ├── develop.diagram.25.png │ │ ├── develop.diagram.3.png │ │ ├── develop.diagram.30.png │ │ ├── develop.diagram.35.png │ │ ├── develop.diagram.4.png │ │ ├── develop.diagram.5.png │ │ ├── develop.diagram.50.png │ │ ├── develop.diagram.51.png │ │ ├── develop.diagram.6.png │ │ ├── develop.diagram.7.png │ │ ├── develop.diagram.8.png │ │ └── transactioncontext.md │ ├── requirements.txt │ ├── images │ │ ├── Jira.png │ │ ├── Jira1.png │ │ ├── Jira2.png │ │ ├── Jira3.png │ │ ├── Jira4.png │ │ ├── SideDB.png │ │ ├── flow-4.png │ │ ├── step0.png │ │ ├── step1.png │ │ ├── step2.png │ │ ├── step3.png │ │ ├── step4.png │ │ ├── step5.png │ │ ├── step6.png │ │ ├── what.png │ │ ├── AddSSH1.png │ │ ├── AddSSH2.png │ │ ├── SSHKeys.png │ │ ├── Settings.png │ │ ├── blocks-3.png │ │ ├── GitCloneCmd.png │ │ ├── NewGerritUI.png │ │ ├── SideDB-org1.png │ │ ├── SideDB-org2.png │ │ ├── SideDB-peer.png │ │ ├── consensus.png │ │ ├── future_net.png │ │ ├── idmx-audit.png │ │ ├── idmx-steps.png │ │ ├── lf-sandbox.png │ │ ├── world_view.png │ │ ├── basic_network.png │ │ ├── idmx-vs-x509.png │ │ ├── RunningtheSample.png │ │ ├── Smart_Contract.png │ │ ├── attributes_flow.png │ │ ├── current_network.png │ │ ├── idemix-overview.png │ │ ├── idmx-revocation.png │ │ ├── QueryingtheLedger.png │ │ ├── UpdatingtheLedger.png │ │ ├── chaincode_swimlane.png │ │ ├── idemix-three-steps.png │ │ ├── idmx-contribution.png │ │ ├── AppConceptsOverview.png │ │ ├── SideDBTutorialImages.pptx │ │ ├── standalone-app-developer.png │ │ ├── couchdb_tutorial_pkg_example.png │ │ └── hyperledger_fabric_logo_color.png │ ├── diagrams │ │ └── diagrams.pptx │ ├── glossary │ │ ├── diagrams.pptx │ │ ├── glossary.block.png │ │ ├── glossary.msp.png │ │ ├── glossary.peer.png │ │ ├── glossary.channel.png │ │ ├── glossary.ledger.png │ │ ├── glossary.orderer.png │ │ ├── glossary.blockchain.png │ │ ├── glossary.worldstate.png │ │ ├── glossary.organization.png │ │ ├── glossary.transaction.png │ │ └── glossary.orderingservice.png │ ├── tutorial │ │ ├── diagrams.pptx │ │ ├── commercial_paper.diagram.1.png │ │ ├── commercial_paper.diagram.2.png │ │ ├── commercial_paper.diagram.3.png │ │ ├── commercial_paper.diagram.4.png │ │ ├── commercial_paper.diagram.5.png │ │ ├── commercial_paper.diagram.6.png │ │ ├── commercial_paper.diagram.7.png │ │ ├── commercial_paper.diagram.8.png │ │ ├── write_first_app.diagram.1.png │ │ ├── write_first_app.diagram.2.png │ │ ├── commercial_paper.diagram.10.png │ │ ├── commercial_paper.diagram.11.png │ │ └── commercial_paper.diagram.12.png │ ├── private-data │ │ ├── SideDB.png │ │ ├── SideDB-peer.png │ │ ├── PrivateDataConcept-1.png │ │ ├── PrivateDataConcept-2.png │ │ ├── PrivateDataConcept-3.png │ │ └── PrivateDataConceptImages.pptx │ ├── ledger │ │ ├── ledger.diagram.1.png │ │ ├── ledger.diagram.2.png │ │ ├── ledger.diagram.3.png │ │ ├── ledger.diagram.4.png │ │ ├── ledger.diagram.5.png │ │ └── ledger.diagram.6.png │ ├── peers │ │ ├── peers.diagram.1.png │ │ ├── peers.diagram.10.png │ │ ├── peers.diagram.12.png │ │ ├── peers.diagram.2.png │ │ ├── peers.diagram.3.png │ │ ├── peers.diagram.4.png │ │ ├── peers.diagram.5.png │ │ ├── peers.diagram.6.png │ │ ├── peers.diagram.8.png │ │ └── peers.diagram.9.png │ ├── network │ │ ├── network.diagram.1.png │ │ ├── network.diagram.2.png │ │ ├── network.diagram.3.png │ │ ├── network.diagram.4.png │ │ ├── network.diagram.5.png │ │ ├── network.diagram.6.png │ │ ├── network.diagram.7.png │ │ ├── network.diagram.8.png │ │ ├── network.diagram.9.png │ │ ├── network.diagram.10.png │ │ ├── network.diagram.11.png │ │ ├── network.diagram.12.png │ │ ├── network.diagram.14.png │ │ ├── network.diagram.15.png │ │ └── network.diagram.2.1.png │ ├── orderer │ │ ├── orderer.diagram.1.png │ │ └── orderer.diagram.2.png │ ├── _static │ │ └── images │ │ │ ├── github_button.png │ │ │ ├── youtube_button.png │ │ │ ├── rocketchat_button.png │ │ │ └── stackoverflow_button.png │ ├── identity │ │ ├── identity.diagram.1.png │ │ ├── identity.diagram.10.png │ │ ├── identity.diagram.11.png │ │ ├── identity.diagram.12.png │ │ ├── identity.diagram.6.png │ │ ├── identity.diagram.7.png │ │ ├── identity.diagram.8.png │ │ └── identity.diagram.9.png │ ├── dev-setup │ │ └── headers.txt │ ├── membership │ │ ├── membership.diagram.2.png │ │ ├── membership.diagram.3.png │ │ ├── membership.diagram.4.png │ │ └── membership.diagram.5.png │ ├── smartcontract │ │ ├── smartcontract.diagram.01.png │ │ ├── smartcontract.diagram.02.png │ │ ├── smartcontract.diagram.03.png │ │ ├── smartcontract.diagram.04.png │ │ └── smartcontract.diagram.05.png │ ├── releases.rst │ ├── usecases.rst │ ├── mdtorst.sh │ ├── key_concepts.rst │ └── command_ref.rst ├── wrappers │ ├── peer_node_preamble.md │ ├── license_postscript.md │ ├── configtxgen_preamble.md │ ├── peer_channel_preamble.md │ └── cryptogen_preamble.md ├── custom_theme │ └── searchbox.html └── requirements.txt ├── ci.properties ├── vendor ├── go.etcd.io │ └── etcd │ │ ├── Documentation │ │ └── README.md │ │ ├── NOTICE │ │ ├── raft │ │ └── OWNERS │ │ └── etcdserver │ │ └── api │ │ └── snap │ │ └── snappb │ │ └── snap.proto ├── google.golang.org │ └── grpc │ │ └── AUTHORS ├── github.com │ ├── docker │ │ └── docker │ │ │ ├── project │ │ │ └── CONTRIBUTING.md │ │ │ ├── integration-cli │ │ │ └── fixtures │ │ │ │ └── https │ │ │ │ ├── ca.pem │ │ │ │ ├── client-key.pem │ │ │ │ ├── server-key.pem │ │ │ │ ├── client-cert.pem │ │ │ │ └── server-cert.pem │ │ │ ├── docs │ │ │ └── static_files │ │ │ │ └── contributors.png │ │ │ ├── pkg │ │ │ ├── mount │ │ │ │ ├── mountinfo_windows.go │ │ │ │ ├── mounter_unsupported.go │ │ │ │ └── mountinfo_unsupported.go │ │ │ ├── system │ │ │ │ ├── init_unix.go │ │ │ │ ├── lcow_windows.go │ │ │ │ ├── lcow_unix.go │ │ │ │ ├── umask_windows.go │ │ │ │ ├── meminfo_unsupported.go │ │ │ │ ├── utimes_unsupported.go │ │ │ │ ├── umask.go │ │ │ │ ├── mknod_windows.go │ │ │ │ ├── init_windows.go │ │ │ │ ├── stat_openbsd.go │ │ │ │ ├── stat_solaris.go │ │ │ │ ├── chtimes_unix.go │ │ │ │ ├── lstat_windows.go │ │ │ │ ├── stat_darwin.go │ │ │ │ └── stat_freebsd.go │ │ │ ├── fileutils │ │ │ │ └── fileutils_windows.go │ │ │ ├── ioutils │ │ │ │ └── temp_unix.go │ │ │ └── homedir │ │ │ │ └── homedir_others.go │ │ │ ├── opts │ │ │ ├── hosts_windows.go │ │ │ ├── opts_unix.go │ │ │ └── hosts_unix.go │ │ │ └── api │ │ │ └── types │ │ │ ├── swarm │ │ │ └── runtime │ │ │ │ └── gen.go │ │ │ ├── error_response.go │ │ │ ├── id_response.go │ │ │ └── service_update_response.go │ ├── grpc-ecosystem │ │ └── go-grpc-middleware │ │ │ ├── auth │ │ │ └── README.md │ │ │ ├── retry │ │ │ └── README.md │ │ │ ├── logging │ │ │ ├── README.md │ │ │ ├── logrus │ │ │ │ └── README.md │ │ │ └── zap │ │ │ │ └── README.md │ │ │ ├── recovery │ │ │ └── README.md │ │ │ ├── util │ │ │ └── metautils │ │ │ │ └── README.md │ │ │ └── tracing │ │ │ └── opentracing │ │ │ └── README.md │ ├── onsi │ │ ├── ginkgo │ │ │ ├── integration │ │ │ │ ├── integration.go │ │ │ │ └── _fixtures │ │ │ │ │ ├── no_tests │ │ │ │ │ └── no_tests.go │ │ │ │ │ ├── watch_fixtures │ │ │ │ │ ├── C │ │ │ │ │ │ └── C.go │ │ │ │ │ ├── A │ │ │ │ │ │ └── A.go │ │ │ │ │ ├── B │ │ │ │ │ │ └── B.go │ │ │ │ │ └── D │ │ │ │ │ │ └── D.go │ │ │ │ │ ├── xunit_tests │ │ │ │ │ └── xunit_tests.go │ │ │ │ │ ├── no_test_fn │ │ │ │ │ └── no_test_fn.go │ │ │ │ │ ├── more_ginkgo_tests │ │ │ │ │ └── more_ginkgo_tests.go │ │ │ │ │ ├── failing_ginkgo_tests │ │ │ │ │ └── failing_ginkgo_tests.go │ │ │ │ │ ├── flags_tests │ │ │ │ │ └── flags.go │ │ │ │ │ ├── suite_command_tests │ │ │ │ │ └── suite_command.go │ │ │ │ │ ├── passing_ginkgo_tests │ │ │ │ │ └── passing_ginkgo_tests.go │ │ │ │ │ ├── coverage_fixture │ │ │ │ │ └── external_coverage_fixture │ │ │ │ │ │ └── external_coverage.go │ │ │ │ │ └── combined_coverage_fixture │ │ │ │ │ ├── first_package │ │ │ │ │ ├── external_coverage_fixture │ │ │ │ │ │ └── external_coverage.go │ │ │ │ │ └── coverage.go │ │ │ │ │ └── second_package │ │ │ │ │ └── coverage.go │ │ │ ├── reporters │ │ │ │ └── stenographer │ │ │ │ │ └── support │ │ │ │ │ └── go-isatty │ │ │ │ │ ├── doc.go │ │ │ │ │ └── isatty_appengine.go │ │ │ ├── ginkgo │ │ │ │ ├── interrupthandler │ │ │ │ │ ├── sigquit_swallower_windows.go │ │ │ │ │ └── sigquit_swallower_unix.go │ │ │ │ └── testsuite │ │ │ │ │ └── vendor_check_go16.go │ │ │ ├── internal │ │ │ │ ├── remote │ │ │ │ │ ├── syscall_dup_solaris.go │ │ │ │ │ ├── syscall_dup_unix.go │ │ │ │ │ ├── output_interceptor.go │ │ │ │ │ └── syscall_dup_linux_arm64.go │ │ │ │ ├── specrunner │ │ │ │ │ └── random_id.go │ │ │ │ └── leafnodes │ │ │ │ │ └── interfaces.go │ │ │ └── types │ │ │ │ └── code_location.go │ │ └── gomega │ │ │ ├── ghttp │ │ │ └── protobuf │ │ │ │ └── protobuf.go │ │ │ └── matchers │ │ │ └── support │ │ │ └── goraph │ │ │ ├── node │ │ │ └── node.go │ │ │ └── util │ │ │ └── util.go │ ├── matttproud │ │ └── golang_protobuf_extensions │ │ │ └── NOTICE │ ├── go-kit │ │ └── kit │ │ │ ├── util │ │ │ └── conn │ │ │ │ └── doc.go │ │ │ └── log │ │ │ └── nop_logger.go │ ├── spf13 │ │ └── cobra │ │ │ ├── command_notwin.go │ │ │ └── command_win.go │ ├── kr │ │ └── text │ │ │ └── doc.go │ ├── pierrec │ │ └── lz4 │ │ │ └── debug_stub.go │ ├── rcrowley │ │ └── go-metrics │ │ │ ├── runtime_no_cgo.go │ │ │ ├── runtime_cgo.go │ │ │ ├── runtime_no_gccpufraction.go │ │ │ └── runtime_gccpufraction.go │ ├── Azure │ │ └── go-ansiterm │ │ │ ├── context.go │ │ │ ├── winterm │ │ │ └── utilities.go │ │ │ └── utilities.go │ ├── coreos │ │ ├── pkg │ │ │ └── NOTICE │ │ └── go-systemd │ │ │ └── NOTICE │ ├── gorilla │ │ └── handlers │ │ │ ├── handlers_pre18.go │ │ │ └── doc.go │ ├── sirupsen │ │ └── logrus │ │ │ ├── terminal_check_js.go │ │ │ ├── terminal_check_appengine.go │ │ │ ├── terminal_bsd.go │ │ │ ├── terminal_appengine.go │ │ │ ├── terminal_check_notappengine.go │ │ │ ├── terminal_windows.go │ │ │ └── terminal_check_windows.go │ ├── Microsoft │ │ └── go-winio │ │ │ └── syscall.go │ ├── Knetic │ │ └── govaluate │ │ │ ├── ExpressionToken.go │ │ │ └── expressionFunctions.go │ ├── golang │ │ ├── protobuf │ │ │ ├── AUTHORS │ │ │ └── CONTRIBUTORS │ │ └── snappy │ │ │ └── decode_amd64.go │ ├── willf │ │ └── bitset │ │ │ └── trailing_zeros_19.go │ ├── prometheus │ │ ├── client_model │ │ │ └── NOTICE │ │ ├── common │ │ │ └── NOTICE │ │ └── procfs │ │ │ └── NOTICE │ ├── mattn │ │ └── go-runewidth │ │ │ └── runewidth_js.go │ ├── op │ │ └── go-logging │ │ │ └── CONTRIBUTORS │ ├── gogo │ │ └── protobuf │ │ │ └── GOLANG_CONTRIBUTORS │ ├── opencontainers │ │ └── runc │ │ │ └── Godeps │ │ │ └── _workspace │ │ │ └── src │ │ │ └── github.com │ │ │ ├── docker │ │ │ └── docker │ │ │ │ └── docs │ │ │ │ └── project │ │ │ │ └── images │ │ │ │ └── red_notice.png │ │ │ └── pquerna │ │ │ └── ffjson │ │ │ └── NOTICE │ ├── tjfoc │ │ ├── gmtls │ │ │ └── gmcredentials │ │ │ │ ├── testdata │ │ │ │ ├── ecadminkey.pem │ │ │ │ ├── eccakey.pem │ │ │ │ ├── adminkey.pem │ │ │ │ └── cakey.pem │ │ │ │ └── echo │ │ │ │ └── echo.proto │ │ └── gmsm │ │ │ └── vendor │ │ │ └── golang.org │ │ │ └── x │ │ │ └── crypto │ │ │ └── sha3 │ │ │ └── keccakf_amd64.go │ ├── eapache │ │ └── go-xerial-snappy │ │ │ └── fuzz.go │ ├── stretchr │ │ ├── objx │ │ │ ├── security.go │ │ │ └── constants.go │ │ └── testify │ │ │ └── assert │ │ │ └── errors.go │ ├── dustin │ │ └── go-humanize │ │ │ └── humanize.go │ ├── fsouza │ │ └── go-dockerclient │ │ │ └── internal │ │ │ ├── archive │ │ │ ├── changes_windows.go │ │ │ ├── archive_other.go │ │ │ └── changes_unix.go │ │ │ └── term │ │ │ └── term.go │ ├── go-logfmt │ │ └── logfmt │ │ │ └── doc.go │ ├── alecthomas │ │ └── units │ │ │ └── doc.go │ └── hashicorp │ │ └── go-version │ │ └── version_collection.go ├── code.cloudfoundry.org │ └── clock │ │ ├── package.go │ │ ├── fakeclock │ │ └── package.go │ │ └── ticker.go ├── golang.org │ └── x │ │ ├── net │ │ ├── AUTHORS │ │ ├── CONTRIBUTORS │ │ └── http2 │ │ │ ├── not_go19.go │ │ │ ├── go16.go │ │ │ └── go19.go │ │ ├── sync │ │ ├── AUTHORS │ │ └── CONTRIBUTORS │ │ ├── sys │ │ ├── AUTHORS │ │ ├── CONTRIBUTORS │ │ ├── unix │ │ │ ├── endian_big.go │ │ │ ├── endian_little.go │ │ │ ├── constants.go │ │ │ ├── syscall_linux_amd64_gc.go │ │ │ └── aliases.go │ │ └── windows │ │ │ ├── mksyscall.go │ │ │ ├── aliases.go │ │ │ └── asm_windows_arm.s │ │ ├── text │ │ ├── AUTHORS │ │ ├── CONTRIBUTORS │ │ ├── language │ │ │ └── go1_2.go │ │ ├── secure │ │ │ └── bidirule │ │ │ │ └── bidirule10.0.0.go │ │ └── encoding │ │ │ ├── japanese │ │ │ └── all.go │ │ │ └── simplifiedchinese │ │ │ └── all.go │ │ ├── tools │ │ ├── AUTHORS │ │ ├── CONTRIBUTORS │ │ ├── go │ │ │ └── ast │ │ │ │ └── astutil │ │ │ │ └── util.go │ │ ├── cmd │ │ │ └── goimports │ │ │ │ └── goimports_not_gc.go │ │ └── internal │ │ │ └── fastwalk │ │ │ ├── fastwalk_dirent_fileno.go │ │ │ ├── fastwalk_dirent_ino.go │ │ │ └── fastwalk_dirent_namlen_bsd.go │ │ └── crypto │ │ ├── AUTHORS │ │ ├── CONTRIBUTORS │ │ ├── ssh │ │ └── terminal │ │ │ ├── util_linux.go │ │ │ └── util_bsd.go │ │ └── sha3 │ │ └── keccakf_amd64.go └── gopkg.in │ ├── alecthomas │ └── kingpin.v2 │ │ └── guesswidth.go │ └── cheggaaa │ └── pb.v1 │ ├── termios_bsd.go │ ├── pb_appengine.go │ └── termios_sysv.go ├── core ├── chaincode │ ├── platforms │ │ ├── util │ │ │ ├── hashtestfiles1 │ │ │ │ ├── a.txt │ │ │ │ ├── b.txt │ │ │ │ ├── b │ │ │ │ │ ├── c.txt │ │ │ │ │ └── c │ │ │ │ │ │ └── c1.txt │ │ │ │ └── a │ │ │ │ │ ├── a1.txt │ │ │ │ │ └── a2.txt │ │ │ └── hashtestfiles2 │ │ │ │ ├── x.txt │ │ │ │ ├── x │ │ │ │ ├── z.txt │ │ │ │ └── z │ │ │ │ │ └── z1.txt │ │ │ │ ├── y.txt │ │ │ │ └── y │ │ │ │ ├── y1.txt │ │ │ │ └── y2.txt │ │ ├── java │ │ │ └── testdata │ │ │ │ └── gradle │ │ │ │ ├── pom.xml │ │ │ │ ├── src │ │ │ │ └── main │ │ │ │ │ └── java │ │ │ │ │ └── example │ │ │ │ │ └── examplecc.class │ │ │ │ ├── target │ │ │ │ └── example │ │ │ │ │ ├── ExampleCC.class │ │ │ │ │ └── ExampleCC.java │ │ │ │ └── settings.gradle │ │ ├── golang │ │ │ └── testdata │ │ │ │ └── src │ │ │ │ └── chaincodes │ │ │ │ ├── BadMetadataIgnoreHiddenFile │ │ │ │ └── META-INF │ │ │ │ │ └── .hiddenfile │ │ │ │ ├── BadMetadataInvalidIndex │ │ │ │ └── META-INF │ │ │ │ │ └── statedb │ │ │ │ │ └── couchdb │ │ │ │ │ └── indexes │ │ │ │ │ └── bad.json │ │ │ │ ├── BadMetadataUnexpectedFolderContent │ │ │ │ └── META-INF │ │ │ │ │ └── unsupported_metadata_ocation.json │ │ │ │ └── AutoVendor │ │ │ │ └── indirectdep │ │ │ │ └── core.go │ │ └── car │ │ │ └── testdata │ │ │ └── org.hyperledger.chaincode.example02-0.1-SNAPSHOT.car │ └── persistence │ │ └── testdata │ │ ├── bad-metadata.tar.gz │ │ ├── good-package.tar.gz │ │ ├── corrupted-header.tar.gz │ │ ├── missing-metadata.tar.gz │ │ ├── non-regular-file.tar.gz │ │ ├── too-many-files.tar.gz │ │ ├── corrupted-package.tar.gz │ │ └── missing-codepackage.tar.gz ├── ledger │ ├── pvtdatastorage │ │ └── testdata │ │ │ └── v11_v12 │ │ │ └── ledgersData │ │ │ └── pvtdataStore │ │ │ ├── LOCK │ │ │ ├── CURRENT │ │ │ ├── 000002.ldb │ │ │ ├── 000005.ldb │ │ │ └── MANIFEST-000065 │ ├── kvledger │ │ ├── tests │ │ │ └── testdata │ │ │ │ └── v11 │ │ │ │ └── sample_ledgers │ │ │ │ └── ledgersData │ │ │ │ ├── historyLeveldb │ │ │ │ ├── 000001.log │ │ │ │ ├── CURRENT │ │ │ │ └── MANIFEST-000000 │ │ │ │ ├── chains │ │ │ │ ├── index │ │ │ │ │ ├── CURRENT │ │ │ │ │ ├── 000001.log │ │ │ │ │ └── MANIFEST-000000 │ │ │ │ └── chains │ │ │ │ │ ├── ledger1 │ │ │ │ │ └── blockfile_000000 │ │ │ │ │ └── ledger2 │ │ │ │ │ └── blockfile_000000 │ │ │ │ ├── pvtdataStore │ │ │ │ ├── CURRENT │ │ │ │ ├── 000001.log │ │ │ │ └── MANIFEST-000000 │ │ │ │ ├── stateLeveldb │ │ │ │ ├── CURRENT │ │ │ │ ├── 000001.log │ │ │ │ └── MANIFEST-000000 │ │ │ │ ├── ledgerProvider │ │ │ │ ├── CURRENT │ │ │ │ ├── 000001.log │ │ │ │ └── MANIFEST-000000 │ │ │ │ └── .gitignore │ │ └── txmgmt │ │ │ └── statedb │ │ │ ├── statecouchdb │ │ │ └── msgs │ │ │ │ └── msgs.proto │ │ │ └── stateleveldb │ │ │ └── msgs │ │ │ └── storage.proto │ └── customtx │ │ └── test_export.go ├── container │ └── util │ │ └── testdata │ │ ├── sourcefiles │ │ ├── META-INF │ │ │ ├── .hiddenfile │ │ │ └── statedb │ │ │ │ └── couchdb │ │ │ │ └── indexes │ │ │ │ └── indexOwner.json │ │ ├── src │ │ │ ├── Hello.class │ │ │ ├── main.go │ │ │ └── Hello.java │ │ └── artifact.xml │ │ ├── BadMetadataUnexpectedFolderContent │ │ ├── main.go │ │ └── META-INF │ │ │ └── unsupported_metadata_location.json │ │ └── BadMetadataInvalidIndex │ │ └── META-INF │ │ └── statedb │ │ └── couchdb │ │ └── indexes │ │ └── bad.json ├── comm │ └── testdata │ │ ├── certs │ │ ├── Org1-key.pem │ │ ├── Org2-key.pem │ │ ├── Org1-child1-key.pem │ │ ├── Org1-child2-key.pem │ │ ├── Org1-client1-key.pem │ │ ├── Org1-client2-key.pem │ │ ├── Org1-server1-key.pem │ │ ├── Org1-server2-key.pem │ │ ├── Org2-child1-key.pem │ │ ├── Org2-child2-key.pem │ │ ├── Org2-client1-key.pem │ │ ├── Org2-client2-key.pem │ │ ├── Org2-server1-key.pem │ │ ├── Org2-server2-key.pem │ │ ├── Org1-child1-client1-key.pem │ │ ├── Org1-child1-client2-key.pem │ │ ├── Org1-child1-server1-key.pem │ │ ├── Org1-child1-server2-key.pem │ │ ├── Org1-child2-client1-key.pem │ │ ├── Org1-child2-client2-key.pem │ │ ├── Org1-child2-server1-key.pem │ │ ├── Org1-child2-server2-key.pem │ │ ├── Org2-child1-client1-key.pem │ │ ├── Org2-child1-client2-key.pem │ │ ├── Org2-child1-server1-key.pem │ │ ├── Org2-child1-server2-key.pem │ │ ├── Org2-child2-client1-key.pem │ │ ├── Org2-child2-client2-key.pem │ │ ├── Org2-child2-server1-key.pem │ │ └── Org2-child2-server2-key.pem │ │ ├── impersonation │ │ ├── orgA │ │ │ └── server.key │ │ └── orgB │ │ │ └── server.key │ │ ├── dynamic_cert_update │ │ ├── localhost │ │ │ └── server.key │ │ └── notlocalhost │ │ │ └── server.key │ │ ├── grpc │ │ └── generate.go │ │ └── prime256v1-openssl-key.pem ├── peer │ └── testdata │ │ ├── Org1-server1-key.pem │ │ ├── Org2-child1-key.pem │ │ ├── Org2-server1-key.pem │ │ ├── Org3-server1-key.pem │ │ └── Org2-child1-server1-key.pem ├── deliverservice │ └── testdata │ │ └── key.pem ├── handlers │ └── library │ │ └── race_test.go └── scc │ ├── race_test.go │ └── register.go ├── cmd └── common │ ├── signer │ └── testdata │ │ └── signer │ │ ├── broken_private_key │ │ ├── empty_private_key │ │ └── 8150cb2d09628ccc89727611ebb736189f6482747eff9b8aaaa27e9a382d2e93_sk │ ├── testdata │ ├── not_a_yaml.yaml │ └── valid_config │ │ └── config.yaml │ └── comm │ └── testdata │ ├── client │ └── key.pem │ └── server │ └── key.pem ├── test-pyramid.png ├── common ├── metrics │ ├── cmd │ │ └── gendoc │ │ │ └── .gitignore │ ├── internal │ │ └── namer │ │ │ └── namer_suite_test.go │ ├── statsd │ │ ├── statsd_suite_test.go │ │ └── goruntime │ │ │ └── goruntime_suite_test.go │ ├── disabled │ │ └── disabled_suite_test.go │ └── prometheus │ │ └── prometheus_suite_test.go ├── tools │ └── cryptogen │ │ └── msp │ │ └── msp_internal_test.go ├── channelconfig │ ├── organization_test.go │ ├── applicationorg_test.go │ └── consortiums_test.go ├── mocks │ ├── config │ │ ├── channel_test.go │ │ ├── orderer_test.go │ │ └── resources_test.go │ └── configtx │ │ └── configtx_test.go └── flogging │ └── httpadmin │ └── httpadmin_suite_test.go ├── .gitreview ├── orderer ├── common │ ├── cluster │ │ └── testdata │ │ │ ├── block3.pb │ │ │ ├── mychannel.block │ │ │ └── server.key │ └── server │ │ ├── testdata │ │ ├── genesis.block │ │ ├── system.block │ │ ├── mychannel.block │ │ └── tls │ │ │ └── server.key │ │ └── signals_windows.go ├── consensus │ └── etcdraft │ │ └── testdata │ │ ├── mychannel.block │ │ └── etcdraftgenesis.block └── main.go ├── .dockerignore ├── msp └── testdata │ ├── idemix │ ├── MSP1OU1 │ │ ├── ca │ │ │ ├── IssuerPublicKey │ │ │ ├── IssuerSecretKey │ │ │ └── RevocationKey │ │ ├── user │ │ │ └── SignerConfig │ │ └── msp │ │ │ ├── IssuerPublicKey │ │ │ └── RevocationPublicKey │ ├── MSP1OU2 │ │ ├── ca │ │ │ ├── IssuerPublicKey │ │ │ ├── IssuerSecretKey │ │ │ └── RevocationKey │ │ ├── user │ │ │ └── SignerConfig │ │ └── msp │ │ │ ├── IssuerPublicKey │ │ │ └── RevocationPublicKey │ ├── MSP2OU1 │ │ ├── ca │ │ │ ├── IssuerPublicKey │ │ │ ├── IssuerSecretKey │ │ │ └── RevocationKey │ │ ├── user │ │ │ └── SignerConfig │ │ └── msp │ │ │ ├── IssuerPublicKey │ │ │ └── RevocationPublicKey │ ├── MSP1OU1Admin │ │ ├── ca │ │ │ ├── IssuerPublicKey │ │ │ ├── IssuerSecretKey │ │ │ └── RevocationKey │ │ ├── user │ │ │ └── SignerConfig │ │ └── msp │ │ │ ├── IssuerPublicKey │ │ │ └── RevocationPublicKey │ └── MSP1Verifier │ │ ├── ca │ │ ├── IssuerPublicKey │ │ ├── IssuerSecretKey │ │ └── RevocationKey │ │ └── msp │ │ ├── IssuerPublicKey │ │ └── RevocationPublicKey │ ├── badadmin │ ├── config.yaml │ └── keystore │ │ └── key-COP1.pem │ ├── badconfigoucert │ ├── config.yaml │ └── keystore │ │ └── key.pem │ ├── badconfigou │ ├── config.yaml │ └── keystore │ │ └── key.pem │ ├── tls │ ├── keystore │ │ └── key.pem │ └── config.yaml │ ├── external │ ├── keystore │ │ └── key.pem │ └── config.yaml │ ├── intermediate │ └── keystore │ │ └── key.pem │ ├── nodeous1 │ ├── keystore │ │ └── key.pem │ └── config.yaml │ ├── revokedica │ └── keystore │ │ └── key.pem │ ├── expired │ └── keystore │ │ └── key-expired.pem │ ├── intermediate2 │ └── keystore │ │ └── key.pem │ ├── revocation │ └── keystore │ │ ├── key-admin.pem │ │ └── key-revoked.pem │ ├── revocation2 │ └── keystore │ │ ├── key-admin.pem │ │ └── key-revoked.pem │ ├── nodeous2 │ ├── config.yaml │ └── keystore │ │ ├── 21779908bb40b2996d730685a5df60c62f05e02356930cd74b0d6acc49a1eafc_sk │ │ └── f8c30e5fad3f1af5f080a87c23ce37e40e6d4ac30019e31ca2c6e7c6bffa26c8_sk │ ├── nodeous3 │ ├── config.yaml │ └── keystore │ │ ├── 212d57370dd1e4bacc414d0070121197d6c34b694dec33242bb3ffc4ef13e23b_sk │ │ └── d51e8e0ea19acbc3090a82bd0ae36db670a368512dbd1a20e58089113a20e24b_sk │ ├── nodeous5 │ ├── config.yaml │ └── keystore │ │ ├── 012ba73f50e24826785f48d1e60dcb972cfc2c5df7c41cdc0ecbbd52b02ca248_sk │ │ └── 47e79b836df4b16212176f607b37d95f97ecfdcdc658b7e6eaeab251251a01aa_sk │ ├── mspid │ └── keystore │ │ └── 7c73fd300a90b41c79ace8ee5553e1f3ba12b141892d966617731380189d3f4e_sk │ ├── expiration │ └── keystore │ │ └── 83c4189d96988eab469b1afa1dfbcb4463a1fff381d7dba9b9378b51a5ef9e77_sk │ ├── nodeous4 │ ├── keystore │ │ ├── 212d57370dd1e4bacc414d0070121197d6c34b694dec33242bb3ffc4ef13e23b_sk │ │ └── d51e8e0ea19acbc3090a82bd0ae36db670a368512dbd1a20e58089113a20e24b_sk │ └── config.yaml │ ├── nodeous6 │ └── keystore │ │ ├── 212d57370dd1e4bacc414d0070121197d6c34b694dec33242bb3ffc4ef13e23b_sk │ │ └── d51e8e0ea19acbc3090a82bd0ae36db670a368512dbd1a20e58089113a20e24b_sk │ ├── nodeous7 │ ├── keystore │ │ ├── 212d57370dd1e4bacc414d0070121197d6c34b694dec33242bb3ffc4ef13e23b_sk │ │ └── d51e8e0ea19acbc3090a82bd0ae36db670a368512dbd1a20e58089113a20e24b_sk │ └── config.yaml │ └── nodeous8 │ ├── keystore │ └── f3a673451e3bf0f74b4fd7b24f6dbfd8d795c2173d11d255b6a4f4ad3cd23046_sk │ └── config.yaml ├── devenv ├── images │ └── openchain-dev-env-deployment-diagram.png └── golang_buildcmd.sh ├── scripts └── check_deps.sh ├── examples └── chaincode │ └── go │ └── marbles02 │ └── META-INF │ └── statedb │ └── couchdb │ └── indexes │ └── indexOwner.json ├── peer ├── common │ └── testdata │ │ ├── certs │ │ ├── bad.key │ │ └── client.key │ │ ├── notset.yaml │ │ ├── absolute.yaml │ │ └── relative.yaml └── node │ └── signals_windows.go ├── integration ├── sbe │ └── testdata │ │ └── collection_config.json └── discovery │ └── testdata │ └── collections_config1.json ├── .gitattributes ├── sampleconfig └── msp │ └── keystore │ └── key.pem ├── discovery ├── client │ └── testdata │ │ ├── client │ │ └── key.pem │ │ └── server │ │ └── key.pem └── cmd │ └── testdata │ └── 8150cb2d09628ccc89727611ebb736189f6482747eff9b8aaaa27e9a382d2e93_sk ├── bccsp ├── factory │ └── race_test.go └── idemix │ └── idemix_suite_test.go ├── images ├── ccenv │ └── Dockerfile.in ├── buildenv │ └── Dockerfile.in ├── peer │ └── Dockerfile.in └── orderer │ └── Dockerfile.in ├── gossip └── comm │ └── demux_test.go ├── settings.gradle └── token ├── tms ├── plain │ └── plain_suite_test.go └── manager │ └── manager_suite_test.go └── transaction └── transaction_suite_test.go /protos/.protoroot: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/.gitignore: -------------------------------------------------------------------------------- 1 | _build/ 2 | -------------------------------------------------------------------------------- /ci.properties: -------------------------------------------------------------------------------- 1 | GO_VER=1.11.5 2 | -------------------------------------------------------------------------------- /docs/source/developapps/apis.md: -------------------------------------------------------------------------------- 1 | # APIs 2 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/etcd/Documentation/README.md: -------------------------------------------------------------------------------- 1 | docs.md -------------------------------------------------------------------------------- /vendor/google.golang.org/grpc/AUTHORS: -------------------------------------------------------------------------------- 1 | Google Inc. 2 | -------------------------------------------------------------------------------- /core/chaincode/platforms/util/hashtestfiles1/a.txt: -------------------------------------------------------------------------------- 1 | a 2 | -------------------------------------------------------------------------------- /core/chaincode/platforms/util/hashtestfiles1/b.txt: -------------------------------------------------------------------------------- 1 | b 2 | -------------------------------------------------------------------------------- /core/chaincode/platforms/util/hashtestfiles1/b/c.txt: -------------------------------------------------------------------------------- 1 | c 2 | -------------------------------------------------------------------------------- /core/chaincode/platforms/util/hashtestfiles2/x.txt: -------------------------------------------------------------------------------- 1 | x 2 | -------------------------------------------------------------------------------- /core/chaincode/platforms/util/hashtestfiles2/x/z.txt: -------------------------------------------------------------------------------- 1 | z 2 | -------------------------------------------------------------------------------- /core/chaincode/platforms/util/hashtestfiles2/y.txt: -------------------------------------------------------------------------------- 1 | y 2 | -------------------------------------------------------------------------------- /docs/source/requirements.txt: -------------------------------------------------------------------------------- 1 | python-markdown-math==0.2 2 | -------------------------------------------------------------------------------- /cmd/common/signer/testdata/signer/broken_private_key: -------------------------------------------------------------------------------- 1 | broken 2 | -------------------------------------------------------------------------------- /core/chaincode/platforms/util/hashtestfiles1/a/a1.txt: -------------------------------------------------------------------------------- 1 | a1 2 | -------------------------------------------------------------------------------- /core/chaincode/platforms/util/hashtestfiles1/a/a2.txt: -------------------------------------------------------------------------------- 1 | a2 2 | -------------------------------------------------------------------------------- /core/chaincode/platforms/util/hashtestfiles1/b/c/c1.txt: -------------------------------------------------------------------------------- 1 | c1 2 | -------------------------------------------------------------------------------- /core/chaincode/platforms/util/hashtestfiles2/x/z/z1.txt: -------------------------------------------------------------------------------- 1 | z1 2 | -------------------------------------------------------------------------------- /core/chaincode/platforms/util/hashtestfiles2/y/y1.txt: -------------------------------------------------------------------------------- 1 | y1 2 | -------------------------------------------------------------------------------- /core/chaincode/platforms/util/hashtestfiles2/y/y2.txt: -------------------------------------------------------------------------------- 1 | y2 2 | -------------------------------------------------------------------------------- /core/ledger/pvtdatastorage/testdata/v11_v12/ledgersData/pvtdataStore/LOCK: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/project/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | ../CONTRIBUTING.md -------------------------------------------------------------------------------- /vendor/github.com/grpc-ecosystem/go-grpc-middleware/auth/README.md: -------------------------------------------------------------------------------- 1 | DOC.md -------------------------------------------------------------------------------- /vendor/github.com/grpc-ecosystem/go-grpc-middleware/retry/README.md: -------------------------------------------------------------------------------- 1 | DOC.md -------------------------------------------------------------------------------- /core/chaincode/platforms/java/testdata/gradle/pom.xml: -------------------------------------------------------------------------------- 1 | test maven build file -------------------------------------------------------------------------------- /vendor/github.com/grpc-ecosystem/go-grpc-middleware/logging/README.md: -------------------------------------------------------------------------------- 1 | DOC.md -------------------------------------------------------------------------------- /vendor/github.com/grpc-ecosystem/go-grpc-middleware/recovery/README.md: -------------------------------------------------------------------------------- 1 | DOC.md -------------------------------------------------------------------------------- /vendor/github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/README.md: -------------------------------------------------------------------------------- 1 | DOC.md -------------------------------------------------------------------------------- /vendor/github.com/grpc-ecosystem/go-grpc-middleware/logging/zap/README.md: -------------------------------------------------------------------------------- 1 | DOC.md -------------------------------------------------------------------------------- /vendor/github.com/grpc-ecosystem/go-grpc-middleware/util/metautils/README.md: -------------------------------------------------------------------------------- 1 | DOC.md -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/integration.go: -------------------------------------------------------------------------------- 1 | package integration 2 | -------------------------------------------------------------------------------- /test-pyramid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/test-pyramid.png -------------------------------------------------------------------------------- /vendor/github.com/grpc-ecosystem/go-grpc-middleware/tracing/opentracing/README.md: -------------------------------------------------------------------------------- 1 | DOC.md -------------------------------------------------------------------------------- /common/metrics/cmd/gendoc/.gitignore: -------------------------------------------------------------------------------- 1 | #SPDX-License-Identifier: Apache-2.0 2 | 3 | gendoc 4 | -------------------------------------------------------------------------------- /core/container/util/testdata/sourcefiles/META-INF/.hiddenfile: -------------------------------------------------------------------------------- 1 | # this is a hidden file 2 | -------------------------------------------------------------------------------- /core/ledger/kvledger/tests/testdata/v11/sample_ledgers/ledgersData/historyLeveldb/000001.log: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /core/chaincode/platforms/java/testdata/gradle/src/main/java/example/examplecc.class: -------------------------------------------------------------------------------- 1 | test class file -------------------------------------------------------------------------------- /core/ledger/pvtdatastorage/testdata/v11_v12/ledgersData/pvtdataStore/CURRENT: -------------------------------------------------------------------------------- 1 | MANIFEST-000065 2 | -------------------------------------------------------------------------------- /protos/ledger/rwset/tests/rwsetV1ProtoBytes: -------------------------------------------------------------------------------- 1 |  2 | ns-1 3 | ns-1-rwset 4 | ns-2 5 | ns-2-rwset -------------------------------------------------------------------------------- /vendor/code.cloudfoundry.org/clock/package.go: -------------------------------------------------------------------------------- 1 | package clock // import "code.cloudfoundry.org/clock" 2 | -------------------------------------------------------------------------------- /cmd/common/testdata/not_a_yaml.yaml: -------------------------------------------------------------------------------- 1 | dgdgd 2 | dfgdf 3 | gdf 4 | gdfg 5 | dfgdfgdfgf dfgdfgdf -------------------------------------------------------------------------------- /core/chaincode/platforms/java/testdata/gradle/target/example/ExampleCC.class: -------------------------------------------------------------------------------- 1 | test class file in target folder -------------------------------------------------------------------------------- /core/chaincode/platforms/java/testdata/gradle/target/example/ExampleCC.java: -------------------------------------------------------------------------------- 1 | test java file in target folder -------------------------------------------------------------------------------- /core/ledger/kvledger/tests/testdata/v11/sample_ledgers/ledgersData/chains/index/CURRENT: -------------------------------------------------------------------------------- 1 | MANIFEST-000000 2 | -------------------------------------------------------------------------------- /core/ledger/kvledger/tests/testdata/v11/sample_ledgers/ledgersData/pvtdataStore/CURRENT: -------------------------------------------------------------------------------- 1 | MANIFEST-000000 2 | -------------------------------------------------------------------------------- /core/ledger/kvledger/tests/testdata/v11/sample_ledgers/ledgersData/stateLeveldb/CURRENT: -------------------------------------------------------------------------------- 1 | MANIFEST-000000 2 | -------------------------------------------------------------------------------- /protos/ledger/rwset/tests/.gitattributes: -------------------------------------------------------------------------------- 1 | # Define binary file attributes. 2 | rwsetV1ProtoBytes binary 3 | -------------------------------------------------------------------------------- /cmd/common/signer/testdata/signer/empty_private_key: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | -----END PRIVATE KEY----- 3 | -------------------------------------------------------------------------------- /core/chaincode/platforms/java/testdata/gradle/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'fabric-chaincode-example-gradle' -------------------------------------------------------------------------------- /core/ledger/kvledger/tests/testdata/v11/sample_ledgers/ledgersData/historyLeveldb/CURRENT: -------------------------------------------------------------------------------- 1 | MANIFEST-000000 2 | -------------------------------------------------------------------------------- /core/ledger/kvledger/tests/testdata/v11/sample_ledgers/ledgersData/ledgerProvider/CURRENT: -------------------------------------------------------------------------------- 1 | MANIFEST-000000 2 | -------------------------------------------------------------------------------- /docs/source/images/Jira.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/images/Jira.png -------------------------------------------------------------------------------- /docs/source/images/Jira1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/images/Jira1.png -------------------------------------------------------------------------------- /docs/source/images/Jira2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/images/Jira2.png -------------------------------------------------------------------------------- /docs/source/images/Jira3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/images/Jira3.png -------------------------------------------------------------------------------- /docs/source/images/Jira4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/images/Jira4.png -------------------------------------------------------------------------------- /docs/source/images/SideDB.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/images/SideDB.png -------------------------------------------------------------------------------- /docs/source/images/flow-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/images/flow-4.png -------------------------------------------------------------------------------- /docs/source/images/step0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/images/step0.png -------------------------------------------------------------------------------- /docs/source/images/step1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/images/step1.png -------------------------------------------------------------------------------- /docs/source/images/step2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/images/step2.png -------------------------------------------------------------------------------- /docs/source/images/step3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/images/step3.png -------------------------------------------------------------------------------- /docs/source/images/step4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/images/step4.png -------------------------------------------------------------------------------- /docs/source/images/step5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/images/step5.png -------------------------------------------------------------------------------- /docs/source/images/step6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/images/step6.png -------------------------------------------------------------------------------- /docs/source/images/what.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/images/what.png -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/integration-cli/fixtures/https/ca.pem: -------------------------------------------------------------------------------- 1 | ../../../integration/testdata/https/ca.pem -------------------------------------------------------------------------------- /docs/source/images/AddSSH1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/images/AddSSH1.png -------------------------------------------------------------------------------- /docs/source/images/AddSSH2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/images/AddSSH2.png -------------------------------------------------------------------------------- /docs/source/images/SSHKeys.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/images/SSHKeys.png -------------------------------------------------------------------------------- /docs/source/images/Settings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/images/Settings.png -------------------------------------------------------------------------------- /docs/source/images/blocks-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/images/blocks-3.png -------------------------------------------------------------------------------- /protos/ledger/rwset/kvrwset/tests/.gitattributes: -------------------------------------------------------------------------------- 1 | # Define binary file attributes. 2 | kvrwsetV1ProtoBytes binary 3 | -------------------------------------------------------------------------------- /vendor/github.com/matttproud/golang_protobuf_extensions/NOTICE: -------------------------------------------------------------------------------- 1 | Copyright 2012 Matt T. Proud (matt.proud@gmail.com) 2 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/no_tests/no_tests.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | func main() { 4 | } 5 | -------------------------------------------------------------------------------- /core/container/util/testdata/sourcefiles/src/Hello.class: -------------------------------------------------------------------------------- 1 | # This is a file that should not be included in java packages 2 | -------------------------------------------------------------------------------- /docs/source/diagrams/diagrams.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/diagrams/diagrams.pptx -------------------------------------------------------------------------------- /docs/source/glossary/diagrams.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/glossary/diagrams.pptx -------------------------------------------------------------------------------- /docs/source/images/GitCloneCmd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/images/GitCloneCmd.png -------------------------------------------------------------------------------- /docs/source/images/NewGerritUI.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/images/NewGerritUI.png -------------------------------------------------------------------------------- /docs/source/images/SideDB-org1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/images/SideDB-org1.png -------------------------------------------------------------------------------- /docs/source/images/SideDB-org2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/images/SideDB-org2.png -------------------------------------------------------------------------------- /docs/source/images/SideDB-peer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/images/SideDB-peer.png -------------------------------------------------------------------------------- /docs/source/images/consensus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/images/consensus.png -------------------------------------------------------------------------------- /docs/source/images/future_net.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/images/future_net.png -------------------------------------------------------------------------------- /docs/source/images/idmx-audit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/images/idmx-audit.png -------------------------------------------------------------------------------- /docs/source/images/idmx-steps.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/images/idmx-steps.png -------------------------------------------------------------------------------- /docs/source/images/lf-sandbox.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/images/lf-sandbox.png -------------------------------------------------------------------------------- /docs/source/images/world_view.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/images/world_view.png -------------------------------------------------------------------------------- /docs/source/tutorial/diagrams.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/tutorial/diagrams.pptx -------------------------------------------------------------------------------- /docs/source/images/basic_network.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/images/basic_network.png -------------------------------------------------------------------------------- /docs/source/images/idmx-vs-x509.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/images/idmx-vs-x509.png -------------------------------------------------------------------------------- /docs/source/private-data/SideDB.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/private-data/SideDB.png -------------------------------------------------------------------------------- /vendor/code.cloudfoundry.org/clock/fakeclock/package.go: -------------------------------------------------------------------------------- 1 | package fakeclock // import "code.cloudfoundry.org/clock/fakeclock" 2 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/integration-cli/fixtures/https/client-key.pem: -------------------------------------------------------------------------------- 1 | ../../../integration/testdata/https/client-key.pem -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/integration-cli/fixtures/https/server-key.pem: -------------------------------------------------------------------------------- 1 | ../../../integration/testdata/https/server-key.pem -------------------------------------------------------------------------------- /vendor/github.com/go-kit/kit/util/conn/doc.go: -------------------------------------------------------------------------------- 1 | // Package conn provides utilities related to connections. 2 | package conn 3 | -------------------------------------------------------------------------------- /.gitreview: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: Apache-2.0 2 | [gerrit] 3 | host=gerrit.hyperledger.org 4 | port=29418 5 | project=fabric 6 | -------------------------------------------------------------------------------- /docs/source/developapps/diagrams.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/developapps/diagrams.pptx -------------------------------------------------------------------------------- /docs/source/glossary/glossary.block.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/glossary/glossary.block.png -------------------------------------------------------------------------------- /docs/source/glossary/glossary.msp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/glossary/glossary.msp.png -------------------------------------------------------------------------------- /docs/source/glossary/glossary.peer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/glossary/glossary.peer.png -------------------------------------------------------------------------------- /docs/source/images/RunningtheSample.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/images/RunningtheSample.png -------------------------------------------------------------------------------- /docs/source/images/Smart_Contract.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/images/Smart_Contract.png -------------------------------------------------------------------------------- /docs/source/images/attributes_flow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/images/attributes_flow.png -------------------------------------------------------------------------------- /docs/source/images/current_network.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/images/current_network.png -------------------------------------------------------------------------------- /docs/source/images/idemix-overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/images/idemix-overview.png -------------------------------------------------------------------------------- /docs/source/images/idmx-revocation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/images/idmx-revocation.png -------------------------------------------------------------------------------- /docs/source/ledger/ledger.diagram.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/ledger/ledger.diagram.1.png -------------------------------------------------------------------------------- /docs/source/ledger/ledger.diagram.2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/ledger/ledger.diagram.2.png -------------------------------------------------------------------------------- /docs/source/ledger/ledger.diagram.3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/ledger/ledger.diagram.3.png -------------------------------------------------------------------------------- /docs/source/ledger/ledger.diagram.4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/ledger/ledger.diagram.4.png -------------------------------------------------------------------------------- /docs/source/ledger/ledger.diagram.5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/ledger/ledger.diagram.5.png -------------------------------------------------------------------------------- /docs/source/ledger/ledger.diagram.6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/ledger/ledger.diagram.6.png -------------------------------------------------------------------------------- /docs/source/peers/peers.diagram.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/peers/peers.diagram.1.png -------------------------------------------------------------------------------- /docs/source/peers/peers.diagram.10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/peers/peers.diagram.10.png -------------------------------------------------------------------------------- /docs/source/peers/peers.diagram.12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/peers/peers.diagram.12.png -------------------------------------------------------------------------------- /docs/source/peers/peers.diagram.2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/peers/peers.diagram.2.png -------------------------------------------------------------------------------- /docs/source/peers/peers.diagram.3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/peers/peers.diagram.3.png -------------------------------------------------------------------------------- /docs/source/peers/peers.diagram.4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/peers/peers.diagram.4.png -------------------------------------------------------------------------------- /docs/source/peers/peers.diagram.5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/peers/peers.diagram.5.png -------------------------------------------------------------------------------- /docs/source/peers/peers.diagram.6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/peers/peers.diagram.6.png -------------------------------------------------------------------------------- /docs/source/peers/peers.diagram.8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/peers/peers.diagram.8.png -------------------------------------------------------------------------------- /docs/source/peers/peers.diagram.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/peers/peers.diagram.9.png -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/integration-cli/fixtures/https/client-cert.pem: -------------------------------------------------------------------------------- 1 | ../../../integration/testdata/https/client-cert.pem -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/integration-cli/fixtures/https/server-cert.pem: -------------------------------------------------------------------------------- 1 | ../../../integration/testdata/https/server-cert.pem -------------------------------------------------------------------------------- /docs/source/glossary/glossary.channel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/glossary/glossary.channel.png -------------------------------------------------------------------------------- /docs/source/glossary/glossary.ledger.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/glossary/glossary.ledger.png -------------------------------------------------------------------------------- /docs/source/glossary/glossary.orderer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/glossary/glossary.orderer.png -------------------------------------------------------------------------------- /docs/source/images/QueryingtheLedger.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/images/QueryingtheLedger.png -------------------------------------------------------------------------------- /docs/source/images/UpdatingtheLedger.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/images/UpdatingtheLedger.png -------------------------------------------------------------------------------- /docs/source/images/chaincode_swimlane.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/images/chaincode_swimlane.png -------------------------------------------------------------------------------- /docs/source/images/idemix-three-steps.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/images/idemix-three-steps.png -------------------------------------------------------------------------------- /docs/source/images/idmx-contribution.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/images/idmx-contribution.png -------------------------------------------------------------------------------- /docs/source/network/network.diagram.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/network/network.diagram.1.png -------------------------------------------------------------------------------- /docs/source/network/network.diagram.2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/network/network.diagram.2.png -------------------------------------------------------------------------------- /docs/source/network/network.diagram.3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/network/network.diagram.3.png -------------------------------------------------------------------------------- /docs/source/network/network.diagram.4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/network/network.diagram.4.png -------------------------------------------------------------------------------- /docs/source/network/network.diagram.5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/network/network.diagram.5.png -------------------------------------------------------------------------------- /docs/source/network/network.diagram.6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/network/network.diagram.6.png -------------------------------------------------------------------------------- /docs/source/network/network.diagram.7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/network/network.diagram.7.png -------------------------------------------------------------------------------- /docs/source/network/network.diagram.8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/network/network.diagram.8.png -------------------------------------------------------------------------------- /docs/source/network/network.diagram.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/network/network.diagram.9.png -------------------------------------------------------------------------------- /docs/source/orderer/orderer.diagram.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/orderer/orderer.diagram.1.png -------------------------------------------------------------------------------- /docs/source/orderer/orderer.diagram.2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/orderer/orderer.diagram.2.png -------------------------------------------------------------------------------- /docs/source/private-data/SideDB-peer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/private-data/SideDB-peer.png -------------------------------------------------------------------------------- /orderer/common/cluster/testdata/block3.pb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/orderer/common/cluster/testdata/block3.pb -------------------------------------------------------------------------------- /vendor/github.com/spf13/cobra/command_notwin.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package cobra 4 | 5 | var preExecHookFn func(*Command) 6 | -------------------------------------------------------------------------------- /docs/source/_static/images/github_button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/_static/images/github_button.png -------------------------------------------------------------------------------- /docs/source/glossary/glossary.blockchain.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/glossary/glossary.blockchain.png -------------------------------------------------------------------------------- /docs/source/glossary/glossary.worldstate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/glossary/glossary.worldstate.png -------------------------------------------------------------------------------- /docs/source/identity/identity.diagram.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/identity/identity.diagram.1.png -------------------------------------------------------------------------------- /docs/source/identity/identity.diagram.10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/identity/identity.diagram.10.png -------------------------------------------------------------------------------- /docs/source/identity/identity.diagram.11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/identity/identity.diagram.11.png -------------------------------------------------------------------------------- /docs/source/identity/identity.diagram.12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/identity/identity.diagram.12.png -------------------------------------------------------------------------------- /docs/source/identity/identity.diagram.6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/identity/identity.diagram.6.png -------------------------------------------------------------------------------- /docs/source/identity/identity.diagram.7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/identity/identity.diagram.7.png -------------------------------------------------------------------------------- /docs/source/identity/identity.diagram.8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/identity/identity.diagram.8.png -------------------------------------------------------------------------------- /docs/source/identity/identity.diagram.9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/identity/identity.diagram.9.png -------------------------------------------------------------------------------- /docs/source/images/AppConceptsOverview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/images/AppConceptsOverview.png -------------------------------------------------------------------------------- /docs/source/images/SideDBTutorialImages.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/images/SideDBTutorialImages.pptx -------------------------------------------------------------------------------- /docs/source/network/network.diagram.10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/network/network.diagram.10.png -------------------------------------------------------------------------------- /docs/source/network/network.diagram.11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/network/network.diagram.11.png -------------------------------------------------------------------------------- /docs/source/network/network.diagram.12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/network/network.diagram.12.png -------------------------------------------------------------------------------- /docs/source/network/network.diagram.14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/network/network.diagram.14.png -------------------------------------------------------------------------------- /docs/source/network/network.diagram.15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/network/network.diagram.15.png -------------------------------------------------------------------------------- /docs/source/network/network.diagram.2.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/network/network.diagram.2.1.png -------------------------------------------------------------------------------- /orderer/common/server/testdata/genesis.block: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/orderer/common/server/testdata/genesis.block -------------------------------------------------------------------------------- /orderer/common/server/testdata/system.block: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/orderer/common/server/testdata/system.block -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/C/C.go: -------------------------------------------------------------------------------- 1 | package C 2 | 3 | func DoIt() string { 4 | return "done!" 5 | } 6 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/ghttp/protobuf/protobuf.go: -------------------------------------------------------------------------------- 1 | package protobuf 2 | 3 | //go:generate protoc --go_out=. simple_message.proto 4 | -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright IBM Corp. All Rights Reserved. 3 | # 4 | # SPDX-License-Identifier: Apache-2.0 5 | # 6 | .build 7 | unit-test 8 | -------------------------------------------------------------------------------- /docs/source/_static/images/youtube_button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/_static/images/youtube_button.png -------------------------------------------------------------------------------- /docs/source/dev-setup/headers.txt: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright [COPYRIGHT OWNER] All Rights Reserved. 3 | 4 | SPDX-License-Identifier: Apache-2.0 5 | */ 6 | -------------------------------------------------------------------------------- /docs/source/developapps/develop.diagram.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/developapps/develop.diagram.1.png -------------------------------------------------------------------------------- /docs/source/developapps/develop.diagram.10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/developapps/develop.diagram.10.png -------------------------------------------------------------------------------- /docs/source/developapps/develop.diagram.11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/developapps/develop.diagram.11.png -------------------------------------------------------------------------------- /docs/source/developapps/develop.diagram.12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/developapps/develop.diagram.12.png -------------------------------------------------------------------------------- /docs/source/developapps/develop.diagram.13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/developapps/develop.diagram.13.png -------------------------------------------------------------------------------- /docs/source/developapps/develop.diagram.2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/developapps/develop.diagram.2.png -------------------------------------------------------------------------------- /docs/source/developapps/develop.diagram.20.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/developapps/develop.diagram.20.png -------------------------------------------------------------------------------- /docs/source/developapps/develop.diagram.21.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/developapps/develop.diagram.21.png -------------------------------------------------------------------------------- /docs/source/developapps/develop.diagram.25.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/developapps/develop.diagram.25.png -------------------------------------------------------------------------------- /docs/source/developapps/develop.diagram.3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/developapps/develop.diagram.3.png -------------------------------------------------------------------------------- /docs/source/developapps/develop.diagram.30.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/developapps/develop.diagram.30.png -------------------------------------------------------------------------------- /docs/source/developapps/develop.diagram.35.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/developapps/develop.diagram.35.png -------------------------------------------------------------------------------- /docs/source/developapps/develop.diagram.4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/developapps/develop.diagram.4.png -------------------------------------------------------------------------------- /docs/source/developapps/develop.diagram.5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/developapps/develop.diagram.5.png -------------------------------------------------------------------------------- /docs/source/developapps/develop.diagram.50.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/developapps/develop.diagram.50.png -------------------------------------------------------------------------------- /docs/source/developapps/develop.diagram.51.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/developapps/develop.diagram.51.png -------------------------------------------------------------------------------- /docs/source/developapps/develop.diagram.6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/developapps/develop.diagram.6.png -------------------------------------------------------------------------------- /docs/source/developapps/develop.diagram.7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/developapps/develop.diagram.7.png -------------------------------------------------------------------------------- /docs/source/developapps/develop.diagram.8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/developapps/develop.diagram.8.png -------------------------------------------------------------------------------- /docs/source/glossary/glossary.organization.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/glossary/glossary.organization.png -------------------------------------------------------------------------------- /docs/source/glossary/glossary.transaction.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/glossary/glossary.transaction.png -------------------------------------------------------------------------------- /msp/testdata/idemix/MSP1OU1/ca/IssuerPublicKey: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/msp/testdata/idemix/MSP1OU1/ca/IssuerPublicKey -------------------------------------------------------------------------------- /msp/testdata/idemix/MSP1OU1/ca/IssuerSecretKey: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/msp/testdata/idemix/MSP1OU1/ca/IssuerSecretKey -------------------------------------------------------------------------------- /msp/testdata/idemix/MSP1OU1/user/SignerConfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/msp/testdata/idemix/MSP1OU1/user/SignerConfig -------------------------------------------------------------------------------- /msp/testdata/idemix/MSP1OU2/ca/IssuerPublicKey: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/msp/testdata/idemix/MSP1OU2/ca/IssuerPublicKey -------------------------------------------------------------------------------- /msp/testdata/idemix/MSP1OU2/ca/IssuerSecretKey: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/msp/testdata/idemix/MSP1OU2/ca/IssuerSecretKey -------------------------------------------------------------------------------- /msp/testdata/idemix/MSP1OU2/user/SignerConfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/msp/testdata/idemix/MSP1OU2/user/SignerConfig -------------------------------------------------------------------------------- /msp/testdata/idemix/MSP2OU1/ca/IssuerPublicKey: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/msp/testdata/idemix/MSP2OU1/ca/IssuerPublicKey -------------------------------------------------------------------------------- /msp/testdata/idemix/MSP2OU1/ca/IssuerSecretKey: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/msp/testdata/idemix/MSP2OU1/ca/IssuerSecretKey -------------------------------------------------------------------------------- /msp/testdata/idemix/MSP2OU1/user/SignerConfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/msp/testdata/idemix/MSP2OU1/user/SignerConfig -------------------------------------------------------------------------------- /orderer/common/server/testdata/mychannel.block: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/orderer/common/server/testdata/mychannel.block -------------------------------------------------------------------------------- /vendor/github.com/kr/text/doc.go: -------------------------------------------------------------------------------- 1 | // Package text provides rudimentary functions for manipulating text in 2 | // paragraphs. 3 | package text 4 | -------------------------------------------------------------------------------- /docs/source/_static/images/rocketchat_button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/_static/images/rocketchat_button.png -------------------------------------------------------------------------------- /docs/source/glossary/glossary.orderingservice.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/glossary/glossary.orderingservice.png -------------------------------------------------------------------------------- /docs/source/images/standalone-app-developer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/images/standalone-app-developer.png -------------------------------------------------------------------------------- /docs/source/membership/membership.diagram.2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/membership/membership.diagram.2.png -------------------------------------------------------------------------------- /docs/source/membership/membership.diagram.3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/membership/membership.diagram.3.png -------------------------------------------------------------------------------- /docs/source/membership/membership.diagram.4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/membership/membership.diagram.4.png -------------------------------------------------------------------------------- /docs/source/membership/membership.diagram.5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/membership/membership.diagram.5.png -------------------------------------------------------------------------------- /docs/source/private-data/PrivateDataConcept-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/private-data/PrivateDataConcept-1.png -------------------------------------------------------------------------------- /docs/source/private-data/PrivateDataConcept-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/private-data/PrivateDataConcept-2.png -------------------------------------------------------------------------------- /docs/source/private-data/PrivateDataConcept-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/private-data/PrivateDataConcept-3.png -------------------------------------------------------------------------------- /msp/testdata/idemix/MSP1OU1/msp/IssuerPublicKey: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/msp/testdata/idemix/MSP1OU1/msp/IssuerPublicKey -------------------------------------------------------------------------------- /msp/testdata/idemix/MSP1OU2/msp/IssuerPublicKey: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/msp/testdata/idemix/MSP1OU2/msp/IssuerPublicKey -------------------------------------------------------------------------------- /msp/testdata/idemix/MSP2OU1/msp/IssuerPublicKey: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/msp/testdata/idemix/MSP2OU1/msp/IssuerPublicKey -------------------------------------------------------------------------------- /orderer/common/cluster/testdata/mychannel.block: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/orderer/common/cluster/testdata/mychannel.block -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/reporters/stenographer/support/go-isatty/doc.go: -------------------------------------------------------------------------------- 1 | // Package isatty implements interface to isatty 2 | package isatty 3 | -------------------------------------------------------------------------------- /docs/source/_static/images/stackoverflow_button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/_static/images/stackoverflow_button.png -------------------------------------------------------------------------------- /docs/source/images/couchdb_tutorial_pkg_example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/images/couchdb_tutorial_pkg_example.png -------------------------------------------------------------------------------- /docs/source/tutorial/commercial_paper.diagram.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/tutorial/commercial_paper.diagram.1.png -------------------------------------------------------------------------------- /docs/source/tutorial/commercial_paper.diagram.2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/tutorial/commercial_paper.diagram.2.png -------------------------------------------------------------------------------- /docs/source/tutorial/commercial_paper.diagram.3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/tutorial/commercial_paper.diagram.3.png -------------------------------------------------------------------------------- /docs/source/tutorial/commercial_paper.diagram.4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/tutorial/commercial_paper.diagram.4.png -------------------------------------------------------------------------------- /docs/source/tutorial/commercial_paper.diagram.5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/tutorial/commercial_paper.diagram.5.png -------------------------------------------------------------------------------- /docs/source/tutorial/commercial_paper.diagram.6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/tutorial/commercial_paper.diagram.6.png -------------------------------------------------------------------------------- /docs/source/tutorial/commercial_paper.diagram.7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/tutorial/commercial_paper.diagram.7.png -------------------------------------------------------------------------------- /docs/source/tutorial/commercial_paper.diagram.8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/tutorial/commercial_paper.diagram.8.png -------------------------------------------------------------------------------- /docs/source/tutorial/write_first_app.diagram.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/tutorial/write_first_app.diagram.1.png -------------------------------------------------------------------------------- /docs/source/tutorial/write_first_app.diagram.2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/tutorial/write_first_app.diagram.2.png -------------------------------------------------------------------------------- /msp/testdata/idemix/MSP1OU1Admin/ca/IssuerPublicKey: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/msp/testdata/idemix/MSP1OU1Admin/ca/IssuerPublicKey -------------------------------------------------------------------------------- /msp/testdata/idemix/MSP1OU1Admin/ca/IssuerSecretKey: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/msp/testdata/idemix/MSP1OU1Admin/ca/IssuerSecretKey -------------------------------------------------------------------------------- /msp/testdata/idemix/MSP1OU1Admin/user/SignerConfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/msp/testdata/idemix/MSP1OU1Admin/user/SignerConfig -------------------------------------------------------------------------------- /msp/testdata/idemix/MSP1Verifier/ca/IssuerPublicKey: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/msp/testdata/idemix/MSP1Verifier/ca/IssuerPublicKey -------------------------------------------------------------------------------- /msp/testdata/idemix/MSP1Verifier/ca/IssuerSecretKey: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/msp/testdata/idemix/MSP1Verifier/ca/IssuerSecretKey -------------------------------------------------------------------------------- /orderer/consensus/etcdraft/testdata/mychannel.block: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/orderer/consensus/etcdraft/testdata/mychannel.block -------------------------------------------------------------------------------- /devenv/images/openchain-dev-env-deployment-diagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/devenv/images/openchain-dev-env-deployment-diagram.png -------------------------------------------------------------------------------- /docs/source/images/hyperledger_fabric_logo_color.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/images/hyperledger_fabric_logo_color.png -------------------------------------------------------------------------------- /docs/source/private-data/PrivateDataConceptImages.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/private-data/PrivateDataConceptImages.pptx -------------------------------------------------------------------------------- /docs/source/smartcontract/smartcontract.diagram.01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/smartcontract/smartcontract.diagram.01.png -------------------------------------------------------------------------------- /docs/source/smartcontract/smartcontract.diagram.02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/smartcontract/smartcontract.diagram.02.png -------------------------------------------------------------------------------- /docs/source/smartcontract/smartcontract.diagram.03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/smartcontract/smartcontract.diagram.03.png -------------------------------------------------------------------------------- /docs/source/smartcontract/smartcontract.diagram.04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/smartcontract/smartcontract.diagram.04.png -------------------------------------------------------------------------------- /docs/source/smartcontract/smartcontract.diagram.05.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/smartcontract/smartcontract.diagram.05.png -------------------------------------------------------------------------------- /docs/source/tutorial/commercial_paper.diagram.10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/tutorial/commercial_paper.diagram.10.png -------------------------------------------------------------------------------- /docs/source/tutorial/commercial_paper.diagram.11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/tutorial/commercial_paper.diagram.11.png -------------------------------------------------------------------------------- /docs/source/tutorial/commercial_paper.diagram.12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/docs/source/tutorial/commercial_paper.diagram.12.png -------------------------------------------------------------------------------- /msp/testdata/idemix/MSP1OU1Admin/msp/IssuerPublicKey: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/msp/testdata/idemix/MSP1OU1Admin/msp/IssuerPublicKey -------------------------------------------------------------------------------- /msp/testdata/idemix/MSP1Verifier/msp/IssuerPublicKey: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/msp/testdata/idemix/MSP1Verifier/msp/IssuerPublicKey -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/xunit_tests/xunit_tests.go: -------------------------------------------------------------------------------- 1 | package xunit_tests 2 | 3 | func AlwaysTrue() bool { 4 | return true 5 | } 6 | -------------------------------------------------------------------------------- /core/chaincode/persistence/testdata/bad-metadata.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/core/chaincode/persistence/testdata/bad-metadata.tar.gz -------------------------------------------------------------------------------- /core/chaincode/persistence/testdata/good-package.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/core/chaincode/persistence/testdata/good-package.tar.gz -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/no_test_fn/no_test_fn.go: -------------------------------------------------------------------------------- 1 | package no_test_fn 2 | 3 | func StringIdentity(a string) string { 4 | return a 5 | } 6 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/matchers/support/goraph/node/node.go: -------------------------------------------------------------------------------- 1 | package node 2 | 3 | type Node struct { 4 | Id int 5 | } 6 | 7 | type NodeOrderedSet []Node 8 | -------------------------------------------------------------------------------- /vendor/github.com/pierrec/lz4/debug_stub.go: -------------------------------------------------------------------------------- 1 | // +build !lz4debug 2 | 3 | package lz4 4 | 5 | const debugFlag = false 6 | 7 | func debug(args ...interface{}) {} 8 | -------------------------------------------------------------------------------- /vendor/github.com/rcrowley/go-metrics/runtime_no_cgo.go: -------------------------------------------------------------------------------- 1 | // +build !cgo appengine 2 | 3 | package metrics 4 | 5 | func numCgoCall() int64 { 6 | return 0 7 | } 8 | -------------------------------------------------------------------------------- /core/chaincode/persistence/testdata/corrupted-header.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/core/chaincode/persistence/testdata/corrupted-header.tar.gz -------------------------------------------------------------------------------- /core/chaincode/persistence/testdata/missing-metadata.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/core/chaincode/persistence/testdata/missing-metadata.tar.gz -------------------------------------------------------------------------------- /core/chaincode/persistence/testdata/non-regular-file.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/core/chaincode/persistence/testdata/non-regular-file.tar.gz -------------------------------------------------------------------------------- /core/chaincode/persistence/testdata/too-many-files.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/core/chaincode/persistence/testdata/too-many-files.tar.gz -------------------------------------------------------------------------------- /orderer/consensus/etcdraft/testdata/etcdraftgenesis.block: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/orderer/consensus/etcdraft/testdata/etcdraftgenesis.block -------------------------------------------------------------------------------- /core/chaincode/persistence/testdata/corrupted-package.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/core/chaincode/persistence/testdata/corrupted-package.tar.gz -------------------------------------------------------------------------------- /core/container/util/testdata/sourcefiles/src/main.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright IBM Corp. All Rights Reserved. 3 | 4 | SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | package main 8 | -------------------------------------------------------------------------------- /core/ledger/kvledger/tests/testdata/v11/sample_ledgers/ledgersData/.gitignore: -------------------------------------------------------------------------------- 1 | #SPDX-License-Identifier: Apache-2.0 2 | 3 | # level db snapshot contains '.log' files 4 | !**/*.log -------------------------------------------------------------------------------- /scripts/check_deps.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -e 2 | 3 | # Copyright IBM Corp All Rights Reserved. 4 | # 5 | # SPDX-License-Identifier: Apache-2.0 6 | 7 | dep version 8 | dep check 9 | -------------------------------------------------------------------------------- /vendor/github.com/Azure/go-ansiterm/context.go: -------------------------------------------------------------------------------- 1 | package ansiterm 2 | 3 | type ansiContext struct { 4 | currentChar byte 5 | paramBuffer []byte 6 | interBuffer []byte 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/more_ginkgo_tests/more_ginkgo_tests.go: -------------------------------------------------------------------------------- 1 | package more_ginkgo_tests 2 | 3 | func AlwaysTrue() bool { 4 | return true 5 | } 6 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/etcd/NOTICE: -------------------------------------------------------------------------------- 1 | CoreOS Project 2 | Copyright 2014 CoreOS, Inc 3 | 4 | This product includes software developed at CoreOS, Inc. 5 | (http://www.coreos.com/). 6 | -------------------------------------------------------------------------------- /core/chaincode/persistence/testdata/missing-codepackage.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/core/chaincode/persistence/testdata/missing-codepackage.tar.gz -------------------------------------------------------------------------------- /examples/chaincode/go/marbles02/META-INF/statedb/couchdb/indexes/indexOwner.json: -------------------------------------------------------------------------------- 1 | {"index":{"fields":["docType","owner"]},"ddoc":"indexOwnerDoc", "name":"indexOwner","type":"json"} 2 | -------------------------------------------------------------------------------- /vendor/github.com/coreos/pkg/NOTICE: -------------------------------------------------------------------------------- 1 | CoreOS Project 2 | Copyright 2014 CoreOS, Inc 3 | 4 | This product includes software developed at CoreOS, Inc. 5 | (http://www.coreos.com/). 6 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/A/A.go: -------------------------------------------------------------------------------- 1 | package A 2 | 3 | import "github.com/onsi/B" 4 | 5 | func DoIt() string { 6 | return B.DoIt() 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/B/B.go: -------------------------------------------------------------------------------- 1 | package B 2 | 3 | import "github.com/onsi/C" 4 | 5 | func DoIt() string { 6 | return C.DoIt() 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/watch_fixtures/D/D.go: -------------------------------------------------------------------------------- 1 | package D 2 | 3 | import "github.com/onsi/C" 4 | 5 | func DoIt() string { 6 | return C.DoIt() 7 | } 8 | -------------------------------------------------------------------------------- /core/container/util/testdata/sourcefiles/artifact.xml: -------------------------------------------------------------------------------- 1 | 6 | true 7 | -------------------------------------------------------------------------------- /vendor/github.com/coreos/go-systemd/NOTICE: -------------------------------------------------------------------------------- 1 | CoreOS Project 2 | Copyright 2018 CoreOS, Inc 3 | 4 | This product includes software developed at CoreOS, Inc. 5 | (http://www.coreos.com/). 6 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/docs/static_files/contributors.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/vendor/github.com/docker/docker/docs/static_files/contributors.png -------------------------------------------------------------------------------- /vendor/github.com/gorilla/handlers/handlers_pre18.go: -------------------------------------------------------------------------------- 1 | // +build !go1.8 2 | 3 | package handlers 4 | 5 | type loggingResponseWriter interface { 6 | commonLoggingResponseWriter 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/failing_ginkgo_tests/failing_ginkgo_tests.go: -------------------------------------------------------------------------------- 1 | package failing_ginkgo_tests 2 | 3 | func AlwaysFalse() bool { 4 | return false 5 | } 6 | -------------------------------------------------------------------------------- /core/container/util/testdata/sourcefiles/META-INF/statedb/couchdb/indexes/indexOwner.json: -------------------------------------------------------------------------------- 1 | {"index":{"fields":["docType","owner"]},"ddoc":"indexOwnerDoc", "name":"indexOwner","type":"json"} 2 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/ginkgo/interrupthandler/sigquit_swallower_windows.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package interrupthandler 4 | 5 | func SwallowSigQuit() { 6 | //noop 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/gomega/matchers/support/goraph/util/util.go: -------------------------------------------------------------------------------- 1 | package util 2 | 3 | import "math" 4 | 5 | func Odd(n int) bool { 6 | return math.Mod(float64(n), 2.0) == 1.0 7 | } 8 | -------------------------------------------------------------------------------- /core/container/util/testdata/BadMetadataUnexpectedFolderContent/main.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright IBM Corp. All Rights Reserved. 3 | 4 | SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | package main 8 | -------------------------------------------------------------------------------- /core/chaincode/platforms/golang/testdata/src/chaincodes/BadMetadataIgnoreHiddenFile/META-INF/.hiddenfile: -------------------------------------------------------------------------------- 1 | This test file has a hidden filename, it should be ignored during golang chaincode packaging tests. 2 | -------------------------------------------------------------------------------- /core/ledger/pvtdatastorage/testdata/v11_v12/ledgersData/pvtdataStore/000002.ldb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/core/ledger/pvtdatastorage/testdata/v11_v12/ledgersData/pvtdataStore/000002.ldb -------------------------------------------------------------------------------- /core/ledger/pvtdatastorage/testdata/v11_v12/ledgersData/pvtdataStore/000005.ldb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/core/ledger/pvtdatastorage/testdata/v11_v12/ledgersData/pvtdataStore/000005.ldb -------------------------------------------------------------------------------- /protos/ledger/rwset/kvrwset/tests/kvrwsetV1ProtoBytes: -------------------------------------------------------------------------------- 1 | 2 | 3 | key1$ 4 | k0k9" 5 | 6 | 7 | k1 8 | 9 | 10 | k2" 11 | k00k90*Hash-1Hash-2 12 | key2value2 -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_js.go: -------------------------------------------------------------------------------- 1 | // +build js 2 | 3 | package logrus 4 | 5 | import ( 6 | "io" 7 | ) 8 | 9 | func checkIfTerminal(w io.Writer) bool { 10 | return false 11 | } 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sync/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /common/tools/cryptogen/msp/msp_internal_test.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright IBM Corp. All Rights Reserved. 3 | 4 | SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | package msp 8 | 9 | var ExportConfig = exportConfig 10 | -------------------------------------------------------------------------------- /core/ledger/pvtdatastorage/testdata/v11_v12/ledgersData/pvtdataStore/MANIFEST-000065: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/core/ledger/pvtdatastorage/testdata/v11_v12/ledgersData/pvtdataStore/MANIFEST-000065 -------------------------------------------------------------------------------- /vendor/github.com/Microsoft/go-winio/syscall.go: -------------------------------------------------------------------------------- 1 | package winio 2 | 3 | //go:generate go run $GOROOT/src/syscall/mksyscall_windows.go -output zsyscall_windows.go file.go pipe.go sd.go fileinfo.go privilege.go backup.go 4 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/flags_tests/flags.go: -------------------------------------------------------------------------------- 1 | package flags 2 | 3 | func Tested() string { 4 | return "tested" 5 | } 6 | 7 | func Untested() string { 8 | return "untested" 9 | } 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at https://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at https://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sync/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/github.com/Knetic/govaluate/ExpressionToken.go: -------------------------------------------------------------------------------- 1 | package govaluate 2 | 3 | /* 4 | Represents a single parsed token. 5 | */ 6 | type ExpressionToken struct { 7 | Kind TokenKind 8 | Value interface{} 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/golang/protobuf/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/github.com/golang/protobuf/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_appengine.go: -------------------------------------------------------------------------------- 1 | // +build appengine 2 | 3 | package logrus 4 | 5 | import ( 6 | "io" 7 | ) 8 | 9 | func checkIfTerminal(w io.Writer) bool { 10 | return true 11 | } 12 | -------------------------------------------------------------------------------- /core/container/util/testdata/BadMetadataInvalidIndex/META-INF/statedb/couchdb/indexes/bad.json: -------------------------------------------------------------------------------- 1 | This test file is expected to contain a json formatted couchdb index, but does not. It should fail golang chaincode packaging tests. 2 | -------------------------------------------------------------------------------- /vendor/github.com/rcrowley/go-metrics/runtime_cgo.go: -------------------------------------------------------------------------------- 1 | // +build cgo 2 | // +build !appengine 3 | 4 | package metrics 5 | 6 | import "runtime" 7 | 8 | func numCgoCall() int64 { 9 | return runtime.NumCgoCall() 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/rcrowley/go-metrics/runtime_no_gccpufraction.go: -------------------------------------------------------------------------------- 1 | // +build !go1.5 2 | 3 | package metrics 4 | 5 | import "runtime" 6 | 7 | func gcCPUFraction(memStats *runtime.MemStats) float64 { 8 | return 0 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/willf/bitset/trailing_zeros_19.go: -------------------------------------------------------------------------------- 1 | // +build go1.9 2 | 3 | package bitset 4 | 5 | import "math/bits" 6 | 7 | func trailingZeroes64(v uint64) uint { 8 | return uint(bits.TrailingZeros64(v)) 9 | } 10 | -------------------------------------------------------------------------------- /core/chaincode/platforms/car/testdata/org.hyperledger.chaincode.example02-0.1-SNAPSHOT.car: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/core/chaincode/platforms/car/testdata/org.hyperledger.chaincode.example02-0.1-SNAPSHOT.car -------------------------------------------------------------------------------- /core/container/util/testdata/BadMetadataUnexpectedFolderContent/META-INF/unsupported_metadata_location.json: -------------------------------------------------------------------------------- 1 | This test file is located at an unexpected metadata location under META-INF. It should fail golang chaincode packaging tests. 2 | -------------------------------------------------------------------------------- /core/ledger/kvledger/tests/testdata/v11/sample_ledgers/ledgersData/chains/index/000001.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/core/ledger/kvledger/tests/testdata/v11/sample_ledgers/ledgersData/chains/index/000001.log -------------------------------------------------------------------------------- /core/ledger/kvledger/tests/testdata/v11/sample_ledgers/ledgersData/pvtdataStore/000001.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/core/ledger/kvledger/tests/testdata/v11/sample_ledgers/ledgersData/pvtdataStore/000001.log -------------------------------------------------------------------------------- /core/ledger/kvledger/tests/testdata/v11/sample_ledgers/ledgersData/stateLeveldb/000001.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/core/ledger/kvledger/tests/testdata/v11/sample_ledgers/ledgersData/stateLeveldb/000001.log -------------------------------------------------------------------------------- /peer/common/testdata/certs/bad.key: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgg6BAaCpwlmg/hEP4 3 | QjUeWEu3crkxMvjq4vYh3LaDREuhRANCAAR+FujNKcGQW/CEpMU6Yp45ye2cbOwJ 4 | -----END PRIVATE KEY----- 5 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/client_model/NOTICE: -------------------------------------------------------------------------------- 1 | Data model artifacts for Prometheus. 2 | Copyright 2012-2015 The Prometheus Authors 3 | 4 | This product includes software developed at 5 | SoundCloud Ltd. (http://soundcloud.com/). 6 | -------------------------------------------------------------------------------- /core/ledger/kvledger/tests/testdata/v11/sample_ledgers/ledgersData/ledgerProvider/000001.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/core/ledger/kvledger/tests/testdata/v11/sample_ledgers/ledgersData/ledgerProvider/000001.log -------------------------------------------------------------------------------- /vendor/github.com/prometheus/common/NOTICE: -------------------------------------------------------------------------------- 1 | Common libraries shared by Prometheus Go components. 2 | Copyright 2015 The Prometheus Authors 3 | 4 | This product includes software developed at 5 | SoundCloud Ltd. (http://soundcloud.com/). 6 | -------------------------------------------------------------------------------- /core/ledger/kvledger/tests/testdata/v11/sample_ledgers/ledgersData/chains/index/MANIFEST-000000: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/core/ledger/kvledger/tests/testdata/v11/sample_ledgers/ledgersData/chains/index/MANIFEST-000000 -------------------------------------------------------------------------------- /core/ledger/kvledger/tests/testdata/v11/sample_ledgers/ledgersData/pvtdataStore/MANIFEST-000000: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/core/ledger/kvledger/tests/testdata/v11/sample_ledgers/ledgersData/pvtdataStore/MANIFEST-000000 -------------------------------------------------------------------------------- /core/ledger/kvledger/tests/testdata/v11/sample_ledgers/ledgersData/stateLeveldb/MANIFEST-000000: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/core/ledger/kvledger/tests/testdata/v11/sample_ledgers/ledgersData/stateLeveldb/MANIFEST-000000 -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/suite_command_tests/suite_command.go: -------------------------------------------------------------------------------- 1 | package suite_command 2 | 3 | func Tested() string { 4 | return "tested" 5 | } 6 | 7 | func Untested() string { 8 | return "untested" 9 | } 10 | -------------------------------------------------------------------------------- /vendor/gopkg.in/alecthomas/kingpin.v2/guesswidth.go: -------------------------------------------------------------------------------- 1 | // +build appengine !linux,!freebsd,!darwin,!dragonfly,!netbsd,!openbsd 2 | 3 | package kingpin 4 | 5 | import "io" 6 | 7 | func guessWidth(w io.Writer) int { 8 | return 80 9 | } 10 | -------------------------------------------------------------------------------- /core/ledger/kvledger/tests/testdata/v11/sample_ledgers/ledgersData/historyLeveldb/MANIFEST-000000: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/core/ledger/kvledger/tests/testdata/v11/sample_ledgers/ledgersData/historyLeveldb/MANIFEST-000000 -------------------------------------------------------------------------------- /core/ledger/kvledger/tests/testdata/v11/sample_ledgers/ledgersData/ledgerProvider/MANIFEST-000000: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/core/ledger/kvledger/tests/testdata/v11/sample_ledgers/ledgersData/ledgerProvider/MANIFEST-000000 -------------------------------------------------------------------------------- /integration/sbe/testdata/collection_config.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "name": "col", 4 | "policy": "OR('Org1MSP.peer', 'Org2MSP.peer')", 5 | "requiredPeerCount": 2, 6 | "maxPeerCount": 2, 7 | "blockToLive":1000000 8 | } 9 | ] 10 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/mount/mountinfo_windows.go: -------------------------------------------------------------------------------- 1 | package mount // import "github.com/docker/docker/pkg/mount" 2 | 3 | func parseMountTable(f FilterFunc) ([]*Info, error) { 4 | // Do NOT return an error! 5 | return nil, nil 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-runewidth/runewidth_js.go: -------------------------------------------------------------------------------- 1 | // +build js 2 | 3 | package runewidth 4 | 5 | func IsEastAsian() bool { 6 | // TODO: Implement this for the web. Detect east asian in a compatible way, and return true. 7 | return false 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/rcrowley/go-metrics/runtime_gccpufraction.go: -------------------------------------------------------------------------------- 1 | // +build go1.5 2 | 3 | package metrics 4 | 5 | import "runtime" 6 | 7 | func gcCPUFraction(memStats *runtime.MemStats) float64 { 8 | return memStats.GCCPUFraction 9 | } 10 | -------------------------------------------------------------------------------- /cmd/common/testdata/valid_config/config.yaml: -------------------------------------------------------------------------------- 1 | version: 0 2 | tlsconfig: 3 | certpath: "" 4 | keypath: "" 5 | peercacertpath: "" 6 | timeout: 0s 7 | signerconfig: 8 | mspid: SampleOrg 9 | identitypath: cert.pem 10 | keypath: key.pem 11 | -------------------------------------------------------------------------------- /core/chaincode/platforms/golang/testdata/src/chaincodes/BadMetadataInvalidIndex/META-INF/statedb/couchdb/indexes/bad.json: -------------------------------------------------------------------------------- 1 | This test file is expected to contain a json formatted couchdb index, but does not. It should fail golang chaincode packaging tests. 2 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/opts/hosts_windows.go: -------------------------------------------------------------------------------- 1 | package opts // import "github.com/docker/docker/opts" 2 | 3 | // DefaultHost constant defines the default host string used by docker on Windows 4 | var DefaultHost = "npipe://" + DefaultNamedPipe 5 | -------------------------------------------------------------------------------- /core/chaincode/platforms/golang/testdata/src/chaincodes/BadMetadataUnexpectedFolderContent/META-INF/unsupported_metadata_ocation.json: -------------------------------------------------------------------------------- 1 | This test file is located at an unexpected metadata location under META-INF. It should fail golang chaincode packaging tests. 2 | -------------------------------------------------------------------------------- /msp/testdata/badadmin/config.yaml: -------------------------------------------------------------------------------- 1 | # Copyright IBM Corp. All Rights Reserved. 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | 6 | OrganizationalUnitIdentifiers: 7 | - Certificate: "cacerts/cacert.pem" 8 | OrganizationalUnitIdentifier: "COP1" 9 | -------------------------------------------------------------------------------- /msp/testdata/badconfigoucert/config.yaml: -------------------------------------------------------------------------------- 1 | # Copyright IBM Corp. All Rights Reserved. 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | 6 | OrganizationalUnitIdentifiers: 7 | - Certificate: "signcerts/peer.pem" 8 | OrganizationalUnitIdentifier: "COP" -------------------------------------------------------------------------------- /vendor/github.com/op/go-logging/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | Alec Thomas 2 | Guilhem Lettron 3 | Ivan Daniluk 4 | Nimi Wariboko Jr 5 | Róbert Selvek 6 | -------------------------------------------------------------------------------- /core/ledger/kvledger/tests/testdata/v11/sample_ledgers/ledgersData/chains/chains/ledger1/blockfile_000000: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/core/ledger/kvledger/tests/testdata/v11/sample_ledgers/ledgersData/chains/chains/ledger1/blockfile_000000 -------------------------------------------------------------------------------- /core/ledger/kvledger/tests/testdata/v11/sample_ledgers/ledgersData/chains/chains/ledger2/blockfile_000000: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/core/ledger/kvledger/tests/testdata/v11/sample_ledgers/ledgersData/chains/chains/ledger2/blockfile_000000 -------------------------------------------------------------------------------- /msp/testdata/badconfigou/config.yaml: -------------------------------------------------------------------------------- 1 | # Copyright IBM Corp. All Rights Reserved. 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | 6 | OrganizationalUnitIdentifiers: 7 | - Certificate: "cacerts/cacert.pem" 8 | OrganizationalUnitIdentifier: "COP1" 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/init_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package system // import "github.com/docker/docker/pkg/system" 4 | 5 | // InitLCOW does nothing since LCOW is a windows only feature 6 | func InitLCOW(experimental bool) { 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/internal/remote/syscall_dup_solaris.go: -------------------------------------------------------------------------------- 1 | // +build solaris 2 | 3 | package remote 4 | 5 | import "golang.org/x/sys/unix" 6 | 7 | func syscallDup(oldfd int, newfd int) (err error) { 8 | return unix.Dup2(oldfd, newfd) 9 | } 10 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.sh text eol=lf 2 | *.go text eol=lf 3 | *.yaml text eol=lf 4 | *.yml text eol=lf 5 | *.md text eol=lf 6 | *.json text eol=lf 7 | *.proto text eol=lf 8 | *.py text eol=lf 9 | *.js text eol=lf 10 | *.txt text eol=lf 11 | LICENSE text eol=lf 12 | -------------------------------------------------------------------------------- /docs/source/developapps/transactioncontext.md: -------------------------------------------------------------------------------- 1 | # Transaction context 2 | 3 | Content being added in FAB-10440 4 | 5 | ## Structure 6 | 7 | 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/api/types/swarm/runtime/gen.go: -------------------------------------------------------------------------------- 1 | //go:generate protoc -I . --gogofast_out=import_path=github.com/docker/docker/api/types/swarm/runtime:. plugin.proto 2 | 3 | package runtime // import "github.com/docker/docker/api/types/swarm/runtime" 4 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/passing_ginkgo_tests/passing_ginkgo_tests.go: -------------------------------------------------------------------------------- 1 | package passing_ginkgo_tests 2 | 3 | func StringIdentity(a string) string { 4 | return a 5 | } 6 | 7 | func IntegerIdentity(a int) int { 8 | return a 9 | } 10 | -------------------------------------------------------------------------------- /msp/testdata/tls/keystore/key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIHACRdTlDyxk3FDWv2ysl6OnwX5KEKS7TiCOUOGkgq70oAoGCCqGSM49 3 | AwEHoUQDQgAEo3MuMHJxWMv4JPi4UXaQ4WU1YJVdiuzOJ3l6mJ/+KXQYCoLV2Fxl 4 | VuEuf4Qa6t5+gn0wGEflQc8ZOpEs0gq1kA== 5 | -----END EC PRIVATE KEY----- -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/lcow_windows.go: -------------------------------------------------------------------------------- 1 | package system // import "github.com/docker/docker/pkg/system" 2 | 3 | // LCOWSupported returns true if Linux containers on Windows are supported. 4 | func LCOWSupported() bool { 5 | return lcowSupported 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/coverage_fixture/external_coverage_fixture/external_coverage.go: -------------------------------------------------------------------------------- 1 | package external_coverage 2 | 3 | func Tested() string { 4 | return "tested" 5 | } 6 | 7 | func Untested() string { 8 | return "untested" 9 | } 10 | -------------------------------------------------------------------------------- /vendor/gopkg.in/cheggaaa/pb.v1/termios_bsd.go: -------------------------------------------------------------------------------- 1 | // +build darwin freebsd netbsd openbsd dragonfly 2 | // +build !appengine 3 | 4 | package pb 5 | 6 | import "syscall" 7 | 8 | const ioctlReadTermios = syscall.TIOCGETA 9 | const ioctlWriteTermios = syscall.TIOCSETA 10 | -------------------------------------------------------------------------------- /msp/testdata/external/keystore/key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIHACRdTlDyxk3FDWv2ysl6OnwX5KEKS7TiCOUOGkgq70oAoGCCqGSM49 3 | AwEHoUQDQgAEo3MuMHJxWMv4JPi4UXaQ4WU1YJVdiuzOJ3l6mJ/+KXQYCoLV2Fxl 4 | VuEuf4Qa6t5+gn0wGEflQc8ZOpEs0gq1kA== 5 | -----END EC PRIVATE KEY----- -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org1-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEINWROTDvcM6Li142MO4d71das6/qKlkPBEaVWvVj+kB2oAoGCCqGSM49 3 | AwEHoUQDQgAEVOI+oAABPl+iRsCcGq81WbXap2L1r432T5gbzUNKYRvVsyFFYmdO 4 | 8ql8uDi4UxSY64eaeRFTuxdcsTG7M5K2yQ== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org2-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEICPfzizCmGyTIDe67doDZQB3SbyY34AjAvC5OXAchuwqoAoGCCqGSM49 3 | AwEHoUQDQgAE5pwa9E3owGR7GHtxI7yaABwFFH45F/yK+HMlVyYKzpzsqN/Z9R+p 4 | ypX8pLuZREO1UuKMe1meREfXBdx7ttFDNg== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/peer/testdata/Org1-server1-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEICfXQtVmdQAlp/l9umWJqCXNTDurmciDNmGHPpxHwUK/oAoGCCqGSM49 3 | AwEHoUQDQgAECb7YJmFuaycD4cpDKdcrPt9Vm+/CW/8N02Dcx2DuUhw/bPRvTv94 4 | BnnRyF0k1yM0B39ACP+aYYbh05t6jihMoQ== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/peer/testdata/Org2-child1-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEILECltESx3k5sQRtCt5rQEAo9cvTDyPxjv2UT092SY2NoAoGCCqGSM49 3 | AwEHoUQDQgAEUwSfP6NbaRz8LosWA4EcHK8wK7tHFiSYROilhwGtLwQhuJ5dM440 4 | UqIPogLlHGOGf4CaB6JenSkh5PYeY66rRA== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/peer/testdata/Org2-server1-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIHpb9jJemQ/0ODY4gM1fN+42SQ3+fAoU5vbiWFbFZ4i7oAoGCCqGSM49 3 | AwEHoUQDQgAE/upgMhgdFQWhgkojByygEkt/6vIVGwWF5o6NdZoAzCJJBsMqkb0l 4 | CORLDG+l0UuFJR/F7dTbAPvZuFY9Slpeaw== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/peer/testdata/Org3-server1-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIGTkwJcw9zftKoRk4Qo/74MFO3a+3Wu/E2s58uVDeudgoAoGCCqGSM49 3 | AwEHoUQDQgAEX1hweplf/CRwhjHBTvPKiCLCozo+Ed83UrqlXXn9+g2D0LK35v0Q 4 | pQpNEjBBGjnIE0Yng7FRQZoJVFbQNW4ZcQ== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /msp/testdata/badconfigou/keystore/key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIAu4YO8nk0V76CpJLoAZlqXhUE3dpDnQgOkkKkhcUu4FoAoGCCqGSM49 3 | AwEHoUQDQgAED1djgCwdEwB+sKm2zCbTUFTd6PNkg4IzzVsgpJXIHIILgI1FQf4K 4 | mLbwjeG93ToqWqjHl6/XBIY2nL9JNZ8kcg== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /msp/testdata/idemix/MSP1OU1/msp/RevocationPublicKey: -------------------------------------------------------------------------------- 1 | -----BEGIN PUBLIC KEY----- 2 | MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE76UE50n31TB34E3tEHi9vyaLXEJIpxF6 3 | Ur1eWKRIpZ7Pyi55fHg93nM2kKwglbX6LLRIl0nzMLhgvwJpIlVh+REM63cNj9D0 4 | 80OaN8HetLRG7Hpj7ipR3Q4VjZ0x22ZC 5 | -----END PUBLIC KEY----- 6 | -------------------------------------------------------------------------------- /msp/testdata/idemix/MSP1OU2/msp/RevocationPublicKey: -------------------------------------------------------------------------------- 1 | -----BEGIN PUBLIC KEY----- 2 | MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE76UE50n31TB34E3tEHi9vyaLXEJIpxF6 3 | Ur1eWKRIpZ7Pyi55fHg93nM2kKwglbX6LLRIl0nzMLhgvwJpIlVh+REM63cNj9D0 4 | 80OaN8HetLRG7Hpj7ipR3Q4VjZ0x22ZC 5 | -----END PUBLIC KEY----- 6 | -------------------------------------------------------------------------------- /msp/testdata/idemix/MSP2OU1/msp/RevocationPublicKey: -------------------------------------------------------------------------------- 1 | -----BEGIN PUBLIC KEY----- 2 | MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAEoc+ntp+JIxCPwJpCHIshpVV5a3LqZzY0 3 | jd8ILa+1r77ZoZqzEsTUTWvsALmhynC8FJUb3/0usbMM3RWlpEjr+29F0K5aUz2Z 4 | G2O5deGo6eB9y3uncOA/Fo+jy4AwOhF3 5 | -----END PUBLIC KEY----- 6 | -------------------------------------------------------------------------------- /vendor/github.com/go-kit/kit/log/nop_logger.go: -------------------------------------------------------------------------------- 1 | package log 2 | 3 | type nopLogger struct{} 4 | 5 | // NewNopLogger returns a logger that doesn't do anything. 6 | func NewNopLogger() Logger { return nopLogger{} } 7 | 8 | func (nopLogger) Log(...interface{}) error { return nil } 9 | -------------------------------------------------------------------------------- /vendor/github.com/gogo/protobuf/GOLANG_CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | The contributors to the Go protobuf repository: 2 | 3 | # This source code was written by the Go contributors. 4 | # The master list of contributors is in the main Go distribution, 5 | # visible at http://tip.golang.org/CONTRIBUTORS. -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org1-child1-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEICE+hiFM1+dMGhAHoD7vSJve49PhakF91K/j1jDqiAxSoAoGCCqGSM49 3 | AwEHoUQDQgAEKouFmc+ZqdYq0q3GfFaYGEft4/Sr8nSbpwBY7LVM8tyjsKpouk/C 4 | /NOoQZoCG56xt8ShR7JUSRyOPrrZNJULVA== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org1-child2-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIDCQcN4pwQ70xDntA3y8JroGqoR1BySF5VM9kwIMtImvoAoGCCqGSM49 3 | AwEHoUQDQgAEOLDFzWG32T8b86FdpN9M+8FJzVgVDkgAjpYHI1ZMuN5HiJmHtOF+ 4 | yqgW+DdCq89AcCATIapWJfQfAxYt1YYhUA== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org1-client1-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEINVHep4/z6iPa151Ipp4MmCb1l/VKkY3vuMfUQf3LhQboAoGCCqGSM49 3 | AwEHoUQDQgAEcE6hZ7muszSi5wXIVKPdIuLYPTIxQxj+jekPRfFnJF/RJKM0Nj3T 4 | Bk9spwCHwu1t3REyobjaZcFQk0y32Pje5A== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org1-client2-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIHyMVchnq8AejNfFrJ21w2xpeBFUZngtIXYppETD63htoAoGCCqGSM49 3 | AwEHoUQDQgAE9gBkbcasXNhSq7tl5xZFdhyjQgjZmdwkPaDRor6+o+71IY2IoEXy 4 | KGO81IFIPyp5ll3fIuOmCSfPE7jyKuYq/g== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org1-server1-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIAkkp8rbeZ7rFXOFai94Bhnnli2ziX4eJ2jDMX0urCAxoAoGCCqGSM49 3 | AwEHoUQDQgAEd0zitPjYjZnOMpL/Up1XFb+O0gLsr1Oe+O+ycZJ5UT3qRA2UzNoU 4 | aUDAwkOV4ZY94c1iWe6cAZcILARyyhWWDQ== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org1-server2-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIDXcyUCV8EvKQZZzIZBkXehN/7lapE8iqkvTGI7Xy+GpoAoGCCqGSM49 3 | AwEHoUQDQgAEh4rNIwJfqstz4PYgjOCOB+2N7Ibs9j4Itqluq+up4SiWotDFUSMO 4 | tuj5nUZPSO5CMWduUDrMfKljgXa1Nh9dyQ== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org2-child1-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEINsFs+zWVWrvjmSwbAJ1xry93NOCnjm8hzV4vG/xSRnmoAoGCCqGSM49 3 | AwEHoUQDQgAElwjnf54pbbp8BqWNZfMoqRzg8A101sYcpx/hCu5IMAcYX+UAnh3n 4 | IzthY38J2f27sBWf/JplAxR/9CB2rgdGJg== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org2-child2-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIBMR8FdTgqe7DdIjk5jMoPVAYfMHOGoaG61SlUnYPa7xoAoGCCqGSM49 3 | AwEHoUQDQgAEv9uf0HFbsWIX97AyUjsyDTUcjd5G95Rf8I39Ms+TUBU1cGEZCad3 4 | DVLWJ33jAyKdFgdDFg8IUtCVaumuuKb55w== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org2-client1-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIPdDp1kovQWJfqmgQZS9rf37rz1eqGAUA7dQNDVKGYRSoAoGCCqGSM49 3 | AwEHoUQDQgAE6mJeETYw819h3UmPUxaW7rDtPXKKsP2Gp5X5rK+0u5muwDPSOCkE 4 | fKiNi8xZ4e4WkSJAGU+RH6JcwJMoaY6ZtA== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org2-client2-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEINB0/N4Wr4sVonDsUMSN3Sd+QocL0SqBBgxofQAfaV9loAoGCCqGSM49 3 | AwEHoUQDQgAEeIibUIxMR6YHufSMqpvqf1eVYXPoBmGbNj110tgJo1JIZnQ1FCmZ 4 | Wv75Xm7aWaoScGei3FNFPDbe8zC9nmjnOg== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org2-server1-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIIDmfSa1A3Eo6CARnAsi7VN4IAQG4/VHlv/IYjGr0B+QoAoGCCqGSM49 3 | AwEHoUQDQgAEeAf5bjlrt7TNLonFS6VJORMKYpNEqrnp1qFOmOPxI2usqPBSByGZ 4 | pf9lmDgKONOScUcik3s2kUYQMyT8CEK4pA== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org2-server2-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIJ+7RmXw+7s3675BKDhzXlqXSeUibOdW5fBafpccpu/loAoGCCqGSM49 3 | AwEHoUQDQgAEI6llfo4K71mICymm2euImZEwNWnEDDLxxNogPnfDoLqSCZeZlIPZ 4 | qktz2ZsZLVEVCBbkEwMJl08Axn5vhnCLGQ== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/peer/testdata/Org2-child1-server1-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIPOWGbAnyV/ubULozdRQKt+kMPrz5l3LVxz80uYpufjQoAoGCCqGSM49 3 | AwEHoUQDQgAEmlsF+xDEaYFUOCWrK+RprJIgqkj9VWQNC44jkklY1LAkEe91rr8f 4 | i80ce8S3HEst8PWwCTod9rUy6rful7VzZQ== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /msp/testdata/badadmin/keystore/key-COP1.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIAGR4/FR6CVRgwG4gqim4CKKd5NH+CbDSQdd9YD5zqVJoAoGCCqGSM49 3 | AwEHoUQDQgAEdo7+VaZWVMdsaVhxHEqIzd+rhpi6ZdIo9rN4ZVgeF8TX2bbSkk6C 4 | IdKpJPjR1jYpjvOxKVtF1UruKxvzpFbPQw== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /msp/testdata/idemix/MSP1OU1Admin/msp/RevocationPublicKey: -------------------------------------------------------------------------------- 1 | -----BEGIN PUBLIC KEY----- 2 | MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE76UE50n31TB34E3tEHi9vyaLXEJIpxF6 3 | Ur1eWKRIpZ7Pyi55fHg93nM2kKwglbX6LLRIl0nzMLhgvwJpIlVh+REM63cNj9D0 4 | 80OaN8HetLRG7Hpj7ipR3Q4VjZ0x22ZC 5 | -----END PUBLIC KEY----- 6 | -------------------------------------------------------------------------------- /msp/testdata/idemix/MSP1Verifier/msp/RevocationPublicKey: -------------------------------------------------------------------------------- 1 | -----BEGIN PUBLIC KEY----- 2 | MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE76UE50n31TB34E3tEHi9vyaLXEJIpxF6 3 | Ur1eWKRIpZ7Pyi55fHg93nM2kKwglbX6LLRIl0nzMLhgvwJpIlVh+REM63cNj9D0 4 | 80OaN8HetLRG7Hpj7ipR3Q4VjZ0x22ZC 5 | -----END PUBLIC KEY----- 6 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/opts/opts_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package opts // import "github.com/docker/docker/opts" 4 | 5 | // DefaultHTTPHost Default HTTP Host used if only port is provided to -H flag e.g. dockerd -H tcp://:8080 6 | const DefaultHTTPHost = "localhost" 7 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/lcow_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package system // import "github.com/docker/docker/pkg/system" 4 | 5 | // LCOWSupported returns true if Linux containers on Windows are supported. 6 | func LCOWSupported() bool { 7 | return false 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/runc/Godeps/_workspace/src/github.com/docker/docker/docs/project/images/red_notice.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dddengyunjie/fabric/HEAD/vendor/github.com/opencontainers/runc/Godeps/_workspace/src/github.com/docker/docker/docs/project/images/red_notice.png -------------------------------------------------------------------------------- /core/comm/testdata/impersonation/orgA/server.key: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIAkkp8rbeZ7rFXOFai94Bhnnli2ziX4eJ2jDMX0urCAxoAoGCCqGSM49 3 | AwEHoUQDQgAEd0zitPjYjZnOMpL/Up1XFb+O0gLsr1Oe+O+ycZJ5UT3qRA2UzNoU 4 | aUDAwkOV4ZY94c1iWe6cAZcILARyyhWWDQ== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/impersonation/orgB/server.key: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIIDmfSa1A3Eo6CARnAsi7VN4IAQG4/VHlv/IYjGr0B+QoAoGCCqGSM49 3 | AwEHoUQDQgAEeAf5bjlrt7TNLonFS6VJORMKYpNEqrnp1qFOmOPxI2usqPBSByGZ 4 | pf9lmDgKONOScUcik3s2kUYQMyT8CEK4pA== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/deliverservice/testdata/key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQg4fKabn/wDrH9CNFt 3 | p41HuWqRZEalrLk0mwkVt42dCWahRANCAASyPS7GHgSfNsvB8X5d8WT291Z1AG+I 4 | e5OpkUtI4Cmqq4lTUz+ba1f22EftkP8AsvO3NV6EBPsTNnUgqwORk4Lu 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /docs/wrappers/peer_node_preamble.md: -------------------------------------------------------------------------------- 1 | # peer node 2 | 3 | The `peer node` command allows an administrator to start a peer node or check 4 | the status of a peer node. 5 | 6 | ## Syntax 7 | 8 | The `peer node` command has the following subcommands: 9 | 10 | * start 11 | * status 12 | -------------------------------------------------------------------------------- /peer/common/testdata/certs/client.key: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgg6BAaCpwlmg/hEP4 3 | QjUeWEu3crkxMvjq4vYh3LaDREuhRANCAAR+FujNKcGQW/CEpMU6Yp45ye2cbOwJ 4 | iB8Ddv41SGYNoaKALIaCxdRj0tLo9CEMhtlnhi3SbTcms1IsRRN+O5UY 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /sampleconfig/msp/keystore/key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgXa3mln4anewXtqrM 3 | hMw6mfZhslkRa/j9P790ToKjlsihRANCAARnxLhXvU4EmnIwhVl3Bh0VcByQi2um 4 | 9KsJ/QdCDjRZb1dKg447voj5SZ8SSZOUglc/v8DJFFJFTfygjwi+27gz 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /cmd/common/comm/testdata/client/key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgJSd74X0TaPasM9Ey 3 | 4DS81fY7CdI1m7COKNyVSjvM/s6hRANCAAR2R3XOqJdFr3ZK0xv1U67jPtpmW+qD 4 | z3TnZacySrpuCP82txGI0NO5emLvy2RJkULpTU6mowFRmpzRbaJ/+0NH 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /cmd/common/comm/testdata/server/key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgjF0UIONy0czJh2Ks 3 | VhTeQ3fgkBmpBMdDb9A2dJ5tUWahRANCAASTEG09s7ypUJKUn+lEHxwSLSfp32zQ 4 | sUxaQQC1BS5l00fRwcUrrAIaSgZy2GoQuNZBSAozgRhqsM/hiwkzCD3T 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org1-child1-client1-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIJBozVe9EJv6DB7M2AGSu+ZDu2LqAxlPPTb/5+KPsw2CoAoGCCqGSM49 3 | AwEHoUQDQgAE/QL3hoUhq1GRKMImbgVL/UcuxRBry8FJHd8ECqQw+yyGSy2kHDjn 4 | HCwU/Tp8ydVQ/tF0aOyW21YKk2a+4ZqHnw== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org1-child1-client2-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEILjb2qiEyJjGw288Ab8rUkez9u5mswhThQOYuHl7676voAoGCCqGSM49 3 | AwEHoUQDQgAEy7Ovrfz05ZfpJCoePUkToT8+cepoLpAWw4JZnGGWxa1usKZ0+XIy 4 | SifcBT+XDwQE2afuTnYrEfDt3bMjB9iaOQ== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org1-child1-server1-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIO/cw3SmIcO8X7U/hY5TUaX8Ueay5kcOGI+YQglHalrNoAoGCCqGSM49 3 | AwEHoUQDQgAEesGNd7pbexjj3XhFX524m2g1JIqViiIEmtrutXJEkuMk2uBIt8pg 4 | DQA0tZrtGa2CSLFbA3bSRemKmNt9+WtMoA== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org1-child1-server2-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEILcrnLMw3iSZlo0ggEQtzSIGEhR2ctJPu5IRQ1lYc50ZoAoGCCqGSM49 3 | AwEHoUQDQgAExvDBanuS7UbDId1uxGZg8gXJoM/oAmWlALlehFeIwJ8HgJtyMZT5 4 | BnpXflB/2OsPNYOcKId2pFU7F67eRX91vA== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org1-child2-client1-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIKR2IrzSVU6ex+zRO3SvzPkx6XbxO9XmHC0yGvR6rNtRoAoGCCqGSM49 3 | AwEHoUQDQgAE8JHPuEfKQ0tUCi60d0NKjKuWq6ftGGfOcr7ySx2KWjUjdynrCt1F 4 | SQAZRRW2GPzm2rVa+NOFIY2t4m+3Uiad9g== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org1-child2-client2-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIE7M2bia31j6vyT1/tdzsWCWXeoGBh1DGJXtDf9VlvPWoAoGCCqGSM49 3 | AwEHoUQDQgAEiCM9QOndq5kCYEoDXPzg7X0BEkRxqdNUljyry9yMrp5jGZomNDh7 4 | gan/86px0Fywly0b9VymeUDZMdmCpqgwng== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org1-child2-server1-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIBY3frDJGPXYOVq1aYgsarUkW5Gnwnh9EjdKUo55wAfKoAoGCCqGSM49 3 | AwEHoUQDQgAERcGTn+HM6w9i2IzOYzCuAUocgYhsNfqMKfWrVWwl2VmmbrD05dsO 4 | hbGbUm8LKoVkm0xQy7iKGYhsju74dZV/Yw== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org1-child2-server2-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIKfddaKjLtPaEUaXqK7UNvKntDEqUKWDFj+vLp6r2AQyoAoGCCqGSM49 3 | AwEHoUQDQgAEXHmhRwQoirXEXv2ZM61I4q6qzB2liXhn2E7KmDftitMUUDALm5Kh 4 | htzw1c7sBbqpFa9M1DjXYWZxh5KdKVjAtA== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org2-child1-client1-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIHDbB8rcNWgpnvjw3rGb1vRjpz344/RGhM16L30q22h0oAoGCCqGSM49 3 | AwEHoUQDQgAE2unUgbEwZCAX1KEod3okX+hiCbhZSUKPQsWUdflJUeUNs+QgX3cK 4 | P3cJny9Cz/QwK6W7tHnjjTduTqS1/WYOdQ== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org2-child1-client2-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEINs92HUGXl6MamBY5XSOUwkO+eNvwtt/YWWk+6V1iUmzoAoGCCqGSM49 3 | AwEHoUQDQgAEuBHPafPq0OgHhw1vR6pC1enlQ6JoY/1EDxI4fbYJKGTJ9C/1tacZ 4 | b7H0QZpfaZYF5CVx4+kJQLhT0PiP8z94nQ== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org2-child1-server1-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIMYv+XGyXrooJQl5c3afeWp3oOz4wgK2vhj+5+mZQpXuoAoGCCqGSM49 3 | AwEHoUQDQgAEjA9jcgNnm3xn1LBgwtrJYlIVir/ZijyuiiBf5Q+UgVRV1/5PI1Ho 4 | DzJfOPZbIvof2Dth66xyN4iqzHdrG+qLrQ== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org2-child1-server2-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIAwiG2fPNeYbhbRXSVKdYuHpcFGFvGFVHMs6wWrGL4FGoAoGCCqGSM49 3 | AwEHoUQDQgAE+A9ZDKH/C0rGcb+iRWnpuqFny0EZ67Z0SifnOoeBQW5c4QYcxLqM 4 | WG8Rg3YpG8uNa5OOuZpAfowgDUrUisVP7g== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org2-child2-client1-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIIDbVu1RHsoAOZI302qdTunHbTvHeeA/7U9TOeKvsVdXoAoGCCqGSM49 3 | AwEHoUQDQgAE51qXXc+pm85TxTA4b6/cOq4hYHWqHQMcVDYfSs3VUehFrUhx6vU0 4 | hXQOR4/RD+z8mfjzhl965kQTd/LvGoMm3w== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org2-child2-client2-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIHU767dhj0UVA9wYzUarAq1kyJhnNFo8C0BCfVk1wGeZoAoGCCqGSM49 3 | AwEHoUQDQgAE/aq3uqIwzf1N9nCtA6KXyJdBKY+7NZApuS1RQU9TVbcld0E5pfuv 4 | zCSP3XAccj9TmhgdAMpZVorJJEnaQpJQEg== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org2-child2-server1-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIPLV9Mc8EWRPXOcR/znEP8ArJ9YidRD3iJhJU8KrlMH1oAoGCCqGSM49 3 | AwEHoUQDQgAEdl9JCEyvH/euk9lgxahR69pBhc7QOJNI8gzYA9cp5kUuv4PHsB7M 4 | XxP9JyHAOH+tKtz0M9px6R7OW2j1t0aV9A== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/certs/Org2-child2-server2-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIDkRdqR6KlHE591+uXrdwgpy2Q5js1y2ZmIwEemxxTTzoAoGCCqGSM49 3 | AwEHoUQDQgAE52UGklgTNeIxMzi2+EYPO6Nn5o6Dydk6jdMHFaXMk1PRSWKfYLyb 4 | hd76vmkr8PGGO3JYqYXdRmqQFsrdkl1dSQ== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /discovery/client/testdata/client/key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgJSd74X0TaPasM9Ey 3 | 4DS81fY7CdI1m7COKNyVSjvM/s6hRANCAAR2R3XOqJdFr3ZK0xv1U67jPtpmW+qD 4 | z3TnZacySrpuCP82txGI0NO5emLvy2RJkULpTU6mowFRmpzRbaJ/+0NH 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /discovery/client/testdata/server/key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgjF0UIONy0czJh2Ks 3 | VhTeQ3fgkBmpBMdDb9A2dJ5tUWahRANCAASTEG09s7ypUJKUn+lEHxwSLSfp32zQ 4 | sUxaQQC1BS5l00fRwcUrrAIaSgZy2GoQuNZBSAozgRhqsM/hiwkzCD3T 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /integration/discovery/testdata/collections_config1.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "name": "collectionMarbles", 4 | "policy": "OR('Org1MSP.member', 'Org2MSP.member')", 5 | "requiredPeerCount": 1, 6 | "maxPeerCount": 2, 7 | "blockToLive":1000000 8 | } 9 | ] 10 | -------------------------------------------------------------------------------- /msp/testdata/intermediate/keystore/key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgTNlF7jY6jBKQGLqs 3 | AgllL7utSIRxZdxy4fexQaNX7JKhRANCAAT3WqE6zy7kgdDbN4Ecv+1ITEjFnOpJ 4 | 52oi5lrBfXhFt+F12qLqSuYs0EqJL0VvbtKZMkdXAkgQB26ifAAvqtTn 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /msp/testdata/nodeous1/keystore/key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgXa3mln4anewXtqrM 3 | hMw6mfZhslkRa/j9P790ToKjlsihRANCAARnxLhXvU4EmnIwhVl3Bh0VcByQi2um 4 | 9KsJ/QdCDjRZb1dKg447voj5SZ8SSZOUglc/v8DJFFJFTfygjwi+27gz 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /msp/testdata/revokedica/keystore/key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgYV78DPlUOeRDAsOl 3 | VfZMheUFtsloDxt2jMQ2pEKHG9GhRANCAASeSmDdDmjMnbl8NbeVNO6Vdvb7EgK2 4 | uG5RUBz8vsdizGP5FcZGkA21BgLkgjj9MHHqlL1xJBMS+VItLhnDSuLe 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /orderer/common/cluster/testdata/server.key: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgP0K7Hf7I6XoXLHif 3 | lSTYSUjqLUiYN5jBvJ4F0W52+XmhRANCAATRG9wa4psc4NGylfnc2NRs+9RkY+1F 4 | pz+b0sV66mthHKa1LqSvjJbvh36t7pttIbdHa7gEUp9LcoSPrzutu8Ea 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/fileutils/fileutils_windows.go: -------------------------------------------------------------------------------- 1 | package fileutils // import "github.com/docker/docker/pkg/fileutils" 2 | 3 | // GetTotalUsedFds Returns the number of used File Descriptors. Not supported 4 | // on Windows. 5 | func GetTotalUsedFds() int { 6 | return -1 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/combined_coverage_fixture/first_package/external_coverage_fixture/external_coverage.go: -------------------------------------------------------------------------------- 1 | package external_coverage 2 | 3 | func Tested() string { 4 | return "tested" 5 | } 6 | 7 | func Untested() string { 8 | return "untested" 9 | } 10 | -------------------------------------------------------------------------------- /core/comm/testdata/dynamic_cert_update/localhost/server.key: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIDjlxlcvpDCTvylm8qZ+P6fS3lS0cLA3Zwrak0n0AaJBoAoGCCqGSM49 3 | AwEHoUQDQgAEezIXpxavaQT3KywBbjeW87p0MQ1Q7xXsQXRTRGy1/Dfm7/Sjc+6Y 4 | otuQxW5nV8GRpsjSvXGxvGl5rr2Lk2DxjA== 5 | -----END EC PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /msp/testdata/badconfigoucert/keystore/key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgXa3mln4anewXtqrM 3 | hMw6mfZhslkRa/j9P790ToKjlsihRANCAARnxLhXvU4EmnIwhVl3Bh0VcByQi2um 4 | 9KsJ/QdCDjRZb1dKg447voj5SZ8SSZOUglc/v8DJFFJFTfygjwi+27gz 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /msp/testdata/expired/keystore/key-expired.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgGgZG6oswVqgm9X+t 3 | XqkRmdozFoJlWIXL0h8FzWcVAAWhRANCAARkSsbJejBqzRIMo+/HNblQ4EdJah77 4 | n4wUv4ZTGzqpBfX/qI9R369qAEGDII+ocInj8c100cpPjW6KoFYHHLLb 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /msp/testdata/intermediate2/keystore/key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgTNlF7jY6jBKQGLqs 3 | AgllL7utSIRxZdxy4fexQaNX7JKhRANCAAT3WqE6zy7kgdDbN4Ecv+1ITEjFnOpJ 4 | 52oi5lrBfXhFt+F12qLqSuYs0EqJL0VvbtKZMkdXAkgQB26ifAAvqtTn 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /msp/testdata/revocation/keystore/key-admin.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQg+EhTHkULTfQ6JEeN 3 | ZeI+e955YBpE7tkJera94TMc8j+hRANCAASZLwRAf9F56KOna4rJAAa6XxQJat3y 4 | lrdw/XO+snCn4YLyHGczP87rX4A/r9Hx6TV7ZP/5rpjtSz8RDFXL6UN1 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /msp/testdata/revocation2/keystore/key-admin.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQg+EhTHkULTfQ6JEeN 3 | ZeI+e955YBpE7tkJera94TMc8j+hRANCAASZLwRAf9F56KOna4rJAAa6XxQJat3y 4 | lrdw/XO+snCn4YLyHGczP87rX4A/r9Hx6TV7ZP/5rpjtSz8RDFXL6UN1 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /msp/testdata/tls/config.yaml: -------------------------------------------------------------------------------- 1 | # Copyright London Stock Exchange Group All Rights Reserved. 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | OrganizationalUnitIdentifiers: 6 | - Certificate: "intermediatecerts/intermediatecert.pem" 7 | OrganizationalUnitIdentifier: "Hyperledger Testing" 8 | -------------------------------------------------------------------------------- /orderer/common/server/testdata/tls/server.key: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgHg2V/8BCgZCwQIOd 3 | bWv+gLI1APkdEqzAoGjI/1OTC1WhRANCAASS2UdIW3vhoska9TkcYLRIgwXAsyln 4 | oAxZGVt15dP3W5OcutD0hSIktH2/bF6BMyDlVzdCIRBOgHkmfMJRBhGF 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/internal/remote/syscall_dup_unix.go: -------------------------------------------------------------------------------- 1 | // +build !linux !arm64 2 | // +build !windows 3 | // +build !solaris 4 | 5 | package remote 6 | 7 | import "syscall" 8 | 9 | func syscallDup(oldfd int, newfd int) (err error) { 10 | return syscall.Dup2(oldfd, newfd) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/prometheus/procfs/NOTICE: -------------------------------------------------------------------------------- 1 | procfs provides functions to retrieve system, kernel and process 2 | metrics from the pseudo-filesystem proc. 3 | 4 | Copyright 2014-2015 The Prometheus Authors 5 | 6 | This product includes software developed at 7 | SoundCloud Ltd. (http://soundcloud.com/). 8 | -------------------------------------------------------------------------------- /bccsp/factory/race_test.go: -------------------------------------------------------------------------------- 1 | // +build race 2 | // +build go1.9,linux,cgo go1.10,darwin,cgo 3 | // +build !ppc64le 4 | 5 | /* 6 | Copyright IBM Corp. All Rights Reserved. 7 | 8 | SPDX-License-Identifier: Apache-2.0 9 | */ 10 | package factory 11 | 12 | func init() { 13 | raceEnabled = true 14 | } 15 | -------------------------------------------------------------------------------- /msp/testdata/external/config.yaml: -------------------------------------------------------------------------------- 1 | # Copyright London Stock Exchange Group All Rights Reserved. 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | OrganizationalUnitIdentifiers: 6 | - Certificate: "intermediatecerts/intermediatecert.pem" 7 | OrganizationalUnitIdentifier: "Hyperledger Testing" 8 | -------------------------------------------------------------------------------- /msp/testdata/revocation/keystore/key-revoked.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgEExeh2BgtWDBiFzX 3 | FtvW/6BldCVvU5RhAHSZj8VX4e+hRANCAATkCUK/7PBlDVY6IyYVdLIJaHjz5Bx3 4 | mTMwySYwUsDYU0zD0btx0EBAKjTMDiLqkC5dllaxrU4gzHxr5hy99+zj 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /msp/testdata/revocation2/keystore/key-revoked.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgEExeh2BgtWDBiFzX 3 | FtvW/6BldCVvU5RhAHSZj8VX4e+hRANCAATkCUK/7PBlDVY6IyYVdLIJaHjz5Bx3 4 | mTMwySYwUsDYU0zD0btx0EBAKjTMDiLqkC5dllaxrU4gzHxr5hy99+zj 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /core/comm/testdata/dynamic_cert_update/notlocalhost/server.key: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PRIVATE KEY----- 2 | MHcCAQEEIP+PmKQn03BMTJ6MgQqKTPKKsoeiycMa2GJy/HWk4/AioAoGCCqGSM49 3 | AwEHoUQDQgAEishT7ve8nUzkCWBgJQ7AksWNSzJOuJ5ROmjtzeIzVpNnwrNCvoxE 4 | VvAcp4y6JiNy1WoHLG2EBIbST62GAc/emg== 5 | -----END EC PRIVATE KEY----- 6 | 7 | -------------------------------------------------------------------------------- /docs/source/releases.rst: -------------------------------------------------------------------------------- 1 | Releases 2 | ======== 3 | 4 | Hyperledger Fabric releases are documented on the `Fabric github page `__. 5 | 6 | .. Licensed under Creative Commons Attribution 4.0 International License 7 | https://creativecommons.org/licenses/by/4.0/ 8 | -------------------------------------------------------------------------------- /common/channelconfig/organization_test.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright IBM Corp. All Rights Reserved. 3 | 4 | SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | package channelconfig 8 | 9 | import ( 10 | "testing" 11 | ) 12 | 13 | func TestOrganization(t *testing.T) { 14 | _ = Org(&OrganizationConfig{}) 15 | } 16 | -------------------------------------------------------------------------------- /core/handlers/library/race_test.go: -------------------------------------------------------------------------------- 1 | // +build race 2 | // +build go1.9,linux,cgo go1.10,darwin,cgo 3 | // +build !ppc64le 4 | 5 | /* 6 | Copyright IBM Corp. All Rights Reserved. 7 | 8 | SPDX-License-Identifier: Apache-2.0 9 | */ 10 | package library 11 | 12 | func init() { 13 | raceEnabled = true 14 | } 15 | -------------------------------------------------------------------------------- /core/scc/race_test.go: -------------------------------------------------------------------------------- 1 | // +build race 2 | // +build pluginsenabled,cgo 3 | // +build darwin,go1.10 linux,go1.10 linux,go1.9,!ppc64le 4 | 5 | /* 6 | Copyright IBM Corp. All Rights Reserved. 7 | 8 | SPDX-License-Identifier: Apache-2.0 9 | */ 10 | package scc 11 | 12 | func init() { 13 | raceEnabled = true 14 | } 15 | -------------------------------------------------------------------------------- /msp/testdata/nodeous2/config.yaml: -------------------------------------------------------------------------------- 1 | # Copyright IBM Corp. All Rights Reserved. 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | NodeOUs: 6 | Enable: true 7 | ClientOUIdentifier: 8 | OrganizationalUnitIdentifier: "OU_client" 9 | PeerOUIdentifier: 10 | OrganizationalUnitIdentifier: "OU_peer" 11 | -------------------------------------------------------------------------------- /msp/testdata/nodeous3/config.yaml: -------------------------------------------------------------------------------- 1 | # Copyright IBM Corp. All Rights Reserved. 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | NodeOUs: 6 | Enable: true 7 | ClientOUIdentifier: 8 | OrganizationalUnitIdentifier: "OU_client" 9 | PeerOUIdentifier: 10 | OrganizationalUnitIdentifier: "OU_peer" 11 | -------------------------------------------------------------------------------- /msp/testdata/nodeous5/config.yaml: -------------------------------------------------------------------------------- 1 | # Copyright IBM Corp. All Rights Reserved. 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | NodeOUs: 6 | Enable: true 7 | ClientOUIdentifier: 8 | OrganizationalUnitIdentifier: "OU_client" 9 | PeerOUIdentifier: 10 | OrganizationalUnitIdentifier: "OU_peer" 11 | -------------------------------------------------------------------------------- /vendor/github.com/tjfoc/gmtls/gmcredentials/testdata/ecadminkey.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgzMfzhfg65/0lyTG9 3 | 36PtTfHCTnmjP8PbOniXqu5Zq0uhRANCAARQZBis9FcQ2cDYM0BFrsWuTvIiK21i 4 | 2yO1c8s8tf6OwDn9bh/+gOebEXri1IUQuEL7uSbFnhwjcth7uNjCxN4c 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /vendor/github.com/tjfoc/gmtls/gmcredentials/testdata/eccakey.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQg/eKOgfZvjde1eQ35 3 | oY6lGqbKoCRRLhCvq6oHZ87xXJuhRANCAASEd7IPpAvcuFbpuedZ5TAKIa3DwmWK 4 | Lh4Tl021gcNHoeHol1MT8ajQSKfz2amDrtnlXExpeRgx9jYTkqpxJ5Y5 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/endian_big.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | // 5 | // +build ppc64 s390x mips mips64 6 | 7 | package unix 8 | 9 | const isBigEndian = true 10 | -------------------------------------------------------------------------------- /devenv/golang_buildcmd.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Copyright IBM Corp. All Rights Reserved. 4 | # 5 | # SPDX-License-Identifier: Apache-2.0 6 | # 7 | 8 | set -e 9 | for arch in 8 6; do 10 | for cmd in a c g l; do 11 | go tool dist install -v cmd/$arch$cmd 12 | done 13 | done 14 | exit 0 15 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/opts/hosts_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package opts // import "github.com/docker/docker/opts" 4 | 5 | import "fmt" 6 | 7 | // DefaultHost constant defines the default host string used by docker on other hosts than Windows 8 | var DefaultHost = fmt.Sprintf("unix://%s", DefaultUnixSocket) 9 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/umask_windows.go: -------------------------------------------------------------------------------- 1 | package system // import "github.com/docker/docker/pkg/system" 2 | 3 | // Umask is not supported on the windows platform. 4 | func Umask(newmask int) (oldmask int, err error) { 5 | // should not be called on cli code path 6 | return 0, ErrNotSupportedPlatform 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/tjfoc/gmtls/gmcredentials/echo/echo.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto3"; 2 | 3 | package echo; 4 | 5 | service Echo{ 6 | rpc Echo(EchoRequest) returns (EchoResponse){} 7 | } 8 | 9 | message EchoRequest{ 10 | string req = 1; 11 | } 12 | 13 | message EchoResponse{ 14 | string result = 1; 15 | } 16 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/go/ast/astutil/util.go: -------------------------------------------------------------------------------- 1 | package astutil 2 | 3 | import "go/ast" 4 | 5 | // Unparen returns e with any enclosing parentheses stripped. 6 | func Unparen(e ast.Expr) ast.Expr { 7 | for { 8 | p, ok := e.(*ast.ParenExpr) 9 | if !ok { 10 | return e 11 | } 12 | e = p.X 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /core/container/util/testdata/sourcefiles/src/Hello.java: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright IBM Corp. All Rights Reserved. 3 | 4 | SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | public class Hello { 8 | public static void main(String []args) { 9 | System.out.println("Hello"); 10 | System.exit(0); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /core/ledger/customtx/test_export.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright IBM Corp. All Rights Reserved. 3 | 4 | SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | package customtx 8 | 9 | // InitializeTestEnv initializes custom tx processors for test 10 | func InitializeTestEnv(processors Processors) { 11 | initialize(processors) 12 | } 13 | -------------------------------------------------------------------------------- /images/ccenv/Dockerfile.in: -------------------------------------------------------------------------------- 1 | # Copyright Greg Haskins All Rights Reserved 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | FROM _BASE_NS_/fabric-baseimage:_BASE_TAG_ 6 | COPY payload/chaintool payload/protoc-gen-go /usr/local/bin/ 7 | ADD payload/goshim.tar.bz2 $GOPATH/src/ 8 | RUN mkdir -p /chaincode/input /chaincode/output 9 | -------------------------------------------------------------------------------- /vendor/github.com/opencontainers/runc/Godeps/_workspace/src/github.com/pquerna/ffjson/NOTICE: -------------------------------------------------------------------------------- 1 | ffjson 2 | Copyright (c) 2014, Paul Querna 3 | 4 | This product includes software developed by 5 | Paul Querna (http://paul.querna.org/). 6 | 7 | Portions of this software were developed as 8 | part of Go, Copyright (c) 2012 The Go Authors. -------------------------------------------------------------------------------- /vendor/go.etcd.io/etcd/raft/OWNERS: -------------------------------------------------------------------------------- 1 | approvers: 2 | - heyitsanthony 3 | - philips 4 | - fanminshi 5 | - gyuho 6 | - mitake 7 | - jpbetz 8 | - xiang90 9 | - bdarnell 10 | reviewers: 11 | - heyitsanthony 12 | - philips 13 | - fanminshi 14 | - gyuho 15 | - mitake 16 | - jpbetz 17 | - xiang90 18 | - bdarnell 19 | - tschottdorf 20 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/language/go1_2.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build go1.2 6 | 7 | package language 8 | 9 | import "sort" 10 | 11 | var sortStable = sort.Stable 12 | -------------------------------------------------------------------------------- /peer/node/signals_windows.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | /* 4 | Copyright IBM Corp. All Rights Reserved. 5 | 6 | SPDX-License-Identifier: Apache-2.0 7 | */ 8 | 9 | package node 10 | 11 | import ( 12 | "os" 13 | ) 14 | 15 | func addPlatformSignals(sigs map[os.Signal]func()) map[os.Signal]func() { 16 | return sigs 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/meminfo_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!windows 2 | 3 | package system // import "github.com/docker/docker/pkg/system" 4 | 5 | // ReadMemInfo is not supported on platforms other than linux and windows. 6 | func ReadMemInfo() (*MemInfo, error) { 7 | return nil, ErrNotSupportedPlatform 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/eapache/go-xerial-snappy/fuzz.go: -------------------------------------------------------------------------------- 1 | // +build gofuzz 2 | 3 | package snappy 4 | 5 | func Fuzz(data []byte) int { 6 | decode, err := Decode(data) 7 | if decode == nil && err == nil { 8 | panic("nil error with nil result") 9 | } 10 | 11 | if err != nil { 12 | return 0 13 | } 14 | 15 | return 1 16 | } 17 | -------------------------------------------------------------------------------- /common/channelconfig/applicationorg_test.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright IBM Corp. All Rights Reserved. 3 | 4 | SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | package channelconfig 8 | 9 | import ( 10 | "testing" 11 | ) 12 | 13 | func TestApplicationOrgInterface(t *testing.T) { 14 | _ = ApplicationOrg(&ApplicationOrgConfig{}) 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/objx/security.go: -------------------------------------------------------------------------------- 1 | package objx 2 | 3 | import ( 4 | "crypto/sha1" 5 | "encoding/hex" 6 | ) 7 | 8 | // HashWithKey hashes the specified string using the security key 9 | func HashWithKey(data, key string) string { 10 | d := sha1.Sum([]byte(data + ":" + key)) 11 | return hex.EncodeToString(d[:]) 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/tjfoc/gmtls/gmcredentials/testdata/adminkey.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGTAgEAMBMGByqGSM49AgEGCCqBHM9VAYItBHkwdwIBAQQg510FuLDR3BTiXfh8 3 | bLs5ZMmzBN3d8xiQsp3Lp1G31qmgCgYIKoEcz1UBgi2hRANCAARkTEon4ejdjTLt 4 | 2c5kJq9rQ6sTmNBI2thnkxtYpIbWOVVXqUiL7TKrnMBMbFUACR1CLhl1gKm5ypuS 5 | /7dH4ywQ 6 | -----END PRIVATE KEY----- 7 | -------------------------------------------------------------------------------- /vendor/github.com/tjfoc/gmtls/gmcredentials/testdata/cakey.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGTAgEAMBMGByqGSM49AgEGCCqBHM9VAYItBHkwdwIBAQQg9Mrzr+8jnnvi2e3n 3 | WspzqEtPIoQe4TjVxQ1gS0xmDf+gCgYIKoEcz1UBgi2hRANCAASNkrYP1Ll1pQKo 4 | L1xOQnDyShVGxWlATDfYjiYxsI6f1HozJuMbQ0x2Ow3Lk5rgoPNMNIFZU61N6ceR 5 | 40IxWwMn 6 | -----END PRIVATE KEY----- 7 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/cmd/goimports/goimports_not_gc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !gc 6 | 7 | package main 8 | 9 | func doTrace() func() { 10 | return func() {} 11 | } 12 | -------------------------------------------------------------------------------- /core/comm/testdata/grpc/generate.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright IBM Corp. All Rights Reserved. 3 | 4 | SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | // +build ignore 8 | 9 | //go:generate protoc --proto_path=$GOPATH/src/github.com/hyperledger/fabric/core/comm/testdata/grpc --go_out=plugins=grpc:$GOPATH/src test.proto 10 | 11 | package grpc 12 | -------------------------------------------------------------------------------- /discovery/cmd/testdata/8150cb2d09628ccc89727611ebb736189f6482747eff9b8aaaa27e9a382d2e93_sk: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgiMUviC3wiXZITKuC 3 | dZ3EOjolfC2Buep2zac1orHq/JmhRANCAAQcSjQ/I/Ngs9d/ARFwDH/PJM4bCCvc 4 | 3A6T2/8Cuz2mBQ96otBiwCJcbnV/bQ/B2LcKOhLe4g042x/OAeTLpW4W 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /gossip/comm/demux_test.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright IBM Corp. All Rights Reserved. 3 | 4 | SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | package comm 8 | 9 | import "testing" 10 | 11 | func TestChannelDeMultiplexer_Close(t *testing.T) { 12 | demux := NewChannelDemultiplexer() 13 | demux.Close() 14 | demux.DeMultiplex("msg") 15 | } 16 | -------------------------------------------------------------------------------- /msp/testdata/idemix/MSP1OU1/ca/RevocationKey: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGkAgEBBDCDLOqcM8tliQ1ugel+S1W+6iotv3eNmbLa+MZPuyZNVVum3fhXFsrp 3 | sA223vnx+AigBwYFK4EEACKhZANiAATvpQTnSffVMHfgTe0QeL2/JotcQkinEXpS 4 | vV5YpEilns/KLnl8eD3eczaQrCCVtfostEiXSfMwuGC/AmkiVWH5EQzrdw2P0PTz 5 | Q5o3wd60tEbsemPuKlHdDhWNnTHbZkI= 6 | -----END PRIVATE KEY----- 7 | -------------------------------------------------------------------------------- /msp/testdata/idemix/MSP1OU2/ca/RevocationKey: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGkAgEBBDCDLOqcM8tliQ1ugel+S1W+6iotv3eNmbLa+MZPuyZNVVum3fhXFsrp 3 | sA223vnx+AigBwYFK4EEACKhZANiAATvpQTnSffVMHfgTe0QeL2/JotcQkinEXpS 4 | vV5YpEilns/KLnl8eD3eczaQrCCVtfostEiXSfMwuGC/AmkiVWH5EQzrdw2P0PTz 5 | Q5o3wd60tEbsemPuKlHdDhWNnTHbZkI= 6 | -----END PRIVATE KEY----- 7 | -------------------------------------------------------------------------------- /msp/testdata/idemix/MSP2OU1/ca/RevocationKey: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGkAgEBBDACDZ/H28Lz9ZkRt9DPS0S2St6myYr0yOXUBh6jXnL6Xd6KtxG9Gvbx 3 | izkRk9WPY0qgBwYFK4EEACKhZANiAAShz6e2n4kjEI/AmkIciyGlVXlrcupnNjSN 4 | 3wgtr7WvvtmhmrMSxNRNa+wAuaHKcLwUlRvf/S6xswzdFaWkSOv7b0XQrlpTPZkb 5 | Y7l14ajp4H3Le6dw4D8Wj6PLgDA6EXc= 6 | -----END PRIVATE KEY----- 7 | -------------------------------------------------------------------------------- /orderer/common/server/signals_windows.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | /* 4 | Copyright IBM Corp. All Rights Reserved. 5 | 6 | SPDX-License-Identifier: Apache-2.0 7 | */ 8 | 9 | package server 10 | 11 | import ( 12 | "os" 13 | ) 14 | 15 | func addPlatformSignals(sigs map[os.Signal]func()) map[os.Signal]func() { 16 | return sigs 17 | } 18 | -------------------------------------------------------------------------------- /msp/testdata/idemix/MSP1OU1Admin/ca/RevocationKey: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGkAgEBBDCDLOqcM8tliQ1ugel+S1W+6iotv3eNmbLa+MZPuyZNVVum3fhXFsrp 3 | sA223vnx+AigBwYFK4EEACKhZANiAATvpQTnSffVMHfgTe0QeL2/JotcQkinEXpS 4 | vV5YpEilns/KLnl8eD3eczaQrCCVtfostEiXSfMwuGC/AmkiVWH5EQzrdw2P0PTz 5 | Q5o3wd60tEbsemPuKlHdDhWNnTHbZkI= 6 | -----END PRIVATE KEY----- 7 | -------------------------------------------------------------------------------- /msp/testdata/idemix/MSP1Verifier/ca/RevocationKey: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGkAgEBBDCDLOqcM8tliQ1ugel+S1W+6iotv3eNmbLa+MZPuyZNVVum3fhXFsrp 3 | sA223vnx+AigBwYFK4EEACKhZANiAATvpQTnSffVMHfgTe0QeL2/JotcQkinEXpS 4 | vV5YpEilns/KLnl8eD3eczaQrCCVtfostEiXSfMwuGC/AmkiVWH5EQzrdw2P0PTz 5 | Q5o3wd60tEbsemPuKlHdDhWNnTHbZkI= 6 | -----END PRIVATE KEY----- 7 | -------------------------------------------------------------------------------- /msp/testdata/mspid/keystore/7c73fd300a90b41c79ace8ee5553e1f3ba12b141892d966617731380189d3f4e_sk: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgyA3kupzpQJ5OKG2+ 3 | dVb3d01tHlqO0rlDcrkxXa3a5ZqhRANCAAT87AUnSCAdBqypilp9DfJjH8VrNrNQ 4 | +ivsb071Sd8FI985zQcY/pNo9raT7iVBMbetbCm6T9xhff3KxGoaV10W 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /vendor/github.com/dustin/go-humanize/humanize.go: -------------------------------------------------------------------------------- 1 | /* 2 | Package humanize converts boring ugly numbers to human-friendly strings and back. 3 | 4 | Durations can be turned into strings such as "3 days ago", numbers 5 | representing sizes like 82854982 into useful strings like, "83 MB" or 6 | "79 MiB" (whichever you prefer). 7 | */ 8 | package humanize 9 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/endian_little.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | // 5 | // +build 386 amd64 amd64p32 arm arm64 ppc64le mipsle mips64le 6 | 7 | package unix 8 | 9 | const isBigEndian = false 10 | -------------------------------------------------------------------------------- /cmd/common/signer/testdata/signer/8150cb2d09628ccc89727611ebb736189f6482747eff9b8aaaa27e9a382d2e93_sk: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgiMUviC3wiXZITKuC 3 | dZ3EOjolfC2Buep2zac1orHq/JmhRANCAAQcSjQ/I/Ngs9d/ARFwDH/PJM4bCCvc 4 | 3A6T2/8Cuz2mBQ96otBiwCJcbnV/bQ/B2LcKOhLe4g042x/OAeTLpW4W 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /images/buildenv/Dockerfile.in: -------------------------------------------------------------------------------- 1 | # Copyright Greg Haskins All Rights Reserved 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | 5 | FROM _BASE_NS_/fabric-baseimage:_BASE_TAG_ 6 | COPY payload/protoc-gen-go /usr/local/bin/ 7 | ADD payload/gotools.tar.bz2 /usr/local/bin/ 8 | 9 | # override GOCACHE=off from fabric-baseimage 10 | ENV GOCACHE "/tmp" 11 | -------------------------------------------------------------------------------- /msp/testdata/expiration/keystore/83c4189d96988eab469b1afa1dfbcb4463a1fff381d7dba9b9378b51a5ef9e77_sk: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgXxOy/nD/twU+d4DL 3 | veUvrzae6jsrmT4vBnZR0cHkjKehRANCAARO3xeuSrBdJ8TYCARVQNsf0FNC7gMr 4 | k7EWklnP8nEALi0HwrYuW2KeFlmkFHObAWigJlWxUE5vUYZjobSM+zy+ 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /msp/testdata/nodeous2/keystore/21779908bb40b2996d730685a5df60c62f05e02356930cd74b0d6acc49a1eafc_sk: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQguOFy8l0P+bo6kZ8u 3 | Ifg/ZZVqQ7PBuMDluuWvQKbp9/ChRANCAAS3PGmLJ4CMAXKEEnegPCgyJCtttQ1x 4 | L+dQHS5uF4lqSPVEhvUPBymrCQZJw70osW7HkoO5tu/xH9JIqaQp61dA 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /msp/testdata/nodeous2/keystore/f8c30e5fad3f1af5f080a87c23ce37e40e6d4ac30019e31ca2c6e7c6bffa26c8_sk: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgiuQrD8AWn0d30+Wy 3 | iX5OTi7NEDyV6mxRuRh283G9+DChRANCAATRSQdoQmIHhrT3Fo0yJ3qNCNbjzoyx 4 | mRFg02q8My+MRYRjCTtgiyv3Ps3uDdgyPyFvjuDnWJFlGMmReRkGmXJK 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /msp/testdata/nodeous3/keystore/212d57370dd1e4bacc414d0070121197d6c34b694dec33242bb3ffc4ef13e23b_sk: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQguubk0m2KiJacIUKi 3 | V+5eflZU0yZsobTeSZM4S8rMp+GhRANCAASMnS0d3NjE/xlShCyWG163UZpkvJde 4 | elNV4r8F0EdDfXMqFePMsvPE56Jaa8o6dga5xIxVUx+Z+lYDMo1gwvPC 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /msp/testdata/nodeous3/keystore/d51e8e0ea19acbc3090a82bd0ae36db670a368512dbd1a20e58089113a20e24b_sk: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgeb9wr9oJ7G9j0CJ7 3 | 0FEYJfJ2Fm/ZRQTjapi9bRH1Z66hRANCAASJvfkAT/mLwdCRkE0Ppg2yJk3dhZ6L 4 | NWNcWlYvC1HfoAa0gyGYiX0J82JspUE24/FK8zMPq9+h6ZnPHJ6zMxCd 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /msp/testdata/nodeous4/keystore/212d57370dd1e4bacc414d0070121197d6c34b694dec33242bb3ffc4ef13e23b_sk: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQguubk0m2KiJacIUKi 3 | V+5eflZU0yZsobTeSZM4S8rMp+GhRANCAASMnS0d3NjE/xlShCyWG163UZpkvJde 4 | elNV4r8F0EdDfXMqFePMsvPE56Jaa8o6dga5xIxVUx+Z+lYDMo1gwvPC 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /msp/testdata/nodeous4/keystore/d51e8e0ea19acbc3090a82bd0ae36db670a368512dbd1a20e58089113a20e24b_sk: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgeb9wr9oJ7G9j0CJ7 3 | 0FEYJfJ2Fm/ZRQTjapi9bRH1Z66hRANCAASJvfkAT/mLwdCRkE0Ppg2yJk3dhZ6L 4 | NWNcWlYvC1HfoAa0gyGYiX0J82JspUE24/FK8zMPq9+h6ZnPHJ6zMxCd 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /msp/testdata/nodeous5/keystore/012ba73f50e24826785f48d1e60dcb972cfc2c5df7c41cdc0ecbbd52b02ca248_sk: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgtB2spI0XSZlUFpFr 3 | oKarKXD+XrE8qYatbwivuiEbznuhRANCAARQ0e5cIZjSKwVNq2ua/hFezvYgsqBY 4 | eRHKo+ooUEaI9Gni/7m9NHfy5BP/8jizmpAw0B2DP9U2oOSskHnEH6oz 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /msp/testdata/nodeous5/keystore/47e79b836df4b16212176f607b37d95f97ecfdcdc658b7e6eaeab251251a01aa_sk: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQg7Sbw+MrH0R4iw1Ly 3 | omN3QyKoj30iWP0mssxCvVe9mdChRANCAASgkPNAlBuRv9/LHbwExyFAXc3KT2DF 4 | c1aRgawkqctuhj1NIiFUdoPtjpBR3as67Dh3Z9yY6chTs6LFz2DOSU6+ 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /msp/testdata/nodeous6/keystore/212d57370dd1e4bacc414d0070121197d6c34b694dec33242bb3ffc4ef13e23b_sk: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQguubk0m2KiJacIUKi 3 | V+5eflZU0yZsobTeSZM4S8rMp+GhRANCAASMnS0d3NjE/xlShCyWG163UZpkvJde 4 | elNV4r8F0EdDfXMqFePMsvPE56Jaa8o6dga5xIxVUx+Z+lYDMo1gwvPC 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /msp/testdata/nodeous6/keystore/d51e8e0ea19acbc3090a82bd0ae36db670a368512dbd1a20e58089113a20e24b_sk: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgeb9wr9oJ7G9j0CJ7 3 | 0FEYJfJ2Fm/ZRQTjapi9bRH1Z66hRANCAASJvfkAT/mLwdCRkE0Ppg2yJk3dhZ6L 4 | NWNcWlYvC1HfoAa0gyGYiX0J82JspUE24/FK8zMPq9+h6ZnPHJ6zMxCd 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /msp/testdata/nodeous7/keystore/212d57370dd1e4bacc414d0070121197d6c34b694dec33242bb3ffc4ef13e23b_sk: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQguubk0m2KiJacIUKi 3 | V+5eflZU0yZsobTeSZM4S8rMp+GhRANCAASMnS0d3NjE/xlShCyWG163UZpkvJde 4 | elNV4r8F0EdDfXMqFePMsvPE56Jaa8o6dga5xIxVUx+Z+lYDMo1gwvPC 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /msp/testdata/nodeous7/keystore/d51e8e0ea19acbc3090a82bd0ae36db670a368512dbd1a20e58089113a20e24b_sk: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQgeb9wr9oJ7G9j0CJ7 3 | 0FEYJfJ2Fm/ZRQTjapi9bRH1Z66hRANCAASJvfkAT/mLwdCRkE0Ppg2yJk3dhZ6L 4 | NWNcWlYvC1HfoAa0gyGYiX0J82JspUE24/FK8zMPq9+h6ZnPHJ6zMxCd 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /msp/testdata/nodeous8/keystore/f3a673451e3bf0f74b4fd7b24f6dbfd8d795c2173d11d255b6a4f4ad3cd23046_sk: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MIGHAgEAMBMGByqGSM49AgEGCCqGSM49AwEHBG0wawIBAQQg/8r4HVXlpB+CUmYY 3 | UlNb7OcNrQQ/1LAbA3iTA4rCDEmhRANCAARYlXb/h8Qc4jUhOSKAlq0CfCiweYkX 4 | FBuPRYYapzTN1yy7Wje0Rlt/ufSFufqMlX1f8+0iOSpkaLSj9YJml0Hi 5 | -----END PRIVATE KEY----- 6 | -------------------------------------------------------------------------------- /peer/common/testdata/notset.yaml: -------------------------------------------------------------------------------- 1 | # Copyright IBM Corp. All Rights Reserved. 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | peer: 6 | BCCSP: 7 | Default: SW 8 | SW: 9 | Hash: SHA2 10 | Security: 256 11 | FileKeyStore: 12 | # not set 13 | KeyStore: 14 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ":core:chaincode:shim:java" 2 | include ":examples:chaincode:java:Example" 3 | include ":examples:chaincode:java:MapExample" 4 | include ":examples:chaincode:java:LinkExample" 5 | include ":examples:chaincode:java:SimpleSample" 6 | include ":examples:chaincode:java:RangeExample" 7 | include ":examples:chaincode:java:TableExample" 8 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/ioutils/temp_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package ioutils // import "github.com/docker/docker/pkg/ioutils" 4 | 5 | import "io/ioutil" 6 | 7 | // TempDir on Unix systems is equivalent to ioutil.TempDir. 8 | func TempDir(dir, prefix string) (string, error) { 9 | return ioutil.TempDir(dir, prefix) 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/reporters/stenographer/support/go-isatty/isatty_appengine.go: -------------------------------------------------------------------------------- 1 | // +build appengine 2 | 3 | package isatty 4 | 5 | // IsTerminal returns true if the file descriptor is terminal which 6 | // is always false on on appengine classic which is a sandboxed PaaS. 7 | func IsTerminal(fd uintptr) bool { 8 | return false 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/internal/specrunner/random_id.go: -------------------------------------------------------------------------------- 1 | package specrunner 2 | 3 | import ( 4 | "crypto/rand" 5 | "fmt" 6 | ) 7 | 8 | func randomID() string { 9 | b := make([]byte, 8) 10 | _, err := rand.Read(b) 11 | if err != nil { 12 | return "" 13 | } 14 | return fmt.Sprintf("%x-%x-%x-%x", b[0:2], b[2:4], b[4:6], b[6:8]) 15 | } 16 | -------------------------------------------------------------------------------- /docs/custom_theme/searchbox.html: -------------------------------------------------------------------------------- 1 | 6 |
7 |
8 | 9 |
10 |
11 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_bsd.go: -------------------------------------------------------------------------------- 1 | // +build darwin freebsd openbsd netbsd dragonfly 2 | // +build !appengine,!js 3 | 4 | package logrus 5 | 6 | import ( 7 | "io" 8 | 9 | "golang.org/x/sys/unix" 10 | ) 11 | 12 | const ioctlReadTermios = unix.TIOCGETA 13 | 14 | type Termios unix.Termios 15 | 16 | func initTerminal(w io.Writer) { 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/utimes_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!freebsd 2 | 3 | package system // import "github.com/docker/docker/pkg/system" 4 | 5 | import "syscall" 6 | 7 | // LUtimesNano is only supported on linux and freebsd. 8 | func LUtimesNano(path string, ts []syscall.Timespec) error { 9 | return ErrNotSupportedPlatform 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/ginkgo/interrupthandler/sigquit_swallower_unix.go: -------------------------------------------------------------------------------- 1 | // +build freebsd openbsd netbsd dragonfly darwin linux solaris 2 | 3 | package interrupthandler 4 | 5 | import ( 6 | "os" 7 | "os/signal" 8 | "syscall" 9 | ) 10 | 11 | func SwallowSigQuit() { 12 | c := make(chan os.Signal, 1024) 13 | signal.Notify(c, syscall.SIGQUIT) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/gopkg.in/cheggaaa/pb.v1/pb_appengine.go: -------------------------------------------------------------------------------- 1 | // +build appengine 2 | 3 | package pb 4 | 5 | import "errors" 6 | 7 | // terminalWidth returns width of the terminal, which is not supported 8 | // and should always failed on appengine classic which is a sandboxed PaaS. 9 | func terminalWidth() (int, error) { 10 | return 0, errors.New("Not supported") 11 | } 12 | -------------------------------------------------------------------------------- /core/comm/testdata/prime256v1-openssl-key.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN EC PARAMETERS----- 2 | BggqhkjOPQMBBw== 3 | -----END EC PARAMETERS----- 4 | -----BEGIN EC PRIVATE KEY----- 5 | MHcCAQEEIM2rUTflEQ11m5g5yEm2Cer2yI+ziccl1NbSRVh3GUR0oAoGCCqGSM49 6 | AwEHoUQDQgAEu2FEZVSr30Afey6dwcypeg5P+BuYx5JSYdG0/KJIBjWKnzYo7FEm 7 | gMir7GbNh4pqA8KFrJZkPuxMgnEJBZTv+w== 8 | -----END EC PRIVATE KEY----- 9 | -------------------------------------------------------------------------------- /peer/common/testdata/absolute.yaml: -------------------------------------------------------------------------------- 1 | # Copyright IBM Corp. All Rights Reserved. 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | peer: 6 | BCCSP: 7 | Default: SW 8 | SW: 9 | Hash: SHA2 10 | Security: 256 11 | FileKeyStore: 12 | # absolute path 13 | KeyStore: /msp/keystore 14 | -------------------------------------------------------------------------------- /peer/common/testdata/relative.yaml: -------------------------------------------------------------------------------- 1 | # Copyright IBM Corp. All Rights Reserved. 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | peer: 6 | BCCSP: 7 | Default: SW 8 | SW: 9 | Hash: SHA2 10 | Security: 256 11 | FileKeyStore: 12 | # relative path 13 | KeyStore: msp/keystore 14 | -------------------------------------------------------------------------------- /vendor/code.cloudfoundry.org/clock/ticker.go: -------------------------------------------------------------------------------- 1 | package clock 2 | 3 | import "time" 4 | 5 | type Ticker interface { 6 | C() <-chan time.Time 7 | Stop() 8 | } 9 | 10 | type realTicker struct { 11 | t *time.Ticker 12 | } 13 | 14 | func (t *realTicker) C() <-chan time.Time { 15 | return t.t.C 16 | } 17 | 18 | func (t *realTicker) Stop() { 19 | t.t.Stop() 20 | } 21 | -------------------------------------------------------------------------------- /docs/requirements.txt: -------------------------------------------------------------------------------- 1 | # SPDX-License-Identifier: Apache-2.0 2 | python-markdown-math==0.2 3 | 4 | alabaster==0.7.8 5 | Babel==2.3.4 6 | docutils==0.12 7 | imagesize==0.7.1 8 | Jinja2==2.10.1 9 | MarkupSafe==0.23 10 | Pygments==2.1.3 11 | pytz==2016.4 12 | six==1.10.0 13 | snowballstemmer==1.2.1 14 | Sphinx==1.7.2 15 | sphinx-rtd-theme==0.2.5b2 16 | recommonmark==0.4.0 17 | -------------------------------------------------------------------------------- /vendor/github.com/fsouza/go-dockerclient/internal/archive/changes_windows.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 Docker authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the DOCKER-LICENSE file. 4 | 5 | package archive 6 | 7 | import "os" 8 | 9 | func hasHardlinks(fi os.FileInfo) bool { 10 | return false 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/types/code_location.go: -------------------------------------------------------------------------------- 1 | package types 2 | 3 | import ( 4 | "fmt" 5 | ) 6 | 7 | type CodeLocation struct { 8 | FileName string 9 | LineNumber int 10 | FullStackTrace string 11 | } 12 | 13 | func (codeLocation CodeLocation) String() string { 14 | return fmt.Sprintf("%s:%d", codeLocation.FileName, codeLocation.LineNumber) 15 | } 16 | -------------------------------------------------------------------------------- /common/mocks/config/channel_test.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright IBM Corp. All Rights Reserved. 3 | 4 | SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | package config 8 | 9 | import ( 10 | "testing" 11 | 12 | "github.com/hyperledger/fabric/common/channelconfig" 13 | ) 14 | 15 | func TestChannelConfigInterface(t *testing.T) { 16 | _ = channelconfig.Channel(&Channel{}) 17 | } 18 | -------------------------------------------------------------------------------- /common/mocks/config/orderer_test.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright IBM Corp. All Rights Reserved. 3 | 4 | SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | package config 8 | 9 | import ( 10 | "testing" 11 | 12 | "github.com/hyperledger/fabric/common/channelconfig" 13 | ) 14 | 15 | func TestOrdererConfigInterface(t *testing.T) { 16 | _ = channelconfig.Orderer(&Orderer{}) 17 | } 18 | -------------------------------------------------------------------------------- /common/mocks/configtx/configtx_test.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright IBM Corp. All Rights Reserved. 3 | 4 | SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | package configtx 8 | 9 | import ( 10 | "testing" 11 | 12 | "github.com/hyperledger/fabric/common/configtx" 13 | ) 14 | 15 | func TestConfigtxValidatorInterface(t *testing.T) { 16 | _ = configtx.Validator(&Validator{}) 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/Azure/go-ansiterm/winterm/utilities.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package winterm 4 | 5 | // AddInRange increments a value by the passed quantity while ensuring the values 6 | // always remain within the supplied min / max range. 7 | func addInRange(n int16, increment int16, min int16, max int16) int16 { 8 | return ensureInRange(n+increment, min, max) 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/internal/remote/output_interceptor.go: -------------------------------------------------------------------------------- 1 | package remote 2 | 3 | /* 4 | The OutputInterceptor is used by the ForwardingReporter to 5 | intercept and capture all stdin and stderr output during a test run. 6 | */ 7 | type OutputInterceptor interface { 8 | StartInterceptingOutput() error 9 | StopInterceptingAndReturnOutput() (string, error) 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/internal/remote/syscall_dup_linux_arm64.go: -------------------------------------------------------------------------------- 1 | // +build linux,arm64 2 | 3 | package remote 4 | 5 | import "syscall" 6 | 7 | // linux_arm64 doesn't have syscall.Dup2 which ginkgo uses, so 8 | // use the nearly identical syscall.Dup3 instead 9 | func syscallDup(oldfd int, newfd int) (err error) { 10 | return syscall.Dup3(oldfd, newfd, 0) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_appengine.go: -------------------------------------------------------------------------------- 1 | // Based on ssh/terminal: 2 | // Copyright 2018 The Go Authors. All rights reserved. 3 | // Use of this source code is governed by a BSD-style 4 | // license that can be found in the LICENSE file. 5 | 6 | // +build appengine 7 | 8 | package logrus 9 | 10 | import "io" 11 | 12 | func initTerminal(w io.Writer) { 13 | } 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/ssh/terminal/util_linux.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package terminal 6 | 7 | import "golang.org/x/sys/unix" 8 | 9 | const ioctlReadTermios = unix.TCGETS 10 | const ioctlWriteTermios = unix.TCSETS 11 | -------------------------------------------------------------------------------- /bccsp/idemix/idemix_suite_test.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright IBM Corp. All Rights Reserved. 3 | 4 | SPDX-License-Identifier: Apache-2.0 5 | */ 6 | package idemix_test 7 | 8 | import ( 9 | "testing" 10 | 11 | . "github.com/onsi/ginkgo" 12 | . "github.com/onsi/gomega" 13 | ) 14 | 15 | func TestPlain(t *testing.T) { 16 | RegisterFailHandler(Fail) 17 | RunSpecs(t, "Plain Suite") 18 | } 19 | -------------------------------------------------------------------------------- /docs/wrappers/license_postscript.md: -------------------------------------------------------------------------------- 1 | 2 | Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License. 3 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/combined_coverage_fixture/second_package/coverage.go: -------------------------------------------------------------------------------- 1 | package second_package 2 | 3 | func A() string { 4 | return "A" 5 | } 6 | 7 | func B() string { 8 | return "B" 9 | } 10 | 11 | func C() string { 12 | return "C" 13 | } 14 | 15 | func D() string { 16 | return "D" 17 | } 18 | 19 | func E() string { 20 | return "E" 21 | } 22 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/constants.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris 6 | 7 | package unix 8 | 9 | const ( 10 | R_OK = 0x4 11 | W_OK = 0x2 12 | X_OK = 0x1 13 | ) 14 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/mount/mounter_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !linux,!freebsd freebsd,!cgo 2 | 3 | package mount // import "github.com/docker/docker/pkg/mount" 4 | 5 | func mount(device, target, mType string, flag uintptr, data string) error { 6 | panic("Not implemented") 7 | } 8 | 9 | func unmount(target string, flag int) error { 10 | panic("Not implemented") 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/go-logfmt/logfmt/doc.go: -------------------------------------------------------------------------------- 1 | // Package logfmt implements utilities to marshal and unmarshal data in the 2 | // logfmt format. The logfmt format records key/value pairs in a way that 3 | // balances readability for humans and simplicity of computer parsing. It is 4 | // most commonly used as a more human friendly alternative to JSON for 5 | // structured logging. 6 | package logfmt 7 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/integration/_fixtures/combined_coverage_fixture/first_package/coverage.go: -------------------------------------------------------------------------------- 1 | package first_package 2 | 3 | func A() string { 4 | return "A" 5 | } 6 | 7 | func B() string { 8 | return "B" 9 | } 10 | 11 | func C() string { 12 | return "C" 13 | } 14 | 15 | func D() string { 16 | return "D" 17 | } 18 | 19 | func E() string { 20 | return "untested" 21 | } 22 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/windows/mksyscall.go: -------------------------------------------------------------------------------- 1 | // Copyright 2009 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package windows 6 | 7 | //go:generate go run $GOROOT/src/syscall/mksyscall_windows.go -output zsyscall_windows.go eventlog.go service.go syscall_windows.go security_windows.go 8 | -------------------------------------------------------------------------------- /common/mocks/config/resources_test.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright IBM Corp. 2016 All Rights Reserved. 3 | 4 | SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | package config 8 | 9 | import ( 10 | "testing" 11 | 12 | "github.com/hyperledger/fabric/common/channelconfig" 13 | ) 14 | 15 | func TestConfigtxResourcesInterface(t *testing.T) { 16 | _ = channelconfig.Resources(&Resources{}) 17 | } 18 | -------------------------------------------------------------------------------- /docs/source/usecases.rst: -------------------------------------------------------------------------------- 1 | Use Cases 2 | ========= 3 | 4 | The Hyperledger Requirements WG is documenting a number of blockchain use 5 | cases and maintaining an inventory 6 | `here `__. 7 | 8 | .. Licensed under Creative Commons Attribution 4.0 International License 9 | https://creativecommons.org/licenses/by/4.0/ 10 | 11 | -------------------------------------------------------------------------------- /token/tms/plain/plain_suite_test.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright IBM Corp. All Rights Reserved. 3 | 4 | SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | package plain_test 8 | 9 | import ( 10 | "testing" 11 | 12 | . "github.com/onsi/ginkgo" 13 | . "github.com/onsi/gomega" 14 | ) 15 | 16 | func TestPlain(t *testing.T) { 17 | RegisterFailHandler(Fail) 18 | RunSpecs(t, "Plain Suite") 19 | } 20 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/windows/aliases.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build windows 6 | // +build go1.9 7 | 8 | package windows 9 | 10 | import "syscall" 11 | 12 | type Errno = syscall.Errno 13 | type SysProcAttr = syscall.SysProcAttr 14 | -------------------------------------------------------------------------------- /docs/wrappers/configtxgen_preamble.md: -------------------------------------------------------------------------------- 1 | # configtxgen 2 | 3 | The `configtxgen` command allows users to create and inspect channel config 4 | related artifacts. The content of the generated artifacts is dictated by the 5 | contents of `configtx.yaml`. 6 | 7 | ## Syntax 8 | 9 | The `configtxgen` tool has no sub-commands, but supports flags which can be set 10 | to accomplish a number of tasks. 11 | -------------------------------------------------------------------------------- /common/metrics/internal/namer/namer_suite_test.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright IBM Corp. All Rights Reserved. 3 | 4 | SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | package namer_test 8 | 9 | import ( 10 | "testing" 11 | 12 | . "github.com/onsi/ginkgo" 13 | . "github.com/onsi/gomega" 14 | ) 15 | 16 | func TestNamer(t *testing.T) { 17 | RegisterFailHandler(Fail) 18 | RunSpecs(t, "Namer Suite") 19 | } 20 | -------------------------------------------------------------------------------- /common/metrics/statsd/statsd_suite_test.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright IBM Corp. All Rights Reserved. 3 | 4 | SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | package statsd_test 8 | 9 | import ( 10 | "testing" 11 | 12 | . "github.com/onsi/ginkgo" 13 | . "github.com/onsi/gomega" 14 | ) 15 | 16 | func TestStatsd(t *testing.T) { 17 | RegisterFailHandler(Fail) 18 | RunSpecs(t, "Statsd Suite") 19 | } 20 | -------------------------------------------------------------------------------- /images/peer/Dockerfile.in: -------------------------------------------------------------------------------- 1 | # Copyright Greg Haskins All Rights Reserved 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | FROM _BASE_NS_/fabric-baseos:_BASE_TAG_ 6 | ENV FABRIC_CFG_PATH /etc/hyperledger/fabric 7 | RUN mkdir -p /var/hyperledger/production $FABRIC_CFG_PATH 8 | COPY payload/peer /usr/local/bin 9 | ADD payload/sampleconfig.tar.bz2 $FABRIC_CFG_PATH 10 | CMD ["peer","node","start"] 11 | -------------------------------------------------------------------------------- /msp/testdata/nodeous4/config.yaml: -------------------------------------------------------------------------------- 1 | # Copyright IBM Corp. All Rights Reserved. 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | NodeOUs: 6 | Enable: true 7 | ClientOUIdentifier: 8 | Certificate: "cacerts/external_ca.pem" 9 | OrganizationalUnitIdentifier: "OU_client" 10 | PeerOUIdentifier: 11 | Certificate: "cacerts/cacert.pem" 12 | OrganizationalUnitIdentifier: "OU_peer" 13 | -------------------------------------------------------------------------------- /msp/testdata/nodeous8/config.yaml: -------------------------------------------------------------------------------- 1 | # Copyright IBM Corp. All Rights Reserved. 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | NodeOUs: 6 | Enable: true 7 | ClientOUIdentifier: 8 | Certificate: "cacerts/external_ca.pem" 9 | OrganizationalUnitIdentifier: "OU_client" 10 | PeerOUIdentifier: 11 | Certificate: "cacerts/cacert.pem" 12 | OrganizationalUnitIdentifier: "OU_peer" 13 | -------------------------------------------------------------------------------- /token/tms/manager/manager_suite_test.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright IBM Corp. All Rights Reserved. 3 | 4 | SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | package manager_test 8 | 9 | import ( 10 | "testing" 11 | 12 | . "github.com/onsi/ginkgo" 13 | . "github.com/onsi/gomega" 14 | ) 15 | 16 | func TestTransaction(t *testing.T) { 17 | RegisterFailHandler(Fail) 18 | RunSpecs(t, "Manager Suite") 19 | } 20 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/umask.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package system // import "github.com/docker/docker/pkg/system" 4 | 5 | import ( 6 | "golang.org/x/sys/unix" 7 | ) 8 | 9 | // Umask sets current process's file mode creation mask to newmask 10 | // and returns oldmask. 11 | func Umask(newmask int) (oldmask int, err error) { 12 | return unix.Umask(newmask), nil 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/fsouza/go-dockerclient/internal/archive/archive_other.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 Docker authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the DOCKER-LICENSE file. 4 | 5 | // +build !linux 6 | 7 | package archive 8 | 9 | func getWhiteoutConverter(format WhiteoutFormat) tarWhiteoutConverter { 10 | return nil 11 | } 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_linux_amd64_gc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build amd64,linux 6 | // +build !gccgo 7 | 8 | package unix 9 | 10 | import "syscall" 11 | 12 | //go:noescape 13 | func gettimeofday(tv *Timeval) (err syscall.Errno) 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/windows/asm_windows_arm.s: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | #include "textflag.h" 6 | 7 | TEXT ·getprocaddress(SB),NOSPLIT,$0 8 | B syscall·getprocaddress(SB) 9 | 10 | TEXT ·loadlibrary(SB),NOSPLIT,$0 11 | B syscall·loadlibrary(SB) 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/sha3/keccakf_amd64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build amd64,!appengine,!gccgo 6 | 7 | package sha3 8 | 9 | // This function is implemented in keccakf_amd64.s. 10 | 11 | //go:noescape 12 | 13 | func keccakF1600(a *[25]uint64) 14 | -------------------------------------------------------------------------------- /common/metrics/disabled/disabled_suite_test.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright IBM Corp. All Rights Reserved. 3 | 4 | SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | package disabled_test 8 | 9 | import ( 10 | "testing" 11 | 12 | . "github.com/onsi/ginkgo" 13 | . "github.com/onsi/gomega" 14 | ) 15 | 16 | func TestDisabled(t *testing.T) { 17 | RegisterFailHandler(Fail) 18 | RunSpecs(t, "Disabled Suite") 19 | } 20 | -------------------------------------------------------------------------------- /docs/source/mdtorst.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Copyright IBM Corp. All Rights Reserved. 4 | # 5 | # SPDX-License-Identifier: Apache-2.0 6 | # 7 | 8 | FILES=*.md 9 | for f in $FILES 10 | do 11 | # extension="${f##*.}" 12 | filename="${f%.*}" 13 | echo "Converting $f to $filename.rst" 14 | `pandoc $f -t rst -o $filename.rst` 15 | # uncomment this line to delete the source file. 16 | # rm $f 17 | done 18 | -------------------------------------------------------------------------------- /images/orderer/Dockerfile.in: -------------------------------------------------------------------------------- 1 | # Copyright Greg Haskins All Rights Reserved 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | FROM _BASE_NS_/fabric-baseos:_BASE_TAG_ 6 | ENV FABRIC_CFG_PATH /etc/hyperledger/fabric 7 | RUN mkdir -p /var/hyperledger/production $FABRIC_CFG_PATH 8 | COPY payload/orderer /usr/local/bin 9 | ADD payload/sampleconfig.tar.bz2 $FABRIC_CFG_PATH/ 10 | EXPOSE 7050 11 | CMD ["orderer"] 12 | -------------------------------------------------------------------------------- /vendor/github.com/Azure/go-ansiterm/utilities.go: -------------------------------------------------------------------------------- 1 | package ansiterm 2 | 3 | import ( 4 | "strconv" 5 | ) 6 | 7 | func sliceContains(bytes []byte, b byte) bool { 8 | for _, v := range bytes { 9 | if v == b { 10 | return true 11 | } 12 | } 13 | 14 | return false 15 | } 16 | 17 | func convertBytesToInteger(bytes []byte) int { 18 | s := string(bytes) 19 | i, _ := strconv.Atoi(s) 20 | return i 21 | } 22 | -------------------------------------------------------------------------------- /vendor/github.com/Knetic/govaluate/expressionFunctions.go: -------------------------------------------------------------------------------- 1 | package govaluate 2 | 3 | /* 4 | Represents a function that can be called from within an expression. 5 | This method must return an error if, for any reason, it is unable to produce exactly one unambiguous result. 6 | An error returned will halt execution of the expression. 7 | */ 8 | type ExpressionFunction func(arguments ...interface{}) (interface{}, error) 9 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_notappengine.go: -------------------------------------------------------------------------------- 1 | // +build !appengine,!js,!windows 2 | 3 | package logrus 4 | 5 | import ( 6 | "io" 7 | "os" 8 | 9 | "golang.org/x/crypto/ssh/terminal" 10 | ) 11 | 12 | func checkIfTerminal(w io.Writer) bool { 13 | switch v := w.(type) { 14 | case *os.File: 15 | return terminal.IsTerminal(int(v.Fd())) 16 | default: 17 | return false 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/testify/assert/errors.go: -------------------------------------------------------------------------------- 1 | package assert 2 | 3 | import ( 4 | "errors" 5 | ) 6 | 7 | // AnError is an error instance useful for testing. If the code does not care 8 | // about error specifics, and only needs to return the error for example, this 9 | // error should be used to make the test code more readable. 10 | var AnError = errors.New("assert.AnError general error for testing") 11 | -------------------------------------------------------------------------------- /common/flogging/httpadmin/httpadmin_suite_test.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright IBM Corp. All Rights Reserved. 3 | 4 | SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | package httpadmin_test 8 | 9 | import ( 10 | "testing" 11 | 12 | . "github.com/onsi/ginkgo" 13 | . "github.com/onsi/gomega" 14 | ) 15 | 16 | func TestHttpadmin(t *testing.T) { 17 | RegisterFailHandler(Fail) 18 | RunSpecs(t, "Httpadmin Suite") 19 | } 20 | -------------------------------------------------------------------------------- /common/metrics/statsd/goruntime/goruntime_suite_test.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright IBM Corp. All Rights Reserved. 3 | 4 | SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | package goruntime_test 8 | 9 | import ( 10 | "testing" 11 | 12 | . "github.com/onsi/ginkgo" 13 | . "github.com/onsi/gomega" 14 | ) 15 | 16 | func TestRuntime(t *testing.T) { 17 | RegisterFailHandler(Fail) 18 | RunSpecs(t, "Runtime Suite") 19 | } 20 | -------------------------------------------------------------------------------- /token/transaction/transaction_suite_test.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright IBM Corp. All Rights Reserved. 3 | 4 | SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | package transaction_test 8 | 9 | import ( 10 | "testing" 11 | 12 | . "github.com/onsi/ginkgo" 13 | . "github.com/onsi/gomega" 14 | ) 15 | 16 | func TestTransaction(t *testing.T) { 17 | RegisterFailHandler(Fail) 18 | RunSpecs(t, "Transaction Suite") 19 | } 20 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/mount/mountinfo_unsupported.go: -------------------------------------------------------------------------------- 1 | // +build !windows,!linux,!freebsd freebsd,!cgo 2 | 3 | package mount // import "github.com/docker/docker/pkg/mount" 4 | 5 | import ( 6 | "fmt" 7 | "runtime" 8 | ) 9 | 10 | func parseMountTable(f FilterFunc) ([]*Info, error) { 11 | return nil, fmt.Errorf("mount.parseMountTable is not implemented on %s/%s", runtime.GOOS, runtime.GOARCH) 12 | } 13 | -------------------------------------------------------------------------------- /common/metrics/prometheus/prometheus_suite_test.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright IBM Corp. All Rights Reserved. 3 | 4 | SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | package prometheus_test 8 | 9 | import ( 10 | "testing" 11 | 12 | . "github.com/onsi/ginkgo" 13 | . "github.com/onsi/gomega" 14 | ) 15 | 16 | func TestPrometheus(t *testing.T) { 17 | RegisterFailHandler(Fail) 18 | RunSpecs(t, "Prometheus Suite") 19 | } 20 | -------------------------------------------------------------------------------- /core/scc/register.go: -------------------------------------------------------------------------------- 1 | // +build !pluginsenabled !cgo darwin,!go1.10 linux,!go1.9 linux,ppc64le,!go1.10 2 | 3 | /* 4 | Copyright IBM Corp. All Rights Reserved. 5 | 6 | SPDX-License-Identifier: Apache-2.0 7 | */ 8 | 9 | package scc 10 | 11 | // CreatePluginSysCCs creates all of the system chaincodes which are compiled into fabric 12 | func CreatePluginSysCCs(p *Provider) []SelfDescribingSysCC { 13 | return nil 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/stretchr/objx/constants.go: -------------------------------------------------------------------------------- 1 | package objx 2 | 3 | const ( 4 | // PathSeparator is the character used to separate the elements 5 | // of the keypath. 6 | // 7 | // For example, `location.address.city` 8 | PathSeparator string = "." 9 | 10 | // SignatureSeparator is the character that is used to 11 | // separate the Base64 string from the security signature. 12 | SignatureSeparator = "_" 13 | ) 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/secure/bidirule/bidirule10.0.0.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build go1.10 6 | 7 | package bidirule 8 | 9 | func (t *Transformer) isFinal() bool { 10 | return t.state == ruleLTRFinal || t.state == ruleRTLFinal || t.state == ruleInitial 11 | } 12 | -------------------------------------------------------------------------------- /vendor/gopkg.in/cheggaaa/pb.v1/termios_sysv.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build linux solaris 6 | // +build !appengine 7 | 8 | package pb 9 | 10 | import "golang.org/x/sys/unix" 11 | 12 | const ioctlReadTermios = unix.TCGETS 13 | const ioctlWriteTermios = unix.TCSETS 14 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/mknod_windows.go: -------------------------------------------------------------------------------- 1 | package system // import "github.com/docker/docker/pkg/system" 2 | 3 | // Mknod is not implemented on Windows. 4 | func Mknod(path string, mode uint32, dev int) error { 5 | return ErrNotSupportedPlatform 6 | } 7 | 8 | // Mkdev is not implemented on Windows. 9 | func Mkdev(major int64, minor int64) uint32 { 10 | panic("Mkdev not implemented on Windows.") 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/gorilla/handlers/doc.go: -------------------------------------------------------------------------------- 1 | /* 2 | Package handlers is a collection of handlers (aka "HTTP middleware") for use 3 | with Go's net/http package (or any framework supporting http.Handler). 4 | 5 | The package includes handlers for logging in standardised formats, compressing 6 | HTTP responses, validating content types and other useful tools for manipulating 7 | requests and responses. 8 | */ 9 | package handlers 10 | -------------------------------------------------------------------------------- /docs/source/key_concepts.rst: -------------------------------------------------------------------------------- 1 | Key Concepts 2 | ============ 3 | 4 | .. toctree:: 5 | :maxdepth: 1 6 | 7 | blockchain 8 | functionalities 9 | fabric_model 10 | network/network.md 11 | identity/identity.md 12 | membership/membership.md 13 | peers/peers.md 14 | smartcontract/smartcontract.md 15 | ledger/ledger.md 16 | orderer/ordering_service.md 17 | private-data/private-data.md 18 | usecases 19 | -------------------------------------------------------------------------------- /vendor/github.com/fsouza/go-dockerclient/internal/term/term.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 Docker authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the DOCKER-LICENSE file. 4 | 5 | package term 6 | 7 | // Winsize represents the size of the terminal window. 8 | type Winsize struct { 9 | Height uint16 10 | Width uint16 11 | x uint16 12 | y uint16 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_windows.go: -------------------------------------------------------------------------------- 1 | // +build !appengine,!js,windows 2 | 3 | package logrus 4 | 5 | import ( 6 | "io" 7 | "os" 8 | "syscall" 9 | 10 | sequences "github.com/konsorten/go-windows-terminal-sequences" 11 | ) 12 | 13 | func initTerminal(w io.Writer) { 14 | switch v := w.(type) { 15 | case *os.File: 16 | sequences.EnableVirtualTerminalProcessing(syscall.Handle(v.Fd()), true) 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/not_go19.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !go1.9 6 | 7 | package http2 8 | 9 | import ( 10 | "net/http" 11 | ) 12 | 13 | func configureServer19(s *http.Server, conf *Server) error { 14 | // not supported prior to go1.9 15 | return nil 16 | } 17 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/encoding/japanese/all.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package japanese 6 | 7 | import ( 8 | "golang.org/x/text/encoding" 9 | ) 10 | 11 | // All is a list of all defined encodings in this package. 12 | var All = []encoding.Encoding{EUCJP, ISO2022JP, ShiftJIS} 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/internal/fastwalk/fastwalk_dirent_fileno.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build freebsd openbsd netbsd 6 | 7 | package fastwalk 8 | 9 | import "syscall" 10 | 11 | func direntInode(dirent *syscall.Dirent) uint64 { 12 | return uint64(dirent.Fileno) 13 | } 14 | -------------------------------------------------------------------------------- /core/ledger/kvledger/txmgmt/statedb/statecouchdb/msgs/msgs.proto: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright IBM Corp. All Rights Reserved. 3 | 4 | SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | syntax = "proto3"; 8 | 9 | option go_package = "github.com/hyperledger/fabric/core/ledger/kvledger/txmgmt/statedb/statecouchdb/msgs"; 10 | 11 | package msgs; 12 | 13 | message VersionFieldProto { 14 | bytes version_bytes = 1; 15 | bytes metadata = 2; 16 | } -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/api/types/error_response.go: -------------------------------------------------------------------------------- 1 | package types 2 | 3 | // This file was generated by the swagger tool. 4 | // Editing this file might prove futile when you re-run the swagger generate command 5 | 6 | // ErrorResponse Represents an error. 7 | // swagger:model ErrorResponse 8 | type ErrorResponse struct { 9 | 10 | // The error message. 11 | // Required: true 12 | Message string `json:"message"` 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/cobra/command_win.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package cobra 4 | 5 | import ( 6 | "os" 7 | "time" 8 | 9 | "github.com/inconshreveable/mousetrap" 10 | ) 11 | 12 | var preExecHookFn = preExecHook 13 | 14 | func preExecHook(c *Command) { 15 | if MousetrapHelpText != "" && mousetrap.StartedByExplorer() { 16 | c.Print(MousetrapHelpText) 17 | time.Sleep(5 * time.Second) 18 | os.Exit(1) 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /vendor/github.com/tjfoc/gmsm/vendor/golang.org/x/crypto/sha3/keccakf_amd64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build amd64,!appengine,!gccgo 6 | 7 | package sha3 8 | 9 | // This function is implemented in keccakf_amd64.s. 10 | 11 | //go:noescape 12 | 13 | func keccakF1600(a *[25]uint64) 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/ssh/terminal/util_bsd.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build darwin dragonfly freebsd netbsd openbsd 6 | 7 | package terminal 8 | 9 | import "golang.org/x/sys/unix" 10 | 11 | const ioctlReadTermios = unix.TIOCGETA 12 | const ioctlWriteTermios = unix.TIOCSETA 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/go16.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build go1.6 6 | 7 | package http2 8 | 9 | import ( 10 | "net/http" 11 | "time" 12 | ) 13 | 14 | func transportExpectContinueTimeout(t1 *http.Transport) time.Duration { 15 | return t1.ExpectContinueTimeout 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/alecthomas/units/doc.go: -------------------------------------------------------------------------------- 1 | // Package units provides helpful unit multipliers and functions for Go. 2 | // 3 | // The goal of this package is to have functionality similar to the time [1] package. 4 | // 5 | // 6 | // [1] http://golang.org/pkg/time/ 7 | // 8 | // It allows for code like this: 9 | // 10 | // n, err := ParseBase2Bytes("1KB") 11 | // // n == 1024 12 | // n = units.Mebibyte * 512 13 | package units 14 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/init_windows.go: -------------------------------------------------------------------------------- 1 | package system // import "github.com/docker/docker/pkg/system" 2 | 3 | // lcowSupported determines if Linux Containers on Windows are supported. 4 | var lcowSupported = false 5 | 6 | // InitLCOW sets whether LCOW is supported or not 7 | func InitLCOW(experimental bool) { 8 | v := GetOSVersion() 9 | if experimental && v.Build >= 16299 { 10 | lcowSupported = true 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/stat_openbsd.go: -------------------------------------------------------------------------------- 1 | package system // import "github.com/docker/docker/pkg/system" 2 | 3 | import "syscall" 4 | 5 | // fromStatT converts a syscall.Stat_t type to a system.Stat_t type 6 | func fromStatT(s *syscall.Stat_t) (*StatT, error) { 7 | return &StatT{size: s.Size, 8 | mode: uint32(s.Mode), 9 | uid: s.Uid, 10 | gid: s.Gid, 11 | rdev: uint64(s.Rdev), 12 | mtim: s.Mtim}, nil 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/stat_solaris.go: -------------------------------------------------------------------------------- 1 | package system // import "github.com/docker/docker/pkg/system" 2 | 3 | import "syscall" 4 | 5 | // fromStatT converts a syscall.Stat_t type to a system.Stat_t type 6 | func fromStatT(s *syscall.Stat_t) (*StatT, error) { 7 | return &StatT{size: s.Size, 8 | mode: uint32(s.Mode), 9 | uid: s.Uid, 10 | gid: s.Gid, 11 | rdev: uint64(s.Rdev), 12 | mtim: s.Mtim}, nil 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/internal/leafnodes/interfaces.go: -------------------------------------------------------------------------------- 1 | package leafnodes 2 | 3 | import ( 4 | "github.com/onsi/ginkgo/types" 5 | ) 6 | 7 | type BasicNode interface { 8 | Type() types.SpecComponentType 9 | Run() (types.SpecState, types.SpecFailure) 10 | CodeLocation() types.CodeLocation 11 | } 12 | 13 | type SubjectNode interface { 14 | BasicNode 15 | 16 | Text() string 17 | Flag() types.FlagType 18 | Samples() int 19 | } 20 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_windows.go: -------------------------------------------------------------------------------- 1 | // +build !appengine,!js,windows 2 | 3 | package logrus 4 | 5 | import ( 6 | "io" 7 | "os" 8 | "syscall" 9 | ) 10 | 11 | func checkIfTerminal(w io.Writer) bool { 12 | switch v := w.(type) { 13 | case *os.File: 14 | var mode uint32 15 | err := syscall.GetConsoleMode(syscall.Handle(v.Fd()), &mode) 16 | return err == nil 17 | default: 18 | return false 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/internal/fastwalk/fastwalk_dirent_ino.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build linux darwin 6 | // +build !appengine 7 | 8 | package fastwalk 9 | 10 | import "syscall" 11 | 12 | func direntInode(dirent *syscall.Dirent) uint64 { 13 | return uint64(dirent.Ino) 14 | } 15 | -------------------------------------------------------------------------------- /msp/testdata/nodeous1/config.yaml: -------------------------------------------------------------------------------- 1 | # Copyright IBM Corp. All Rights Reserved. 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | 6 | OrganizationalUnitIdentifiers: 7 | - Certificate: "cacerts/cacert.pem" 8 | OrganizationalUnitIdentifier: "COP" 9 | 10 | NodeOUs: 11 | Enable: true 12 | ClientOUIdentifier: 13 | OrganizationalUnitIdentifier: "OU_client" 14 | PeerOUIdentifier: 15 | OrganizationalUnitIdentifier: "OU_peer" 16 | -------------------------------------------------------------------------------- /msp/testdata/nodeous7/config.yaml: -------------------------------------------------------------------------------- 1 | # Copyright IBM Corp. All Rights Reserved. 2 | # 3 | # SPDX-License-Identifier: Apache-2.0 4 | # 5 | OrganizationalUnitIdentifiers: 6 | - Certificate: "cacerts/cacert.pem" 7 | OrganizationalUnitIdentifier: "OU_common" 8 | 9 | NodeOUs: 10 | Enable: true 11 | ClientOUIdentifier: 12 | OrganizationalUnitIdentifier: "OU_client" 13 | PeerOUIdentifier: 14 | OrganizationalUnitIdentifier: "OU_peer" 15 | -------------------------------------------------------------------------------- /orderer/main.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright IBM Corp. 2017 All Rights Reserved. 3 | 4 | SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | // Package main is the entrypoint for the orderer binary 8 | // and calls only into the server.Main() function. No other 9 | // function should be included in this package. 10 | package main 11 | 12 | import "github.com/hyperledger/fabric/orderer/common/server" 13 | 14 | func main() { 15 | server.Main() 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/homedir/homedir_others.go: -------------------------------------------------------------------------------- 1 | // +build !linux 2 | 3 | package homedir // import "github.com/docker/docker/pkg/homedir" 4 | 5 | import ( 6 | "errors" 7 | ) 8 | 9 | // GetStatic is not needed for non-linux systems. 10 | // (Precisely, it is needed only for glibc-based linux systems.) 11 | func GetStatic() (string, error) { 12 | return "", errors.New("homedir.GetStatic() is not supported on this system") 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/chtimes_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package system // import "github.com/docker/docker/pkg/system" 4 | 5 | import ( 6 | "time" 7 | ) 8 | 9 | //setCTime will set the create time on a file. On Unix, the create 10 | //time is updated as a side effect of setting the modified time, so 11 | //no action is required. 12 | func setCTime(path string, ctime time.Time) error { 13 | return nil 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/lstat_windows.go: -------------------------------------------------------------------------------- 1 | package system // import "github.com/docker/docker/pkg/system" 2 | 3 | import "os" 4 | 5 | // Lstat calls os.Lstat to get a fileinfo interface back. 6 | // This is then copied into our own locally defined structure. 7 | func Lstat(path string) (*StatT, error) { 8 | fi, err := os.Lstat(path) 9 | if err != nil { 10 | return nil, err 11 | } 12 | 13 | return fromStatT(&fi) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/stat_darwin.go: -------------------------------------------------------------------------------- 1 | package system // import "github.com/docker/docker/pkg/system" 2 | 3 | import "syscall" 4 | 5 | // fromStatT converts a syscall.Stat_t type to a system.Stat_t type 6 | func fromStatT(s *syscall.Stat_t) (*StatT, error) { 7 | return &StatT{size: s.Size, 8 | mode: uint32(s.Mode), 9 | uid: s.Uid, 10 | gid: s.Gid, 11 | rdev: uint64(s.Rdev), 12 | mtim: s.Mtimespec}, nil 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/pkg/system/stat_freebsd.go: -------------------------------------------------------------------------------- 1 | package system // import "github.com/docker/docker/pkg/system" 2 | 3 | import "syscall" 4 | 5 | // fromStatT converts a syscall.Stat_t type to a system.Stat_t type 6 | func fromStatT(s *syscall.Stat_t) (*StatT, error) { 7 | return &StatT{size: s.Size, 8 | mode: uint32(s.Mode), 9 | uid: s.Uid, 10 | gid: s.Gid, 11 | rdev: uint64(s.Rdev), 12 | mtim: s.Mtimespec}, nil 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/golang/snappy/decode_amd64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Snappy-Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !appengine 6 | // +build gc 7 | // +build !noasm 8 | 9 | package snappy 10 | 11 | // decode has the same semantics as in decode_other.go. 12 | // 13 | //go:noescape 14 | func decode(dst, src []byte) int 15 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/encoding/simplifiedchinese/all.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package simplifiedchinese 6 | 7 | import ( 8 | "golang.org/x/text/encoding" 9 | ) 10 | 11 | // All is a list of all defined encodings in this package. 12 | var All = []encoding.Encoding{GB18030, GBK, HZGB2312} 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/internal/fastwalk/fastwalk_dirent_namlen_bsd.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build darwin freebsd openbsd netbsd 6 | 7 | package fastwalk 8 | 9 | import "syscall" 10 | 11 | func direntNamlen(dirent *syscall.Dirent) uint64 { 12 | return uint64(dirent.Namlen) 13 | } 14 | -------------------------------------------------------------------------------- /docs/wrappers/peer_channel_preamble.md: -------------------------------------------------------------------------------- 1 | # peer channel 2 | 3 | The `peer channel` command allows administrators to perform channel related 4 | operations on a peer, such as joining a channel or listing the channels to which 5 | a peer is joined. 6 | 7 | ## Syntax 8 | 9 | The `peer channel` command has the following subcommands: 10 | 11 | * create 12 | * fetch 13 | * getinfo 14 | * join 15 | * list 16 | * signconfigtx 17 | * update 18 | -------------------------------------------------------------------------------- /vendor/github.com/onsi/ginkgo/ginkgo/testsuite/vendor_check_go16.go: -------------------------------------------------------------------------------- 1 | // +build go1.6 2 | 3 | package testsuite 4 | 5 | import ( 6 | "os" 7 | "path" 8 | ) 9 | 10 | // in 1.6 the vendor directory became the default go behaviour, so now 11 | // check if its disabled. 12 | func vendorExperimentCheck(dir string) bool { 13 | vendorExperiment := os.Getenv("GO15VENDOREXPERIMENT") 14 | return vendorExperiment != "0" && path.Base(dir) == "vendor" 15 | } 16 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/go19.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build go1.9 6 | 7 | package http2 8 | 9 | import ( 10 | "net/http" 11 | ) 12 | 13 | func configureServer19(s *http.Server, conf *Server) error { 14 | s.RegisterOnShutdown(conf.state.startGracefulShutdown) 15 | return nil 16 | } 17 | -------------------------------------------------------------------------------- /common/channelconfig/consortiums_test.go: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright IBM Corp. All Rights Reserved. 3 | 4 | SPDX-License-Identifier: Apache-2.0 5 | */ 6 | package channelconfig 7 | 8 | import ( 9 | "testing" 10 | 11 | cb "github.com/hyperledger/fabric/protos/common" 12 | "github.com/stretchr/testify/assert" 13 | ) 14 | 15 | func TestConsortiums(t *testing.T) { 16 | _, err := NewConsortiumsConfig(&cb.ConfigGroup{}, nil) 17 | assert.NoError(t, err) 18 | } 19 | -------------------------------------------------------------------------------- /core/chaincode/platforms/golang/testdata/src/chaincodes/AutoVendor/indirectdep/core.go: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright Greg Haskins All Rights Reserved 3 | * 4 | * SPDX-License-Identifier: Apache-2.0 5 | * 6 | * See github.com/hyperledger/fabric/test/chaincodes/AutoVendor/chaincode/main.go for details 7 | */ 8 | package indirectdep 9 | 10 | import "fmt" 11 | 12 | func PointlessFunction() { 13 | fmt.Printf("Successfully invoked pointless function\n") 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/api/types/id_response.go: -------------------------------------------------------------------------------- 1 | package types 2 | 3 | // This file was generated by the swagger tool. 4 | // Editing this file might prove futile when you re-run the swagger generate command 5 | 6 | // IDResponse Response to an API call that returns just an Id 7 | // swagger:model IdResponse 8 | type IDResponse struct { 9 | 10 | // The id of the newly created object. 11 | // Required: true 12 | ID string `json:"Id"` 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/docker/docker/api/types/service_update_response.go: -------------------------------------------------------------------------------- 1 | package types 2 | 3 | // This file was generated by the swagger tool. 4 | // Editing this file might prove futile when you re-run the swagger generate command 5 | 6 | // ServiceUpdateResponse service update response 7 | // swagger:model ServiceUpdateResponse 8 | type ServiceUpdateResponse struct { 9 | 10 | // Optional warning messages 11 | Warnings []string `json:"Warnings"` 12 | } 13 | -------------------------------------------------------------------------------- /docs/source/command_ref.rst: -------------------------------------------------------------------------------- 1 | Commands Reference 2 | ================== 3 | 4 | .. toctree:: 5 | :maxdepth: 1 6 | 7 | commands/peercommand.md 8 | commands/peerchaincode.md 9 | commands/peerchannel.md 10 | commands/peerversion.md 11 | commands/peerlogging.md 12 | commands/peernode.md 13 | commands/configtxgen.md 14 | commands/configtxlator.md 15 | commands/cryptogen.md 16 | discovery-cli.md 17 | commands/fabric-ca-commands 18 | -------------------------------------------------------------------------------- /vendor/github.com/fsouza/go-dockerclient/internal/archive/changes_unix.go: -------------------------------------------------------------------------------- 1 | // Copyright 2014 Docker authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the DOCKER-LICENSE file. 4 | 5 | // +build !windows 6 | 7 | package archive 8 | 9 | import ( 10 | "os" 11 | "syscall" 12 | ) 13 | 14 | func hasHardlinks(fi os.FileInfo) bool { 15 | return fi.Sys().(*syscall.Stat_t).Nlink > 1 16 | } 17 | -------------------------------------------------------------------------------- /vendor/go.etcd.io/etcd/etcdserver/api/snap/snappb/snap.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto2"; 2 | package snappb; 3 | 4 | import "gogoproto/gogo.proto"; 5 | 6 | option (gogoproto.marshaler_all) = true; 7 | option (gogoproto.sizer_all) = true; 8 | option (gogoproto.unmarshaler_all) = true; 9 | option (gogoproto.goproto_getters_all) = false; 10 | 11 | message snapshot { 12 | optional uint32 crc = 1 [(gogoproto.nullable) = false]; 13 | optional bytes data = 2; 14 | } 15 | -------------------------------------------------------------------------------- /core/ledger/kvledger/txmgmt/statedb/stateleveldb/msgs/storage.proto: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright IBM Corp. All Rights Reserved. 3 | 4 | SPDX-License-Identifier: Apache-2.0 5 | */ 6 | 7 | syntax = "proto3"; 8 | 9 | option go_package = "github.com/hyperledger/fabric/core/ledger/kvledger/txmgmt/statedb/stateleveldb/msgs"; 10 | 11 | package msgs; 12 | 13 | message VersionedValueProto { 14 | bytes version_bytes = 1; 15 | bytes value = 2; 16 | bytes metadata = 3; 17 | } -------------------------------------------------------------------------------- /docs/wrappers/cryptogen_preamble.md: -------------------------------------------------------------------------------- 1 | # cryptogen 2 | 3 | `cryptogen` is an utility for generating Hyperledger Fabric key material. 4 | It is provided as a means of preconfiguring a network for testing purposes. 5 | It would normally not be used in the operation of a production network. 6 | 7 | ## Syntax 8 | 9 | The ``cryptogen`` command has five subcommands, as follows: 10 | 11 | * help 12 | * generate 13 | * showtemplate 14 | * extend 15 | * version 16 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-version/version_collection.go: -------------------------------------------------------------------------------- 1 | package version 2 | 3 | // Collection is a type that implements the sort.Interface interface 4 | // so that versions can be sorted. 5 | type Collection []*Version 6 | 7 | func (v Collection) Len() int { 8 | return len(v) 9 | } 10 | 11 | func (v Collection) Less(i, j int) bool { 12 | return v[i].LessThan(v[j]) 13 | } 14 | 15 | func (v Collection) Swap(i, j int) { 16 | v[i], v[j] = v[j], v[i] 17 | } 18 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/aliases.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris 6 | // +build go1.9 7 | 8 | package unix 9 | 10 | import "syscall" 11 | 12 | type Signal = syscall.Signal 13 | type Errno = syscall.Errno 14 | type SysProcAttr = syscall.SysProcAttr 15 | --------------------------------------------------------------------------------