Documentation ¶
Index ¶
- func BlockHash(block *externalapi.DomainBlock) *externalapi.DomainHash
- func HeaderHash(header externalapi.BaseBlockHeader) *externalapi.DomainHash
- func TransactionHash(tx *externalapi.DomainTransaction) *externalapi.DomainHash
- func TransactionHashForSigning(tx *externalapi.DomainTransaction, hashType uint32) *externalapi.DomainHash
- func TransactionID(tx *externalapi.DomainTransaction) *externalapi.DomainTransactionID
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 ¶
func HeaderHash(header externalapi.BaseBlockHeader) *externalapi.DomainHash
HeaderHash returns the given header's hash
func TransactionHash ¶
func TransactionHash(tx *externalapi.DomainTransaction) *externalapi.DomainHash
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 ¶
func TransactionID(tx *externalapi.DomainTransaction) *externalapi.DomainTransactionID
TransactionID generates the Hash for the transaction without the signature script and payload field.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.