Table of Contents

Class AccountCreationPuzzle

Namespace
FishMMO.Server
Assembly
FishMMO.Server.dll

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

challenge byte[]

The challenge bytes for the client to solve.

difficulty int

The 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; }

Property Value

int