ChallengePieceResolver class

Constructors

ChallengePieceResolver(String _salt, String _serializedInput, int _difficultyFactor)

Properties

difficulty BigInt
no setter
hashCode int
The hash code for this object.
no setterinherited
prefix Uint8List
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve(dynamic onProgress(double)) Future<ProofOfWork>
toString() String
A string representation of this object.
inherited
validate(int nonce) Future<bool>

Operators

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

Static Methods

forChallenge(Challenge config, String serializedInput) List<ChallengePieceResolver>