github.com/turingchain2020/turingchain@v1.1.21/cmd/miner_accounts/accounts/account.pb.go (about) 1 // Copyright Turing Corp. 2018 All Rights Reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 // Code generated by protoc-gen-go. DO NOT EDIT. 6 // source: account.proto 7 8 /* 9 Package accounts is a generated protocol buffer package. 10 11 It is generated from these files: 12 account.proto 13 14 It has these top-level messages: 15 Account 16 MinerAccount 17 Accounts 18 MinerAccounts 19 Config 20 */ 21 package accounts 22 23 import ( 24 fmt "fmt" 25 26 proto "github.com/golang/protobuf/proto" 27 28 math "math" 29 ) 30 31 // Reference imports to suppress errors if they are not otherwise used. 32 var _ = proto.Marshal 33 var _ = fmt.Errorf 34 var _ = math.Inf 35 36 // This is a compile-time assertion to ensure that this generated file 37 // is compatible with the proto package it is being compiled against. 38 // A compilation error at this line likely means your copy of the 39 // proto package needs to be updated. 40 const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package 41 42 type Account struct { 43 Addr string `protobuf:"bytes,1,opt,name=addr" json:"addr,omitempty"` 44 Frozen string `protobuf:"bytes,2,opt,name=frozen" json:"frozen,omitempty"` 45 Balance string `protobuf:"bytes,3,opt,name=balance" json:"balance,omitempty"` 46 } 47 48 func (m *Account) Reset() { *m = Account{} } 49 func (m *Account) String() string { return proto.CompactTextString(m) } 50 func (*Account) ProtoMessage() {} 51 func (*Account) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} } 52 53 func (m *Account) GetAddr() string { 54 if m != nil { 55 return m.Addr 56 } 57 return "" 58 } 59 60 func (m *Account) GetFrozen() string { 61 if m != nil { 62 return m.Frozen 63 } 64 return "" 65 } 66 67 func (m *Account) GetBalance() string { 68 if m != nil { 69 return m.Balance 70 } 71 return "" 72 } 73 74 type MinerAccount struct { 75 Addr string `protobuf:"bytes,1,opt,name=addr" json:"addr,omitempty"` 76 Total string `protobuf:"bytes,2,opt,name=total" json:"total,omitempty"` 77 Increase string `protobuf:"bytes,3,opt,name=increase" json:"increase,omitempty"` 78 Frozen string `protobuf:"bytes,4,opt,name=frozen" json:"frozen,omitempty"` 79 ExpectIncrease string `protobuf:"bytes,5,opt,name=expectIncrease" json:"expectIncrease,omitempty"` 80 MinerTrcDuring string `protobuf:"bytes,6,opt,name=minerTrcDuring" json:"minerTrcDuring,omitempty"` 81 ExpectMinerBlocks string `protobuf:"bytes,7,opt,name=expectMinerBlocks" json:"expectMinerBlocks,omitempty"` 82 } 83 84 func (m *MinerAccount) Reset() { *m = MinerAccount{} } 85 func (m *MinerAccount) String() string { return proto.CompactTextString(m) } 86 func (*MinerAccount) ProtoMessage() {} 87 func (*MinerAccount) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} } 88 89 func (m *MinerAccount) GetAddr() string { 90 if m != nil { 91 return m.Addr 92 } 93 return "" 94 } 95 96 func (m *MinerAccount) GetTotal() string { 97 if m != nil { 98 return m.Total 99 } 100 return "" 101 } 102 103 func (m *MinerAccount) GetIncrease() string { 104 if m != nil { 105 return m.Increase 106 } 107 return "" 108 } 109 110 func (m *MinerAccount) GetFrozen() string { 111 if m != nil { 112 return m.Frozen 113 } 114 return "" 115 } 116 117 func (m *MinerAccount) GetExpectIncrease() string { 118 if m != nil { 119 return m.ExpectIncrease 120 } 121 return "" 122 } 123 124 func (m *MinerAccount) GetMinerTrcDuring() string { 125 if m != nil { 126 return m.MinerTrcDuring 127 } 128 return "" 129 } 130 131 func (m *MinerAccount) GetExpectMinerBlocks() string { 132 if m != nil { 133 return m.ExpectMinerBlocks 134 } 135 return "" 136 } 137 138 type Accounts struct { 139 Accounts []*Account `protobuf:"bytes,1,rep,name=accounts" json:"accounts,omitempty"` 140 } 141 142 func (m *Accounts) Reset() { *m = Accounts{} } 143 func (m *Accounts) String() string { return proto.CompactTextString(m) } 144 func (*Accounts) ProtoMessage() {} 145 func (*Accounts) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} } 146 147 func (m *Accounts) GetAccounts() []*Account { 148 if m != nil { 149 return m.Accounts 150 } 151 return nil 152 } 153 154 type MinerAccounts struct { 155 MinerAccounts []*MinerAccount `protobuf:"bytes,1,rep,name=minerAccounts" json:"minerAccounts,omitempty"` 156 Seconds int64 `protobuf:"varint,2,opt,name=seconds" json:"seconds,omitempty"` 157 TotalIncrease string `protobuf:"bytes,3,opt,name=totalIncrease" json:"totalIncrease,omitempty"` 158 Blocks int64 `protobuf:"varint,4,opt,name=blocks" json:"blocks,omitempty"` 159 ExpectBlocks int64 `protobuf:"varint,5,opt,name=expectBlocks" json:"expectBlocks,omitempty"` 160 ExpectTotalIncrease string `protobuf:"bytes,6,opt,name=expectTotalIncrease" json:"expectTotalIncrease,omitempty"` 161 } 162 163 func (m *MinerAccounts) Reset() { *m = MinerAccounts{} } 164 func (m *MinerAccounts) String() string { return proto.CompactTextString(m) } 165 func (*MinerAccounts) ProtoMessage() {} 166 func (*MinerAccounts) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} } 167 168 func (m *MinerAccounts) GetMinerAccounts() []*MinerAccount { 169 if m != nil { 170 return m.MinerAccounts 171 } 172 return nil 173 } 174 175 func (m *MinerAccounts) GetSeconds() int64 { 176 if m != nil { 177 return m.Seconds 178 } 179 return 0 180 } 181 182 func (m *MinerAccounts) GetTotalIncrease() string { 183 if m != nil { 184 return m.TotalIncrease 185 } 186 return "" 187 } 188 189 func (m *MinerAccounts) GetBlocks() int64 { 190 if m != nil { 191 return m.Blocks 192 } 193 return 0 194 } 195 196 func (m *MinerAccounts) GetExpectBlocks() int64 { 197 if m != nil { 198 return m.ExpectBlocks 199 } 200 return 0 201 } 202 203 func (m *MinerAccounts) GetExpectTotalIncrease() string { 204 if m != nil { 205 return m.ExpectTotalIncrease 206 } 207 return "" 208 } 209 210 type Config struct { 211 Whitelist []string `protobuf:"bytes,1,rep,name=whitelist" json:"whitelist,omitempty"` 212 JrpcBindAddr string `protobuf:"bytes,2,opt,name=jrpcBindAddr" json:"jrpcBindAddr,omitempty"` 213 DataDir string `protobuf:"bytes,3,opt,name=dataDir" json:"dataDir,omitempty"` 214 MinerAddr []string `protobuf:"bytes,4,rep,name=minerAddr" json:"minerAddr,omitempty"` 215 TuringchainHost string `protobuf:"bytes,5,opt,name=turingchainhost" json:"turingchainhost,omitempty"` 216 } 217 218 func (m *Config) Reset() { *m = Config{} } 219 func (m *Config) String() string { return proto.CompactTextString(m) } 220 func (*Config) ProtoMessage() {} 221 func (*Config) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} } 222 223 func (m *Config) GetWhitelist() []string { 224 if m != nil { 225 return m.Whitelist 226 } 227 return nil 228 } 229 230 func (m *Config) GetJrpcBindAddr() string { 231 if m != nil { 232 return m.JrpcBindAddr 233 } 234 return "" 235 } 236 237 func (m *Config) GetDataDir() string { 238 if m != nil { 239 return m.DataDir 240 } 241 return "" 242 } 243 244 func (m *Config) GetMinerAddr() []string { 245 if m != nil { 246 return m.MinerAddr 247 } 248 return nil 249 } 250 251 func (m *Config) GetTuringchainHost() string { 252 if m != nil { 253 return m.TuringchainHost 254 } 255 return "" 256 } 257 258 func init() { 259 proto.RegisterType((*Account)(nil), "accounts.Account") 260 proto.RegisterType((*MinerAccount)(nil), "accounts.MinerAccount") 261 proto.RegisterType((*Accounts)(nil), "accounts.Accounts") 262 proto.RegisterType((*MinerAccounts)(nil), "accounts.MinerAccounts") 263 proto.RegisterType((*Config)(nil), "accounts.Config") 264 } 265 266 func init() { proto.RegisterFile("account.proto", fileDescriptor0) } 267 268 var fileDescriptor0 = []byte{ 269 // 398 bytes of a gzipped FileDescriptorProto 270 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x53, 0xcb, 0x6e, 0x1a, 0x31, 271 0x14, 0xd5, 0x94, 0x61, 0x80, 0x0b, 0x53, 0x09, 0xb7, 0x42, 0xa3, 0xaa, 0x0b, 0x34, 0xaa, 0x2a, 272 0x16, 0x2d, 0xaa, 0xca, 0xaa, 0x52, 0x37, 0x50, 0x36, 0x2c, 0xaa, 0x48, 0xa3, 0xfc, 0x80, 0xf1, 273 0x18, 0x70, 0x32, 0xd8, 0xc8, 0x36, 0xca, 0xe3, 0x7b, 0xf2, 0x75, 0xf9, 0x85, 0x6c, 0x22, 0x3f, 274 0x06, 0xc6, 0x49, 0x94, 0x9d, 0xcf, 0xb9, 0xf7, 0x1e, 0xfb, 0x9c, 0xb9, 0x03, 0x29, 0x26, 0x44, 275 0x1c, 0xb9, 0x9e, 0x1e, 0xa4, 0xd0, 0x02, 0x75, 0x3d, 0x54, 0xf9, 0x05, 0x74, 0xe6, 0xee, 0x8c, 276 0x10, 0xc4, 0xb8, 0x2c, 0x65, 0x16, 0x8d, 0xa3, 0x49, 0xaf, 0xb0, 0x67, 0x34, 0x82, 0x64, 0x23, 277 0xc5, 0x3d, 0xe5, 0xd9, 0x07, 0xcb, 0x7a, 0x84, 0x32, 0xe8, 0xac, 0x71, 0x85, 0x39, 0xa1, 0x59, 278 0xcb, 0x16, 0x6a, 0x98, 0x3f, 0x46, 0x30, 0xf8, 0xcf, 0x38, 0x95, 0xef, 0xc9, 0x7e, 0x86, 0xb6, 279 0x16, 0x1a, 0x57, 0x5e, 0xd5, 0x01, 0xf4, 0x05, 0xba, 0x8c, 0x13, 0x49, 0xb1, 0xaa, 0x55, 0x4f, 280 0xb8, 0xf1, 0x90, 0x38, 0x78, 0xc8, 0x77, 0xf8, 0x48, 0x6f, 0x0f, 0x94, 0xe8, 0x55, 0x3d, 0xd9, 281 0xb6, 0xf5, 0x17, 0xac, 0xe9, 0xdb, 0x9b, 0x57, 0x2d, 0xf4, 0xdd, 0xf2, 0x28, 0x19, 0xdf, 0x66, 282 0x89, 0xeb, 0x0b, 0x59, 0xf4, 0x03, 0x86, 0x6e, 0xd2, 0x7a, 0x58, 0x54, 0x82, 0x5c, 0xab, 0xac, 283 0x63, 0x5b, 0x5f, 0x17, 0xf2, 0x3f, 0xd0, 0xf5, 0x36, 0x15, 0xfa, 0x09, 0xa7, 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