github.com/iotexproject/iotex-core@v1.14.1-rc1/blockchain/filedao/headerpb/header.proto (about) 1 // Copyright (c) 2020 IoTeX 2 // This source code is provided 'as is' and no warranties are given as to title or non-infringement, merchantability 3 // or fitness for purpose and, to the extent permitted by law, all liability for your use of the code is disclaimed. 4 // This source code is governed by Apache License 2.0 that can be found in the LICENSE file. 5 6 // To compile the proto, run: 7 // protoc --go_out=plugins=grpc:. *.proto 8 syntax = "proto3"; 9 package headerpb; 10 option go_package = "github.com/iotexproject/iotex-core/blockchain/filedao/headerpb"; 11 12 message FileHeader { 13 string version = 1; 14 string compressor = 2; 15 uint64 blockStoreSize = 3; 16 uint64 start = 4; 17 } 18 19 message FileTip { 20 uint64 height = 1; 21 bytes hash = 2; 22 }