1 Star 0 Fork 0

陈文甲/fabric

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
common.go 804 Bytes
Copy Edit Raw Blame History
nirro authored 2018-08-08 13:23 . [FAB-11301] private data reconciliation
/*
Copyright IBM Corp. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
package common
import (
"github.com/hyperledger/fabric/protos/common"
"github.com/hyperledger/fabric/protos/gossip"
)
// privdata_common holds types that are used both in privdata and mocks packages.
// needed in order to avoid cyclic dependencies
// DigKey defines a digest that
// specifies a specific hashed RWSet
type DigKey struct {
TxId string
Namespace string
Collection string
BlockSeq uint64
SeqInBlock uint64
}
type Dig2CollectionConfig map[DigKey]*common.StaticCollectionConfig
// FetchedPvtDataContainer container for pvt data elements
// returned by Fetcher
type FetchedPvtDataContainer struct {
AvailableElements []*gossip.PvtDataElement
PurgedElements []*gossip.PvtDataDigest
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/venjia/fabric.git
git@gitee.com:venjia/fabric.git
venjia
fabric
fabric
v1.4.12

Search