Documentation ¶
Index ¶
- type Block
- func (*Block) Descriptor() ([]byte, []int)
- func (m *Block) GetEvents() [][]byte
- func (m *Block) GetIndex() uint64
- func (*Block) ProtoMessage()
- func (m *Block) Reset()
- func (m *Block) String() string
- func (m *Block) XXX_DiscardUnknown()
- func (m *Block) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Block) XXX_Merge(src proto.Message)
- func (m *Block) XXX_Size() int
- func (m *Block) XXX_Unmarshal(b []byte) error
- type EventDescr
- func (*EventDescr) Descriptor() ([]byte, []int)
- func (m *EventDescr) GetCreator() []byte
- func (m *EventDescr) GetHash() []byte
- func (*EventDescr) ProtoMessage()
- func (m *EventDescr) Reset()
- func (m *EventDescr) String() string
- func (m *EventDescr) XXX_DiscardUnknown()
- func (m *EventDescr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventDescr) XXX_Merge(src proto.Message)
- func (m *EventDescr) XXX_Size() int
- func (m *EventDescr) XXX_Unmarshal(b []byte) error
- type Flag
- func (*Flag) Descriptor() ([]byte, []int)
- func (m *Flag) GetEvent() []byte
- func (m *Flag) GetRoots() []*EventDescr
- func (*Flag) ProtoMessage()
- func (m *Flag) Reset()
- func (m *Flag) String() string
- func (m *Flag) XXX_DiscardUnknown()
- func (m *Flag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Flag) XXX_Merge(src proto.Message)
- func (m *Flag) XXX_Size() int
- func (m *Flag) XXX_Unmarshal(b []byte) error
- type Frame
- func (*Frame) Descriptor() ([]byte, []int)
- func (m *Frame) GetAtroposes() map[string]uint64
- func (m *Frame) GetBalances() []byte
- func (m *Frame) GetClothoCandidates() []*EventDescr
- func (m *Frame) GetFlagTable() []*Flag
- func (m *Frame) GetIndex() uint64
- func (*Frame) ProtoMessage()
- func (m *Frame) Reset()
- func (m *Frame) String() string
- func (m *Frame) XXX_DiscardUnknown()
- func (m *Frame) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Frame) XXX_Merge(src proto.Message)
- func (m *Frame) XXX_Size() int
- func (m *Frame) XXX_Unmarshal(b []byte) error
- type State
- func (*State) Descriptor() ([]byte, []int)
- func (m *State) GetGenesis() []byte
- func (m *State) GetLastBlockN() uint64
- func (m *State) GetLastFinishedFrameN() uint64
- func (m *State) GetTotalCap() uint64
- func (*State) ProtoMessage()
- func (m *State) Reset()
- func (m *State) String() string
- func (m *State) XXX_DiscardUnknown()
- func (m *State) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *State) XXX_Merge(src proto.Message)
- func (m *State) XXX_Size() int
- func (m *State) XXX_Unmarshal(b []byte) error
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) ProtoMessage ¶
func (*Block) ProtoMessage()
func (*Block) XXX_DiscardUnknown ¶
func (m *Block) XXX_DiscardUnknown()
func (*Block) XXX_Marshal ¶
func (*Block) XXX_Unmarshal ¶
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) GetRoots ¶
func (m *Flag) GetRoots() []*EventDescr
func (*Flag) ProtoMessage ¶
func (*Flag) ProtoMessage()
func (*Flag) XXX_DiscardUnknown ¶
func (m *Flag) XXX_DiscardUnknown()
func (*Flag) XXX_Unmarshal ¶
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) GetAtroposes ¶
func (*Frame) GetBalances ¶
func (*Frame) GetClothoCandidates ¶
func (m *Frame) GetClothoCandidates() []*EventDescr
func (*Frame) GetFlagTable ¶
func (*Frame) ProtoMessage ¶
func (*Frame) ProtoMessage()
func (*Frame) XXX_DiscardUnknown ¶
func (m *Frame) XXX_DiscardUnknown()
func (*Frame) XXX_Marshal ¶
func (*Frame) XXX_Unmarshal ¶
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) GetGenesis ¶
func (*State) GetLastBlockN ¶
func (*State) GetLastFinishedFrameN ¶
func (*State) GetTotalCap ¶
func (*State) ProtoMessage ¶
func (*State) ProtoMessage()
func (*State) XXX_DiscardUnknown ¶
func (m *State) XXX_DiscardUnknown()
func (*State) XXX_Marshal ¶
func (*State) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.