github.com/hyperledger/burrow@v0.34.5-0.20220512172541-77f09336001d/protobuf/names.proto (about) 1 syntax = 'proto3'; 2 3 package names; 4 5 option go_package = "github.com/hyperledger/burrow/execution/names"; 6 7 import "gogoproto/gogo.proto"; 8 9 option (gogoproto.stable_marshaler_all) = true; 10 // Enable custom Marshal method. 11 option (gogoproto.marshaler_all) = true; 12 // Enable custom Unmarshal method. 13 option (gogoproto.unmarshaler_all) = true; 14 // Enable custom Size method (Required by Marshal and Unmarshal). 15 option (gogoproto.sizer_all) = true; 16 // Enable registration with golang/protobuf for the grpc-gateway. 17 option (gogoproto.goproto_registration) = true; 18 // Enable generation of XXX_MessageName methods for grpc-go/status. 19 option (gogoproto.messagename_all) = true; 20 21 // NameReg provides a global key value store based on Name, Data pairs that are subject to expiry and ownership by an 22 // account. 23 message Entry { 24 option (gogoproto.goproto_stringer) = false; 25 // registered name for the entry 26 string Name = 1; 27 // address that created the entry 28 bytes Owner = 2 [(gogoproto.customtype) = "github.com/hyperledger/burrow/crypto.Address", (gogoproto.nullable) = false]; 29 // data to store under this name 30 string Data = 3; 31 // block at which this entry expires 32 uint64 Expires = 4; 33 } 34