Hyperledger Fabric 1.4 中文文档'web3'], } @roles('db') def migrate(): # Database stuff here. pass @roles('web') def update(): # Code updates here. pass In Fabric <=1.2, the only way to ensure that migrate runs on the DB given tasks equally. Additionally, since tasks are just Python functions, it’s often desirable to pass in arguments to them at runtime. Answering both these needs is the concept of “per-task arguments” admin='no', comment="No comment provided"): print("New User (%s): %s" % (username, comment)) pass You can specify just the username: $ fab new_user:myusername Or treat it as an explicit keyword0 码力 | 145 页 | 161.53 KB | 1 年前3
Hyperledger Fabric 2.5 中文文档'web3'], } @roles('db') def migrate(): # Database stuff here. pass @roles('web') def update(): # Code updates here. pass In Fabric <=1.2, the only way to ensure that migrate runs on the DB given tasks equally. Additionally, since tasks are just Python functions, it’s often desirable to pass in arguments to them at runtime. Answering both these needs is the concept of “per-task arguments” admin='no', comment="No comment provided"): print("New User (%s): %s" % (username, comment)) pass You can specify just the username: $ fab new_user:myusername Or treat it as an explicit keyword0 码力 | 138 页 | 154.00 KB | 1 年前3
Hyperledger Fabric 1.1 Documentationcompromised identity. Using a CRL to check that a certificate is still valid. If an impersonator tries to pass a compromised digital certificate to a validating party, it can be first checked against the issuing [https://fabric-shim.github.io/] chaincode. If you’d like to run through this tutorial with node chaincode, pass the following command instead: # we use the -l flag to specify the chaincode language # forgoing TwoOrgsOrdererGenesis - and one for our channel - TwoOrgsChannel. These headers are important, as we will pass them in as arguments when we create our artifacts. Note Notice that our SampleConsortium is defined0 码力 | 422 页 | 4.84 MB | 1 年前3
Hyperledger Fabric 1.2 Documentationyou want to download different versions for Fabric, Fabric-ca and thirdparty Docker images, you must pass the version identifier for each. curl -sSL http://bit.ly/2ysbOFE | bash -scompromised identity. Using a CRL to check that a certificate is still valid. If an impersonator tries to pass a compromised digital certificate to a validating party, it can be first checked against the issuing also support for Node.js chaincode. If you’d like to run through this tutorial with node chaincode, pass the following command instead: # we use the -l flag to specify the chaincode language # forgoing 0 码力 | 335 页 | 4.48 MB | 1 年前3
Hyperledger Fabric 1.3 Documentationcompromised identity. Using a CRL to check that a certificate is still valid. If an impersonator tries to pass a compromised digital certificate to a validating party, it can be first checked against the issuing you want to download different versions for Fabric, Fabric-ca and thirdparty Docker images, you must pass the version identifier for each. curl -sSL http://bit.ly/2ysbOFE | bash -sode- java.github.io/] chaincode. If you’d like to run through this tutorial with node chaincode, pass the following command instead: # we use the -l flag to specify the chaincode language # forgoing 0 码力 | 528 页 | 6.85 MB | 1 年前3
Hyperledger Fabric 1.1 DocumentationRelease master Using a CRL to check that a certificate is still valid. If an impersonator tries to pass a compromised digital certificate to a validating party, it can be first checked against the issuing also support for Node.js chaincode. If you’d like to run through this tutorial with node chaincode, pass the following command instead: # we use the -l flag to specify the chaincode language # forgoing TwoOrgsOrdererGenesis - and one for our channel - TwoOrgsChannel. These headers are important, as we will pass them in as arguments when we create our artifacts. Note: Notice that our SampleConsortium is defined0 码力 | 277 页 | 3.21 MB | 1 年前3
Hyperledger Fabric 1.2 Documentationyou want to download different versions for Fabric, Fabric-ca and thirdparty Docker images, you must pass the version identifier for each. curl -sSL http://bit.ly/2ysbOFE | bash -scompromised identity. Using a CRL to check that a certificate is still valid. If an impersonator tries to pass a compromised digital certificate to a validating party, it can be first checked against the issuing [https://fabric-shim.github.io/] chaincode. If you’d like to run through this tutorial with node chaincode, pass the following command instead: # we use the -l flag to specify the chaincode language # forgoing 0 码力 | 497 页 | 6.59 MB | 1 年前3
Hyperledger Fabric 1.3 Documentationcompromised identity. Using a CRL to check that a certificate is still valid. If an impersonator tries to pass a compromised digital certificate to a validating party, it can be first checked against the issuing you want to download different versions for Fabric, Fabric-ca and thirdparty Docker images, you must pass the version identifier for each. curl -sSL http://bit.ly/2ysbOFE | bash -ssupport for Node.js and Java chaincode. If you’d like to run through this tutorial with node chaincode, pass the following command instead: # we use the -l flag to specify the chaincode language # forgoing 0 码力 | 367 页 | 4.95 MB | 1 年前3
Hyperledger Fabric 1.4 Documentation
compromised identity. Using a CRL to check that a certificate is still valid. If an impersonator tries to pass a compromised digital certificate to a validating party, it can be first checked against the issuing version identifiers. curl -sSL http://bit.ly/2ysbOFE | bash -s Note If you want a specific release, pass a version identifier for Fabric, Fabric-ca and thirdparty Docker images. The command below demonstrates network net_basic b7f3586e5d0233de5a454df369b8eadab0613886fc9877529587345fc01a3582 Note that you can pass a port number to the above command if the default port in monitordocker.sh is already in use. (magnetocorp0 码力 | 678 页 | 10.02 MB | 1 年前3
Hyperledger Fabric 1.4 Documentation
compromised identity. Using a CRL to check that a certificate is still valid. If an impersonator tries to pass a compromised digital certificate to a validating party, it can be first checked against the issuing version identifiers. curl -sSL http://bit.ly/2ysbOFE | bash -s Note: If you want a specific release, pass a version identifier for Fabric, Fabric-ca and thirdparty Docker images. The command below demonstrates network net_basic b7f3586e5d0233de5a454df369b8eadab0613886fc9877529587345fc01a3582 Note that you can pass a port number to the above command if the default port in monitordocker.sh is already in use. (magnetocorp0 码力 | 461 页 | 7.37 MB | 1 年前3
共 70 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7













