executor

package
v0.0.0-...-9308201 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2019 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalcPrivacyOutputKey

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

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

func CalcPrivacyUTXOkeyHeight

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

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

func CalcPrivacyUTXOkeyHeightPrefix

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

CalcPrivacyUTXOkeyHeightPrefix get privacy utxo key by height and prefix

func CalcprivacyKeyTokenAmountType

func CalcprivacyKeyTokenAmountType(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, sub []byte)

Init initialize executor driver

Types

This section is empty.

Jump to

Keyboard shortcuts

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