Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyShareLane ¶
type KeyShareLane interface {
}KeyshareLane is an interface that defines the methods required to interact with the keyshare lane.
type PEPDecorator ¶
type PEPDecorator struct {
// contains filtered or unexported fields
}
PEPDecorator is an AnteDecorator that validates the KeyShare transactions.
func NewPepDecorator ¶
func NewPepDecorator(pk keeper.Keeper, txEncoder sdk.TxEncoder, lane KeyShareLane) PEPDecorator
func (PEPDecorator) AnteHandle ¶
func (pd PEPDecorator) AnteHandle(ctx sdk.Context, tx sdk.Tx, simulate bool, next sdk.AnteHandler) (sdk.Context, error)
AnteHandle validates that the keyshare is valid if one exists.
Click to show internal directories.
Click to hide internal directories.