common

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2019 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HashAlg added in v1.0.0

func HashAlg() hash.Hash

get hash algorithm by global config

func HeaderHash

func HeaderHash(header *types.Header) (hash types.Hash)

HeaderHash calculate block's hash

func TxHash added in v1.0.0

func TxHash(tx *types.Transaction) (hash types.Hash)

TxHash calculate tx's hash

Types

This section is empty.

Jump to

Keyboard shortcuts

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