mapper

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	InvariantCheckKey = []byte("0x10")
)

Functions

func AccountInvariant

func AccountInvariant(module string) qtypes.Invariant

func BuildInvariantCheckKey

func BuildInvariantCheckKey(height uint64) []byte

func ClearInvariantCheck

func ClearInvariantCheck(ctx context.Context)

清空数据检查

func GetAccount

func GetAccount(ctx context.Context, addr btypes.Address) *qtypes.QOSAccount

func GetAccounts

func GetAccounts(ctx context.Context) []*qtypes.QOSAccount

func GetMapper

func GetMapper(ctx context.Context) *account.AccountMapper

func NeedInvariantCheck

func NeedInvariantCheck(ctx context.Context) bool

某一高度是否需要执行数据检查

func SetInvariantCheck

func SetInvariantCheck(ctx context.Context)

保存某以高度执行检查信息

Types

This section is empty.

Jump to

Keyboard shortcuts

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