executor

package
v1.67.2 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2022 License: BSD-3-Clause Imports: 14 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalcPrivacyOutputKey

func CalcPrivacyOutputKey(exec, token string, amount int64, txhash string, outindex int) (key []byte)

CalcPrivacyOutputKey 该key对应的是types.KeyOutput 该kv会在store中设置

func CalcPrivacyUTXOkeyHeight

func CalcPrivacyUTXOkeyHeight(exec, token string, amount, height int64, txhash string, txindex, outindex int) (key []byte)

CalcPrivacyUTXOkeyHeight 在本地数据库中设置一条可以找到对应amount的对应的utxo的global index

func CalcPrivacyUTXOkeyHeightPrefix

func CalcPrivacyUTXOkeyHeightPrefix(exec, token string, amount int64) (key []byte)

CalcPrivacyUTXOkeyHeightPrefix get privacy utxo key by height and prefix

func CalcprivacyKeyTokenAmountType

func CalcprivacyKeyTokenAmountType(exec, token string) (key []byte)

CalcprivacyKeyTokenAmountType 设置当前系统存在的token的amount的类型,如存在1,3,5,100...等等的类型,

func CalcprivacyKeyTokenTypes

func CalcprivacyKeyTokenTypes() (key []byte)

CalcprivacyKeyTokenTypes get privacy token types key

func GetName

func GetName() string

GetName get privacy name

func Init

func Init(name string, cfg *types.Chain33Config, sub []byte)

Init initialize executor driver

func InitExecType

func InitExecType()

InitExecType ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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