Documentation
¶
Index ¶
- Variables
- type InjectedTx
- func (*InjectedTx) Descriptor() ([]byte, []int)
- func (m *InjectedTx) GetAssetsLockedEvents() []types.AssetsLockedEvent
- func (m *InjectedTx) GetExtendedCommitInfo() []byte
- func (m *InjectedTx) Marshal() (dAtA []byte, err error)
- func (m *InjectedTx) MarshalTo(dAtA []byte) (int, error)
- func (m *InjectedTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*InjectedTx) ProtoMessage()
- func (m *InjectedTx) Reset()
- func (m *InjectedTx) Size() (n int)
- func (m *InjectedTx) String() string
- func (m *InjectedTx) Unmarshal(dAtA []byte) error
- func (m *InjectedTx) XXX_DiscardUnknown()
- func (m *InjectedTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InjectedTx) XXX_Merge(src proto.Message)
- func (m *InjectedTx) XXX_Size() int
- func (m *InjectedTx) XXX_Unmarshal(b []byte) error
- type VoteExtension
- func (*VoteExtension) Descriptor() ([]byte, []int)
- func (m *VoteExtension) GetAssetsLockedEvents() []types.AssetsLockedEvent
- func (m *VoteExtension) Marshal() (dAtA []byte, err error)
- func (m *VoteExtension) MarshalTo(dAtA []byte) (int, error)
- func (m *VoteExtension) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*VoteExtension) ProtoMessage()
- func (m *VoteExtension) Reset()
- func (m *VoteExtension) Size() (n int)
- func (m *VoteExtension) String() string
- func (m *VoteExtension) Unmarshal(dAtA []byte) error
- func (m *VoteExtension) XXX_DiscardUnknown()
- func (m *VoteExtension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VoteExtension) XXX_Merge(src proto.Message)
- func (m *VoteExtension) XXX_Size() int
- func (m *VoteExtension) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type InjectedTx ¶
type InjectedTx struct {
// assets_locked_events is a list of canonical AssetsLockedEvent forming
// a sequence strictly increasing by 1. This list is derived from the
// extended_commit_info field.
AssetsLockedEvents []types.AssetsLockedEvent `protobuf:"bytes,1,rep,name=assets_locked_events,json=assetsLockedEvents,proto3" json:"assets_locked_events"`
// extended_commit_info is the extended commit info of the previous block.
// It holds the vote extensions that are used to derive the
// assets_locked_events.
ExtendedCommitInfo []byte `protobuf:"bytes,2,opt,name=extended_commit_info,json=extendedCommitInfo,proto3" json:"extended_commit_info,omitempty"`
}
InjectedTx defines the bridge-specific pseudo-tx used to inject previous-block vote extensions along with a sequence of canonical AssetsLocked events into the current block proposal.
func (*InjectedTx) Descriptor ¶
func (*InjectedTx) Descriptor() ([]byte, []int)
func (*InjectedTx) GetAssetsLockedEvents ¶
func (m *InjectedTx) GetAssetsLockedEvents() []types.AssetsLockedEvent
func (*InjectedTx) GetExtendedCommitInfo ¶
func (m *InjectedTx) GetExtendedCommitInfo() []byte
func (*InjectedTx) Marshal ¶
func (m *InjectedTx) Marshal() (dAtA []byte, err error)
func (*InjectedTx) MarshalToSizedBuffer ¶
func (m *InjectedTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*InjectedTx) ProtoMessage ¶
func (*InjectedTx) ProtoMessage()
func (*InjectedTx) Reset ¶
func (m *InjectedTx) Reset()
func (*InjectedTx) Size ¶
func (m *InjectedTx) Size() (n int)
func (*InjectedTx) String ¶
func (m *InjectedTx) String() string
func (*InjectedTx) Unmarshal ¶
func (m *InjectedTx) Unmarshal(dAtA []byte) error
func (*InjectedTx) XXX_DiscardUnknown ¶
func (m *InjectedTx) XXX_DiscardUnknown()
func (*InjectedTx) XXX_Marshal ¶
func (m *InjectedTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InjectedTx) XXX_Merge ¶
func (m *InjectedTx) XXX_Merge(src proto.Message)
func (*InjectedTx) XXX_Size ¶
func (m *InjectedTx) XXX_Size() int
func (*InjectedTx) XXX_Unmarshal ¶
func (m *InjectedTx) XXX_Unmarshal(b []byte) error
type VoteExtension ¶
type VoteExtension struct {
// assets_locked_events is a list of AssetsLockedEvent that are part of the
// vote extension.
AssetsLockedEvents []types.AssetsLockedEvent `protobuf:"bytes,1,rep,name=assets_locked_events,json=assetsLockedEvents,proto3" json:"assets_locked_events"`
}
VoteExtension defines the vote extension structure for the Bitcoin bridge.
func (*VoteExtension) Descriptor ¶
func (*VoteExtension) Descriptor() ([]byte, []int)
func (*VoteExtension) GetAssetsLockedEvents ¶
func (m *VoteExtension) GetAssetsLockedEvents() []types.AssetsLockedEvent
func (*VoteExtension) Marshal ¶
func (m *VoteExtension) Marshal() (dAtA []byte, err error)
func (*VoteExtension) MarshalToSizedBuffer ¶
func (m *VoteExtension) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*VoteExtension) ProtoMessage ¶
func (*VoteExtension) ProtoMessage()
func (*VoteExtension) Reset ¶
func (m *VoteExtension) Reset()
func (*VoteExtension) Size ¶
func (m *VoteExtension) Size() (n int)
func (*VoteExtension) String ¶
func (m *VoteExtension) String() string
func (*VoteExtension) Unmarshal ¶
func (m *VoteExtension) Unmarshal(dAtA []byte) error
func (*VoteExtension) XXX_DiscardUnknown ¶
func (m *VoteExtension) XXX_DiscardUnknown()
func (*VoteExtension) XXX_Marshal ¶
func (m *VoteExtension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*VoteExtension) XXX_Merge ¶
func (m *VoteExtension) XXX_Merge(src proto.Message)
func (*VoteExtension) XXX_Size ¶
func (m *VoteExtension) XXX_Size() int
func (*VoteExtension) XXX_Unmarshal ¶
func (m *VoteExtension) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.