// Code generated by protoc-gen-go. DO NOT EDIT.
// source: block.proto

package external

import (
	fmt "fmt"
	proto "github.com/golang/protobuf/proto"
	math "math"
)

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package

type Block struct {
	Hash                 string               `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	Number               uint64               `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"`
	ParentHash           string               `protobuf:"bytes,3,opt,name=parentHash,proto3" json:"parentHash,omitempty"`
	Nonce                uint64               `protobuf:"varint,4,opt,name=nonce,proto3" json:"nonce,omitempty"`
	Miner                string               `protobuf:"bytes,5,opt,name=miner,proto3" json:"miner,omitempty"`
	Difficulty           string               `protobuf:"bytes,6,opt,name=difficulty,proto3" json:"difficulty,omitempty"`
	ExtraData            string               `protobuf:"bytes,7,opt,name=extraData,proto3" json:"extraData,omitempty"`
	Size                 string               `protobuf:"bytes,8,opt,name=size,proto3" json:"size,omitempty"`
	GasLimit             uint64               `protobuf:"varint,9,opt,name=gasLimit,proto3" json:"gasLimit,omitempty"`
	GasUsed              uint64               `protobuf:"varint,10,opt,name=gasUsed,proto3" json:"gasUsed,omitempty"`
	Timestamp            uint64               `protobuf:"varint,11,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	TransactionResult    []*TransactionResult `protobuf:"bytes,12,rep,name=transactionResult,proto3" json:"transactionResult,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (m *Block) Reset()         { *m = Block{} }
func (m *Block) String() string { return proto.CompactTextString(m) }
func (*Block) ProtoMessage()    {}
func (*Block) Descriptor() ([]byte, []int) {
	return fileDescriptor_8e550b1f5926e92d, []int{0}
}

func (m *Block) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_Block.Unmarshal(m, b)
}
func (m *Block) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_Block.Marshal(b, m, deterministic)
}
func (m *Block) XXX_Merge(src proto.Message) {
	xxx_messageInfo_Block.Merge(m, src)
}
func (m *Block) XXX_Size() int {
	return xxx_messageInfo_Block.Size(m)
}
func (m *Block) XXX_DiscardUnknown() {
	xxx_messageInfo_Block.DiscardUnknown(m)
}

var xxx_messageInfo_Block proto.InternalMessageInfo

func (m *Block) GetHash() string {
	if m != nil {
		return m.Hash
	}
	return ""
}

func (m *Block) GetNumber() uint64 {
	if m != nil {
		return m.Number
	}
	return 0
}

func (m *Block) GetParentHash() string {
	if m != nil {
		return m.ParentHash
	}
	return ""
}

func (m *Block) GetNonce() uint64 {
	if m != nil {
		return m.Nonce
	}
	return 0
}

func (m *Block) GetMiner() string {
	if m != nil {
		return m.Miner
	}
	return ""
}

func (m *Block) GetDifficulty() string {
	if m != nil {
		return m.Difficulty
	}
	return ""
}

func (m *Block) GetExtraData() string {
	if m != nil {
		return m.ExtraData
	}
	return ""
}

func (m *Block) GetSize() string {
	if m != nil {
		return m.Size
	}
	return ""
}

func (m *Block) GetGasLimit() uint64 {
	if m != nil {
		return m.GasLimit
	}
	return 0
}

func (m *Block) GetGasUsed() uint64 {
	if m != nil {
		return m.GasUsed
	}
	return 0
}

func (m *Block) GetTimestamp() uint64 {
	if m != nil {
		return m.Timestamp
	}
	return 0
}

func (m *Block) GetTransactionResult() []*TransactionResult {
	if m != nil {
		return m.TransactionResult
	}
	return nil
}

type BlockMinedInfo struct {
	Number               uint64   `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"`
	Timestamp            uint64   `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	TransactionNumber    uint64   `protobuf:"varint,3,opt,name=transactionNumber,proto3" json:"transactionNumber,omitempty"`
	Hash                 string   `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"`
	ParentHash           string   `protobuf:"bytes,5,opt,name=parentHash,proto3" json:"parentHash,omitempty"`
	Size                 string   `protobuf:"bytes,6,opt,name=size,proto3" json:"size,omitempty"`
	Difficulty           uint64   `protobuf:"varint,7,opt,name=difficulty,proto3" json:"difficulty,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *BlockMinedInfo) Reset()         { *m = BlockMinedInfo{} }
func (m *BlockMinedInfo) String() string { return proto.CompactTextString(m) }
func (*BlockMinedInfo) ProtoMessage()    {}
func (*BlockMinedInfo) Descriptor() ([]byte, []int) {
	return fileDescriptor_8e550b1f5926e92d, []int{1}
}

func (m *BlockMinedInfo) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_BlockMinedInfo.Unmarshal(m, b)
}
func (m *BlockMinedInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_BlockMinedInfo.Marshal(b, m, deterministic)
}
func (m *BlockMinedInfo) XXX_Merge(src proto.Message) {
	xxx_messageInfo_BlockMinedInfo.Merge(m, src)
}
func (m *BlockMinedInfo) XXX_Size() int {
	return xxx_messageInfo_BlockMinedInfo.Size(m)
}
func (m *BlockMinedInfo) XXX_DiscardUnknown() {
	xxx_messageInfo_BlockMinedInfo.DiscardUnknown(m)
}

var xxx_messageInfo_BlockMinedInfo proto.InternalMessageInfo

func (m *BlockMinedInfo) GetNumber() uint64 {
	if m != nil {
		return m.Number
	}
	return 0
}

func (m *BlockMinedInfo) GetTimestamp() uint64 {
	if m != nil {
		return m.Timestamp
	}
	return 0
}

func (m *BlockMinedInfo) GetTransactionNumber() uint64 {
	if m != nil {
		return m.TransactionNumber
	}
	return 0
}

func (m *BlockMinedInfo) GetHash() string {
	if m != nil {
		return m.Hash
	}
	return ""
}

func (m *BlockMinedInfo) GetParentHash() string {
	if m != nil {
		return m.ParentHash
	}
	return ""
}

func (m *BlockMinedInfo) GetSize() string {
	if m != nil {
		return m.Size
	}
	return ""
}

func (m *BlockMinedInfo) GetDifficulty() uint64 {
	if m != nil {
		return m.Difficulty
	}
	return 0
}

func init() {
	proto.RegisterType((*Block)(nil), "dto.Block")
	proto.RegisterType((*BlockMinedInfo)(nil), "dto.BlockMinedInfo")
}

func init() { proto.RegisterFile("block.proto", fileDescriptor_8e550b1f5926e92d) }

var fileDescriptor_8e550b1f5926e92d = []byte{
	// 346 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x64, 0x52, 0x4d, 0x6f, 0xe2, 0x30,
	0x14, 0x54, 0xc8, 0x07, 0xf0, 0x40, 0x2b, 0xad, 0xb5, 0x42, 0x16, 0x5a, 0xad, 0x10, 0x27, 0x0e,
	0xdb, 0x1c, 0xda, 0x63, 0x6f, 0x88, 0x43, 0x2b, 0xb5, 0x3d, 0x44, 0xed, 0xa5, 0x37, 0x93, 0x3c,
	0xc0, 0x6a, 0x62, 0x23, 0xfb, 0x21, 0xd1, 0xfe, 0xd6, 0xfe, 0x83, 0xfe, 0x89, 0xca, 0x4e, 0x81,
	0x04, 0x6e, 0x7e, 0x33, 0x9e, 0xe7, 0xd1, 0x8c, 0x61, 0xb0, 0x2c, 0x75, 0xfe, 0x96, 0x6e, 0x8d,
	0x26, 0xcd, 0xc2, 0x82, 0xf4, 0x78, 0xa4, 0x74, 0x81, 0x57, 0x64, 0x84, 0xb2, 0x22, 0x27, 0xa9,
	0x55, 0x4d, 0x4e, 0xbf, 0x3a, 0x10, 0xcf, 0xdd, 0x65, 0xc6, 0x20, 0xda, 0x08, 0xbb, 0xe1, 0xc1,
	0x24, 0x98, 0xf5, 0x33, 0x7f, 0x66, 0x23, 0x48, 0xd4, 0xae, 0x5a, 0xa2, 0xe1, 0x9d, 0x49, 0x30,
	0x8b, 0xb2, 0x9f, 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