 Hyperledger Fabric 2.2.1 Documentationuse the low level APIs provided by the Fabric Chaincode Shim API, your chaincode needs to contain an Init function that is used to initialize the chaincode. This function is required by the chaincode interface chaincode defini- tion, you can specify whether Init must be called prior to Invokes. If you specify that Init is required, Fabric will ensure that the Init function is invoked before any other function the execution of the Init function allows you to implement logic that is run when the chain- code is initialized, for example to set some initial state. You will need to call Init to initialize the chaincode0 码力 | 575 页 | 8.55 MB | 1 年前3 Hyperledger Fabric 2.2.1 Documentationuse the low level APIs provided by the Fabric Chaincode Shim API, your chaincode needs to contain an Init function that is used to initialize the chaincode. This function is required by the chaincode interface chaincode defini- tion, you can specify whether Init must be called prior to Invokes. If you specify that Init is required, Fabric will ensure that the Init function is invoked before any other function the execution of the Init function allows you to implement logic that is run when the chain- code is initialized, for example to set some initial state. You will need to call Init to initialize the chaincode0 码力 | 575 页 | 8.55 MB | 1 年前3
 Hyperledger Fabric 2.1.1 Documentationuse the low level APIs provided by the Fabric Chaincode Shim API, your chaincode needs to contain an Init function that is used to initialize the chaincode. This function is required by the chaincode interface chaincode definition, you can specify whether Init must be called prior to Invokes. If you specify that Init is required, Fabric will ensure that the Init function is invoked before any other function Requesting the execution of the Init function allows you to implement logic that is run when the chaincode is initialized, for example to set some initial state. You will need to call Init to initialize the chaincode0 码力 | 816 页 | 10.25 MB | 1 年前3 Hyperledger Fabric 2.1.1 Documentationuse the low level APIs provided by the Fabric Chaincode Shim API, your chaincode needs to contain an Init function that is used to initialize the chaincode. This function is required by the chaincode interface chaincode definition, you can specify whether Init must be called prior to Invokes. If you specify that Init is required, Fabric will ensure that the Init function is invoked before any other function Requesting the execution of the Init function allows you to implement logic that is run when the chaincode is initialized, for example to set some initial state. You will need to call Init to initialize the chaincode0 码力 | 816 页 | 10.25 MB | 1 年前3
 Hyperledger Fabric 2.0 Documentationto contain an Init function that is used to initialize the chaincode. By default, this function is never executed. However, you can use the chaincode definition to request that the Init function be callable callable. If execution of Init is requested, fabric will ensure that Init is invoked before any other function and is only invoked once. ESCC/VSCC Plugins: The name of a custom endorsement or validation of the Init function to initialize the chaincode. If the invocation of the Init function is requested, the first invoke of the chaincode must be a call to the Init function. The invoke of the Init function0 码力 | 821 页 | 10.22 MB | 1 年前3 Hyperledger Fabric 2.0 Documentationto contain an Init function that is used to initialize the chaincode. By default, this function is never executed. However, you can use the chaincode definition to request that the Init function be callable callable. If execution of Init is requested, fabric will ensure that Init is invoked before any other function and is only invoked once. ESCC/VSCC Plugins: The name of a custom endorsement or validation of the Init function to initialize the chaincode. If the invocation of the Init function is requested, the first invoke of the chaincode must be a call to the Init function. The invoke of the Init function0 码力 | 821 页 | 10.22 MB | 1 年前3
 Hyperledger Fabric 2.0 Documentationto contain an Init function that is used to initialize the chaincode. By default, this function is never executed. However, you can use the chaincode definition to request that the Init function be callable callable. If execution of Init is requested, fabric will ensure that Init is invoked before any other function and is only invoked once. • ESCC/VSCC Plugins: The name of a custom endorsement or validation of the Init function to initialize the chaincode. If the invocation of the Init function is requested, the first invoke of the chaincode must be a call to the Init function. The invoke of the Init function0 码力 | 573 页 | 8.52 MB | 1 年前3 Hyperledger Fabric 2.0 Documentationto contain an Init function that is used to initialize the chaincode. By default, this function is never executed. However, you can use the chaincode definition to request that the Init function be callable callable. If execution of Init is requested, fabric will ensure that Init is invoked before any other function and is only invoked once. • ESCC/VSCC Plugins: The name of a custom endorsement or validation of the Init function to initialize the chaincode. If the invocation of the Init function is requested, the first invoke of the chaincode must be a call to the Init function. The invoke of the Init function0 码力 | 573 页 | 8.52 MB | 1 年前3
 Hyperledger Fabric 2.0.1 Documentationdefinition has been committed to the channel, the script initializes the chaincode by invoking the init function and then invokes the chaincode to put an initial list of cars on the ledger. The script then chaincode definition is committed to the channel, the peer cli initializes the chainocde using the Init and invokes the chaincode to put initial data on the ledger. Troubleshooting If you have any problems the --init-required flag to request the ``Init`` function be invoked to initialize the chaincode peer lifecycle chaincode approveformyorg --channelID $CHANNEL_NAME -- name mycc --version 1.0 --init-required0 码力 | 760 页 | 10.21 MB | 1 年前3 Hyperledger Fabric 2.0.1 Documentationdefinition has been committed to the channel, the script initializes the chaincode by invoking the init function and then invokes the chaincode to put an initial list of cars on the ledger. The script then chaincode definition is committed to the channel, the peer cli initializes the chainocde using the Init and invokes the chaincode to put initial data on the ledger. Troubleshooting If you have any problems the --init-required flag to request the ``Init`` function be invoked to initialize the chaincode peer lifecycle chaincode approveformyorg --channelID $CHANNEL_NAME -- name mycc --version 1.0 --init-required0 码力 | 760 页 | 10.21 MB | 1 年前3
 Hyperledger Fabric 2.0.1 Documentationdefinition has been committed to the channel, the script initializes the chaincode by invok- ing the init function and then invokes the chaincode to put an initial list of cars on the ledger. The script then chaincode definition is committed to the channel, the peer cli initializes the chainocde using the Init and invokes the chaincode to put initial data on the ledger. 5.3.9 Troubleshooting If you have any org # make note of the --package-id flag that provides the package ID # use the --init-required flag to request the ``Init`` function be invoked to ˓→initialize the chaincode peer lifecycle chaincode approveformyorg0 码力 | 533 页 | 8.37 MB | 1 年前3 Hyperledger Fabric 2.0.1 Documentationdefinition has been committed to the channel, the script initializes the chaincode by invok- ing the init function and then invokes the chaincode to put an initial list of cars on the ledger. The script then chaincode definition is committed to the channel, the peer cli initializes the chainocde using the Init and invokes the chaincode to put initial data on the ledger. 5.3.9 Troubleshooting If you have any org # make note of the --package-id flag that provides the package ID # use the --init-required flag to request the ``Init`` function be invoked to ˓→initialize the chaincode peer lifecycle chaincode approveformyorg0 码力 | 533 页 | 8.37 MB | 1 年前3
 Hyperledger Fabric 2.1 Documentationuse the low level APIs provided by the Fabric Chaincode Shim API, your chaincode needs to contain an Init function that is used to initialize the chaincode. This function is required by the chaincode interface chaincode definition, you can specify whether Init must be called prior to Invokes. If you specify that Init is required, Fabric will ensure that the Init function is invoked before any other function Requesting the execution of the Init function allows you to implement logic that is run when the chaincode is initialized, for example to set some initial state. You will need to call Init to initialize the chaincode0 码力 | 904 页 | 10.95 MB | 1 年前3 Hyperledger Fabric 2.1 Documentationuse the low level APIs provided by the Fabric Chaincode Shim API, your chaincode needs to contain an Init function that is used to initialize the chaincode. This function is required by the chaincode interface chaincode definition, you can specify whether Init must be called prior to Invokes. If you specify that Init is required, Fabric will ensure that the Init function is invoked before any other function Requesting the execution of the Init function allows you to implement logic that is run when the chaincode is initialized, for example to set some initial state. You will need to call Init to initialize the chaincode0 码力 | 904 页 | 10.95 MB | 1 年前3
 Hyperledger Fabric 2.1 Documentationuse the low level APIs provided by the Fabric Chaincode Shim API, your chaincode needs to contain an Init function that is used to initialize the chaincode. This function is required by the chaincode interface chaincode defini- tion, you can specify whether Init must be called prior to Invokes. If you specify that Init is required, Fabric will ensure that the Init function is invoked before any other function the execution of the Init function allows you to implement logic that is run when the chain- code is initialized, for example to set some initial state. You will need to call Init to initialize the chaincode0 码力 | 633 页 | 9.19 MB | 1 年前3 Hyperledger Fabric 2.1 Documentationuse the low level APIs provided by the Fabric Chaincode Shim API, your chaincode needs to contain an Init function that is used to initialize the chaincode. This function is required by the chaincode interface chaincode defini- tion, you can specify whether Init must be called prior to Invokes. If you specify that Init is required, Fabric will ensure that the Init function is invoked before any other function the execution of the Init function allows you to implement logic that is run when the chain- code is initialized, for example to set some initial state. You will need to call Init to initialize the chaincode0 码力 | 633 页 | 9.19 MB | 1 年前3
 Hyperledger Fabric 2.2.0 Documentationuse the low level APIs provided by the Fabric Chaincode Shim API, your chaincode needs to contain an Init function that is used to initialize the chaincode. This function is required by the chaincode interface chaincode defini- tion, you can specify whether Init must be called prior to Invokes. If you specify that Init is required, Fabric will ensure that the Init function is invoked before any other function the execution of the Init function allows you to implement logic that is run when the chain- code is initialized, for example to set some initial state. You will need to call Init to initialize the chaincode0 码力 | 577 页 | 9.03 MB | 1 年前3 Hyperledger Fabric 2.2.0 Documentationuse the low level APIs provided by the Fabric Chaincode Shim API, your chaincode needs to contain an Init function that is used to initialize the chaincode. This function is required by the chaincode interface chaincode defini- tion, you can specify whether Init must be called prior to Invokes. If you specify that Init is required, Fabric will ensure that the Init function is invoked before any other function the execution of the Init function allows you to implement logic that is run when the chain- code is initialized, for example to set some initial state. You will need to call Init to initialize the chaincode0 码力 | 577 页 | 9.03 MB | 1 年前3
 Hyperledger Fabric 2.2.0 Documentationuse the low level APIs provided by the Fabric Chaincode Shim API, your chaincode needs to contain an Init function that is used to initialize the chaincode. This function is required by the chaincode interface chaincode definition, you can specify whether Init must be called prior to Invokes. If you specify that Init is required, Fabric will ensure that the Init function is invoked before any other function Requesting the execution of the Init function allows you to implement logic that is run when the chaincode is initialized, for example to set some initial state. You will need to call Init to initialize the chaincode0 码力 | 820 页 | 10.90 MB | 1 年前3 Hyperledger Fabric 2.2.0 Documentationuse the low level APIs provided by the Fabric Chaincode Shim API, your chaincode needs to contain an Init function that is used to initialize the chaincode. This function is required by the chaincode interface chaincode definition, you can specify whether Init must be called prior to Invokes. If you specify that Init is required, Fabric will ensure that the Init function is invoked before any other function Requesting the execution of the Init function allows you to implement logic that is run when the chaincode is initialized, for example to set some initial state. You will need to call Init to initialize the chaincode0 码力 | 820 页 | 10.90 MB | 1 年前3
共 70 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7














