github.com/hechain20/hechain@v0.0.0-20220316014945-b544036ba106/core/ledger/pvtdatastorage/persistent_msgs.proto (about) 1 /* 2 Copyright hechain. All Rights Reserved. 3 4 SPDX-License-Identifier: Apache-2.0 5 */ 6 7 syntax = "proto3"; 8 9 option go_package = "github.com/hechain20/hechain/core/ledger/pvtdatastorage"; 10 11 package pvtdatastorage; 12 13 message ExpiryData { 14 map<string, NamespaceExpiryData> map = 1; 15 } 16 17 message NamespaceExpiryData { 18 // for pvt data, there would be an 19 // entry in TxNums 20 map<string, TxNums> presentData = 1; 21 // for any number of missing pvt data of a collection, 22 // there would be an entry in the map 23 map<string, bool> missingData = 2; 24 //entries for hashes for the pvtdata key-values (loaded from snapshot data) 25 map<string, TxNums> bootKVHashes = 3; 26 } 27 28 message BootKVHash { 29 bytes keyHash = 1; 30 bytes valueHash = 2; 31 } 32 33 message BootKVHashes { 34 repeated BootKVHash list = 1; 35 } 36 37 message TxNums { 38 repeated uint64 list = 1; 39 } 40 41 message CollElgInfo { 42 map<string, CollNames> nsCollMap = 1; 43 } 44 45 message CollNames { 46 repeated string entries = 1; 47 }