Skip to content

Add Hash() function to common.Script #1135

@agaffney

Description

@agaffney

Generating a hash from a script is a common operation that we should have helpers for. A script's hash consists of the script type prepended to the script bytes, and hashed with Blake2b-224.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions