1 Star 0 Fork 0

妥協/fabric

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
resources.go 1.73 KB
一键复制 编辑 原始数据 按行查看 历史
/*
Copyright IBM Corp. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
package resources
//fabric resources used for ACL checks. Note that some of the checks
//such as Lscc_INSTALL are "peer wide" (current access checks in peer are
//based on local MSP). These are not currently covered by resource or default
//ACLProviders
const (
//Lscc resources
Lscc_Install = "lscc/Install"
Lscc_Deploy = "lscc/Deploy"
Lscc_Upgrade = "lscc/Upgrade"
Lscc_ChaincodeExists = "lscc/ChaincodeExists"
Lscc_GetDeploymentSpec = "lscc/GetDeploymentSpec"
Lscc_GetChaincodeData = "lscc/GetChaincodeData"
Lscc_GetInstantiatedChaincodes = "lscc/GetInstantiatedChaincodes"
Lscc_GetInstalledChaincodes = "lscc/GetInstalledChaincodes"
Lscc_GetCollectionsConfig = "lscc/GetCollectionsConfig"
//Qscc resources
Qscc_GetChainInfo = "qscc/GetChainInfo"
Qscc_GetBlockByNumber = "qscc/GetBlockByNumber"
Qscc_GetBlockByHash = "qscc/GetBlockByHash"
Qscc_GetTransactionByID = "qscc/GetTransactionByID"
Qscc_GetBlockByTxID = "qscc/GetBlockByTxID"
//Cscc resources
Cscc_JoinChain = "cscc/JoinChain"
Cscc_GetConfigBlock = "cscc/GetConfigBlock"
Cscc_GetChannels = "cscc/GetChannels"
Cscc_GetConfigTree = "cscc/GetConfigTree"
Cscc_SimulateConfigTreeUpdate = "cscc/SimulateConfigTreeUpdate"
//Peer resources
Peer_Propose = "peer/Propose"
Peer_ChaincodeToChaincode = "peer/ChaincodeToChaincode"
//Events
Event_Block = "event/Block"
Event_FilteredBlock = "event/FilteredBlock"
//Token resources
Token_Issue = "token/Issue"
Token_Transfer = "token/Transfer"
Token_List = "token/List"
)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/liurenhao/fabric.git
git@gitee.com:liurenhao/fabric.git
liurenhao
fabric
fabric
v1.4.5

搜索帮助