eos_txsigner

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2020 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Default = &TransactionSigner{}

Functions

func SignCanonical

func SignCanonical(privateKey, hash []byte) ([]byte, error)

Types

type TransactionSigner

type TransactionSigner struct {
}

func (*TransactionSigner) SignTransactionHash

func (singer *TransactionSigner) SignTransactionHash(msg []byte, privateKey []byte, eccType uint32) ([]byte, error)

SignTransactionHash 交易哈希签名算法 required

func (*TransactionSigner) VerifyAndCombineSignature

func (singer *TransactionSigner) VerifyAndCombineSignature(msg, publicKey, signature []byte) (bool, []byte, error)

required

Jump to

Keyboard shortcuts

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