Documentation
¶
Index ¶
- Variables
- type Checkpoint
- func (*Checkpoint) Descriptor() ([]byte, []int)
- func (m *Checkpoint) GetAddBlockRequests() [][]byte
- func (m *Checkpoint) GetHeight() uint64
- func (m *Checkpoint) Marshal() (dAtA []byte, err error)
- func (m *Checkpoint) MarshalTo(dAtA []byte) (int, error)
- func (m *Checkpoint) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Checkpoint) ProtoMessage()
- func (m *Checkpoint) Reset()
- func (m *Checkpoint) Size() (n int)
- func (m *Checkpoint) String() string
- func (m *Checkpoint) Unmarshal(dAtA []byte) error
- func (m *Checkpoint) XXX_DiscardUnknown()
- func (m *Checkpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Checkpoint) XXX_Merge(src proto.Message)
- func (m *Checkpoint) XXX_Size() int
- func (m *Checkpoint) XXX_Unmarshal(b []byte) error
- type Proof
- func (*Proof) Descriptor() ([]byte, []int)
- func (m *Proof) GetAddBlockRequest() *services.AddBlockRequest
- func (m *Proof) GetCheckpoint() *Checkpoint
- func (m *Proof) GetObjectId() []byte
- func (m *Proof) GetRound() *Round
- func (m *Proof) GetRoundConfirmation() *RoundConfirmation
- func (m *Proof) GetTip() []byte
- func (m *Proof) Marshal() (dAtA []byte, err error)
- func (m *Proof) MarshalTo(dAtA []byte) (int, error)
- func (m *Proof) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Proof) ProtoMessage()
- func (m *Proof) Reset()
- func (m *Proof) Size() (n int)
- func (m *Proof) String() string
- func (m *Proof) Unmarshal(dAtA []byte) error
- func (m *Proof) XXX_DiscardUnknown()
- func (m *Proof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Proof) XXX_Merge(src proto.Message)
- func (m *Proof) XXX_Size() int
- func (m *Proof) XXX_Unmarshal(b []byte) error
- type Round
- func (*Round) Descriptor() ([]byte, []int)
- func (m *Round) GetCheckpointCid() []byte
- func (m *Round) GetHeight() uint64
- func (m *Round) GetStateCid() []byte
- func (m *Round) Marshal() (dAtA []byte, err error)
- func (m *Round) MarshalTo(dAtA []byte) (int, error)
- func (m *Round) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Round) ProtoMessage()
- func (m *Round) Reset()
- func (m *Round) Size() (n int)
- func (m *Round) String() string
- func (m *Round) Unmarshal(dAtA []byte) error
- func (m *Round) XXX_DiscardUnknown()
- func (m *Round) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Round) XXX_Merge(src proto.Message)
- func (m *Round) XXX_Size() int
- func (m *Round) XXX_Unmarshal(b []byte) error
- type RoundConfirmation
- func (*RoundConfirmation) Descriptor() ([]byte, []int)
- func (m *RoundConfirmation) GetHeight() uint64
- func (m *RoundConfirmation) GetRoundCid() []byte
- func (m *RoundConfirmation) GetSignature() *signatures.Signature
- func (m *RoundConfirmation) Marshal() (dAtA []byte, err error)
- func (m *RoundConfirmation) MarshalTo(dAtA []byte) (int, error)
- func (m *RoundConfirmation) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RoundConfirmation) ProtoMessage()
- func (m *RoundConfirmation) Reset()
- func (m *RoundConfirmation) Size() (n int)
- func (m *RoundConfirmation) String() string
- func (m *RoundConfirmation) Unmarshal(dAtA []byte) error
- func (m *RoundConfirmation) XXX_DiscardUnknown()
- func (m *RoundConfirmation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RoundConfirmation) XXX_Merge(src proto.Message)
- func (m *RoundConfirmation) XXX_Size() int
- func (m *RoundConfirmation) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Checkpoint ¶
type Checkpoint struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` AddBlockRequests [][]byte `protobuf:"bytes,2,rep,name=add_block_requests,json=addBlockRequests,proto3" json:"add_block_requests,omitempty"` }
func (*Checkpoint) Descriptor ¶
func (*Checkpoint) Descriptor() ([]byte, []int)
func (*Checkpoint) GetAddBlockRequests ¶
func (m *Checkpoint) GetAddBlockRequests() [][]byte
func (*Checkpoint) GetHeight ¶
func (m *Checkpoint) GetHeight() uint64
func (*Checkpoint) Marshal ¶
func (m *Checkpoint) Marshal() (dAtA []byte, err error)
func (*Checkpoint) MarshalToSizedBuffer ¶
func (m *Checkpoint) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Checkpoint) ProtoMessage ¶
func (*Checkpoint) ProtoMessage()
func (*Checkpoint) Reset ¶
func (m *Checkpoint) Reset()
func (*Checkpoint) Size ¶
func (m *Checkpoint) Size() (n int)
func (*Checkpoint) String ¶
func (m *Checkpoint) String() string
func (*Checkpoint) Unmarshal ¶
func (m *Checkpoint) Unmarshal(dAtA []byte) error
func (*Checkpoint) XXX_DiscardUnknown ¶
func (m *Checkpoint) XXX_DiscardUnknown()
func (*Checkpoint) XXX_Marshal ¶
func (m *Checkpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Checkpoint) XXX_Merge ¶
func (m *Checkpoint) XXX_Merge(src proto.Message)
func (*Checkpoint) XXX_Size ¶
func (m *Checkpoint) XXX_Size() int
func (*Checkpoint) XXX_Unmarshal ¶
func (m *Checkpoint) XXX_Unmarshal(b []byte) error
type Proof ¶
type Proof struct { ObjectId []byte `protobuf:"bytes,1,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"` Tip []byte `protobuf:"bytes,2,opt,name=tip,proto3" json:"tip,omitempty"` AddBlockRequest *services.AddBlockRequest `protobuf:"bytes,3,opt,name=add_block_request,json=addBlockRequest,proto3" json:"add_block_request,omitempty"` Checkpoint *Checkpoint `protobuf:"bytes,4,opt,name=checkpoint,proto3" json:"checkpoint,omitempty"` Round *Round `protobuf:"bytes,5,opt,name=round,proto3" json:"round,omitempty"` RoundConfirmation *RoundConfirmation `protobuf:"bytes,6,opt,name=round_confirmation,json=roundConfirmation,proto3" json:"round_confirmation,omitempty"` }
func (*Proof) Descriptor ¶
func (*Proof) GetAddBlockRequest ¶
func (m *Proof) GetAddBlockRequest() *services.AddBlockRequest
func (*Proof) GetCheckpoint ¶
func (m *Proof) GetCheckpoint() *Checkpoint
func (*Proof) GetObjectId ¶
func (*Proof) GetRoundConfirmation ¶
func (m *Proof) GetRoundConfirmation() *RoundConfirmation
func (*Proof) ProtoMessage ¶
func (*Proof) ProtoMessage()
func (*Proof) XXX_DiscardUnknown ¶
func (m *Proof) XXX_DiscardUnknown()
func (*Proof) XXX_Marshal ¶
func (*Proof) XXX_Unmarshal ¶
type Round ¶
type Round struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` CheckpointCid []byte `protobuf:"bytes,2,opt,name=checkpoint_cid,json=checkpointCid,proto3" json:"checkpoint_cid,omitempty"` StateCid []byte `protobuf:"bytes,3,opt,name=state_cid,json=stateCid,proto3" json:"state_cid,omitempty"` }
func (*Round) Descriptor ¶
func (*Round) GetCheckpointCid ¶
func (*Round) GetStateCid ¶
func (*Round) ProtoMessage ¶
func (*Round) ProtoMessage()
func (*Round) XXX_DiscardUnknown ¶
func (m *Round) XXX_DiscardUnknown()
func (*Round) XXX_Marshal ¶
func (*Round) XXX_Unmarshal ¶
type RoundConfirmation ¶
type RoundConfirmation struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` RoundCid []byte `protobuf:"bytes,2,opt,name=round_cid,json=roundCid,proto3" json:"round_cid,omitempty"` Signature *signatures.Signature `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` }
func (*RoundConfirmation) Descriptor ¶
func (*RoundConfirmation) Descriptor() ([]byte, []int)
func (*RoundConfirmation) GetHeight ¶
func (m *RoundConfirmation) GetHeight() uint64
func (*RoundConfirmation) GetRoundCid ¶
func (m *RoundConfirmation) GetRoundCid() []byte
func (*RoundConfirmation) GetSignature ¶
func (m *RoundConfirmation) GetSignature() *signatures.Signature
func (*RoundConfirmation) Marshal ¶
func (m *RoundConfirmation) Marshal() (dAtA []byte, err error)
func (*RoundConfirmation) MarshalTo ¶
func (m *RoundConfirmation) MarshalTo(dAtA []byte) (int, error)
func (*RoundConfirmation) MarshalToSizedBuffer ¶
func (m *RoundConfirmation) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RoundConfirmation) ProtoMessage ¶
func (*RoundConfirmation) ProtoMessage()
func (*RoundConfirmation) Reset ¶
func (m *RoundConfirmation) Reset()
func (*RoundConfirmation) Size ¶
func (m *RoundConfirmation) Size() (n int)
func (*RoundConfirmation) String ¶
func (m *RoundConfirmation) String() string
func (*RoundConfirmation) Unmarshal ¶
func (m *RoundConfirmation) Unmarshal(dAtA []byte) error
func (*RoundConfirmation) XXX_DiscardUnknown ¶
func (m *RoundConfirmation) XXX_DiscardUnknown()
func (*RoundConfirmation) XXX_Marshal ¶
func (m *RoundConfirmation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RoundConfirmation) XXX_Merge ¶
func (m *RoundConfirmation) XXX_Merge(src proto.Message)
func (*RoundConfirmation) XXX_Size ¶
func (m *RoundConfirmation) XXX_Size() int
func (*RoundConfirmation) XXX_Unmarshal ¶
func (m *RoundConfirmation) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.