Documentation ¶
Index ¶
- func CalcPrivacyOutputKey(token string, amount int64, txhash string, outindex int) (key []byte)
- func CalcPrivacyUTXOkeyHeight(token string, amount, height int64, txhash string, txindex, outindex int) (key []byte)
- func CalcPrivacyUTXOkeyHeightPrefix(token string, amount int64) (key []byte)
- func CalcprivacyKeyTokenAmountType(token string) (key []byte)
- func CalcprivacyKeyTokenTypes() (key []byte)
- func GetName() string
- func Init(name string, sub []byte)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalcPrivacyOutputKey ¶
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 ¶
CalcPrivacyUTXOkeyHeightPrefix get privacy utxo key by height and prefix
func CalcprivacyKeyTokenAmountType ¶
CalcprivacyKeyTokenAmountType 设置当前系统存在的token的amount的类型,如存在1,3,5,100...等等的类型,
func CalcprivacyKeyTokenTypes ¶
func CalcprivacyKeyTokenTypes() (key []byte)
CalcprivacyKeyTokenTypes get privacy token types key
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.