client

package
v0.0.0-...-72d0e0c Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2023 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CosmosBaseApp

type CosmosBaseApp interface {
	InitChain(req abci.RequestInitChain) (res abci.ResponseInitChain)
	BeginBlock(req abci.RequestBeginBlock) (res abci.ResponseBeginBlock)
	DeliverTx(req abci.RequestDeliverTx) (res abci.ResponseDeliverTx)
	EndBlock(req abci.RequestEndBlock) (res abci.ResponseEndBlock)
	Commit() (res abci.ResponseCommit)
	StatelessApp(version int64, oracle iavl.OracleClientI) (app *baseapp.BaseApp, err error)
}

type ExecutionLog

type ExecutionLog struct {
	ResponseBeginBlock abci.ResponseBeginBlock
	ResponseDeliverTxs []abci.ResponseDeliverTx
	ResponseEndBlock   abci.ResponseEndBlock
	ResponseCommit     abci.ResponseCommit
}

type StatelessClient

type StatelessClient struct {
	// contains filtered or unexported fields
}

func NewStatelessClient

func NewStatelessClient(app interface{}, oracle iavl.OracleClientI) (*StatelessClient, error)

func (*StatelessClient) Execute

func (c *StatelessClient) Execute(block *types.Block, vals []*types.Validator) ([]byte, ExecutionLog, error)

TODO: cannnot execute initial height block

Jump to

Keyboard shortcuts

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