ante

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: May 14, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProofVerificationDecorator

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

ProofVerificationDecorator handles messages that contains application specific packet types, including MsgPacket, MsgAcknowledgement, MsgTimeout. MsgUpdateClients are also handled here to perform atomic multimsg transaction

func NewProofVerificationDecorator

func NewProofVerificationDecorator(clientKeeper client.Keeper, channelKeeper channel.Keeper) ProofVerificationDecorator

NewProofVerificationDecorator constructs new ProofverificationDecorator

func (ProofVerificationDecorator) AnteHandle

func (pvr ProofVerificationDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (sdk.Context, error)

AnteHandle executes MsgUpdateClient, MsgPacket, MsgAcknowledgement, MsgTimeout. The packet execution messages are then passed to the respective application handlers.

Jump to

Keyboard shortcuts

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