wire

package
v0.0.0-...-168a2c3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Block

type Block struct {
	Index                uint64   `protobuf:"varint,1,opt,name=Index,proto3" json:"Index,omitempty"`
	Events               [][]byte `protobuf:"bytes,2,rep,name=Events,proto3" json:"Events,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Block) Descriptor

func (*Block) Descriptor() ([]byte, []int)

func (*Block) GetEvents

func (m *Block) GetEvents() [][]byte

func (*Block) GetIndex

func (m *Block) GetIndex() uint64

func (*Block) ProtoMessage

func (*Block) ProtoMessage()

func (*Block) Reset

func (m *Block) Reset()

func (*Block) String

func (m *Block) String() string

func (*Block) XXX_DiscardUnknown

func (m *Block) XXX_DiscardUnknown()

func (*Block) XXX_Marshal

func (m *Block) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Block) XXX_Merge

func (m *Block) XXX_Merge(src proto.Message)

func (*Block) XXX_Size

func (m *Block) XXX_Size() int

func (*Block) XXX_Unmarshal

func (m *Block) XXX_Unmarshal(b []byte) error

type EventDescr

type EventDescr struct {
	Creator              []byte   `protobuf:"bytes,1,opt,name=Creator,proto3" json:"Creator,omitempty"`
	Hash                 []byte   `protobuf:"bytes,2,opt,name=Hash,proto3" json:"Hash,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*EventDescr) Descriptor

func (*EventDescr) Descriptor() ([]byte, []int)

func (*EventDescr) GetCreator

func (m *EventDescr) GetCreator() []byte

func (*EventDescr) GetHash

func (m *EventDescr) GetHash() []byte

func (*EventDescr) ProtoMessage

func (*EventDescr) ProtoMessage()

func (*EventDescr) Reset

func (m *EventDescr) Reset()

func (*EventDescr) String

func (m *EventDescr) String() string

func (*EventDescr) XXX_DiscardUnknown

func (m *EventDescr) XXX_DiscardUnknown()

func (*EventDescr) XXX_Marshal

func (m *EventDescr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventDescr) XXX_Merge

func (m *EventDescr) XXX_Merge(src proto.Message)

func (*EventDescr) XXX_Size

func (m *EventDescr) XXX_Size() int

func (*EventDescr) XXX_Unmarshal

func (m *EventDescr) XXX_Unmarshal(b []byte) error

type Flag

type Flag struct {
	Event                []byte        `protobuf:"bytes,1,opt,name=Event,proto3" json:"Event,omitempty"`
	Roots                []*EventDescr `protobuf:"bytes,2,rep,name=Roots,proto3" json:"Roots,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*Flag) Descriptor

func (*Flag) Descriptor() ([]byte, []int)

func (*Flag) GetEvent

func (m *Flag) GetEvent() []byte

func (*Flag) GetRoots

func (m *Flag) GetRoots() []*EventDescr

func (*Flag) ProtoMessage

func (*Flag) ProtoMessage()

func (*Flag) Reset

func (m *Flag) Reset()

func (*Flag) String

func (m *Flag) String() string

func (*Flag) XXX_DiscardUnknown

func (m *Flag) XXX_DiscardUnknown()

func (*Flag) XXX_Marshal

func (m *Flag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Flag) XXX_Merge

func (m *Flag) XXX_Merge(src proto.Message)

func (*Flag) XXX_Size

func (m *Flag) XXX_Size() int

func (*Flag) XXX_Unmarshal

func (m *Flag) XXX_Unmarshal(b []byte) error

type Frame

type Frame struct {
	Index                uint64            `protobuf:"varint,1,opt,name=Index,proto3" json:"Index,omitempty"`
	FlagTable            []*Flag           `protobuf:"bytes,2,rep,name=FlagTable,proto3" json:"FlagTable,omitempty"`
	ClothoCandidates     []*EventDescr     `protobuf:"bytes,3,rep,name=ClothoCandidates,proto3" json:"ClothoCandidates,omitempty"`
	Atroposes            map[string]uint64 `` /* 160-byte string literal not displayed */
	Balances             []byte            `protobuf:"bytes,5,opt,name=Balances,proto3" json:"Balances,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*Frame) Descriptor

func (*Frame) Descriptor() ([]byte, []int)

func (*Frame) GetAtroposes

func (m *Frame) GetAtroposes() map[string]uint64

func (*Frame) GetBalances

func (m *Frame) GetBalances() []byte

func (*Frame) GetClothoCandidates

func (m *Frame) GetClothoCandidates() []*EventDescr

func (*Frame) GetFlagTable

func (m *Frame) GetFlagTable() []*Flag

func (*Frame) GetIndex

func (m *Frame) GetIndex() uint64

func (*Frame) ProtoMessage

func (*Frame) ProtoMessage()

func (*Frame) Reset

func (m *Frame) Reset()

func (*Frame) String

func (m *Frame) String() string

func (*Frame) XXX_DiscardUnknown

func (m *Frame) XXX_DiscardUnknown()

func (*Frame) XXX_Marshal

func (m *Frame) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Frame) XXX_Merge

func (m *Frame) XXX_Merge(src proto.Message)

func (*Frame) XXX_Size

func (m *Frame) XXX_Size() int

func (*Frame) XXX_Unmarshal

func (m *Frame) XXX_Unmarshal(b []byte) error

type State

type State struct {
	LastFinishedFrameN   uint64   `protobuf:"varint,1,opt,name=LastFinishedFrameN,proto3" json:"LastFinishedFrameN,omitempty"`
	LastBlockN           uint64   `protobuf:"varint,2,opt,name=LastBlockN,proto3" json:"LastBlockN,omitempty"`
	Genesis              []byte   `protobuf:"bytes,3,opt,name=Genesis,proto3" json:"Genesis,omitempty"`
	TotalCap             uint64   `protobuf:"varint,4,opt,name=TotalCap,proto3" json:"TotalCap,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*State) Descriptor

func (*State) Descriptor() ([]byte, []int)

func (*State) GetGenesis

func (m *State) GetGenesis() []byte

func (*State) GetLastBlockN

func (m *State) GetLastBlockN() uint64

func (*State) GetLastFinishedFrameN

func (m *State) GetLastFinishedFrameN() uint64

func (*State) GetTotalCap

func (m *State) GetTotalCap() uint64

func (*State) ProtoMessage

func (*State) ProtoMessage()

func (*State) Reset

func (m *State) Reset()

func (*State) String

func (m *State) String() string

func (*State) XXX_DiscardUnknown

func (m *State) XXX_DiscardUnknown()

func (*State) XXX_Marshal

func (m *State) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*State) XXX_Merge

func (m *State) XXX_Merge(src proto.Message)

func (*State) XXX_Size

func (m *State) XXX_Size() int

func (*State) XXX_Unmarshal

func (m *State) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL