transaction

package
Version: v1.5.34 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ModuleCdc *codec.Codec

Functions

func RegisterCodec

func RegisterCodec(cdc *amino.Codec)

Types

type Transaction

type Transaction interface {
	GetSignBytes() []byte
	GetSignature() []byte
	SetSignature([]byte)
	Bytes() []byte
	SetPubKey([]byte)
	GetGas() uint64
	GetNonce() uint64
	GetFromAddress() types.AccAddress
}

type TxIndexMapper

type TxIndexMapper interface {
	Get(types.Context) uint32
	Incr(types.Context) uint32
}

func NewTxIndexMapper

func NewTxIndexMapper(k types.StoreKey) TxIndexMapper

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL