1 Star 0 Fork 0

陈文甲/fabric

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
resources.go 1.45 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 (
PROPOSE = "PROPOSE"
//LSCC resources
LSCC_INSTALL = "LSCC.INSTALL"
LSCC_DEPLOY = "LSCC.DEPLOY"
LSCC_UPGRADE = "LSCC.UPGRADE"
LSCC_GETCCINFO = "LSCC.GETCCINFO"
LSCC_GETDEPSPEC = "LSCC.GETDEPSPEC"
LSCC_GETCCDATA = "LSCC.GETCCDATA"
LSCC_GETCHAINCODES = "LSCC.GETCHAINCODES"
LSCC_GETINSTALLEDCHAINCODES = "LSCC.GETINSTALLEDCHAINCODES"
//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"
//Chaincode-to-Chaincode call
CC2CC = "CC2CC"
//Events
BLOCKEVENT = "BLOCKEVENT"
FILTEREDBLOCKEVENT = "FILTEREDBLOCKEVENT"
)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/venjia/fabric.git
git@gitee.com:venjia/fabric.git
venjia
fabric
fabric
v1.1.0-rc1

搜索帮助