Documentation ¶
Index ¶
- Variables
- type ProxyChainConfig
- func (c *ProxyChainConfig) Build() (proxy.ProxyChainI, error)
- func (*ProxyChainConfig) Descriptor() ([]byte, []int)
- func (m *ProxyChainConfig) GetChainConfig() *tendermint.ChainConfig
- func (m *ProxyChainConfig) Marshal() (dAtA []byte, err error)
- func (m *ProxyChainConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *ProxyChainConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProxyChainConfig) ProtoMessage()
- func (m *ProxyChainConfig) Reset()
- func (m *ProxyChainConfig) Size() (n int)
- func (m *ProxyChainConfig) String() string
- func (m *ProxyChainConfig) Unmarshal(dAtA []byte) error
- func (m *ProxyChainConfig) XXX_DiscardUnknown()
- func (m *ProxyChainConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProxyChainConfig) XXX_Merge(src proto.Message)
- func (m *ProxyChainConfig) XXX_Size() int
- func (m *ProxyChainConfig) XXX_Unmarshal(b []byte) error
- type ProxyChainProver
- func (p *ProxyChainProver) Codec() codec.ProtoCodecMarshaler
- func (p *ProxyChainProver) CreateMsgCreateClient(clientID string, dstHeader core.HeaderI, signer sdk.AccAddress) (*clienttypes.MsgCreateClient, error)
- func (p *ProxyChainProver) QueryProxyChannelWithProof(height int64) (chanRes *channeltypes.QueryChannelResponse, err error)
- func (p *ProxyChainProver) QueryProxyClientConsensusStateWithProof(height int64, dstClientConsHeight ibcexported.Height) (*clienttypes.QueryConsensusStateResponse, error)
- func (p *ProxyChainProver) QueryProxyClientStateWithProof(height int64) (*clienttypes.QueryClientStateResponse, error)
- func (p *ProxyChainProver) QueryProxyConnectionStateWithProof(height int64) (*connectiontypes.QueryConnectionResponse, error)
- func (p *ProxyChainProver) QueryProxyPacketAcknowledgementCommitmentWithProof(height int64, seq uint64) (ackRes *channeltypes.QueryPacketAcknowledgementResponse, err error)
- func (p *ProxyChainProver) QueryProxyPacketCommitmentWithProof(height int64, seq uint64) (comRes *channeltypes.QueryPacketCommitmentResponse, err error)
- type ProxyChainProverConfig
- func (c *ProxyChainProverConfig) Build(proxyChain proxy.ProxyChainI) (proxy.ProxyChainProverI, error)
- func (*ProxyChainProverConfig) Descriptor() ([]byte, []int)
- func (m *ProxyChainProverConfig) GetProverConfig() *tendermint.ProverConfig
- func (m *ProxyChainProverConfig) Marshal() (dAtA []byte, err error)
- func (m *ProxyChainProverConfig) MarshalTo(dAtA []byte) (int, error)
- func (m *ProxyChainProverConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProxyChainProverConfig) ProtoMessage()
- func (m *ProxyChainProverConfig) Reset()
- func (m *ProxyChainProverConfig) Size() (n int)
- func (m *ProxyChainProverConfig) String() string
- func (m *ProxyChainProverConfig) Unmarshal(dAtA []byte) error
- func (m *ProxyChainProverConfig) XXX_DiscardUnknown()
- func (m *ProxyChainProverConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProxyChainProverConfig) XXX_Merge(src proto.Message)
- func (m *ProxyChainProverConfig) XXX_Size() int
- func (m *ProxyChainProverConfig) XXX_Unmarshal(b []byte) error
- type TendermintProxyChain
- func (c *TendermintProxyChain) ABCIQueryProxy(height int64, key []byte, prove bool) (value []byte, proof []byte, proofHeight clienttypes.Height, err error)
- func (c *TendermintProxyChain) ABCIQueryProxyChannel(height int64, portID string, channelID string, prove bool) (*channeltypes.QueryChannelResponse, error)
- func (c *TendermintProxyChain) ABCIQueryProxyClientState(height int64, clientID string, prove bool) (*clienttypes.QueryClientStateResponse, error)
- func (c *TendermintProxyChain) ABCIQueryProxyConnection(height int64, connectionID string, prove bool) (*connectiontypes.QueryConnectionResponse, error)
- func (c *TendermintProxyChain) ABCIQueryProxyConsensusState(height int64, clientID string, dstClientConsHeight ibcexported.Height, ...) (*clienttypes.QueryConsensusStateResponse, error)
- func (c *TendermintProxyChain) ABCIQueryProxyPacketAcknowledgementCommitment(height int64, seq uint64, prove bool) (*channeltypes.QueryPacketAcknowledgementResponse, error)
- func (c *TendermintProxyChain) ABCIQueryProxyPacketCommitment(height int64, seq uint64, prove bool) (comRes *channeltypes.QueryPacketCommitmentResponse, err error)
- func (c *TendermintProxyChain) ProxyPath() proxy.ProxyPath
- func (c *TendermintProxyChain) QueryProxyChannel(height int64) (chanRes *chantypes.QueryChannelResponse, err error)
- func (c *TendermintProxyChain) QueryProxyClientConsensusState(height int64, dstClientConsHeight ibcexported.Height) (*clienttypes.QueryConsensusStateResponse, error)
- func (c *TendermintProxyChain) QueryProxyClientState(height int64) (*clienttypes.QueryClientStateResponse, error)
- func (c *TendermintProxyChain) QueryProxyConnectionState(height int64) (*connectiontypes.QueryConnectionResponse, error)
- func (c *TendermintProxyChain) QueryProxyPacketAcknowledgementCommitment(height int64, seq uint64) (ackRes *chantypes.QueryPacketAcknowledgementResponse, err error)
- func (c *TendermintProxyChain) QueryProxyPacketCommitment(height int64, seq uint64) (comRes *chantypes.QueryPacketCommitmentResponse, err error)
- func (c *TendermintProxyChain) SetProxyPath(path proxy.ProxyPath)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type ProxyChainConfig ¶
type ProxyChainConfig struct {
ChainConfig *tendermint.ChainConfig `protobuf:"bytes,1,opt,name=chain_config,json=chainConfig,proto3" json:"chain_config,omitempty"`
}
func (*ProxyChainConfig) Build ¶
func (c *ProxyChainConfig) Build() (proxy.ProxyChainI, error)
func (*ProxyChainConfig) Descriptor ¶
func (*ProxyChainConfig) Descriptor() ([]byte, []int)
func (*ProxyChainConfig) GetChainConfig ¶
func (m *ProxyChainConfig) GetChainConfig() *tendermint.ChainConfig
func (*ProxyChainConfig) Marshal ¶
func (m *ProxyChainConfig) Marshal() (dAtA []byte, err error)
func (*ProxyChainConfig) MarshalToSizedBuffer ¶
func (m *ProxyChainConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProxyChainConfig) ProtoMessage ¶
func (*ProxyChainConfig) ProtoMessage()
func (*ProxyChainConfig) Reset ¶
func (m *ProxyChainConfig) Reset()
func (*ProxyChainConfig) Size ¶
func (m *ProxyChainConfig) Size() (n int)
func (*ProxyChainConfig) String ¶
func (m *ProxyChainConfig) String() string
func (*ProxyChainConfig) Unmarshal ¶
func (m *ProxyChainConfig) Unmarshal(dAtA []byte) error
func (*ProxyChainConfig) XXX_DiscardUnknown ¶
func (m *ProxyChainConfig) XXX_DiscardUnknown()
func (*ProxyChainConfig) XXX_Marshal ¶
func (m *ProxyChainConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProxyChainConfig) XXX_Merge ¶
func (m *ProxyChainConfig) XXX_Merge(src proto.Message)
func (*ProxyChainConfig) XXX_Size ¶
func (m *ProxyChainConfig) XXX_Size() int
func (*ProxyChainConfig) XXX_Unmarshal ¶
func (m *ProxyChainConfig) XXX_Unmarshal(b []byte) error
type ProxyChainProver ¶
type ProxyChainProver struct { *tendermint.Prover // contains filtered or unexported fields }
func NewProxyChainProver ¶
func NewProxyChainProver(cfg *ProxyChainProverConfig, proxyChain proxy.ProxyChainI) *ProxyChainProver
func (*ProxyChainProver) Codec ¶
func (p *ProxyChainProver) Codec() codec.ProtoCodecMarshaler
func (*ProxyChainProver) CreateMsgCreateClient ¶
func (p *ProxyChainProver) CreateMsgCreateClient(clientID string, dstHeader core.HeaderI, signer sdk.AccAddress) (*clienttypes.MsgCreateClient, error)
CreateMsgCreateClient creates a CreateClientMsg to this chain
func (*ProxyChainProver) QueryProxyChannelWithProof ¶
func (p *ProxyChainProver) QueryProxyChannelWithProof(height int64) (chanRes *channeltypes.QueryChannelResponse, err error)
func (*ProxyChainProver) QueryProxyClientConsensusStateWithProof ¶
func (p *ProxyChainProver) QueryProxyClientConsensusStateWithProof(height int64, dstClientConsHeight ibcexported.Height) (*clienttypes.QueryConsensusStateResponse, error)
func (*ProxyChainProver) QueryProxyClientStateWithProof ¶
func (p *ProxyChainProver) QueryProxyClientStateWithProof(height int64) (*clienttypes.QueryClientStateResponse, error)
func (*ProxyChainProver) QueryProxyConnectionStateWithProof ¶
func (p *ProxyChainProver) QueryProxyConnectionStateWithProof(height int64) (*connectiontypes.QueryConnectionResponse, error)
func (*ProxyChainProver) QueryProxyPacketAcknowledgementCommitmentWithProof ¶
func (p *ProxyChainProver) QueryProxyPacketAcknowledgementCommitmentWithProof(height int64, seq uint64) (ackRes *channeltypes.QueryPacketAcknowledgementResponse, err error)
func (*ProxyChainProver) QueryProxyPacketCommitmentWithProof ¶
func (p *ProxyChainProver) QueryProxyPacketCommitmentWithProof(height int64, seq uint64) (comRes *channeltypes.QueryPacketCommitmentResponse, err error)
type ProxyChainProverConfig ¶
type ProxyChainProverConfig struct {
ProverConfig *tendermint.ProverConfig `protobuf:"bytes,1,opt,name=prover_config,json=proverConfig,proto3" json:"prover_config,omitempty"`
}
func (*ProxyChainProverConfig) Build ¶
func (c *ProxyChainProverConfig) Build(proxyChain proxy.ProxyChainI) (proxy.ProxyChainProverI, error)
func (*ProxyChainProverConfig) Descriptor ¶
func (*ProxyChainProverConfig) Descriptor() ([]byte, []int)
func (*ProxyChainProverConfig) GetProverConfig ¶
func (m *ProxyChainProverConfig) GetProverConfig() *tendermint.ProverConfig
func (*ProxyChainProverConfig) Marshal ¶
func (m *ProxyChainProverConfig) Marshal() (dAtA []byte, err error)
func (*ProxyChainProverConfig) MarshalTo ¶
func (m *ProxyChainProverConfig) MarshalTo(dAtA []byte) (int, error)
func (*ProxyChainProverConfig) MarshalToSizedBuffer ¶
func (m *ProxyChainProverConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProxyChainProverConfig) ProtoMessage ¶
func (*ProxyChainProverConfig) ProtoMessage()
func (*ProxyChainProverConfig) Reset ¶
func (m *ProxyChainProverConfig) Reset()
func (*ProxyChainProverConfig) Size ¶
func (m *ProxyChainProverConfig) Size() (n int)
func (*ProxyChainProverConfig) String ¶
func (m *ProxyChainProverConfig) String() string
func (*ProxyChainProverConfig) Unmarshal ¶
func (m *ProxyChainProverConfig) Unmarshal(dAtA []byte) error
func (*ProxyChainProverConfig) XXX_DiscardUnknown ¶
func (m *ProxyChainProverConfig) XXX_DiscardUnknown()
func (*ProxyChainProverConfig) XXX_Marshal ¶
func (m *ProxyChainProverConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProxyChainProverConfig) XXX_Merge ¶
func (m *ProxyChainProverConfig) XXX_Merge(src proto.Message)
func (*ProxyChainProverConfig) XXX_Size ¶
func (m *ProxyChainProverConfig) XXX_Size() int
func (*ProxyChainProverConfig) XXX_Unmarshal ¶
func (m *ProxyChainProverConfig) XXX_Unmarshal(b []byte) error
type TendermintProxyChain ¶
type TendermintProxyChain struct { *tendermint.Chain // contains filtered or unexported fields }
func NewTendermintProxyChain ¶
func NewTendermintProxyChain(chain *tendermint.Chain) *TendermintProxyChain
func (*TendermintProxyChain) ABCIQueryProxy ¶
func (c *TendermintProxyChain) ABCIQueryProxy(height int64, key []byte, prove bool) (value []byte, proof []byte, proofHeight clienttypes.Height, err error)
func (*TendermintProxyChain) ABCIQueryProxyChannel ¶
func (c *TendermintProxyChain) ABCIQueryProxyChannel(height int64, portID string, channelID string, prove bool) (*channeltypes.QueryChannelResponse, error)
func (*TendermintProxyChain) ABCIQueryProxyClientState ¶
func (c *TendermintProxyChain) ABCIQueryProxyClientState(height int64, clientID string, prove bool) (*clienttypes.QueryClientStateResponse, error)
func (*TendermintProxyChain) ABCIQueryProxyConnection ¶
func (c *TendermintProxyChain) ABCIQueryProxyConnection(height int64, connectionID string, prove bool) (*connectiontypes.QueryConnectionResponse, error)
func (*TendermintProxyChain) ABCIQueryProxyConsensusState ¶
func (c *TendermintProxyChain) ABCIQueryProxyConsensusState(height int64, clientID string, dstClientConsHeight ibcexported.Height, prove bool) (*clienttypes.QueryConsensusStateResponse, error)
func (*TendermintProxyChain) ABCIQueryProxyPacketAcknowledgementCommitment ¶
func (c *TendermintProxyChain) ABCIQueryProxyPacketAcknowledgementCommitment(height int64, seq uint64, prove bool) (*channeltypes.QueryPacketAcknowledgementResponse, error)
func (*TendermintProxyChain) ABCIQueryProxyPacketCommitment ¶
func (c *TendermintProxyChain) ABCIQueryProxyPacketCommitment(height int64, seq uint64, prove bool) (comRes *channeltypes.QueryPacketCommitmentResponse, err error)
func (*TendermintProxyChain) ProxyPath ¶
func (c *TendermintProxyChain) ProxyPath() proxy.ProxyPath
func (*TendermintProxyChain) QueryProxyChannel ¶
func (c *TendermintProxyChain) QueryProxyChannel(height int64) (chanRes *chantypes.QueryChannelResponse, err error)
func (*TendermintProxyChain) QueryProxyClientConsensusState ¶
func (c *TendermintProxyChain) QueryProxyClientConsensusState(height int64, dstClientConsHeight ibcexported.Height) (*clienttypes.QueryConsensusStateResponse, error)
func (*TendermintProxyChain) QueryProxyClientState ¶
func (c *TendermintProxyChain) QueryProxyClientState(height int64) (*clienttypes.QueryClientStateResponse, error)
func (*TendermintProxyChain) QueryProxyConnectionState ¶
func (c *TendermintProxyChain) QueryProxyConnectionState(height int64) (*connectiontypes.QueryConnectionResponse, error)
func (*TendermintProxyChain) QueryProxyPacketAcknowledgementCommitment ¶
func (c *TendermintProxyChain) QueryProxyPacketAcknowledgementCommitment(height int64, seq uint64) (ackRes *chantypes.QueryPacketAcknowledgementResponse, err error)
func (*TendermintProxyChain) QueryProxyPacketCommitment ¶
func (c *TendermintProxyChain) QueryProxyPacketCommitment(height int64, seq uint64) (comRes *chantypes.QueryPacketCommitmentResponse, err error)
func (*TendermintProxyChain) SetProxyPath ¶
func (c *TendermintProxyChain) SetProxyPath(path proxy.ProxyPath)
Click to show internal directories.
Click to hide internal directories.