LegacySignatureHasher class final

Produces signature hashes for legacy non-witness inputs.

Constructors

LegacySignatureHasher({required Transaction tx, required int inputN, required Script scriptCode, required SigHashType hashType})
Produces the hash of an input signature for a non-witness input at inputN. The scriptCode of the redeem script is necessary. hashType controls what data is included in the signature.

Properties

hash → Uint8List
no setter
hashCode → int
The hash code for this object.
no setterinherited
hashType → SigHashType
final
inputN → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scriptCode → Script
final
tx → Transaction
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited