Class AccountCreationPuzzle
Opaque puzzle payload exchanged with the client.
public sealed class AccountCreationPuzzle
- Inheritance
-
AccountCreationPuzzle
- Inherited Members
Constructors
AccountCreationPuzzle(byte[], int)
Initializes a new puzzle with the given challenge and difficulty.
public AccountCreationPuzzle(byte[] challenge, int difficulty)
Parameters
challengebyte[]The challenge bytes for the client to solve.
difficultyintThe number of leading zero bits required.
Properties
Challenge
The challenge bytes sent to the client.
public byte[] Challenge { get; }
Property Value
- byte[]
Difficulty
The number of leading zero bits required in the solution hash.
public int Difficulty { get; }