consensushashing

package
v0.10.0-alpha1 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2021 License: ISC Imports: 7 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BlockHash

func BlockHash(block *externalapi.DomainBlock) *externalapi.DomainHash

BlockHash returns the given block's hash

func HeaderHash

HeaderHash returns the given header's hash

func TransactionHash

TransactionHash returns the transaction hash.

func TransactionHashForSigning

func TransactionHashForSigning(tx *externalapi.DomainTransaction, hashType uint32) *externalapi.DomainHash

TransactionHashForSigning hashes the transaction and the given hash type in a way that is intended for signatures.

func TransactionID

TransactionID generates the Hash for the transaction without the signature script and payload field.

Types

This section is empty.

Jump to

Keyboard shortcuts

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