tendermint

package
v0.0.0-...-dcd92f1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2022 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthTendermint        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTendermint          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTendermint = fmt.Errorf("proto: unexpected end of group")
)

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) MarshalTo

func (m *ProxyChainConfig) MarshalTo(dAtA []byte) (int, 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 (*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 (*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)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL