Versions in this module Expand all Collapse all v0 v0.1.0 Jan 19, 2024 Changes in this version + const DefaultVerifierCacheSize + func CreateVerifier(ctx CLIContext, cacheSize int) (tmlite.Verifier, error) + func ErrInvalidAccount(addr sdk.AccAddress) error + func ErrVerifyCommit(height int64) error + func GetFromFields(input io.Reader, from string, genOnly bool) (sdk.AccAddress, string, error) + func TxServiceBroadcast(grpcCtx context.Context, clientCtx CLIContext, req TxRequest) (interface{}, error) + type CLIContext struct + BroadcastMode string + ChainID string + Client rpcclient.Client + Codec *codec.Codec + CodecProy *codec.CodecProxy + From string + FromAddress sdk.AccAddress + FromName string + GenerateOnly bool + Height int64 + HomeDir string + Indent bool + Input io.Reader + InterfaceRegistry types.InterfaceRegistry + Keybase keys.Keybase + NodeURI string + Output io.Writer + OutputFormat string + Simulate bool + SkipConfirm bool + StartBtcHeight uint64 + TrustNode bool + UseLedger bool + Verifier tmlite.Verifier + func NewCLIContext() CLIContext + func NewCLIContextWithFrom(from string) CLIContext + func NewCLIContextWithInput(input io.Reader) CLIContext + func NewCLIContextWithInputAndFrom(input io.Reader, from string) CLIContext + func (CLIContext) NewStream(gocontext.Context, *grpc.StreamDesc, string, ...grpc.CallOption) (grpc.ClientStream, error) + func (ctx CLIContext) BroadcastTx(txBytes []byte) (res sdk.TxResponse, err error) + func (ctx CLIContext) BroadcastTxAsync(txBytes []byte) (sdk.TxResponse, error) + func (ctx CLIContext) BroadcastTxCommit(txBytes []byte) (sdk.TxResponse, error) + func (ctx CLIContext) BroadcastTxSync(txBytes []byte) (sdk.TxResponse, error) + func (ctx CLIContext) CheckTendermintError(err error, txBytes []byte) *sdk.TxResponse + func (ctx CLIContext) GetFromAddress() sdk.AccAddress + func (ctx CLIContext) GetFromName() string + func (ctx CLIContext) GetNode() (rpcclient.Client, error) + func (ctx CLIContext) Invoke(grpcCtx gocontext.Context, method string, req, reply interface{}, ...) (err error) + func (ctx CLIContext) PrintOutput(toPrint interface{}) error + func (ctx CLIContext) PrintProto(toPrint proto.Message) error + func (ctx CLIContext) Query(path string) ([]byte, int64, error) + func (ctx CLIContext) QueryABCI(req abci.RequestQuery) (abci.ResponseQuery, error) + func (ctx CLIContext) QueryStore(key tmbytes.HexBytes, storeName string) ([]byte, int64, error) + func (ctx CLIContext) QuerySubspace(subspace []byte, storeName string) (res []sdk.KVPair, height int64, err error) + func (ctx CLIContext) QueryWithData(path string, data []byte) ([]byte, int64, error) + func (ctx CLIContext) Verify(height int64) (tmtypes.SignedHeader, error) + func (ctx CLIContext) WithBroadcastMode(mode string) CLIContext + func (ctx CLIContext) WithChainID(chainID string) CLIContext + func (ctx CLIContext) WithClient(client rpcclient.Client) CLIContext + func (ctx CLIContext) WithCodec(cdc *codec.Codec) CLIContext + func (ctx CLIContext) WithFrom(from string) CLIContext + func (ctx CLIContext) WithFromAddress(addr sdk.AccAddress) CLIContext + func (ctx CLIContext) WithFromName(name string) CLIContext + func (ctx CLIContext) WithGenerateOnly(generateOnly bool) CLIContext + func (ctx CLIContext) WithHeight(height int64) CLIContext + func (ctx CLIContext) WithInput(r io.Reader) CLIContext + func (ctx CLIContext) WithInterfaceRegistry(r interfacetypes.InterfaceRegistry) CLIContext + func (ctx CLIContext) WithNodeURI(nodeURI string) CLIContext + func (ctx CLIContext) WithOutput(w io.Writer) CLIContext + func (ctx CLIContext) WithProxy(cdc *codec.CodecProxy) CLIContext + func (ctx CLIContext) WithSimulation(simulate bool) CLIContext + func (ctx CLIContext) WithTrustNode(trustNode bool) CLIContext + func (ctx CLIContext) WithUseLedger(useLedger bool) CLIContext + func (ctx CLIContext) WithVerifier(verifier tmlite.Verifier) CLIContext + type CodecSensitive interface + MarshalSensitive func(proxy *codec.CodecProxy) ([]byte, error) + type TxRequest interface + GetData func() []byte + GetModeDetail func() int32 + type TxResponse interface + HandleResponse func(codec *codec.CodecProxy, data interface{}) interface{}