Documentation ¶
Index ¶
- Variables
- type AddBlockRequest
- func (*AddBlockRequest) Descriptor() ([]byte, []int)
- func (m *AddBlockRequest) GetHeight() uint64
- func (m *AddBlockRequest) GetNewTip() []byte
- func (m *AddBlockRequest) GetObjectId() []byte
- func (m *AddBlockRequest) GetPayload() []byte
- func (m *AddBlockRequest) GetPreviousTip() []byte
- func (m *AddBlockRequest) GetState() [][]byte
- func (m *AddBlockRequest) Marshal() (dAtA []byte, err error)
- func (m *AddBlockRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *AddBlockRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AddBlockRequest) ProtoMessage()
- func (m *AddBlockRequest) Reset()
- func (m *AddBlockRequest) Size() (n int)
- func (m *AddBlockRequest) String() string
- func (m *AddBlockRequest) Unmarshal(dAtA []byte) error
- func (m *AddBlockRequest) XXX_DiscardUnknown()
- func (m *AddBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AddBlockRequest) XXX_Merge(src proto.Message)
- func (m *AddBlockRequest) XXX_Size() int
- func (m *AddBlockRequest) XXX_Unmarshal(b []byte) error
- type Ping
- func (*Ping) Descriptor() ([]byte, []int)
- func (m *Ping) GetMsg() string
- func (m *Ping) Marshal() (dAtA []byte, err error)
- func (m *Ping) MarshalTo(dAtA []byte) (int, error)
- func (m *Ping) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Ping) ProtoMessage()
- func (m *Ping) Reset()
- func (m *Ping) Size() (n int)
- func (m *Ping) String() string
- func (m *Ping) Unmarshal(dAtA []byte) error
- func (m *Ping) XXX_DiscardUnknown()
- func (m *Ping) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Ping) XXX_Merge(src proto.Message)
- func (m *Ping) XXX_Size() int
- func (m *Ping) XXX_Unmarshal(b []byte) error
- type Pong
- func (*Pong) Descriptor() ([]byte, []int)
- func (m *Pong) GetMsg() string
- func (m *Pong) Marshal() (dAtA []byte, err error)
- func (m *Pong) MarshalTo(dAtA []byte) (int, error)
- func (m *Pong) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Pong) ProtoMessage()
- func (m *Pong) Reset()
- func (m *Pong) Size() (n int)
- func (m *Pong) String() string
- func (m *Pong) Unmarshal(dAtA []byte) error
- func (m *Pong) XXX_DiscardUnknown()
- func (m *Pong) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Pong) XXX_Merge(src proto.Message)
- func (m *Pong) XXX_Size() int
- func (m *Pong) XXX_Unmarshal(b []byte) error
- type ReceiveCurrentStateSnapshot
- func (*ReceiveCurrentStateSnapshot) Descriptor() ([]byte, []int)
- func (m *ReceiveCurrentStateSnapshot) GetPayload() []byte
- func (m *ReceiveCurrentStateSnapshot) Marshal() (dAtA []byte, err error)
- func (m *ReceiveCurrentStateSnapshot) MarshalTo(dAtA []byte) (int, error)
- func (m *ReceiveCurrentStateSnapshot) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ReceiveCurrentStateSnapshot) ProtoMessage()
- func (m *ReceiveCurrentStateSnapshot) Reset()
- func (m *ReceiveCurrentStateSnapshot) Size() (n int)
- func (m *ReceiveCurrentStateSnapshot) String() string
- func (m *ReceiveCurrentStateSnapshot) Unmarshal(dAtA []byte) error
- func (m *ReceiveCurrentStateSnapshot) XXX_DiscardUnknown()
- func (m *ReceiveCurrentStateSnapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReceiveCurrentStateSnapshot) XXX_Merge(src proto.Message)
- func (m *ReceiveCurrentStateSnapshot) XXX_Size() int
- func (m *ReceiveCurrentStateSnapshot) XXX_Unmarshal(b []byte) error
- type RequestCurrentStateSnapshot
- func (*RequestCurrentStateSnapshot) Descriptor() ([]byte, []int)
- func (m *RequestCurrentStateSnapshot) Marshal() (dAtA []byte, err error)
- func (m *RequestCurrentStateSnapshot) MarshalTo(dAtA []byte) (int, error)
- func (m *RequestCurrentStateSnapshot) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RequestCurrentStateSnapshot) ProtoMessage()
- func (m *RequestCurrentStateSnapshot) Reset()
- func (m *RequestCurrentStateSnapshot) Size() (n int)
- func (m *RequestCurrentStateSnapshot) String() string
- func (m *RequestCurrentStateSnapshot) Unmarshal(dAtA []byte) error
- func (m *RequestCurrentStateSnapshot) XXX_DiscardUnknown()
- func (m *RequestCurrentStateSnapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RequestCurrentStateSnapshot) XXX_Merge(src proto.Message)
- func (m *RequestCurrentStateSnapshot) XXX_Size() int
- func (m *RequestCurrentStateSnapshot) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type AddBlockRequest ¶
type AddBlockRequest struct { ObjectId []byte `protobuf:"bytes,1,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"` PreviousTip []byte `protobuf:"bytes,2,opt,name=previous_tip,json=previousTip,proto3" json:"previous_tip,omitempty"` Height uint64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` NewTip []byte `protobuf:"bytes,4,opt,name=new_tip,json=newTip,proto3" json:"new_tip,omitempty"` Payload []byte `protobuf:"bytes,5,opt,name=payload,proto3" json:"payload,omitempty"` State [][]byte `protobuf:"bytes,6,rep,name=state,proto3" json:"state,omitempty"` }
This is the message we currently refer to as "Transaction" at the tupelo level
func (*AddBlockRequest) Descriptor ¶
func (*AddBlockRequest) Descriptor() ([]byte, []int)
func (*AddBlockRequest) GetHeight ¶
func (m *AddBlockRequest) GetHeight() uint64
func (*AddBlockRequest) GetNewTip ¶
func (m *AddBlockRequest) GetNewTip() []byte
func (*AddBlockRequest) GetObjectId ¶
func (m *AddBlockRequest) GetObjectId() []byte
func (*AddBlockRequest) GetPayload ¶
func (m *AddBlockRequest) GetPayload() []byte
func (*AddBlockRequest) GetPreviousTip ¶
func (m *AddBlockRequest) GetPreviousTip() []byte
func (*AddBlockRequest) GetState ¶
func (m *AddBlockRequest) GetState() [][]byte
func (*AddBlockRequest) Marshal ¶
func (m *AddBlockRequest) Marshal() (dAtA []byte, err error)
func (*AddBlockRequest) MarshalToSizedBuffer ¶
func (m *AddBlockRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AddBlockRequest) ProtoMessage ¶
func (*AddBlockRequest) ProtoMessage()
func (*AddBlockRequest) Reset ¶
func (m *AddBlockRequest) Reset()
func (*AddBlockRequest) Size ¶
func (m *AddBlockRequest) Size() (n int)
func (*AddBlockRequest) String ¶
func (m *AddBlockRequest) String() string
func (*AddBlockRequest) Unmarshal ¶
func (m *AddBlockRequest) Unmarshal(dAtA []byte) error
func (*AddBlockRequest) XXX_DiscardUnknown ¶
func (m *AddBlockRequest) XXX_DiscardUnknown()
func (*AddBlockRequest) XXX_Marshal ¶
func (m *AddBlockRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AddBlockRequest) XXX_Merge ¶
func (m *AddBlockRequest) XXX_Merge(src proto.Message)
func (*AddBlockRequest) XXX_Size ¶
func (m *AddBlockRequest) XXX_Size() int
func (*AddBlockRequest) XXX_Unmarshal ¶
func (m *AddBlockRequest) XXX_Unmarshal(b []byte) error
type Ping ¶
type Ping struct {
Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
}
func (*Ping) Descriptor ¶
func (*Ping) ProtoMessage ¶
func (*Ping) ProtoMessage()
func (*Ping) XXX_DiscardUnknown ¶
func (m *Ping) XXX_DiscardUnknown()
func (*Ping) XXX_Unmarshal ¶
type Pong ¶
type Pong struct {
Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
}
func (*Pong) Descriptor ¶
func (*Pong) ProtoMessage ¶
func (*Pong) ProtoMessage()
func (*Pong) XXX_DiscardUnknown ¶
func (m *Pong) XXX_DiscardUnknown()
func (*Pong) XXX_Unmarshal ¶
type ReceiveCurrentStateSnapshot ¶
type ReceiveCurrentStateSnapshot struct {
Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
}
func (*ReceiveCurrentStateSnapshot) Descriptor ¶
func (*ReceiveCurrentStateSnapshot) Descriptor() ([]byte, []int)
func (*ReceiveCurrentStateSnapshot) GetPayload ¶
func (m *ReceiveCurrentStateSnapshot) GetPayload() []byte
func (*ReceiveCurrentStateSnapshot) Marshal ¶
func (m *ReceiveCurrentStateSnapshot) Marshal() (dAtA []byte, err error)
func (*ReceiveCurrentStateSnapshot) MarshalTo ¶
func (m *ReceiveCurrentStateSnapshot) MarshalTo(dAtA []byte) (int, error)
func (*ReceiveCurrentStateSnapshot) MarshalToSizedBuffer ¶
func (m *ReceiveCurrentStateSnapshot) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ReceiveCurrentStateSnapshot) ProtoMessage ¶
func (*ReceiveCurrentStateSnapshot) ProtoMessage()
func (*ReceiveCurrentStateSnapshot) Reset ¶
func (m *ReceiveCurrentStateSnapshot) Reset()
func (*ReceiveCurrentStateSnapshot) Size ¶
func (m *ReceiveCurrentStateSnapshot) Size() (n int)
func (*ReceiveCurrentStateSnapshot) String ¶
func (m *ReceiveCurrentStateSnapshot) String() string
func (*ReceiveCurrentStateSnapshot) Unmarshal ¶
func (m *ReceiveCurrentStateSnapshot) Unmarshal(dAtA []byte) error
func (*ReceiveCurrentStateSnapshot) XXX_DiscardUnknown ¶
func (m *ReceiveCurrentStateSnapshot) XXX_DiscardUnknown()
func (*ReceiveCurrentStateSnapshot) XXX_Marshal ¶
func (m *ReceiveCurrentStateSnapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReceiveCurrentStateSnapshot) XXX_Merge ¶
func (m *ReceiveCurrentStateSnapshot) XXX_Merge(src proto.Message)
func (*ReceiveCurrentStateSnapshot) XXX_Size ¶
func (m *ReceiveCurrentStateSnapshot) XXX_Size() int
func (*ReceiveCurrentStateSnapshot) XXX_Unmarshal ¶
func (m *ReceiveCurrentStateSnapshot) XXX_Unmarshal(b []byte) error
type RequestCurrentStateSnapshot ¶
type RequestCurrentStateSnapshot struct { }
func (*RequestCurrentStateSnapshot) Descriptor ¶
func (*RequestCurrentStateSnapshot) Descriptor() ([]byte, []int)
func (*RequestCurrentStateSnapshot) Marshal ¶
func (m *RequestCurrentStateSnapshot) Marshal() (dAtA []byte, err error)
func (*RequestCurrentStateSnapshot) MarshalTo ¶
func (m *RequestCurrentStateSnapshot) MarshalTo(dAtA []byte) (int, error)
func (*RequestCurrentStateSnapshot) MarshalToSizedBuffer ¶
func (m *RequestCurrentStateSnapshot) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RequestCurrentStateSnapshot) ProtoMessage ¶
func (*RequestCurrentStateSnapshot) ProtoMessage()
func (*RequestCurrentStateSnapshot) Reset ¶
func (m *RequestCurrentStateSnapshot) Reset()
func (*RequestCurrentStateSnapshot) Size ¶
func (m *RequestCurrentStateSnapshot) Size() (n int)
func (*RequestCurrentStateSnapshot) String ¶
func (m *RequestCurrentStateSnapshot) String() string
func (*RequestCurrentStateSnapshot) Unmarshal ¶
func (m *RequestCurrentStateSnapshot) Unmarshal(dAtA []byte) error
func (*RequestCurrentStateSnapshot) XXX_DiscardUnknown ¶
func (m *RequestCurrentStateSnapshot) XXX_DiscardUnknown()
func (*RequestCurrentStateSnapshot) XXX_Marshal ¶
func (m *RequestCurrentStateSnapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestCurrentStateSnapshot) XXX_Merge ¶
func (m *RequestCurrentStateSnapshot) XXX_Merge(src proto.Message)
func (*RequestCurrentStateSnapshot) XXX_Size ¶
func (m *RequestCurrentStateSnapshot) XXX_Size() int
func (*RequestCurrentStateSnapshot) XXX_Unmarshal ¶
func (m *RequestCurrentStateSnapshot) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.