txhash

package
v0.0.0-...-b124b1e Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HashTx

func HashTx(tx *protos.Transaction, includeSigns bool) []byte

HashTx make tx hash using double sha256

func MakeTxDigestHash

func MakeTxDigestHash(tx *protos.Transaction) ([]byte, error)

MakeTxDigestHash 生成交易关键信息的hash, 其中includeSigns=false

func MakeTxID

func MakeTxID(tx *protos.Transaction) ([]byte, error)

MakeTxID 事务id生成

func ProcessSignTx

func ProcessSignTx(cryptoClient cryptoBase.CryptoClient, tx *protos.Transaction, jsonSK []byte) ([]byte, error)

ProcessSignTx 签名Tx

Types

This section is empty.

Jump to

Keyboard shortcuts

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