package poset

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

var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

const _ = proto.ProtoPackageIsVersion2 

type BlockBody struct {
	Index                int64    `protobuf:"varint,1,opt,name=Index,proto3" json:"Index,omitempty"`
	RoundReceived        int64    `protobuf:"varint,2,opt,name=RoundReceived,proto3" json:"RoundReceived,omitempty"`
	Transactions         [][]byte `protobuf:"bytes,5,rep,name=Transactions,proto3" json:"Transactions,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *BlockBody) Reset()         { *m = BlockBody{} }
func (m *BlockBody) String() string { return proto.CompactTextString(m) }
func (*BlockBody) ProtoMessage()    {}
func (*BlockBody) Descriptor() ([]byte, []int) {
	return fileDescriptor_block_0ed9261ee7039667, []int{0}
}
func (m *BlockBody) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_BlockBody.Unmarshal(m, b)
}
func (m *BlockBody) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_BlockBody.Marshal(b, m, deterministic)
}
func (dst *BlockBody) XXX_Merge(src proto.Message) {
	xxx_messageInfo_BlockBody.Merge(dst, src)
}
func (m *BlockBody) XXX_Size() int {
	return xxx_messageInfo_BlockBody.Size(m)
}
func (m *BlockBody) XXX_DiscardUnknown() {
	xxx_messageInfo_BlockBody.DiscardUnknown(m)
}

var xxx_messageInfo_BlockBody proto.InternalMessageInfo

func (m *BlockBody) GetIndex() int64 {
	if m != nil {
		return m.Index
	}
	return 0
}

func (m *BlockBody) GetRoundReceived() int64 {
	if m != nil {
		return m.RoundReceived
	}
	return 0
}

func (m *BlockBody) GetTransactions() [][]byte {
	if m != nil {
		return m.Transactions
	}
	return nil
}

type WireBlockSignature struct {
	Index                int64    `protobuf:"varint,1,opt,name=Index,proto3" json:"Index,omitempty"`
	Signature            string   `protobuf:"bytes,2,opt,name=Signature,proto3" json:"Signature,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *WireBlockSignature) Reset()         { *m = WireBlockSignature{} }
func (m *WireBlockSignature) String() string { return proto.CompactTextString(m) }
func (*WireBlockSignature) ProtoMessage()    {}
func (*WireBlockSignature) Descriptor() ([]byte, []int) {
	return fileDescriptor_block_0ed9261ee7039667, []int{1}
}
func (m *WireBlockSignature) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_WireBlockSignature.Unmarshal(m, b)
}
func (m *WireBlockSignature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_WireBlockSignature.Marshal(b, m, deterministic)
}
func (dst *WireBlockSignature) XXX_Merge(src proto.Message) {
	xxx_messageInfo_WireBlockSignature.Merge(dst, src)
}
func (m *WireBlockSignature) XXX_Size() int {
	return xxx_messageInfo_WireBlockSignature.Size(m)
}
func (m *WireBlockSignature) XXX_DiscardUnknown() {
	xxx_messageInfo_WireBlockSignature.DiscardUnknown(m)
}

var xxx_messageInfo_WireBlockSignature proto.InternalMessageInfo

func (m *WireBlockSignature) GetIndex() int64 {
	if m != nil {
		return m.Index
	}
	return 0
}

func (m *WireBlockSignature) GetSignature() string {
	if m != nil {
		return m.Signature
	}
	return ""
}

type Block struct {
	Body                 *BlockBody        `protobuf:"bytes,1,opt,name=Body,proto3" json:"Body,omitempty"`
	Signatures           map[string]string `protobuf:"bytes,2,rep,name=Signatures,proto3" json:"Signatures,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	Hash                 []byte            `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"`
	Hex                  string            `protobuf:"bytes,4,opt,name=hex,proto3" json:"hex,omitempty"`
	StateHash            []byte            `protobuf:"bytes,5,opt,name=StateHash,proto3" json:"StateHash,omitempty"`
	FrameHash            []byte            `protobuf:"bytes,6,opt,name=FrameHash,proto3" json:"FrameHash,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_block_0ed9261ee7039667, []int{2}
}
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 (dst *Block) XXX_Merge(src proto.Message) {
	xxx_messageInfo_Block.Merge(dst, 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) GetBody() *BlockBody {
	if m != nil {
		return m.Body
	}
	return nil
}

func (m *Block) GetSignatures() map[string]string {
	if m != nil {
		return m.Signatures
	}
	return nil
}

func (m *Block) GetHash() []byte {
	if m != nil {
		return m.Hash
	}
	return nil
}

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

func (m *Block) GetStateHash() []byte {
	if m != nil {
		return m.StateHash
	}
	return nil
}

func (m *Block) GetFrameHash() []byte {
	if m != nil {
		return m.FrameHash
	}
	return nil
}

func init() {
	proto.RegisterType((*BlockBody)(nil), "poset.BlockBody")
	proto.RegisterType((*WireBlockSignature)(nil), "poset.WireBlockSignature")
	proto.RegisterType((*Block)(nil), "poset.Block")
	proto.RegisterMapType((map[string]string)(nil), "poset.Block.SignaturesEntry")
}

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

var fileDescriptor_block_0ed9261ee7039667 = []byte{

	0x1f, 0x8b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, 0xee, 0xa9, 0x9f, 0x05, 0x45, 0xb2,
	0x5a, 0x9c, 0x6b, 0xcb, 0x89, 0x7e, 0x96, 0x46, 0x9f, 0xd8, 0x99, 0x9e, 0x10, 0x08, 0x1b, 0xde,
	0x37, 0x34, 0xc8, 0xbc, 0x22, 0x65, 0x58, 0x93, 0x39, 0x04, 0x8d, 0x38, 0xd2, 0x10, 0x93, 0xd9,
	0x12, 0x13, 0x1b, 0x6e, 0xc4, 0xc6, 0x4a, 0x23, 0x94, 0x4e, 0x80, 0x65, 0x5f, 0x34, 0xff, 0x72,
	0xec, 0xcc, 0xb1, 0x23, 0x70, 0xfb, 0x04, 0xd7, 0x7f, 0x02, 0x58, 0x83, 0x4e, 0xb8, 0xbd, 0x62,
	0x66, 0x4b, 0x7b, 0xa8, 0x03, 0xdf, 0x0d, 0xbf, 0xe7, 0x70, 0xcd, 0x83, 0x7f, 0xef, 0x6d, 0x67,
	0xf8, 0xa7, 0x77, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x39, 0x55, 0x85, 0x41, 0xe2, 0x01, 0x00,
	0x00,
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: block.proto

package poset

import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import 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.ProtoPackageIsVersion2 // please upgrade the proto package

type BlockBody struct {
	Index                int64    `protobuf:"varint,1,opt,name=Index,proto3" json:"Index,omitempty"`
	RoundReceived        int64    `protobuf:"varint,2,opt,name=RoundReceived,proto3" json:"RoundReceived,omitempty"`
	Transactions         [][]byte `protobuf:"bytes,5,rep,name=Transactions,proto3" json:"Transactions,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *BlockBody) Reset()         { *m = BlockBody{} }
func (m *BlockBody) String() string { return proto.CompactTextString(m) }
func (*BlockBody) ProtoMessage()    {}
func (*BlockBody) Descriptor() ([]byte, []int) {
	return fileDescriptor_block_0ed9261ee7039667, []int{0}
}
func (m *BlockBody) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_BlockBody.Unmarshal(m, b)
}
func (m *BlockBody) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_BlockBody.Marshal(b, m, deterministic)
}
func (dst *BlockBody) XXX_Merge(src proto.Message) {
	xxx_messageInfo_BlockBody.Merge(dst, src)
}
func (m *BlockBody) XXX_Size() int {
	return xxx_messageInfo_BlockBody.Size(m)
}
func (m *BlockBody) XXX_DiscardUnknown() {
	xxx_messageInfo_BlockBody.DiscardUnknown(m)
}

var xxx_messageInfo_BlockBody proto.InternalMessageInfo

func (m *BlockBody) GetIndex() int64 {
	if m != nil {
		return m.Index
	}
	return 0
}

func (m *BlockBody) GetRoundReceived() int64 {
	if m != nil {
		return m.RoundReceived
	}
	return 0
}

func (m *BlockBody) GetTransactions() [][]byte {
	if m != nil {
		return m.Transactions
	}
	return nil
}

type WireBlockSignature struct {
	Index                int64    `protobuf:"varint,1,opt,name=Index,proto3" json:"Index,omitempty"`
	Signature            string   `protobuf:"bytes,2,opt,name=Signature,proto3" json:"Signature,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *WireBlockSignature) Reset()         { *m = WireBlockSignature{} }
func (m *WireBlockSignature) String() string { return proto.CompactTextString(m) }
func (*WireBlockSignature) ProtoMessage()    {}
func (*WireBlockSignature) Descriptor() ([]byte, []int) {
	return fileDescriptor_block_0ed9261ee7039667, []int{1}
}
func (m *WireBlockSignature) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_WireBlockSignature.Unmarshal(m, b)
}
func (m *WireBlockSignature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_WireBlockSignature.Marshal(b, m, deterministic)
}
func (dst *WireBlockSignature) XXX_Merge(src proto.Message) {
	xxx_messageInfo_WireBlockSignature.Merge(dst, src)
}
func (m *WireBlockSignature) XXX_Size() int {
	return xxx_messageInfo_WireBlockSignature.Size(m)
}
func (m *WireBlockSignature) XXX_DiscardUnknown() {
	xxx_messageInfo_WireBlockSignature.DiscardUnknown(m)
}

var xxx_messageInfo_WireBlockSignature proto.InternalMessageInfo

func (m *WireBlockSignature) GetIndex() int64 {
	if m != nil {
		return m.Index
	}
	return 0
}

func (m *WireBlockSignature) GetSignature() string {
	if m != nil {
		return m.Signature
	}
	return ""
}

type Block struct {
	Body                 *BlockBody        `protobuf:"bytes,1,opt,name=Body,proto3" json:"Body,omitempty"`
	Signatures           map[string]string `protobuf:"bytes,2,rep,name=Signatures,proto3" json:"Signatures,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
	Hash                 []byte            `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"`
	Hex                  string            `protobuf:"bytes,4,opt,name=hex,proto3" json:"hex,omitempty"`
	StateHash            []byte            `protobuf:"bytes,5,opt,name=StateHash,proto3" json:"StateHash,omitempty"`
	FrameHash            []byte            `protobuf:"bytes,6,opt,name=FrameHash,proto3" json:"FrameHash,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_block_0ed9261ee7039667, []int{2}
}
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 (dst *Block) XXX_Merge(src proto.Message) {
	xxx_messageInfo_Block.Merge(dst, 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) GetBody() *BlockBody {
	if m != nil {
		return m.Body
	}
	return nil
}

func (m *Block) GetSignatures() map[string]string {
	if m != nil {
		return m.Signatures
	}
	return nil
}

func (m *Block) GetHash() []byte {
	if m != nil {
		return m.Hash
	}
	return nil
}

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

func (m *Block) GetStateHash() []byte {
	if m != nil {
		return m.StateHash
	}
	return nil
}

func (m *Block) GetFrameHash() []byte {
	if m != nil {
		return m.FrameHash
	}
	return nil
}

func init() {
	proto.RegisterType((*BlockBody)(nil), "poset.BlockBody")
	proto.RegisterType((*WireBlockSignature)(nil), "poset.WireBlockSignature")
	proto.RegisterType((*Block)(nil), "poset.Block")
	proto.RegisterMapType((map[string]string)(nil), "poset.Block.SignaturesEntry")
}

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

var fileDescriptor_block_0ed9261ee7039667 = []byte{
	// 289 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x51, 0x3d, 0x6b, 0xc3, 0x30,
	0x10, 0xc5, 0x5f, 0x01, 0x9f, 0x5d, 0x1a, 0x44, 0x07, 0x51, 0x32, 0x18, 0x93, 0xc1, 0x93, 0x87,
	0x74, 0x29, 0xa5, 0x5d, 0x02, 0x2d, 0xe9, 0xaa, 0x16, 0x3a, 0x2b, 0xb6, 0xa8, 0x8d, 0x53, 0x29,
	0xc8, 0x72, 0x48, 0xfe, 0x43, 0x7f, 0x74,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